/* раскладка nizu: герой uzkiy, форма vnizu, звонок plav, заголовки split, порядок блоки_вперёд */
/* Раскладки сайтов сети (16.11.2026): общее для всех. Грузится ПОСЛЕ стиля оформления; цвета берутся из переменных оформления (--red, --ink, --bg, --grey, --r). */
#zayavka { scroll-margin-top: 92px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 1em; }
.actions .btn { margin: 0; }
.sec-form { padding: 34px 0; }
.sec-form .form { max-width: 560px; margin-left: auto; margin-right: auto; }
.callcard .callnum { display: block; margin: .15em 0 .45em; font-weight: 700; font-size: clamp(26px, 7vw, 36px); line-height: 1.1; font-family: inherit; color: var(--ink); text-decoration: none; white-space: nowrap; }
.callcard h2 { margin-bottom: .3em; }
.callcard .btn { display: block; width: 100%; margin-top: 6px; }
.callcard .note { margin-bottom: 14px; }
.hero .grid.solo { grid-template-columns: 1fr; }
.hero .grid.solo > div { max-width: 780px; }
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 9; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bg); border: 3px solid var(--red); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); text-decoration: none; }
.call-fab:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.call-fixed.one .btn { flex: 1 1 100%; }
@media print { .call-fab { display: none !important; } }
/* шапка: длинное название сайта переносится на вторую строку, телефон не уезжает за экран */
body .top .wrap { flex-wrap: nowrap; }
body .top .brand { white-space: normal; min-width: 0; flex: 1 1 auto; line-height: 1.15; overflow-wrap: anywhere; }
body .top .tel { flex: none; }

/* первый экран: узкий текст слева с цветной чертой, без формы */
body.h-uzkiy .hero .grid { grid-template-columns: 1fr; }
body.h-uzkiy .hero .grid > div { max-width: 720px; border-left: 6px solid var(--red); padding-left: 20px; }

/* форма внизу страницы, узкой карточкой по центру */
body.f-vnizu .sec-form { padding: 48px 0 56px; }
body.f-vnizu .sec-form .form { max-width: 480px; }
body.f-vnizu .sec-form .form > h2 { text-align: center; }
body.f-vnizu .sec-form .form > h2 + .note { text-align: center; }

/* звонок: круглая плавающая кнопка с трубкой в углу, нижней панели нет */
body.c-plav .call-fixed { display: none !important; }
body.c-plav .cookie { bottom: 92px; }
@media (min-width: 760px) { body.c-plav .cookie { bottom: 92px; } }

/* разделы на компьютере: заголовок в левой колонке, содержимое справа */
@media (min-width: 900px) {
  body.s-split section.sec-text > .wrap, body.s-split section.sec-faq > .wrap, body.s-split section.sec-steps > .wrap,
  body.s-split section.sec-cards > .wrap, body.s-split section.sec-pages > .wrap, body.s-split section.figs > .wrap {
    display: grid; grid-template-columns: minmax(200px, 1fr) 2.7fr; column-gap: 48px; row-gap: 0; align-items: start; }
  body.s-split section.sec-text > .wrap > h2, body.s-split section.sec-faq > .wrap > h2, body.s-split section.sec-steps > .wrap > h2,
  body.s-split section.sec-cards > .wrap > h2, body.s-split section.sec-pages > .wrap > h2, body.s-split section.figs > .wrap > h2 {
    grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 90px; }
  body.s-split section.sec-text > .wrap > :not(h2), body.s-split section.sec-faq > .wrap > :not(h2), body.s-split section.sec-steps > .wrap > :not(h2),
  body.s-split section.sec-cards > .wrap > :not(h2), body.s-split section.sec-pages > .wrap > :not(h2), body.s-split section.figs > .wrap > :not(h2) { grid-column: 2; }
}
