/* ==========================================================================
   ExpressLogist — крупногабаритная доставка для бизнеса по СНГ
   Индустриальная тема: глубокий navy + сталь + safety-orange акцент.
   Шрифты: Manrope (заголовки) + Inter (текст).
   Брейкпоинты: ≥1200 десктоп, 768–1199 планшет, ≤767 мобильный.
   ========================================================================== */

:root {
    /* Палитра — 5 цветов + служебные оттенки на их основе */
    --navy:        #0B1F3A;   /* фон шапки/футера, тёмные секции */
    --navy-deep:   #071528;   /* самый тёмный фон (герой) */
    --steel:       #5B6B82;   /* второстепенный текст на светлом */
    --accent:      #FF6A2C;   /* safety-orange — CTA, акценты */
    --accent-dark: #E5541A;
    --ink:         #14202E;   /* основной текст */
    --paper:       #FFFFFF;   /* фон */
    --mist:        #F3F5F8;   /* фон блоков */
    --line:        #E2E7EE;   /* границы */
    --error:       #D93025;

    /* Алиасы токенов — используются в блоках документов, реквизитов и notice.
       Раньше были не объявлены → фон становился прозрачным, а текст сливался. */
    --surface:     #FFFFFF;   /* = paper */
    --surface-2:   #F3F5F8;   /* = mist  */
    --muted:       #5B6B82;   /* = steel */
    --border:      #E2E7EE;   /* = line  */

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 18px 48px rgba(11, 31, 58, 0.12);
    --shadow-sm: 0 6px 20px rgba(11, 31, 58, 0.08);
    --container: 1200px;

    --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #E7ECF3; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 720px; margin: 0 0 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 13px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

.section__title { font-size: clamp(28px, 4vw, 42px); color: var(--navy); text-wrap: balance; }
.section--navy .section__title { color: #fff; }
.section__subtitle { margin-top: 16px; font-size: 18px; color: var(--steel); text-wrap: pretty; }
.section--navy .section__subtitle { color: #A9B7C9; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: 16px;
    padding: 15px 28px; border-radius: var(--radius-sm); border: 2px solid transparent;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(255, 106, 44, .35); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { box-shadow: var(--shadow-sm); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Шапка ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11, 31, 58, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { flex: none; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.02em; }
.logo__text span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #C9D4E3;
    padding: 10px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__link.is-active { color: #fff; }
.nav__cta { margin-left: 10px; }
.nav__phone--mobile { display: none; }
.nav__phone--desktop {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff;
}
.nav__phone--desktop svg { color: var(--accent); }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.burger span { width: 22px; height: 2px; background: #fff; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Герой ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(255,106,44,.18), transparent 60%),
        linear-gradient(180deg, var(--navy-deep), var(--navy));
    color: #fff;
    padding: 84px 0 96px;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(180deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.78) 45%, rgba(11,31,58,.88) 100%),
        url("../img/hero-freight.jpg");
    background-image:
        linear-gradient(180deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.78) 45%, rgba(11,31,58,.88) 100%),
        image-set(url("../img/hero-freight.webp") type("image/webp"), url("../img/hero-freight.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center bottom;
    opacity: .55;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #D8E1EC;
}
.hero__badge b { color: var(--accent); font-family: var(--font-head); }
.hero__title { font-size: clamp(34px, 5.4vw, 60px); color: #fff; }
.hero__title span { color: var(--accent); }
.hero__lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: #B8C6D8; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--font-head); font-size: 30px; color: #fff; }
.hero__trust span { font-size: 14px; color: #93A3B8; }

/* Страница 404 */
.error-page__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.error-page__code {
    display: inline-block; font-family: var(--font-head); font-weight: 800;
    font-size: clamp(72px, 16vw, 140px); line-height: 1; color: var(--accent);
    letter-spacing: -.03em;
}
.error-page__title { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-top: 8px; }
.error-page__text { color: #B8C6D8; font-size: 18px; line-height: 1.6; margin-top: 18px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Honeypot-ловушка: полностью скрыта от людей, доступна ботам */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* Форма заявки в герое */
.lead-card {
    background: #fff; color: var(--ink);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.lead-card__title { font-size: 22px; color: var(--navy); }
.lead-card__note { margin-top: 6px; font-size: 14px; color: var(--steel); margin-bottom: 20px; }

/* ---------- Формы ---------- */
.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input, .select, .textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .15s, box-shadow .15s;
}
.textarea { resize: vertical; min-height: 88px; }
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,44,.15);
}
.input.is-invalid, .select.is-invalid { border-color: var(--error); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field__error.is-visible { display: block; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--steel); margin: 4px 0 18px; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }

.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.form-status.is-success { display: block; background: #E9F7EF; color: #1B7A43; }
.form-status.is-error { display: block; background: #FDECEA; color: var(--error); }

/* ---------- Логотипы-полоса доверия ---------- */
.marquee { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: var(--navy-deep); }
.marquee__inner { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; padding: 22px 0; }
.marquee__item { font-family: var(--font-head); font-weight: 700; color: #7F90A6; font-size: 15px; letter-spacing: .02em; }

/* ---------- Карточки-сетки ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,106,44,.12); color: var(--accent); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.card__text { color: var(--steel); font-size: 15px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent); font-weight: 700; font-family: var(--font-head); font-size: 15px; }
.card__link:hover { gap: 10px; }

/* Услуга-карточка со ссылкой на всю площадь */
.service-card { position: relative; }
.service-card a.stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- Шаги / процесс ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.steps--row { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num {
    counter-increment: step; font-family: var(--font-head); font-weight: 800; font-size: 15px;
    color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.step__num::before { content: counter(step, decimal-leading-zero); font-size: 40px; line-height: 1; color: rgba(255,106,44,.25); }
.step__title { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.step__text { color: var(--steel); font-size: 15px; }

/* ---------- Направления / страны ---------- */
.geo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.geo {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.geo:hover { border-color: var(--accent); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.geo__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.geo__meta { font-size: 13px; color: var(--steel); }
.geo__arrow { color: var(--accent); }

/* ---------- Преимущества со счётчиками ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 5vw, 52px); color: var(--accent); }
.stat span { color: #A9B7C9; font-size: 15px; }

/* ---------- Полоса CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy), var(--navy-deep));
    border-radius: var(--radius); padding: 48px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,106,44,.35), transparent 70%);
}
.cta-band__text { position: relative; z-index: 1; max-width: 620px; }
.cta-band__text h2 { color: #fff; font-size: 28px; }
.cta-band__text p { color: #B8C6D8; margin-top: 10px; }
.cta-band__actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Контент-страницы: layout с сайдбаром ---------- */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
/* Часть страниц (документы, оферта, политика) обёрнута в .layout__main + .layout__aside.
   Раньше эти обёртки не имели правил, из-за чего контент попадал в узкую колонку 260px
   и всё «схлопывалось». Здесь: контент — широкая колонка слева, сайдбар — 300px справа. */
.layout:has(.layout__main) { grid-template-columns: minmax(0, 1fr) 300px; }
.layout__main { min-width: 0; }
.layout__aside { min-width: 0; }
.article { max-width: 760px; }
.article--narrow { max-width: 820px; }
.article h2 { font-size: 28px; color: var(--navy); margin: 40px 0 16px; }
.article h3 { font-size: 21px; color: var(--navy); margin: 28px 0 12px; }
.article p { margin-bottom: 16px; color: #33414F; }
.article ul.list { margin: 0 0 20px; display: grid; gap: 10px; }
.article ul.list li { position: relative; padding-left: 28px; color: #33414F; }
.article ul.list li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
    background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.article .lead { font-size: 19px; color: var(--steel); margin-bottom: 24px; }

.page-hero { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); color: #fff; text-wrap: balance; }
.page-hero p { margin-top: 14px; color: #B8C6D8; font-size: 18px; max-width: 680px; }

/* Таблица тарифов/фактов */
.table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--mist); font-family: var(--font-head); color: var(--navy); font-weight: 700; }
table.data tr:last-child td { border-bottom: none; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: #fff; border: none; }
.faq__q::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq__item.is-open .faq__q::after { content: "\2212"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; padding: 0 20px; }
.faq__item.is-open .faq__a { max-height: 400px; padding-bottom: 18px; }
.faq__a p { color: var(--steel); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding: 16px 0; font-size: 14px; color: var(--steel); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: "/"; color: var(--line); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Сайдбар ---------- */
.sidebar { position: sticky; top: 96px; display: grid; gap: 24px; }
.sidebar__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebar__heading { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 12px; }
.sidebar__list { display: grid; gap: 4px; }
.sidebar__link { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; transition: background .15s, color .15s; }
.sidebar__link:hover { background: var(--mist); color: var(--accent); }
.sidebar__link--sub { padding-left: 24px; font-size: 14px; color: var(--steel); }
.sidebar__link.is-active { background: rgba(255,106,44,.12); color: var(--accent); font-weight: 600; }
.sidebar__cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; }
.sidebar__cta p { font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.sidebar__phone { display: block; margin-top: 12px; font-family: var(--font-head); font-weight: 700; color: #fff; }

/* ---------- Футер ---------- */
.footer { background: var(--navy-deep); color: #9FB0C4; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__col h4 { font-family: var(--font-head); color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer__col a { display: block; padding: 6px 0; color: #9FB0C4; font-size: 15px; }
.footer__col a:hover { color: var(--accent); }
.footer__about p { font-size: 15px; line-height: 1.6; margin: 16px 0; }
.footer__contact { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 20px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Утилиты ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1199px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps--row { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    /* Обе структуры layout — в одну колонку. Повышенная специфичность :has()
       требует явного переопределения, иначе десктопное правило «победит» на планшете. */
    .layout,
    .layout:has(.layout__main) { grid-template-columns: 1fr; }
    /* Контент выше навигации по разделу */
    .layout > .sidebar { order: 2; }
    .layout__aside { order: 2; }
    .sidebar { position: static; grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .section { padding: 56px 0; }
    .container { padding: 0 18px; }

    /* Мобильное меню */
    .nav {
        position: fixed; inset: 72px 0 auto 0; margin: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--navy); padding: 16px 18px 24px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow);
    }
    .nav.is-open { transform: translateY(0); }
    .nav__link { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
    .nav__cta { margin: 12px 0 0; }
    .nav__phone--mobile { display: block; padding: 14px 12px; color: var(--accent); font-family: var(--font-head); font-weight: 700; }
    .nav__phone--desktop { display: none; }
    .burger { display: flex; margin-left: auto; }

    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .geo-grid { grid-template-columns: 1fr; }
    .steps--row { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .cta-band { padding: 32px 24px; }
    .field__row { grid-template-columns: 1fr; }
    .hero { padding: 56px 0 64px; }
}

/* ── Блок перелинковки «Смотрите также» ── */
.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related > h2 { font-size: 22px; color: var(--navy); margin-bottom: 18px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.related__card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.related__card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.related__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.related__card:hover .related__title { color: var(--accent); }
.related__desc { font-size: 14px; color: var(--steel); line-height: 1.5; }

/* ---------- Калькулятор стоимости ---------- */
.field__hint { color: var(--steel); font-weight: 400; font-size: 13px; }
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.calc__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px; }
.calc__note { color: var(--error); font-size: 14px; margin: 4px 0 12px; }
.calc__result { position: sticky; top: 96px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.calc__placeholder { color: rgba(255,255,255,.7); text-align: center; }
.calc__label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.calc__price { display: block; font-family: var(--font-head); font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; line-height: 1.2; margin: 8px 0 18px; color: var(--accent); }
.calc__breakdown { margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.calc__breakdown li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }
.calc__breakdown li span { color: rgba(255,255,255,.65); }
.calc__breakdown li b { text-align: right; color: #fff; }
.calc__disclaimer { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; margin: 0 0 16px; }
@media (max-width: 720px) {
    .calc { grid-template-columns: 1fr; }
    .calc__row { grid-template-columns: 1fr; }
    .calc__result { position: static; }
}

/* ==========================================================================
   Промо-лендинги под Яндекс.Директ (inc/promo-page.php)
   ========================================================================== */

/* Шапка: только логотип + телефон + CTA, без навигации */
.promo-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.promo-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.promo-header__contact { display: flex; align-items: center; gap: 18px; }
.promo-header__phone { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 18px; white-space: nowrap; }
.promo-header__phone:hover { color: var(--accent); }

/* Герой */
.promo-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px 0 64px; }
.promo-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.promo-hero__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; color: #fff; text-wrap: balance; }
.promo-hero__sub { margin-top: 16px; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: rgba(255,255,255,.82); max-width: 560px; }

.promo-benefits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.promo-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: #EAF0F7; }
.promo-benefits svg { flex: 0 0 auto; margin-top: 1px; }

.promo-hero__cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.promo-hero__phone-big { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 24px; color: #fff; }
.promo-hero__phone-big:hover { color: var(--accent); }
.promo-hero__hours { font-size: 14px; color: rgba(255,255,255,.6); }

/* Форма-карточка в герое стоит на светлом фоне — базовые стили .lead-card уже есть */
.promo-hero .lead-card { margin: 0; }

/* Полоса доверия */
.promo-strip { background: var(--mist); border-bottom: 1px solid var(--line); }
.promo-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.promo-strip__item { text-align: center; }
.promo-strip__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 34px); color: var(--accent); line-height: 1.1; }
.promo-strip__label { display: block; margin-top: 6px; font-size: 14px; color: var(--steel); line-height: 1.4; }

/* Заголовки секций */
.promo-h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin-bottom: 32px; text-wrap: balance; }

/* Шаги */
.promo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promo-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.promo-step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.promo-step__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 18px; margin: 16px 0 8px; }
.promo-step__text { color: var(--steel); font-size: 15px; line-height: 1.55; }

/* Преимущества */
.promo-adv-wrap { background: var(--mist); }
.promo-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-adv__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.promo-adv__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.promo-adv__text { color: var(--steel); font-size: 15px; line-height: 1.6; }

/* Финальный CTA */
.promo-final { background: var(--navy); color: #fff; }
.promo-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 0; flex-wrap: wrap; }
.promo-final__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: #fff; }
.promo-final__text { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.55; max-width: 520px; }
.promo-final__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* SEO-текст */
.promo-seo { max-width: 820px; color: var(--steel); font-size: 15px; line-height: 1.7; }
.promo-seo p { margin-bottom: 14px; }

/* Футер промо */
.promo-footer { background: var(--navy-deep); color: #9FB0C4; padding: 40px 0 24px; }
.promo-footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.promo-footer__brand { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.promo-footer__brand span { color: var(--accent); }
.promo-footer__slogan { margin-top: 8px; font-size: 14px; line-height: 1.5; max-width: 340px; }
.promo-footer__col { display: flex; flex-direction: column; gap: 8px; }
.promo-footer__link { color: #9FB0C4; font-size: 15px; }
.promo-footer__link:hover { color: var(--accent); }
.promo-footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; line-height: 1.6; color: #7C8CA1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Адаптив промо */
@media (max-width: 1023px) {
    .promo-hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .promo-hero .lead-card { max-width: 480px; }
    .promo-steps { grid-template-columns: repeat(2, 1fr); }
    .promo-adv { grid-template-columns: 1fr 1fr; }
    .promo-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .promo-hero { padding: 40px 0 48px; }
    .promo-header__phone { display: none; }
    .promo-hero__cta { gap: 12px; }
    .promo-steps { grid-template-columns: 1fr; }
    .promo-adv { grid-template-columns: 1fr; }
    .promo-final__inner { flex-direction: column; align-items: flex-start; }
    .promo-final__actions { width: 100%; }
    .promo-final__actions .btn { flex: 1; text-align: center; justify-content: center; }
}

/* Юридические реквизиты в футере */
.footer__legal {
    margin: 0 0 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.5);
}

/* Таблица реквизитов на странице контактов */
.req-list { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.req-list li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 16px; background: var(--surface); }
.req-list li span { color: var(--muted); font-size: 14px; }
.req-list li b { color: var(--ink); font-weight: 600; font-size: 14px; }
@media (max-width: 560px) {
    .req-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* Куки-уведомление (152-ФЗ / закон «О рекламе») */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px;
    background: var(--navy);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(140%);
    transition: transform .35s ease;
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--accent); }
.cookie-bar .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 560px) {
    .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; }
}

/* Информационный блок / предупреждение */
.notice {
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    margin: 1.6rem 0;
    border: 1px solid var(--border);
    background: var(--surface-2);
}
.notice p { margin: 0; }
.notice--info {
    border-left: 3px solid var(--accent);
}

/* Список документов */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin: 1.6rem 0;
}
.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .2s ease, transform .2s ease;
}
.doc-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.doc-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--accent);
}
.doc-item__body { flex: 1 1 auto; min-width: 0; }
.doc-item__title { font-size: 1rem; margin: 0 0 .2rem; }
.doc-item__desc { font-size: .9rem; color: var(--muted); margin: 0; }
.doc-item__action { flex-shrink: 0; }
.doc-item__badge {
    display: inline-block;
    font-size: .78rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    white-space: nowrap;
}
@media (max-width: 560px) {
    .doc-item { flex-wrap: wrap; }
    .doc-item__action { width: 100%; }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
