/* раскладка lenta: герой tsentr, форма pod_geroem, звонок plav, заголовки rule, порядок страницы_вперёд */
/* Раскладки сайтов сети (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-tsentr .hero .grid { grid-template-columns: 1fr; max-width: 860px; text-align: center; justify-items: center; }
body.h-tsentr .hero .tags, body.h-tsentr .hero .actions { justify-content: center; }
body.h-tsentr .hero .arrows { display: inline-block; text-align: left; }
body.h-tsentr .hero .lead { max-width: 38em; margin-left: auto; margin-right: auto; }
body.h-tsentr .hero h1 { font-size: clamp(28px, 6.8vw, 54px); }
body.h-tsentr .hero .strip { width: 100%; }

/* форма широкой полосой сразу под первым экраном (на компьютере поля в одну строку) */
body.f-pod_geroem .sec-form { padding: 26px 0; }
body.f-pod_geroem .sec-form .form { max-width: none; }
@media (min-width: 900px) {
  body.f-pod_geroem .sec-form .form { display: grid; grid-template-columns: 1fr 1fr 230px; column-gap: 20px; align-items: end; }
  body.f-pod_geroem .sec-form .form > h2 { grid-column: 1 / -1; grid-row: 1; margin-bottom: .2em; }
  body.f-pod_geroem .sec-form .form > h2 + .note { grid-column: 1 / -1; grid-row: 2; }
  body.f-pod_geroem .sec-form .form > label.f { grid-row: 3; margin-bottom: 8px; }
  body.f-pod_geroem .sec-form .form > label.f + label.f { grid-column: 2; }
  body.f-pod_geroem .sec-form .form > .btn { grid-column: 3; grid-row: 3; margin-bottom: 8px; }
  body.f-pod_geroem .sec-form .form > label.agree { grid-column: 1 / 3; grid-row: 4; margin: 6px 0 0; }
  body.f-pod_geroem .sec-form .form > label.agree + .note { grid-column: 1 / 3; grid-row: 5; }
  body.f-pod_geroem .sec-form .form > .msg { grid-column: 1 / -1; grid-row: 6; }
}

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

/* разделы: под заголовком цветная черта */
body.s-rule section > .wrap > h2 { display: inline-block; padding-bottom: .32em; border-bottom: 4px solid var(--red); margin-bottom: .9em; }
