/* Подвал (layout/SiteFooter.tsx): полоса бренда + колонки. Фон, декор и нижняя полоса — от шаблона. */
.sk-footer .app-footer__top { padding-top: 56px; padding-bottom: 48px; }
.sk-footer__grid {
  display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 40px 48px;
  position: relative; z-index: 1; color: #fff; font-size: 15px; line-height: 1.5;
}
.sk-footer__col { min-width: 0; }

/* Полоса бренда над колонками (30.09.2026): логотип + строка о компании слева,
   круглые кнопки соцсетей и белая кнопка «Перезвоните мне» справа. */
.sk-footer__brand {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 20px 28px;
  padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.sk-footer__logo { flex: none; display: inline-block; }
.sk-footer__logo img { width: 120px; max-width: 120px !important; height: auto; display: block; } /* у logo-white.svg нет своих размеров */
.sk-footer__tagline { flex: 1 1 auto; min-width: 0; margin: 0; max-width: 22em; font-size: 18px; font-weight: 500; line-height: 1.4; color: #fff; }
.sk-footer__actions { flex: none; display: flex; align-items: center; gap: 12px 16px; margin-left: auto; }
.sk-footer__social { display: flex; align-items: center; gap: 10px; margin: 0; }
.sk-footer__social .social-block__item {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; opacity: 1; transition: background .2s, color .2s;
}
.sk-footer__social .social-block__item:hover { background: #fff; color: #23703f; }
.sk-footer__social .svg-icon, .sk-footer__social .svg-icon[style] { width: 20px !important; height: 20px !important; color: inherit; }
.sk-footer__social .svg-icon__link { width: 100%; height: 100%; fill: currentColor; }
.sk-footer__cta a.site-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 12px; background: #fff; color: #23703f; font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background .2s, color .2s;
}
.sk-footer__cta a.site-btn:hover { background: #e9423d; color: #fff; }

/* Заголовки колонок и подписи — одним стилем */
.sk-footer__title, .sk-footer__office .app-footer__adress-item-title {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); margin: 0 0 16px; padding: 0; line-height: 1.3;
}

/* Разделы */
.sk-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sk-footer__nav a { color: #fff; text-decoration: none; }
.sk-footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Офисы: одинаковый размер у телефонов, почты и адреса (в исходнике были разные) */
.sk-footer__office .app-footer__adress-item-phone,
.sk-footer__office .app-footer__adress-item-mail,
.sk-footer__office .app-footer__adress-item-body { font-size: 15px; line-height: 1.5; margin: 0 0 10px; padding: 0; color: #fff; }
.sk-footer__office .app-footer__adress-item-phone br + br { display: none; } /* двойной <br> из текста блока */
.sk-footer__office .app-footer__adress-item-body { color: rgba(255, 255, 255, .85); }
.sk-footer__office a { color: #fff; text-decoration: none; }
.sk-footer__office a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sk-footer__office > br { display: none; }

/* Нижняя полоса — только копирайт */
.sk-footer .app-footer__bottom-inner { display: flex; justify-content: flex-start; align-items: center; }

/* Планшет: полоса бренда переносится, колонки 2 + 1 (разделы на всю ширину сверху) */
@media (max-width: 1099px) {
  .sk-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .sk-footer__nav { grid-column: 1 / -1; }
  /* колонки «как в газете» (columns), а не сетка по строкам: перенос длинного пункта
     в одной колонке не сдвигает пункты соседней */
  .sk-footer__nav ul { display: block; columns: 3; column-gap: 24px; }
  .sk-footer__nav li { break-inside: avoid; margin-bottom: 12px; }
}

/* Планшет и телефон: полоса бренда в две строки — логотип и текст, ниже соцсети и кнопка
   одной строкой (кнопка забирает всё оставшееся место, пустоты нет) */
@media (max-width: 900px) {
  .sk-footer__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 16px; }
  .sk-footer__tagline { max-width: none; }
  .sk-footer__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; }
  .sk-footer__social { gap: 8px; }
  .sk-footer__cta { flex: 1; min-width: 0; }
  .sk-footer__cta a.site-btn { width: 100%; min-height: 48px; padding: 0 12px; }
}

/* Телефон: одна колонка, выравнивание влево, разделители между блоками */
@media (max-width: 640px) {
  .sk-footer .app-footer__top { padding-top: 40px; padding-bottom: 32px; }
  .sk-footer__grid { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .sk-footer__col { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
  .sk-footer__col:first-child { border-top: 0; padding-top: 0; }
  .sk-footer__brand { padding-bottom: 28px; margin-bottom: 24px; }
  .sk-footer__logo img { width: 92px; max-width: 92px !important; }
  .sk-footer__tagline { font-size: 16px; }
  .sk-footer__nav ul { columns: 2; column-gap: 16px; }
}
