/* Алекс Логистик — главная, редакция 3. Один файл стилей, системные шрифты, без внешних ресурсов. */
:root {
  --c-navy: #0B3A6E;
  --c-navy-900: #082A50;
  --c-navy-950: #051B33;     /* глубокий фон тёмных блоков и подвала */
  --c-navy-700: #12497F;     /* светлая точка градиента */
  --c-ink: #10233D;
  --c-muted: #3E5470;
  --c-ice: #19B3D9;          /* только декор, не для текста на светлом */
  --c-ice-text: #0A6E8C;     /* холодный акцент для текста на светлом */
  --c-ice-200: #7FD8EE;      /* холодный акцент для текста на тёмном */
  --c-ice-50: #EEF7FC;
  --c-ice-100: #DCEFF8;
  --c-bg: #FFFFFF;
  --c-tint: #F3F8FB;
  --c-line: #D6E2EC;
  --c-warm: #C2410C;         /* только главное действие */
  --c-warm-hover: #9F350A;
  --c-ph-bg: #FFF1E6;
  --c-ph: #8A2C07;
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: #C9DAEC;
  --c-focus: #0A6E8C;
  --g-navy: linear-gradient(140deg, var(--c-navy-700) 0%, var(--c-navy) 38%, var(--c-navy-950) 100%);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.125rem, 1rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.05rem + 2.4vw, 3rem);
  --fs-h3: 1.1875rem;
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 35, 61, .05), 0 10px 30px -12px rgba(16, 35, 61, .16);
  --shadow-up: 0 2px 4px rgba(16, 35, 61, .06), 0 22px 44px -16px rgba(11, 58, 110, .32);
  --container: 1200px;
  --gutter: 16px;
  --section: clamp(64px, 8vw, 120px);
  --header-h: 64px;
  --dock-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); scroll-padding-bottom: calc(var(--dock-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; color: var(--c-navy); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 850; line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); font-weight: 850; line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); font-weight: 750; color: var(--c-ink); line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--c-ice-text); text-underline-offset: .18em; }
a:hover { color: var(--c-navy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Без JavaScript: класс no-js у html снимает встроенный скрипт в head */
.no-js .js-only { display: none !important; }
.js .no-js-only { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: 14px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--warm { background: var(--c-warm); color: #fff; box-shadow: 0 10px 24px -10px rgba(194, 65, 12, .7); }
.btn--warm:hover { background: var(--c-warm-hover); color: #fff; }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-900); color: #fff; }
.btn--ghost { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost:hover { background: var(--c-ice-50); color: var(--c-navy); }
.btn--glass { background: rgba(5, 27, 51, .55); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .btn--warm:hover, .btn--glass:hover { transform: translateY(-2px); }
}

/* Заглушки: видны сразу, чтобы не уйти в публикацию */
.ph { background: var(--c-ph-bg); color: var(--c-ph); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ---------- Телефон: открыта часть номера, остаток раскрывается по нажатию ---------- */
.tel { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 8px; white-space: nowrap; vertical-align: middle; }
.tel__link { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.tel.is-open .tel__link { border-bottom: 1px solid currentColor; }
.header__tel .tel.is-open .tel__link, .nav__contact .tel.is-open .tel__link { border-bottom: 0; }
.tel__rest { display: inline-block; min-width: 4.7em; text-align: left; letter-spacing: .06em; font-weight: 800; }
.tel__show { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 10px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 700 .8125rem/1.1 var(--font); cursor: pointer; opacity: .9; }
.tel__show:hover { opacity: 1; background: rgba(127, 216, 238, .14); }
.tel.is-open .tel__show { display: none; }
.tel.is-open .tel__rest { letter-spacing: 0; font-weight: inherit; }
@keyframes tel-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: no-preference) { .tel.is-open .tel__rest { animation: tel-in .45s var(--ease) both; } }
.no-js .tel__show { display: none; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(214, 226, 236, .8); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
}
.header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); margin-right: auto; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.01em; white-space: nowrap; color: var(--c-navy); }
.logo__text span { font-weight: 500; color: var(--c-ice-text); }
.logo--light .logo__text, .logo--light .logo__text span { color: #fff; }
.logo--light .logo__text span { color: var(--c-on-dark-muted); }

.header__contact { position: relative; display: none; align-items: center; }
.header__tel { display: flex; align-items: center; gap: 6px; margin: 0; min-height: 44px; color: var(--c-navy); white-space: nowrap; }
.header__tel > .ico { color: var(--c-ice-text); }
.header__tel .tel__link { color: var(--c-navy); text-decoration: none; }
.header__tel .tel__show { color: var(--c-ice-text); }
.header__tel .tel.is-open .tel__show { display: inline-flex; visibility: hidden; } /* место кнопки остаётся: шапка не прыгает */
.header__ico { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-ice-text); cursor: pointer; }
.header__hint { display: none; max-width: 190px; font-size: .75rem; color: var(--c-muted); }
.nav__contact { margin: 0; padding: 4px var(--gutter) 18px; font-size: 1.0625rem; color: var(--c-navy); }
.nav__contact .tel__link { display: inline-block; line-height: 44px; color: var(--c-navy); text-decoration: none; }
.nav__contact .tel__show { color: var(--c-ice-text); }
.header__cta { display: none; }

.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-navy); cursor: pointer; }
.burger .ico { width: 24px; height: 24px; }
.burger .ico--close { display: none; }
.burger[aria-expanded="true"] .ico--open { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 16px 32px rgba(16, 35, 61, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav.is-open { display: block; }
.nav__list { padding: 8px var(--gutter) 16px; }
.nav__list a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--c-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-ice-100); }
.nav__list a:hover { color: var(--c-ice-text); }

/* Меню без JavaScript: бургер не работает, поэтому список виден под шапкой */
@media (max-width: 1099px) {
  .no-js .header { position: relative; }
  .no-js .header__in { flex-wrap: wrap; }
  .no-js .burger, .no-js .nav__contact { display: none; }
  .no-js .nav { display: block; position: static; flex-basis: 100%; border: 0; box-shadow: none; background: none; }
  .no-js .nav__list { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 0 0 8px; }
  .no-js .nav__list a { min-height: 40px; padding: 0; border: 0; }
}

/* Общие элементы секций */
.section { padding: var(--section) 0; }
.section--tint { background: var(--c-tint); }
.section--dark { background: var(--g-navy); color: var(--c-on-dark-muted); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }
.section--dark :focus-visible { outline-color: var(--c-ice-200); }
.section__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section__lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 40em; margin-bottom: 0; }
.section--dark .section__lead { color: var(--c-on-dark-muted); }
.kicker { display: inline-flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ice-text); }
.kicker::before { content: ""; flex: none; margin-top: .6em; width: 28px; height: 3px; border-radius: 2px; background: var(--c-ice); }
.section--dark .kicker, .section--cta .kicker, .hero .kicker { color: var(--c-ice-200); }
.note { margin: 28px 0 0; font-size: .9375rem; color: var(--c-muted); }

/* Рамка для фото */
.frame { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-lg); background: #C9D6E0; box-shadow: var(--shadow-up); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Первый экран ---------- */
.hero { position: relative; display: flex; flex-direction: column; background: var(--g-navy); color: var(--c-on-dark-muted); overflow: hidden; isolation: isolate; }
.hero__main { order: 1; padding-top: clamp(36px, 7vw, 64px); padding-bottom: 28px; }
.hero__media { order: 2; position: relative; display: block; aspect-ratio: 4 / 3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-navy) 0%, rgba(11, 58, 110, 0) 18%, rgba(5, 27, 51, 0) 86%, var(--c-navy-950) 100%); }
.hero__facts-wrap { order: 3; position: relative; z-index: 2; padding-top: 16px; padding-bottom: 32px; background: var(--c-navy-950); }
.hero__text { max-width: 40rem; }
@media (max-width: 599px) { .kicker { font-size: .75rem; letter-spacing: .08em; } }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.hero__points li { display: flex; align-items: flex-start; gap: 8px; color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.hero__points .ico { margin-top: 1px; color: var(--c-ice-200); stroke-width: 2.6; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { font-size: var(--fs-lead); color: var(--c-on-dark-muted); max-width: 33em; margin-bottom: 0; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__btns .btn { flex: 1 1 200px; }
.hero :focus-visible { outline-color: var(--c-ice-200); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(127, 216, 238, .28); color: var(--c-on-dark-muted); font-size: .875rem; line-height: 1.35; }
.facts b { display: block; color: #fff; font-size: clamp(1.25rem, .9rem + 1.3vw, 2rem); font-weight: 850; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }

/* ---------- Плитки (бенто) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: border-color .3s; }
.section--tint .tile { border-color: #E1EAF1; }
.tile h3 { margin: 0 0 8px; }
.tile p { margin: 0; color: var(--c-muted); }
.tile__ico { display: block; width: 48px; height: 48px; padding: 11px; margin-bottom: 18px; border-radius: 14px; background: var(--c-ice-50); color: var(--c-navy); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section--tint .tile__ico { background: var(--c-ice-100); }
.tile:hover { border-color: #BFD3E2; }
.tile__btn { align-self: flex-start; margin-top: 16px; }

/* Плитка с фото. Телефон: фото сверху, текст под ним (значок не ложится на логотип на борту).
   От 768: текст на затемнении в нижней части фото */
.tile--photo { padding: 0; overflow: hidden; border: 0; background: var(--c-navy-950); color: var(--c-on-dark-muted); }
.tile--photo .tile__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile--photo .tile__body { position: relative; z-index: 1; padding: 22px 24px 24px; }
.tile--photo h3 { color: #fff; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); letter-spacing: -.02em; }
.tile--photo p { color: var(--c-on-dark-muted); max-width: 30em; }
.tile--photo .tile__ico { background: rgba(127, 216, 238, .16); color: var(--c-ice-200); }

/* Широкая тёмная плитка */
.tile--accent { background: var(--g-navy); border: 0; color: var(--c-on-dark-muted); }
.tile--accent h3 { color: #fff; }
.tile--accent p { color: var(--c-on-dark-muted); }
.tile--accent .tile__ico { background: rgba(127, 216, 238, .16); color: var(--c-ice-200); }

/* ---------- Что возим (тёмный блок) ---------- */
.goods-head { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(28px, 4vw, 48px); }
.goods-head .section__head { margin-bottom: 0; }
.frame--frozen { aspect-ratio: 3 / 2; background: #0A1A2E; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(127, 216, 238, .22); }
.goods { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.good { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(127, 216, 238, .2); transition: border-color .3s; }
.good:hover { border-color: rgba(127, 216, 238, .5); }
.good h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.good p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--c-on-dark-muted); }
.good__ico { width: 30px; height: 30px; flex: none; margin-top: 1px; color: var(--c-ice-200); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.good--other { background: rgba(127, 216, 238, .12); border-color: rgba(127, 216, 238, .45); }
.good--note { align-items: center; background: transparent; border-style: dashed; border-color: rgba(127, 216, 238, .45); }
.good--note p { color: #fff; font-size: .9375rem; }

/* ---------- Автопарк ---------- */
.fleet { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.frame--inside { aspect-ratio: 3 / 2; background: #DCE8EE; }
.fleet__text > p { color: var(--c-muted); font-size: 1.0625rem; margin-bottom: 28px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--c-line); }
.spec { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--c-line); }
.spec:nth-child(odd) { border-right: 1px solid var(--c-line); }
.spec:nth-child(even) { padding-left: 16px; }
.spec dt { color: var(--c-muted); font-size: .875rem; }
.spec dd { margin: 0; color: var(--c-navy); font-weight: 750; font-size: 1.0625rem; line-height: 1.25; }
.spec--big dt { order: 2; }
.spec--big dd { order: 1; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); font-weight: 850; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }

/* ---------- Шаги: линия с номерами ---------- */
.steps { position: relative; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 32px 80px; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; z-index: 1; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 850; font-size: 1.0625rem; letter-spacing: .02em; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--c-line); }
/* Телефон: вертикальная линия от кружка до следующего кружка, у последнего шага линии нет */
.step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--c-ice) 0%, var(--c-navy) 100%); }
.step h3 { margin: 12px 0 6px; font-size: 1.25rem; }
.step p { margin: 0; color: var(--c-muted); max-width: 26em; }
.step .tel { margin: 2px 0; }
.step .tel__link { color: var(--c-navy); text-decoration: none; }
.step .tel__show { color: var(--c-ice-text); }

/* ---------- Новые правила (тёмный блок) ---------- */
.docs { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.doc { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(127, 216, 238, .22); transition: border-color .3s; }
.doc:hover { border-color: rgba(127, 216, 238, .5); }
.doc h3 { margin: 0 0 10px; }
.doc p { margin: 0; color: var(--c-on-dark-muted); }
.doc__ico { display: block; width: 52px; height: 52px; padding: 12px; margin-bottom: 20px; border-radius: 16px; background: rgba(127, 216, 238, .14); color: var(--c-ice-200); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note--dark { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--c-ice); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(5, 27, 51, .45); color: #fff; font-size: 1rem; }

/* ---------- География ---------- */
.geo { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.geo__text h3 { margin-top: 28px; color: var(--c-navy); }
.geo__text p:not(.section__lead):not(.note) { color: var(--c-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--c-ice-50); border: 1px solid var(--c-ice-100); font-size: .9375rem; font-weight: 650; color: var(--c-navy); }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid #E1EAF1; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(16, 35, 61, .04); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: #BFD3E2; box-shadow: var(--shadow); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 16px 64px 16px 22px; font-weight: 750; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px; border-radius: 2px; background: var(--c-ice-text); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--c-navy); }
.faq summary:hover { color: var(--c-navy); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--c-muted); max-width: 46em; }
.faq__more-title { margin: 40px 0 14px; font-size: 1.25rem; color: var(--c-navy); }
.faq--more details { background: rgba(255, 255, 255, .6); }
.faq--more summary { min-height: 52px; padding-top: 12px; padding-bottom: 12px; font-size: 1rem; font-weight: 700; }

/* ---------- Заявка ---------- */
.section--cta { position: relative; background: var(--g-navy); color: var(--c-on-dark-muted); overflow: hidden; isolation: isolate; }
.section--cta::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(25, 179, 217, .22), rgba(25, 179, 217, 0)); }
.section--cta h2 { color: #fff; }
.section--cta a { color: #fff; }
.section--cta :focus-visible { outline-color: var(--c-ice-200); }
.form-wrap { display: grid; gap: 32px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.form-wrap__text > p:not(.kicker) { color: var(--c-on-dark-muted); font-size: var(--fs-lead); }
.form-wrap__text .tel { flex-wrap: wrap; white-space: normal; }
.form-wrap__text .tel__link { color: #fff; }
.frame--van { display: none; aspect-ratio: 3 / 2; margin-top: 32px; background: #D7E1E9; }
.form { background: #fff; color: var(--c-ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.form :focus-visible { outline-color: var(--c-focus); }
.form a { color: var(--c-ice-text); }
.form__row { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 650; }
.req { color: var(--c-warm); }
.opt { font-weight: 400; color: var(--c-muted); }
.field input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #6F849B; border-radius: 14px; background: #fff; color: var(--c-ink); font: 400 1rem/1.4 var(--font); text-overflow: ellipsis; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #66788E; }
.field input:hover { border-color: var(--c-navy); }
.field input:focus { border-color: var(--c-ice-text); outline: 3px solid rgba(10, 110, 140, .25); outline-offset: 0; }
.field input[aria-invalid="true"], .check input[aria-invalid="true"] { border-color: var(--c-warm); outline: 2px solid var(--c-warm); }
.field__error { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--c-ph-bg); color: var(--c-ph); font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.field__error--check { margin: -10px 0 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: var(--fs-small); line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--c-navy); }
.form__hint { margin: 12px 0 0; font-size: var(--fs-small); color: var(--c-muted); text-align: center; }
.form__status { margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; background: var(--c-ice-50); font-size: .9375rem; font-weight: 600; color: var(--c-ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.form__status:empty { display: none; }
.form__status:focus { outline: 3px solid rgba(10, 110, 140, .35); outline-offset: 2px; }
.form__status--ok { background: #E6F4EA; color: #14532D; }
.form__status--error { background: var(--c-ph-bg); color: var(--c-ph); }
.form__status .tel__link { color: inherit; }
.form__status .tel { white-space: normal; flex-wrap: wrap; }

/* ---------- Подвал ---------- */
.footer { background: var(--c-navy-950); color: var(--c-on-dark-muted); padding: 56px 0 28px; font-size: .9375rem; }
.footer a { color: #fff; }
.footer :focus-visible { outline-color: var(--c-ice-200); }
.footer__in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.footer__brand p { margin: 16px 0 0; max-width: 34em; font-size: .875rem; line-height: 1.55; }
.footer__h { margin: 0 0 10px; color: #fff; font-weight: 750; font-size: 1rem; }
.footer__list li { padding: 3px 0; }
.footer__list .tel__show { color: var(--c-ice-200); }
.footer__doc { display: inline-block; padding: 10px 0; }
.footer__list li:has(.footer__doc) { padding: 0; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 36px; padding-top: 20px; font-size: var(--fs-small); }
.footer__bottom p { margin: 0; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .14); }

/* Нижняя панель на телефоне */
@media (max-width: 399px) { .dock .ico { display: none; } }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 18px rgba(16, 35, 61, .1); }
.dock .btn { min-width: 0; min-height: 48px; padding: 6px 10px; white-space: normal; text-align: center; line-height: 1.15; font-size: .9375rem; box-shadow: none; }

/* Текстовые страницы (политика, согласие, 404) */
.page { padding: 40px 0 var(--section); }
.entry h2 { font-size: 1.375rem; margin-top: 1.6em; letter-spacing: -.01em; }
.entry ol, .entry ul { padding-left: 1.4em; margin: 0 0 1em; }
.entry ol { list-style: decimal; }
.entry ul { list-style: disc; }
.entry li { margin-bottom: .5em; }
.entry .btn { margin: 0 8px 8px 0; }
.entry blockquote { margin: 0 0 1.5em; padding: 12px 16px; border-left: 4px solid var(--c-ice); background: var(--c-ice-50); }

/* ---------- 600+ ---------- */
@media (min-width: 600px) {
  .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 768+ ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  html { scroll-padding-bottom: 16px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .header__contact { display: flex; }
  .header__cta { display: inline-flex; }
  .hero__media { aspect-ratio: 16 / 8; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .facts li { padding: 18px 20px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
  .tile--photo { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; }
  .tile--photo .tile__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 30% 50%; }
  .tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 27, 51, 0) 40%, rgba(5, 27, 51, .55) 62%, rgba(5, 27, 51, .94) 88%); }
  .tile--photo .tile__body { padding: 32px; max-width: 40rem; }
  .tile--accent { grid-column: 1 / -1; }
  .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form { padding: 32px; }
  .frame--van { display: block; }
  .footer__in { grid-template-columns: 1.6fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .step { padding: 76px 0 0; }
  .step:not(:last-child)::after { left: 72px; right: 0; top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--c-ice), rgba(25, 179, 217, .15)); }
  .step:nth-child(2n)::after { display: none; }
}

/* ---------- 1024+ ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .header__hint { display: block; margin-bottom: 4px; }

  /* Первый экран: текст на сплошном синем слева, фото справа от колонки текста целиком (перед машины и логотип на борту
     в кадре), полоса цифр ниже фото на тёмной подложке и лишь слегка заходит на его низ */
  .hero { --hero-w: 30rem; --facts-h: 156px; display: block; background: var(--c-navy-900); }
  .hero__media { position: absolute; top: 0; bottom: calc(var(--facts-h) - 36px); right: 0; left: calc(max(var(--gutter), 50% - 600px) + var(--hero-w) + 12px); z-index: -2; aspect-ratio: auto; }
  .hero__media img { object-position: 60% 50%; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--c-navy-900) 0%, rgba(8, 42, 80, 0) 16%),
      linear-gradient(180deg, rgba(8, 42, 80, .55) 0%, rgba(8, 42, 80, 0) 22%),
      linear-gradient(90deg, var(--c-navy-900) 0%, rgba(8, 42, 80, .6) 3%, rgba(8, 42, 80, .15) 7%, rgba(8, 42, 80, 0) 10%);
  }
  .hero__main { min-height: clamp(600px, calc(100vh - var(--header-h)), 760px); display: flex; align-items: center; padding-top: 40px; padding-bottom: calc(var(--facts-h) + 8px); }
  .hero__text { max-width: var(--hero-w); }
  .hero .lead { max-width: 36em; }
  .hero h1 { font-size: clamp(2.5rem, 1rem + 2.6vw, 3.25rem); }
  .hero__facts-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: var(--facts-h); margin: 0 auto; padding-top: 24px; padding-bottom: 32px; background: none; }
  .hero__btns .btn { flex: 0 0 auto; }
  .facts li { padding: 20px 22px; background: rgba(5, 27, 51, .72); }

  .goods-head { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .goods { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .fleet { grid-template-columns: 1fr 1fr; gap: 64px; }
  .frame--inside { aspect-ratio: 1 / 1.02; }
  .frame--inside img { object-position: 50% 50%; }

  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step:nth-child(2n):not(:last-child)::after { display: block; }

  .form-wrap { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .form { padding: 40px; }
}
@supports (backdrop-filter: blur(1px)) {
  @media (min-width: 1024px) { .facts li { background: rgba(5, 27, 51, .55); backdrop-filter: blur(14px) saturate(1.3); } }
}

/* Плитки в 4 колонки только от 1280: на 1024–1279 заголовки в узких плитках ломались на три строки */
@media (min-width: 1280px) {
  .hero { --hero-w: 35rem; }
  .hero__media img { object-position: 66% 50%; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
  .tile--photo { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 460px; }
  .tile--photo .tile__img { object-position: 26% 50%; }
  .tile--accent { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; padding: 28px 32px; }
  .tile--accent .tile__ico { margin: 0; width: 60px; height: 60px; padding: 14px; }
  .tile--accent h3 { margin-bottom: 4px; font-size: 1.375rem; }
}

/* Полное меню в шапке */
@media (min-width: 1100px) {
  .burger, .nav__contact { display: none; }
  .nav, .nav.is-open { display: block; position: static; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .nav__list { display: flex; gap: 2px; padding: 0; }
  .nav__list a { min-height: 44px; padding: 0 5px; border: 0; border-radius: 10px; font-size: .875rem; white-space: nowrap; }
  .nav__list a:hover { background: var(--c-ice-50); color: var(--c-navy); }
  .header__in { gap: 10px; }
  .header__tel .tel { gap: 6px; }
  .header__tel .tel__show { padding: 3px 8px; font-size: .75rem; }
  .header__cta { padding-left: 16px; padding-right: 16px; }
  .logo { margin-right: 4px; }
  .nav { margin-right: auto; }
}

/* 1100–1279: маска номера с кнопкой не помещается рядом с полным меню — значок трубки,
   по нажатию номер раскрывается в плашке под шапкой */
@media (min-width: 1100px) and (max-width: 1279px) {
  .header__hint { display: none; }
  .header__ico { display: inline-flex; }
  .header__tel { display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 5; padding: 10px 16px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-up); font-size: 1.0625rem; }
  .header__contact.is-pop .header__tel { display: flex; }
  .header__contact.is-pop .header__ico { border-color: var(--c-ice-text); background: var(--c-ice-50); }
}

/* ---------- Мягкое появление: только CSS ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__text > *, .facts li { animation: rise .8s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .facts li:nth-child(1) { animation-delay: .3s; }
  .facts li:nth-child(2) { animation-delay: .38s; }
  .facts li:nth-child(3) { animation-delay: .46s; }
  .facts li:nth-child(4) { animation-delay: .54s; }
  @supports (animation-timeline: view()) {
    .section__head, .goods-head .frame, .bento > li, .good, .fleet > *, .spec, .step, .doc, .geo > *, .faq details, .plate, .form-wrap > * {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.noscript { margin: 8px 0 0; font-size: var(--fs-small); color: var(--c-on-dark-muted); }

/* ---------- Карта (География): крупный план вокруг Москвы и врезка со всей областью ---------- */
.map { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #03121F; box-shadow: var(--shadow-up), 0 0 0 1px rgba(127, 216, 238, .18); }
.map__svg { display: block; width: 100%; height: auto; }
.map__oblast { fill: #0F3A66; stroke: #7FD8EE; stroke-width: 1.4; stroke-linejoin: round; }
.map__oblast-glow { fill: none; stroke: #19B3D9; stroke-width: 6; opacity: .55; }
.map__moscow { fill: #2385B8; stroke: #BFEFFA; stroke-width: 1.3; stroke-linejoin: round; }
.map__moscow-glow { fill: #19B3D9; opacity: .35; }
.map__mkad { fill: rgba(127, 216, 238, .16); stroke: #fff; stroke-width: 2; stroke-opacity: .9; stroke-linejoin: round; }
.map__routes path { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.map__runs path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 400; }
.map__leaders path { fill: none; stroke: rgba(201, 218, 236, .75); stroke-width: 1; }
.map__pin circle { fill: #FFB25C; stroke: #03121F; stroke-width: 1.2; }
.map__pin .map__pulse { fill: none; stroke: #FFB25C; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map__hub rect { fill: #03121F; stroke: #7FD8EE; stroke-width: 1.4; }
.map__hub circle { fill: #fff; stroke: #19B3D9; stroke-width: 3; }
.map__hub text { fill: #fff; font: 800 15.5px/1 var(--font); }
.map__lbl { fill: #fff; font: 600 15.5px/1 var(--font); paint-order: stroke; stroke: #03121F; stroke-width: 4px; stroke-linejoin: round; }
.map__inset-bg { fill: rgba(3, 18, 31, .88); stroke: rgba(127, 216, 238, .45); stroke-width: 1; }
.map__inset-obl { fill: #12406F; stroke: #7FD8EE; stroke-width: .9; stroke-linejoin: round; }
.map__inset-msk { fill: #3CC4E6; }
.map__inset-frame { fill: none; stroke: #fff; stroke-width: 1.2; stroke-dasharray: 3 2; }
.map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; padding: 12px 16px 14px; border-top: 1px solid rgba(127, 216, 238, .18); color: var(--c-on-dark-muted); font-size: .8125rem; line-height: 1.3; }
.map__legend li { display: inline-flex; align-items: center; gap: 7px; }
.map__key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex: none; }
.map__key--msk { background: #2385B8; border: 1.5px solid #BFEFFA; }
.map__key--obl { background: #0F3A66; border: 1.5px solid #7FD8EE; }
.map__key--mkad { border: 2px solid #fff; border-radius: 50%; background: rgba(127, 216, 238, .16); }
.map__key--pin { width: 10px; height: 10px; border-radius: 50%; background: #FFB25C; }
.map__credit { margin-left: auto; font-size: .75rem; color: var(--c-on-dark-muted); }
/* Кегль подписей в единицах карты: на самом узком экране (карта 288 px) это 11 px, на остальных 11–14 px */
@media (min-width: 440px) { .map__lbl, .map__hub text { font-size: 12.5px; } }
@media (min-width: 600px) {
  .map { max-width: 560px; margin: 0 auto; width: 100%; }
  .map__lbl, .map__hub text { font-size: 9.5px; }
}
@media (min-width: 1024px) { .map__lbl, .map__hub text { font-size: 10.5px; } }
@keyframes map-run { from { stroke-dashoffset: 228; } to { stroke-dashoffset: 0; } }
@keyframes map-pulse { 0% { opacity: .85; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
@media (prefers-reduced-motion: no-preference) {
  .map__runs path { stroke-dasharray: 8 220; animation: map-run 3.6s linear infinite; }
  .map__pin .map__pulse { animation: map-pulse 2.6s ease-out infinite; }
}

/* ---------- Наши партнёры ---------- */
.section--partners { padding: clamp(56px, 7vw, 104px) 0; }
.partners { display: grid; gap: 32px; align-items: stretch; grid-template-columns: minmax(0, 1fr); }
.partners__main h2 { margin-bottom: 12px; }
.partners__story { font-size: var(--fs-lead); color: var(--c-muted); max-width: 32em; margin-bottom: 28px; }
.plates { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plate { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); text-align: center; }
.plate__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 84px; }
.plate__logo img { width: auto; height: auto; max-width: 100%; max-height: 84px; }
.plate__logo .plate__img--wide { width: 100%; max-width: 168px; }
.plate__name { font-size: .8125rem; font-weight: 700; color: var(--c-muted); line-height: 1.3; }
.plate--cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; background: var(--c-tint); border-style: dashed; border-color: #A9C2D6; box-shadow: none; }
.plate__cta-text { color: var(--c-navy); font-size: 1.125rem; font-weight: 750; line-height: 1.25; }
.frame--bakery { aspect-ratio: 600 / 435; background: #6B4A2E; }
.frame--bakery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(5, 27, 51, .82); color: #fff; font-size: .75rem; line-height: 1.3; }
@media (min-width: 768px) {
  .partners { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .frame--bakery { aspect-ratio: 4 / 3.6; }
}
@media (min-width: 1024px) {
  .partners { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
  .frame--bakery { aspect-ratio: auto; min-height: 100%; }
  .geo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .map { max-width: none; }
}

/* Заголовок текстовой страницы: длинные слова не рвём посреди слога на узком экране */
.page h1 { font-size: clamp(1.5rem, 6.4vw, 2.75rem); line-height: 1.12; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Строка с предложениями над шапкой, стиль «чёрная пятница»: чёрная полоса, жёлтый акцент ---------- */
.promo { --promo-y: #FFD60A; position: relative; background: #0A0A0A; color: #fff; font-size: .875rem; line-height: 1.25; overflow: hidden; }
.promo::before, .promo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 54px; background: repeating-linear-gradient(-45deg, var(--promo-y) 0 9px, #0A0A0A 9px 18px); opacity: .95; }
.promo::before { left: 0; }
.promo::after { right: 0; }
.promo__link { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 8px 66px; color: inherit; text-decoration: none; }
.promo__link:focus-visible { outline: 2px solid var(--promo-y); outline-offset: -4px; }
.promo__badge { flex: none; padding: 4px 11px; border-radius: 6px; background: var(--promo-y); color: #0A0A0A; font-weight: 900; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-3deg); }
.promo__view { display: grid; min-width: 0; }
.promo__item { grid-area: 1 / 1; align-self: center; text-align: center; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.promo__item.is-on { opacity: 1; transform: none; }
.promo__num { color: var(--promo-y); font-weight: 900; font-size: 1.25em; letter-spacing: 0; white-space: nowrap; }
.promo__go { display: none; align-items: center; gap: 6px; flex: none; color: var(--promo-y); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .8125rem; white-space: nowrap; }
.promo__link:hover .promo__go { text-decoration: underline; }
@media (max-width: 479px) { .promo::before, .promo::after { width: 18px; } .promo__link { padding: 8px 26px; gap: 10px; } .promo__item { font-size: .8125rem; letter-spacing: .02em; } }
@media (min-width: 768px) { .promo__go { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .promo__item { transition: none; transform: none; } }
