/* ═══════════════════════════════════════════════════════════════
   Kran-Parts — footer.css
   ═══════════════════════════════════════════════════════════════ */

/* Глобальная защита от Astra — все ссылки в футере без подчёркивания, светлые */
.kp-footer a,
footer.kp-footer a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.kp-footer a:hover,
footer.kp-footer a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

.kp-footer {
  background: var(--c-dark);
  color: var(--c-300);
  margin-top: auto;
  padding-top: 60px;
}

.kp-footer__main {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.kp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.kp-footer__col {
}
.kp-footer__col--info {
}

.kp-footer__title,
.kp-footer h4.kp-footer__title,
h4.kp-footer__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3 !important;
}

/* Logo + info column */
.kp-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}
.kp-footer__logo img {
  max-height: 50px;
  width: auto;
}
.kp-footer__logo-text {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.02em;
}
.kp-footer__logo-text span {
  color: var(--c-green);
}

/* Messengers в футере — брендовые цвета */
.kp-footer .kp-messengers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.kp-footer .kp-messengers__item {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}
.kp-footer .kp-messengers__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.kp-footer .kp-messengers__item svg {
  width: 22px;
  height: 22px;
}
/* WhatsApp — зелёный круг-фон под SVG */
.kp-footer .kp-messengers__wa {
  background: #25d366;
}
.kp-footer .kp-messengers__wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
.kp-footer .kp-messengers__tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.35);
}
.kp-footer .kp-messengers__max:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(142, 92, 247, 0.35);
}

/* Menu lists in footer */
.kp-footer__col ul,
.kp-footer__col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kp-footer__col ul li a,
.kp-footer__col .menu li a {
  color: var(--c-400);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--t);
  line-height: 1.5;
}
.kp-footer__col ul li a:hover,
.kp-footer__col .menu li a:hover {
  color: var(--c-green);
}

/* Callback button in footer */
.kp-footer .kp-btn--callback {
  margin-top: 16px;
  background: var(--c-green);
  color: var(--c-white);
  border: none;
}
.kp-footer .kp-btn--callback:hover {
  background: var(--c-green-dark);
}

/* Bottom strip */
.kp-footer__bottom {
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.2);
}
.kp-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.kp-footer__copyright {
  font-size: var(--fs-xs);
  color: var(--c-500);
  margin: 0;
}
/* Реквизиты в колонке (список) */
.kp-footer__col .kp-footer__requisites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kp-footer__col .kp-footer__requisites li {
  font-size: var(--fs-sm);
  color: var(--c-400);
}
.kp-footer__col .kp-footer__requisites li span {
  color: var(--c-500);
  font-weight: 600;
  margin-right: 4px;
}
.kp-footer__privacy {
  font-size: var(--fs-xs);
  color: var(--c-500);
}
.kp-footer__privacy a {
  color: var(--c-400);
  text-decoration: underline;
  text-decoration-color: var(--c-600);
}
.kp-footer__privacy a:hover {
  color: var(--c-green);
}
.kp-footer__disclaimer {
  display: flex;
  justify-content: start;
  flex: 1 1 100%;
  text-align: center;
  font-size: 11px;
  color: var(--c-500);
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 8px;
}

@media (max-width: 992px) {
  .kp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .kp-footer__col--info {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .kp-footer {
    padding-top: 40px;
  }
  .kp-footer__main {
    padding-bottom: 32px;
  }
  .kp-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .kp-footer__col--info {
    grid-column: auto;
  }
  .kp-footer__bottom-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }
  .kp-footer__phone-free .kp-phone--free {
    font-size: 20px;
  }
  .kp-footer__title {
    margin-bottom: 14px !important;
  }
}

/* Меню в футере */
.kp-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kp-footer__menu li a {
  color: var(--c-400);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--t);
}
.kp-footer__menu li a:hover {
  color: var(--c-green);
}

/* Плейсхолдер для мессенджеров если не настроены */
.kp-footer__messengers-placeholder {
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.kp-footer__messengers-placeholder small {
  color: #5e5e57;
  font-size: 11px;
  line-height: 1.4;
  display: block;
  font-style: italic;
}

/* Заголовок реквизиты — фикс цвета сообщения "пусто" */
.kp-footer__col li[style*="color"] {
  color: #5e5e57 !important;
}

/* ═══════════════════════════════════════════
   FOOTER STRUCTURE — 1.0.25 revamp
   ═══════════════════════════════════════════ */

/* Адрес */
.kp-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-style: normal;
  color: var(--c-300);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 320px;
}
.kp-footer__address svg {
  color: var(--c-green);
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: currentColor;
}
.kp-footer__address span {
  display: inline-block;
}
.kp-footer__address a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--c-300);
  text-decoration: none;
  transition: color 0.15s;
}
.kp-footer__address a:hover {
  color: var(--c-green);
}

/* Телефоны */
.kp-footer__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.kp-footer__phone-free {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kp-footer .kp-footer__phone-free .kp-phone--free,
.kp-footer a.kp-phone--free,
.kp-footer__phone-free a.kp-phone--free {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--c-white, #fff) !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 1.2 !important;
  background: transparent !important;
}
.kp-footer__phone-free .kp-phone--free svg {
  color: var(--c-green, #fbc113) !important;
  fill: none !important;
  stroke: currentColor !important;
  flex-shrink: 0;
}
.kp-footer__phone-free .kp-phone--free:hover {
  color: var(--c-green, #fbc113) !important;
  text-decoration: none !important;
}
.kp-footer__phone-free small {
  font-size: 11px;
  color: var(--c-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-left: 24px;
}
.kp-footer .kp-phone--city,
.kp-footer a.kp-phone--city,
.kp-footer__phones .kp-phone--city {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--c-300, #d0d0c8) !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 1.2 !important;
  background: transparent !important;
}
.kp-footer .kp-phone--city svg {
  color: var(--c-500, #8a8a82) !important;
  fill: none !important;
  stroke: currentColor !important;
  flex-shrink: 0;
}
.kp-footer .kp-phone--city:hover,
.kp-footer a.kp-phone--city:hover {
  color: var(--c-green, #fbc113) !important;
  text-decoration: none !important;
}
.kp-footer .kp-phone--city:hover svg {
  color: var(--c-green, #fbc113) !important;
}

/* График работы */
.kp-footer__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-400);
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kp-footer__hours svg {
  color: var(--c-green);
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Email блок */
.kp-footer__email {
  margin-bottom: 18px;
}
.kp-footer__email .kp-email-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.kp-footer__email .kp-email-wrap:hover {
  background: rgba(113, 169, 44, 0.12);
  border-color: var(--c-green);
}
.kp-footer__email .kp-email__link {
  color: var(--c-white) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  border: none !important;
}
.kp-footer__email .kp-email__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-500);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s;
}
.kp-footer__email .kp-email__copy:hover,
.kp-footer__email .kp-email__copy.is-copied {
  color: var(--c-green);
}
.kp-footer__email .kp-email__copy svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
}

/* Кнопка «Заказать звонок» в футере */
.kp-footer__callback {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--c-green) !important;
  color: var(--c-white) !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  margin: 6px 0 18px;
  font-family: inherit;
}
.kp-footer__callback svg {
  fill: none;
  stroke: currentColor;
}
.kp-footer__callback:hover {
  background: var(--c-green-dark) !important;
  box-shadow: 0 6px 16px rgba(113, 169, 44, 0.35);
}

/* Final footer link hover */
.kp-footer a:hover,
footer.kp-footer a:hover,
.kp-footer a:hover span,
footer.kp-footer a:hover span {
  color: #fbc113 !important;
}

.kp-footer a.kp-phone--free:hover,
.kp-footer a.kp-phone--city:hover,
.kp-footer__phone-free .kp-phone--free:hover,
.kp-footer__phones .kp-phone--city:hover,
.kp-footer a.kp-phone--free:hover svg,
.kp-footer a.kp-phone--city:hover svg,
.kp-footer__phone-free .kp-phone--free:hover svg,
.kp-footer__phones .kp-phone--city:hover svg {
  color: #fbc113 !important;
  stroke: #fbc113 !important;
}
