/*
 * Компонентный слой в духе Yandex UI. Единая система: токены — tokens.css.
 * Загружается последним, поэтому переопределяет базу site.css.
 * Одна «рецептура» для всех карточек, один жёлтый action-контрол, системные
 * отступы/радиусы/типографика.
 */

/* ── База ── */
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip; /* защита от горизонтального скролла из-за full-bleed плашки формы */
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
.header-inner, .container { max-width: 1120px; }
.container { padding-top: 8px; padding-bottom: 64px; }
.section { margin-bottom: 46px; }
h1, h2, h3 { letter-spacing: -0.02em; color: var(--text); }
h1 { font-weight: 600; }

/* ── Кнопки (единая система, action = жёлтый Яндекса) ── */
.btn, button.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: var(--control-l); padding: 0 22px;
    border: none; border-radius: var(--radius-m);
    background: var(--action); color: var(--on-action);
    font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1;
    text-decoration: none; cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .05s;
}
.btn:hover, button.btn:hover { background: var(--action-hover); color: var(--on-action); }
.btn:active, button.btn:active { transform: translateY(1px); }
.btn:disabled, button.btn:disabled { opacity: .5; cursor: default; }
.btn-secondary, button.btn-secondary {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn-secondary:hover, button.btn-secondary:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: var(--radius-s); }
.link-btn {
    border: none; background: none; padding: 0; font: inherit;
    color: var(--link); cursor: pointer; text-decoration: none;
}
.link-btn:hover { color: var(--link-hover); text-decoration: underline; }

/* ── Шапка ── */
header { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .header-inner { align-items: center; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.logo-mark {
    width: 40px; height: 40px; border-radius: 11px;
    object-fit: cover; border: 1px solid var(--line); background: #fff; flex-shrink: 0;
}
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.05; display: flex; flex-direction: column; }
.logo-text small { font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-top: 2px; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav-link { text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-s); }
.header-nav-link:hover { color: var(--text); background: var(--surface-2); }
.header-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
    text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--text);
    padding: 8px 14px 8px 8px; border: none; border-radius: var(--radius-pill);
    background: transparent; transition: background .15s;
}
.header-cta:hover { background: var(--surface-2); }
.header-cta-icon {
    width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--accent); font-size: 15px; line-height: 1;
}

/* ── Хлебные крошки ── */
.breadcrumbs { font-size: 13px; color: var(--text-3); margin: 20px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); }
.breadcrumbs .crumb-sep { color: var(--line-strong); }
.breadcrumbs .crumb-current { color: var(--text-2); }

/* ── Герой главной ── */
.hero-home {
    text-align: center; padding: 52px 0 20px; position: relative; isolation: isolate;
}
.hero-home::before {
    content: ''; position: absolute; z-index: -1; inset: -10% -20% 20%;
    background: radial-gradient(60% 70% at 50% 30%, rgba(31,80,143,.16), rgba(31,80,143,0) 70%);
    pointer-events: none;
}
.hero-home-title {
    margin: 0 auto; max-width: 760px;
    font-size: clamp(30px, 4.8vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em;
}
.hero-home-sub { margin: 16px auto 0; max-width: 600px; font-size: 17px; line-height: 1.5; color: var(--text-2); }

/* ── Герой посадочных ── */
.hero-route { padding: 6px 0 6px; }
.hero-route-title { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.hero-route-facts { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; margin-bottom: 12px; }
.hero-route-intro { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 780px; }
.hero-route-intro p { margin: 0 0 8px; }
.hero-route-intro strong { color: var(--text); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.feat-ico { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.feat-text { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

/* ── Поисковая строка-подписка ── */
/* Форма — на синей плашке во всю ширину экрана (как у aviasales): белая строка
   поиска чётко видна на насыщенном фоне. Full-bleed вырывает секцию из контейнера. */
.alert-form-section {
    width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    margin-top: 30px; margin-bottom: 48px; padding: 44px 20px;
    background: linear-gradient(125deg, #1c4a86 0%, #235391 55%, #2a63a6 100%);
}
.search-widget { max-width: 960px; margin: 0 auto; padding: 0; background: transparent; border: none; box-shadow: none; }
.search-widget .notify-card { border: none; border-radius: 0; padding: 0; background: transparent; }
/* Текст вокруг формы — светлый (на синем фоне) */
.alert-form-section .form-lead-tag {
    background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.30); color: #fff;
}
.alert-form-section .search-underbar { color: rgba(255,255,255,.88); }
.alert-form-section .route-alert-badge {
    background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.92);
}
.alert-form-section .route-alert-badge::before { background: rgba(255,255,255,.6); }
.alert-form-section .route-alert-badge.is-active {
    background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.4); color: #fff;
}
.alert-form-section .route-alert-badge.is-active::before { background: #86efac; }
.alert-form-section .search-status { color: rgba(255,255,255,.85); }
.search-bar {
    display: flex; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line-strong);
    border-radius: var(--radius-l); box-shadow: var(--shadow-l);
    padding: 8px; max-width: 100%; margin: 0 auto;
}
/* Форма всегда по центру (как на главной). */
.alert-form-section .search-bar { margin: 0 auto; }
.search-field { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 18px; border-radius: var(--radius-l); position: relative; min-width: 0; min-height: var(--control-xl); }
.search-field:hover { background: var(--surface-2); }
.search-field-price { flex: 0 0 196px; }
.search-field label { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.search-input {
    border: none; background: transparent; padding: 0; margin: 0;
    font: inherit; font-size: 16px; font-weight: 600; color: var(--text); width: 100%;
}
.search-input:focus { outline: none; }
.search-input::placeholder { color: var(--text-3); font-weight: 500; }
.search-sep { width: 1px; background: var(--line); margin: 12px 0; flex: 0 0 auto; }
.search-btn {
    flex: 0 0 auto; align-self: center; height: var(--control-l); border: none; border-radius: var(--radius-m);
    background: var(--action); color: var(--on-action); font-weight: 600; font-size: 15.5px;
    padding: 0 26px; cursor: pointer; transition: background .15s;
}
.search-btn:hover { background: var(--action-hover); }
.search-btn:active { transform: translateY(1px); }

.search-underbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 960px; margin: 12px auto 0; font-size: 13.5px; color: var(--text-2); }
.search-status { max-width: 960px; margin: 8px auto 0; font-size: 13px; color: var(--text-3); }
.route-alert-badge { color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; }
.route-alert-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: 0 0 auto; }
.route-alert-badge.is-active { color: var(--positive); font-weight: 600; }
.route-alert-badge.is-active::before { background: var(--positive); }

/* Раскрывающиеся доп.параметры */
.search-advanced { margin-left: auto; }
.search-advanced[open] { flex: 1 1 100%; margin-left: 0; }
.search-advanced-toggle {
    cursor: pointer; list-style: none; color: var(--link);
    font-weight: 600; font-size: 13.5px; user-select: none;
}
.search-advanced-toggle::-webkit-details-marker { display: none; }
.search-advanced-toggle::after { content: ' ▾'; font-size: 10px; }
.search-advanced[open] .search-advanced-toggle::after { content: ' ▴'; }
.search-advanced-body {
    margin-top: 14px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-l); padding: 20px 22px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; box-shadow: var(--shadow-s);
}
.adv-group-dates { grid-column: 1 / -1; }
.email-subscribe-block { grid-column: 1 / -1; }
.adv-label { font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.adv-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-3); }
.channel-hint { font-size: 12.5px; color: var(--text-2); margin-top: 10px; line-height: 1.55; }
.channel-hint a { color: var(--link); }

/* Поля формы (email/date) под общий стиль */
.form-control {
    width: 100%; height: var(--control-m); padding: 0 14px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-m);
    background: var(--surface); font: inherit; font-size: 15px; color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(42,90,214,.12); }
.date-range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input-help { font-size: 12.5px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }

/* Сегментный тумблер */
.segmented { display: inline-flex; background: var(--fill); border-radius: var(--radius-m); padding: 3px; gap: 2px; width: 100%; }
.seg-option { flex: 1; position: relative; text-align: center; cursor: pointer; }
.seg-option input { position: absolute; opacity: 0; pointer-events: none; }
.seg-option span {
    display: block; font-size: 13px; font-weight: 500; color: var(--text-2);
    padding: 9px 6px; border-radius: var(--radius-s); transition: background .12s, color .12s, box-shadow .12s;
}
.seg-option:has(input:checked) span { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-s); }

/* Автокомплит */
.geo-field { position: relative; }
.geo-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    box-shadow: var(--shadow-l); padding: 6px; max-height: 320px; overflow-y: auto; min-width: 260px;
}
.geo-suggest-item {
    display: block; width: 100%; text-align: left; padding: 11px 12px; border: none; background: none;
    font: inherit; font-size: 14.5px; color: var(--text); border-radius: var(--radius-s); cursor: pointer;
}
.geo-suggest-item:hover { background: var(--surface-2); }

/* ── Единая рецептура карточек ── */
.geo-card, .approx-card, .how-item, .faq-item {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.geo-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.geo-card { display: flex; flex-direction: column; gap: 6px; padding: 17px 19px; text-decoration: none; color: var(--text); }
.geo-card:hover { border-color: transparent; box-shadow: var(--shadow-m); transform: translateY(-2px); }
.geo-card-title { font-size: 17px; font-weight: 600; }
.geo-card-meta { font-size: 12.5px; color: var(--text-3); }
.geo-card-country { flex-direction: row; align-items: center; gap: 14px; }
.geo-card-flag {
    font-size: 26px; line-height: 1; flex-shrink: 0; width: 44px; height: 44px;
    display: grid; place-items: center; background: var(--surface-2); border-radius: var(--radius-m);
}
.geo-card-country-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ── Чипы ── */
.route-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.route-chip {
    font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 8px 15px; transition: border-color .15s, color .15s, background .15s;
}
.route-chip:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.route-chip-accent { color: var(--link); border-color: var(--blue-line); font-weight: 600; }
.route-chip-accent:hover { color: var(--link-hover); background: var(--blue-soft); }
.cities-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cities-strip-label { font-size: 13px; color: var(--text-3); margin-right: 4px; }

/* ── Примерные цены ── */
.approx-head { display: flex; align-items: baseline; gap: 12px; }
.approx-badge { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--fill); border-radius: var(--radius-pill); padding: 5px 11px; }
.approx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0 12px; max-width: 660px; }
.approx-card { padding: 18px 22px; }
.approx-card-label { font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.approx-card-value { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.approx-note { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin: 8px 0 0; max-width: 660px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { padding: 4px 20px; }
.faq-item[open] { box-shadow: var(--shadow-s); }
.faq-q { font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; padding: 15px 0; position: relative; padding-right: 28px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--text-3); }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { font-size: 14.5px; line-height: 1.6; color: var(--text-2); padding: 0 0 16px; }

.section-title { font-size: clamp(20px, 3vw, 26px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 18px; }

/* Срок жизни подписки */
.notify-expiry { margin-top: 4px; }
.notify-expiry-soon { color: var(--warn-text); font-weight: 600; }
.notify-expiry-over { color: var(--danger); font-weight: 600; }

/* ── Объяснялка «как работает / зачем» ── */
.explainer { margin-top: 8px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; }
.how-num {
    width: 34px; height: 34px; border-radius: var(--radius-m);
    background: var(--accent); color: var(--on-accent);
    display: grid; place-items: center; font-weight: 700; font-size: 16px; margin-bottom: 6px;
}
.how-item-title { font-size: 16.5px; font-weight: 600; }
.how-item-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.why-block { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 26px; }
.why-title { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.why-item { font-size: 14.5px; color: var(--text); line-height: 1.55; padding-left: 28px; position: relative; }
.why-item::before {
    content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
    display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700;
    background: var(--positive-bg); color: var(--positive);
}
.why-item strong { font-weight: 600; }
.channels-note { margin: 18px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.channels-note a { color: var(--link); }

/* ── Тёмный футер ── */
.site-footer { background: var(--ink); color: var(--ink-2); margin-top: 56px; }
.site-footer a { color: var(--ink-2); }
.site-footer .footer-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 30px 0; }
.site-footer .footer-brand strong { color: #fff; }
.site-footer .footer-brand span { color: var(--ink-3); }
.site-footer .footer-links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .footer-link-chip { color: var(--ink-2); text-decoration: none; font-size: 13.5px; background: none; border: none; padding: 0; }
.site-footer .footer-link-chip:hover { color: #fff; }
.site-footer .footer-spoiler { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0 22px; }
.site-footer .footer-spoiler summary { color: var(--ink-2); font-size: 13.5px; cursor: pointer; }
.site-footer .footer-spoiler-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.site-footer .footer-spoiler-col-title { color: var(--ink-3); font-size: 12px; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer .footer-spoiler-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-spoiler-col li { margin: 0 0 4px; }
.site-footer .footer-spoiler-col a { color: var(--ink-3); text-decoration: none; font-size: 12.5px; line-height: 1.7; }
.site-footer .footer-spoiler-col a:hover { color: var(--ink-2); }

/* ── Акцент «это не поиск, а подписка» ── */
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
    font-size: 13px; font-weight: 600; color: var(--accent-text);
    background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-pill); padding: 8px 16px;
}
.form-lead { display: flex; align-items: center; justify-content: center; gap: 12px 22px; flex-wrap: wrap; max-width: 960px; margin: 0 auto 16px; }
.form-lead-tag {
    display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--accent-text);
    background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius-pill); padding: 7px 14px;
}
.form-lead-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 20px; margin: 0; padding: 0; }
.form-lead-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.form-lead-steps li span {
    width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
    font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto;
}

/* ── Каналы уведомлений (визуальный блок) ── */
.channels-title { font-size: 14px; font-weight: 600; color: var(--text-2); margin: 22px 0 12px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel-card {
    display: flex; align-items: center; gap: 13px; padding: 15px 17px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
    text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.channel-card:hover { border-color: transparent; box-shadow: var(--shadow-m); transform: translateY(-2px); }
.channel-card-primary { border-color: var(--accent-line); background: var(--accent-soft); }
.channel-ico {
    width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center;
    font-size: 20px; border-radius: var(--radius-m); background: var(--surface-2);
}
.channel-card-primary .channel-ico { background: var(--accent); }
.channel-body { display: flex; flex-direction: column; min-width: 0; }
.channel-name { font-size: 14.5px; font-weight: 600; }
.channel-role { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.channel-role-primary { color: var(--accent-text); font-weight: 600; }

/* ── Модалка подписки ── */
html.modal-open { overflow: hidden; }
.submodal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.submodal[hidden] { display: none; }
.submodal-backdrop { position: absolute; inset: 0; background: rgba(24, 20, 12, .5); backdrop-filter: blur(2px); }
.submodal-dialog {
    position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto;
    background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
    animation: submodal-in .16s ease-out;
}
@keyframes submodal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.submodal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px 6px; }
.submodal-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.submodal-sub { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.submodal-close {
    border: none; background: none; font-size: 26px; line-height: 1; color: var(--text-3);
    cursor: pointer; width: 36px; height: 36px; border-radius: var(--radius-s); flex: 0 0 auto;
}
.submodal-close:hover { background: var(--surface-2); color: var(--text); }
.submodal-body { padding: 12px 24px 6px; display: grid; gap: 20px; }
.submodal-foot { padding: 16px 24px 24px; }
.submodal-submit { width: 100%; height: var(--control-l); font-size: 15.5px; }

/* ── Адаптив ── */
@media (max-width: 900px) {
    .how-grid { grid-template-columns: 1fr; }
    .channels { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .header-nav-link { display: none; }
    .header-cta { margin-left: 0; }
    .alert-form-section { padding: 30px 14px 34px; }
    /* Разрежаем блок формы: убираем скученность тег/бейдж/статус */
    .alert-form-section .route-alert-badge { display: none; }
    .search-underbar { margin-top: 16px; }
    .search-status { margin-top: 12px; line-height: 1.5; }
    .search-bar { flex-direction: column; gap: 0; padding: 6px 14px; }
    .search-sep { display: none; }
    .search-field, .search-field-price { flex: 1 1 auto; }
    /* На мобиле поля идут в столбик — разделяем горизонтальными линиями */
    .search-field { border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; }
    .search-field:hover { background: transparent; }
    .search-field-price { border-bottom: none; }
    .search-btn { align-self: stretch; height: auto; padding: 15px; margin-top: 8px; border-radius: var(--radius-m); }
    .search-advanced-body { grid-template-columns: 1fr; }
    .search-advanced { margin-left: 0; }
    .submodal { padding: 0; align-items: flex-end; }
    .submodal-dialog { max-width: none; max-height: 92vh; border-radius: var(--radius-l) var(--radius-l) 0 0; }
    /* Нумерованные шаги в form-lead на мобиле рвутся неровно и дублируют блок
       «Как это работает» ниже — прячем, оставляем только плашку-акцент. */
    .form-lead { margin: 0 auto 18px; }
    .form-lead-steps { display: none; }
    .hero-home { padding: 36px 0 14px; }
    .hero-eyebrow { margin-bottom: 14px; }
    /* Заголовок секции + примечание: на мобиле в столбик, а не боком */
    .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .site-footer .footer-spoiler-cols { grid-template-columns: 1fr; }
    .site-footer .footer-links { margin-left: 0; }
}
