/* ══════════════════════════════════════════════════════════
   АТЛАНТ Логистика — стили
   Минимализм: белый фон, чёрный текст, один фирменный синий,
   крупные жирные заголовки Montserrat, текст Onest.
   ══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Montserrat'; font-display: swap; font-weight: 100 900; src: url(../fonts/montserrat-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-display: swap; font-weight: 100 900; src: url(../fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-display: swap; font-weight: 100 900; src: url(../fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-display: swap; font-weight: 100 900; src: url(../fonts/onest-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #101318;
  --muted: #6A717B;
  --line: #E7E9ED;
  --soft: #F5F6F8;
  --white: #FFFFFF;
  --blue: #1A56DB;
  --blue-h: #1447BD;
  --red: #D93025;
  --green: #0F8A5F;

  --f-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r: 12px;
  --r-l: 20px;
  --wrap: 1200px;
  --gut: 24px;
  --hdr-h: 76px;
  --sec: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { font: 400 17px/1.55 var(--f-text); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Типографика ─────────────────────────────── */
.h1, .h2, .h3, .h4 { font-family: var(--f-head); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; }
.h1-page { font-size: clamp(34px, 4.6vw, 60px); }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.h4 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.lead-text { font-size: 19px; line-height: 1.5; margin-top: 20px; max-width: 46ch; }

/* ── Кнопки ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--f-head); letter-spacing: -0.01em; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); }
.btn-outline { box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── Шапка ───────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.logo { display: block; color: var(--blue); flex: none; }
.logo-svg { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: background-color .2s; }
.nav-link:hover { background: var(--soft); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-sub-btn { display: none; }
.nav-sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility 0s .15s; box-shadow: 0 20px 40px rgba(16,19,24,.08); }
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-sub a { padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.nav-sub a:hover { background: var(--soft); }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-mobile-extra { display: none; }
.city-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s; max-width: 200px; }
.city-btn:hover { background: var(--soft); color: var(--ink); }
.city-btn-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-msg { display: flex; gap: 4px; }
.msg-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background-color .2s; }
.msg-btn:hover { background: var(--soft); }
.hdr-phone { font: 800 18px/1 var(--f-head); letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr-phone:hover { color: var(--blue); }
.hdr-call, .burger { display: none; }

/* ── Первый экран ────────────────────────────── */
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: start; padding-top: 72px; padding-bottom: var(--sec); }
.hero .h1 { max-width: 15ch; }
.hero .crumbs + .h1 { margin-top: 16px; }
.hero-sub { margin-top: 24px; font-size: 21px; color: var(--muted); max-width: 32ch; }
.kpi { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin-top: 56px; }
.kpi dt { font: 800 clamp(30px, 3.2vw, 44px)/1 var(--f-head); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kpi dd { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* появление первого экрана — один раз при загрузке */
.hero-text > *, .hero-form { animation: up .7s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .05s; }
.hero-text > :nth-child(3) { animation-delay: .1s; }
.hero-text > :nth-child(4) { animation-delay: .15s; }
.hero-text > :nth-child(5) { animation-delay: .2s; }
.hero-form { animation-delay: .15s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Форма ───────────────────────────────────── */
.order { background: var(--soft); border-radius: var(--r-l); padding: 32px; }
.order-title { font: 800 24px/1.1 var(--f-head); letter-spacing: -0.02em; }
.order-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.order-form { display: grid; gap: 14px; margin-top: 24px; }
.order-error { background: #FDECEA; color: #A42119; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid transparent; background: #fff; font-size: 16px; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: #A3A9B2; }
.field input:hover, .field select:hover { border-color: var(--line); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.field-err { font-size: 13px; color: var(--red); }
.field-err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.select select:invalid { color: #A3A9B2; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn-send { min-height: 58px; font-size: 17px; margin-top: 6px; position: relative; }
.btn-send.is-loading span { opacity: 0; }
.btn-send.is-loading::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-alt { text-align: center; font-size: 14px; color: var(--muted); }
.order-alt a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.order-done { padding: 40px 0 16px; text-align: center; animation: up .5s var(--ease) both; }
.order-done-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.order-done h3 { font: 800 24px/1.2 var(--f-head); letter-spacing: -0.02em; }
.order-done p { margin-top: 8px; color: var(--muted); }

/* ── Секции ──────────────────────────────────── */
.sec { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.sec-soft { background: var(--soft); border-top-color: transparent; }
.sec-soft + .sec, .sec + .sec-soft { border-top-color: transparent; }
.sec-h { margin-bottom: 48px; }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-note { color: var(--muted); font-size: 16px; max-width: 40ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

/* Услуги */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.svc a { display: grid; gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); height: 100%; }
.svc b { font: 800 22px/1.15 var(--f-head); letter-spacing: -0.02em; transition: color .2s; }
.svc span { color: var(--muted); font-size: 15px; }
.svc a:hover b { color: var(--blue); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-n { display: block; font: 800 64px/1 var(--f-head); letter-spacing: -0.04em; color: var(--blue); }
.steps h3 { font: 800 22px/1.2 var(--f-head); letter-spacing: -0.02em; margin-top: 20px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Грузы */
.cargo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.cargo-h { font: 800 15px/1 var(--f-head); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.cargo-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.cargo-list li::before { content: ''; position: absolute; left: 2px; top: 50%; }
.cargo-yes li::before { width: 12px; height: 7px; margin-top: -6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.cargo-no li { color: var(--muted); }
.cargo-no li::before { width: 12px; height: 2px; margin-top: -1px; background: var(--muted); }

/* Таблицы (автопарк, направления) */
.table th, .table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.table thead th { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 0; padding-bottom: 14px; }
.table tbody th { font: 800 18px/1.3 var(--f-head); letter-spacing: -0.01em; }
.table b { font-weight: 700; }
.table a:hover { color: var(--blue); }
.routes tbody th { font-size: 16px; }
.routes td:last-child, .routes th:last-child { text-align: right; padding-right: 0; }

/* Вкладки */
.tabs { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,19,24,.1); }
.fleet-panel.is-entering { animation: fade .3s ease both; }
@keyframes fade { from { opacity: 0; } }

/* Города */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.cities-h { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.cities li a { display: inline-block; padding: 5px 0; font-weight: 600; transition: color .2s; }
.cities li a:hover, .cities a[aria-current] { color: var(--blue); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 700 18px/1.35 var(--f-head); letter-spacing: -0.01em; }
.faq-plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 40px 24px 0; color: var(--muted); }
.faq-item[open] .faq-a { animation: up .3s var(--ease); }

/* Призыв */
.cta { background: var(--ink); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 88px; padding-bottom: 88px; }
.cta-phone { font: 800 clamp(30px, 4.4vw, 60px)/1 var(--f-head); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .2s; }
.cta-phone:hover { color: #9CB8FF; }

/* Шапка внутренних страниц */
.phead .wrap { padding-top: 56px; padding-bottom: 64px; }
.phead .h1 { margin-top: 16px; max-width: 18ch; }
.phead-lead { margin-top: 20px; font-size: 21px; color: var(--muted); max-width: 40ch; }
.phead-lead:empty { display: none; }

/* Хлебные крошки */
.crumbs ol { display: flex; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin: 0 8px; opacity: .5; }
.crumbs a:hover { color: var(--ink); }

/* Прочее */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--ink); }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.points p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.order-sec { display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: start; }
.order-sec .sec-note { margin-top: 20px; }
.order-sec .order { background: #fff; }
.big-phone { display: inline-block; margin-top: 12px; font: 800 clamp(28px, 3vw, 40px)/1.1 var(--f-head); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.big-phone:hover { color: var(--blue); }
.req-card { border-top: 1px solid var(--line); }
.req-card .h4 { padding: 18px 0 6px; }
.req-card dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.req-card dt { color: var(--muted); }
.req-card dd { font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.req-card a:hover { color: var(--blue); }
.contact-main { display: grid; gap: 6px; align-content: start; }
.contact-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 24px; }
.contact-label:first-child { margin-top: 0; }
.contact-msg { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.contact-mail { font-size: 20px; font-weight: 600; }
.contact-hours { font-size: 17px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.legal { max-width: 760px; }
.legal h2 { font: 800 20px/1.3 var(--f-head); margin-top: 32px; }
.nf .h1 { margin-top: 0; }
.nf-in { max-width: 720px; }
.nf-code { font: 800 clamp(80px, 14vw, 160px)/1 var(--f-head); letter-spacing: -0.05em; color: var(--soft); }
.nf .lead { margin-top: 16px; color: var(--muted); font-size: 19px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ── Подвал ──────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); font-size: 15px; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr .9fr .8fr 1.6fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.ftr .logo-svg { height: 36px; }
.ftr-phone { display: block; margin-top: 28px; font: 800 22px/1 var(--f-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ftr-phone:hover, .ftr a:hover { color: var(--blue); }
.ftr-mail { display: inline-block; margin-top: 10px; color: var(--muted); }
.ftr-hours { margin-top: 6px; color: var(--muted); font-size: 14px; }
.ftr-msg { display: flex; gap: 16px; margin-top: 18px; font-weight: 600; font-size: 14px; }
.ftr-h { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr-cities-list { columns: 2; column-gap: 24px; }
.ftr-cities-list a { display: block; padding: 3px 0; break-inside: avoid; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ftr-disc { margin-left: auto; }

/* ── Нижняя панель на телефоне ───────────────── */
.mbar { display: none; }

/* ── Выбор города ────────────────────────────── */
.city-dlg { margin: auto; width: min(760px, calc(100% - 24px)); max-height: min(720px, calc(100% - 40px)); border: 0; border-radius: var(--r-l); padding: 0; color: var(--ink); box-shadow: 0 30px 80px rgba(16,19,24,.25); overflow: hidden; }
.city-dlg[open] { display: flex; flex-direction: column; animation: up .25s var(--ease); }
.city-dlg::backdrop { background: rgba(16,19,24,.4); backdrop-filter: blur(4px); }
.city-dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 8px; }
.city-dlg-head h2 { font: 800 26px/1.1 var(--f-head); letter-spacing: -0.02em; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.city-search { display: flex; align-items: center; gap: 10px; margin: 8px 28px 12px; padding: 0 16px; border-radius: 12px; background: var(--soft); color: var(--muted); }
.city-search input { flex: 1; height: 50px; border: 0; outline: none; font-size: 16px; color: var(--ink); background: none; }
.city-dlg-body { overflow-y: auto; padding: 8px 28px 16px; columns: 3 190px; column-gap: 28px; }
.city-group { break-inside: avoid; margin-bottom: 20px; }
.city-group-h { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.city-group a { display: block; padding: 5px 0; font-weight: 600; }
.city-group a:hover, .city-group a[aria-current] { color: var(--blue); }
.city-empty { column-span: all; color: var(--muted); padding: 16px 0; }
.city-dlg-foot { padding: 16px 28px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.city-dlg-foot a:hover { color: var(--blue); }

/* ── Окно «Где забрать груз?» ────────────────── */
.geo-sheet { position: fixed; left: 24px; bottom: 24px; z-index: 70; width: 380px; background: #fff; border-radius: var(--r-l); padding: 24px; box-shadow: 0 24px 60px rgba(16,19,24,.18), 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .25s var(--ease); }
.geo-sheet.is-open { opacity: 1; transform: none; }
.geo-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.geo-x:hover { background: var(--soft); color: var(--ink); }
.geo-t { font: 800 24px/1.1 var(--f-head); letter-spacing: -0.02em; padding-right: 32px; }
.geo-s { margin-top: 6px; color: var(--muted); font-size: 15px; }
.geo-btns { display: grid; gap: 8px; margin-top: 18px; }
.geo-btns .btn { width: 100%; }
.geo-btns [data-geo-suggest]:not([hidden]) + [data-geo-gps] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.geo-btns .btn.is-loading { opacity: .6; }

/* ── Cookie ──────────────────────────────────── */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; gap: 14px; align-items: center; font-size: 14px; animation: up .4s var(--ease); }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie .btn { background: #fff; color: var(--ink); }

/* ══════════════════════════════════════════════
   Адаптивность
   ══════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .hdr-msg { display: none; }
  .hdr-in { gap: 16px; }
}

@media (max-width: 1000px) {
  :root { --hdr-h: 64px; --sec: 80px; }
  .hdr-phone { display: none; }
  .logo-svg { height: 34px; }
  .hdr-call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
  .burger { display: grid; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 12px; border-radius: 50%; flex: none; }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .city-btn { padding: 8px 6px; }

  .nav { position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; z-index: 49; padding: 8px var(--gut) 100px; background: #fff; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-link { font: 800 26px/1.2 var(--f-head); letter-spacing: -0.02em; padding: 14px 0; border-radius: 0; }
  .nav-link:hover { background: none; color: var(--blue); }
  .nav-item { flex-wrap: wrap; justify-content: space-between; }
  .nav-item .nav-link { flex: 1; }
  .nav-sub-btn { display: grid; place-items: center; width: 44px; height: 44px; transition: transform .25s var(--ease); }
  .nav-sub-btn[aria-expanded="true"] { transform: rotate(180deg); }
  .nav-sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-sub::before { display: none; }
  .has-sub.is-open .nav-sub { display: grid; }
  .has-sub:hover .nav-sub { display: none; }
  .has-sub.is-open:hover .nav-sub { display: grid; }
  .nav-sub a { padding: 8px 0; font-size: 17px; }
  .nav-mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
  .nav-msg { display: flex; gap: 20px; font-weight: 600; }
  body.nav-open { overflow: hidden; }

  .hero-in, .order-sec, .split, .faq-wrap, .cargo { grid-template-columns: 1fr; gap: 48px; }
  .hero-in { padding-top: 40px; }
  .hero-form { max-width: 560px; }
  .order-sec .order { max-width: 560px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .points { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-cities { grid-column: 1 / -1; }
  .ftr-cities-list { columns: 3 150px; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.is-shown { transform: none; }
  .mbar .btn { min-height: 48px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --gut: 16px; --sec: 64px; }
  body { font-size: 16px; }
  .logo-svg { height: 30px; }
  .city-btn-name { max-width: 90px; }
  .hdr-call, .burger { width: 40px; height: 40px; }
  .hero-in { padding-top: 28px; gap: 40px; }
  .hero-sub { font-size: 18px; margin-top: 16px; }
  .kpi { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
  .kpi dt { font-size: 24px; }
  .kpi dd { font-size: 13px; }
  .ticks { margin-top: 32px; padding-top: 20px; gap: 10px 18px; }
  .ticks li { font-size: 14px; }
  .order { padding: 22px 18px; border-radius: 16px; margin: 0 -4px; }
  .sec-h, .sec-top { margin-bottom: 32px; }
  .svc { grid-template-columns: 1fr; }
  .svc a { padding: 20px 0; }
  .svc b { font-size: 20px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .step-n { font-size: 44px; grid-row: span 2; }
  .steps h3 { margin-top: 2px; font-size: 20px; }
  .cities { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .points { grid-template-columns: 1fr; gap: 28px; }
  .faq-item summary h3 { font-size: 16px; }
  .faq-a { padding-right: 0; }
  .cta-in { padding-top: 56px; padding-bottom: 56px; }
  .phead .wrap { padding-top: 32px; padding-bottom: 40px; }
  .phead-lead { font-size: 18px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .ftr-cities-list { columns: 2; }
  .ftr-disc { margin-left: 0; }
  .city-dlg { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .city-dlg-body { columns: 2 140px; }
  .cookie { left: 8px; right: 8px; justify-content: space-between; }
  .geo-sheet { left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; padding: 24px 16px calc(20px + env(safe-area-inset-bottom)); }

  /* таблица автопарка — карточками */
  .fleet thead { display: none; }
  .fleet, .fleet tbody, .fleet tr, .fleet th, .fleet td { display: block; }
  .fleet tr { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 12px; }
  .fleet th, .fleet td { border: 0; padding: 0; font-size: 14px; }
  .fleet tbody th { grid-column: 1 / -1; font-size: 18px; margin-bottom: 4px; }
  .fleet td::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted); }
  .fleet td[data-l="Для чего"] { grid-column: 1 / -1; }
  .fleet td[data-l="Для чего"]::before { display: none; }
  .routes th, .routes td { font-size: 15px; padding-right: 10px; }
}

@media (max-width: 360px) {
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
