/* SEOGIDTALK: единая шапка и доступный футер. V12, 2026-10-12.
   Подключается через assets/app.js на всех старых и новых страницах.
   Без изменения логотипа, разметки меню, URL, публикаций и содержимого CMS. */

/* Единая типографика главной навигации на услугах, в блоге и статьях. */
html body .header nav.nav > a,
html body .header .nav > a {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
}
html body .header .nav > a:hover,
html body .header .nav > a:focus-visible {
  color: #119b70 !important;
}
html body .header .nav { gap: 14px !important; }

/* Фиксированная CTA не исчезает. Оставляем под футером место,
   чтобы ссылки и копирайт можно было прокрутить над ней. */
html body { padding-bottom: 0 !important; }
html body footer.footer {
  padding: 30px 0 max(106px, calc(var(--sg-fixed-cta-height, 68px) + 40px)) !important;
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
}
html body footer.footer .footer-grid {
  gap: 28px !important;
  align-items: start !important;
}
html body footer.footer .footer-bottom {
  margin-top: 20px !important;
  padding-top: 14px !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* Кнопки остаются на экране и поверх декоративной области подвала. */
html body .sticky,
html body.sg-footer-visible .sticky {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 1100px) {
  html body .header nav.nav > a,
  html body .header .nav > a { font-size: 11px !important; }
  html body .header .nav { gap: 10px !important; }
}
@media (max-width: 760px) {
  html body .header nav.nav > a,
  html body .header .nav > a {
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: normal !important;
  }
  html body .header .nav { gap: 8px !important; }
  html body footer.footer {
    padding: 28px 0 max(112px, calc(var(--sg-fixed-cta-height, 58px) + 44px)) !important;
  }
  html body footer.footer .footer-grid { gap: 20px !important; }
  html body footer.footer .footer-bottom { margin-top: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .sticky { transition: none !important; }
}
