/* P5 «Графит». Ночной премиум: нейтральный почти чёрный графит, свет только на самолёте и деталях.
   Заголовки Forum (обычный регистр), текст Golos Text. Всё на переменных :root. */
@font-face {
  font-family: "Forum";
  src: url("../fonts/forum.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* цвет: нейтральный графит, без синевы */
  --c-bg: #101114;
  --c-panel: #17181C;
  --c-panel-2: #1C1D22;
  --c-line: #2A2C33;
  --c-ink: #E9E7E3;
  --c-ink-2: #C9C6BF;
  --c-mute: #9A988F;
  --c-metal: #B9B4A8;
  --c-metal-line: rgba(185, 180, 168, .34);
  --c-metal-soft: rgba(185, 180, 168, .16);
  --c-accent: #F9C525;
  --c-accent-hover: #FFD54F;
  --c-accent-ink: #15130C;
  --c-err: #F0907F;
  --c-placeholder: #8C8A82;
  --c-need-bg: rgba(249, 197, 37, .08);
  --c-shade: rgba(16, 17, 20, .97);
  /* люди и сервис: цвет приглушаем до графита, тёплый оттенок кожи и заката остаётся едва заметным */
  --tone-people: saturate(.36) brightness(.8) contrast(1.06);

  /* шрифты */
  --f-head: "Forum", "Times New Roman", var(--cjk-serif), serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", var(--cjk-sans), sans-serif;

  /* шкала (шаг около 1.33) */
  --fs-xs: .8125rem;
  --fs-s: .9375rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-h4: clamp(1.5rem, 1.3rem + .6vw, 1.85rem);
  --fs-h3: clamp(1.85rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h2: clamp(2.2rem, 1.55rem + 2.5vw, 3.9rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.4vw, 6rem);
  --fs-num: clamp(4.2rem, 2.4rem + 7.6vw, 9.5rem);
  --track-head: .01em;

  /* сетка и отступы */
  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 72px);
  --hdr: 72px;
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: clamp(3rem, 2rem + 4vw, 6rem);
  --sp-6: clamp(5.5rem, 3rem + 9vw, 11rem);

  /* формы */
  --r-btn: 2px;
  --r-frame: 0;
  --shadow-plate: inset 0 1px 0 rgba(233, 231, 227, .05), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 30px 60px -30px rgba(0, 0, 0, .7);

  /* движение */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-cine: cubic-bezier(.65, 0, .35, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --t-fast: 160ms;
  --t-mid: 280ms;
  --t-menu: 620ms;
  --t-letterbox: 1600ms;
  --t-zoom: 2500ms;
}

@media (max-width: 759px) {
  :root { --hdr: 64px; }
}

/* ---------- база */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--c-bg); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-m);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button, input, textarea { font: inherit; color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  background: var(--c-accent); color: var(--c-accent-ink);
  padding: 12px 18px; text-decoration: none; font-weight: 500;
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease-out);
}
.skip:focus { transform: none; }

.need {
  border-bottom: 1px dashed currentColor;
  background: var(--c-need-bg);
  padding: 0 .2em;
  color: var(--c-ink-2);
}

/* ---------- типографика */
.h1, .hero__title, .h2, .h3, .h4, .passport__num, .step__n {
  font-family: var(--f-head);
  letter-spacing: var(--track-head);
  font-weight: 400;
}
.h2 { font-size: var(--fs-h2); line-height: 1.08; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; text-wrap: balance; }
.h4 { font-size: var(--fs-h4); line-height: 1.15; }
.lead { font-size: var(--fs-l); color: var(--c-ink-2); }
.about__p, .chapter__body p, .detail__text p, .quote__head p { text-wrap: pretty; }
.note { font-size: var(--fs-xs); color: var(--c-mute); line-height: 1.55; }

html:lang(zh) body { line-height: 1.8; }
html:lang(zh) .h2 { line-height: 1.3; }
html:lang(zh) .h3, html:lang(zh) .hero__title { line-height: 1.25; }

/* ссылки: линия дорисовывается при наведении */
.ul {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out), color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .ul:hover { background-size: 100% 1px; }
}

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--c-ink);
  font-size: var(--fs-s); letter-spacing: .02em;
  background: linear-gradient(var(--c-metal), var(--c-metal)) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out), color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 30% 1px; }
}

/* ---------- кнопки: жёлтая только у «Запросить расчёт» и отправки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-size: var(--fs-s); font-weight: 500; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--ghost { border-color: var(--c-metal-line); color: var(--c-ink); background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--c-accent-hover); }
  .btn--ghost:hover { border-color: var(--c-metal); }
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--fs-xs); }
.btn--lg { min-height: 56px; padding: 0 40px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- шапка */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--hdr);
  transition: transform 420ms var(--ease-drawer), background-color var(--t-mid) ease, border-color var(--t-mid) ease;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: var(--c-bg); border-bottom-color: var(--c-line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__row {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--gutter);
  max-width: calc(1440px); margin-inline: auto;
}
.hdr__l { display: flex; align-items: center; gap: 22px; justify-self: start; }
.hdr__r { display: flex; align-items: center; gap: 18px; justify-self: end; }
/* логотип 2628×1100: при ширине 160px он 67px в высоту и помещается в шапку 72px, ничего не торчит из-под спрятанной шапки */
.hdr__logo { display: block; padding: 2px 4px; }
.hdr__logo img { width: 160px; height: auto; }
.hdr__phone { font-size: var(--fs-xs); color: var(--c-ink-2); letter-spacing: .03em; white-space: nowrap; padding: 12px 0; }

.hdr__menu {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; min-width: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-size: var(--fs-xs); letter-spacing: .06em; color: var(--c-ink);
}
.hdr__menu-icon { display: grid; gap: 7px; width: 26px; }
.hdr__menu-icon i { display: block; height: 1px; background: currentColor; transition: transform var(--t-mid) var(--ease-out); transform-origin: center; }
.hdr__menu-icon i:last-child { width: 62%; }
.hdr__menu-label--close { display: none; }
.menu-open .hdr__menu-label--open { display: none; }
.menu-open .hdr__menu-label--close { display: inline; }
.menu-open .hdr__menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .hdr__menu-icon i:last-child { width: 100%; transform: translateY(-4px) rotate(-45deg); }

.lang { display: flex; align-items: center; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  min-width: 44px; min-height: 44px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
  font-size: var(--fs-xs); letter-spacing: .06em; color: var(--c-mute);
  transition: color var(--t-fast) ease;
}
.lang a[lang="zh-Hans"] { letter-spacing: 0; }
.lang a[aria-current="true"] { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-metal); text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .lang a:hover { color: var(--c-ink); } }

.hdr__cta-short { display: none; }

@media (max-width: 1099px) {
  .hdr__phone { display: none; }
}
@media (max-width: 899px) {
  .hdr__r .lang { display: none; }
}
@media (max-width: 759px) {
  .hdr__row { gap: 8px; }
  .hdr__logo img { width: 124px; }
  .hdr__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr__cta { padding: 0 14px; }
  .hdr__cta-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr__cta-short { display: inline; }
}

/* ---------- меню: шторка сверху вниз */
.menu {
  position: fixed; inset: 0; z-index: 35;
  background: var(--c-bg);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--t-menu) var(--ease-drawer), visibility 0s linear var(--t-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[data-open] {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--t-menu) var(--ease-drawer), visibility 0s;
}
.menu__in {
  min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(2rem, 5vh, 3.5rem);
  padding: calc(var(--hdr) + 1.5rem) var(--gutter) 2rem;
  text-align: center;
}
.menu__nav ul { display: grid; gap: .1em; }
.menu__nav a {
  display: inline-block; padding: .18em .2em;
  font-family: var(--f-head); font-size: clamp(2rem, 1.2rem + 2.2vw, 3.1rem); line-height: 1.12; letter-spacing: var(--track-head);
  text-decoration: none; color: var(--c-ink-2);
  transition: color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .menu__nav a:hover { color: var(--c-ink); } }
.menu__foot { display: grid; justify-items: center; gap: 1rem; }
.menu__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: var(--fs-s); color: var(--c-ink-2); }
.menu__contacts a { display: inline-flex; align-items: center; min-height: 44px; }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .hdr__r, .menu-open .hdr__phone { visibility: hidden; }
html:lang(zh) .menu__nav a { line-height: 1.35; }
html:lang(zh) .menu__nav a, html:lang(zh) .plate__status, html:lang(zh) .passport dt, html:lang(zh) .privacy__title { word-break: keep-all; }

/* ---------- 1. первый экран */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-bg);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 38% 46%;
  /* кадр тонируем в графит: почти без цвета, тёплый отсвет на металле остаётся едва заметным */
  filter: saturate(.16) brightness(.68) contrast(1.06);
  transform-origin: 40% 50%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 40% 40%, transparent 35%, rgba(16, 17, 20, .55) 100%),
    linear-gradient(to top, rgba(16, 17, 20, .94) 0%, rgba(16, 17, 20, .62) 34%, rgba(16, 17, 20, .18) 56%, rgba(16, 17, 20, 0) 70%);
}
/* кашетирующие полосы: половина экрана каждая, в покое от них видна только полоса высотой с шапку */
.hero__bar {
  position: absolute; left: 0; right: 0; z-index: -1;
  height: 50%;
  background: var(--c-bg);
  will-change: transform;
}
.hero__bar--top { top: 0; transform: translateY(calc(-100% + var(--hdr))); }
.hero__bar--bot { bottom: 0; transform: translateY(calc(100% - var(--hdr))); }

.hero__body {
  position: relative;
  text-align: center;
  padding-top: calc(var(--hdr) + 3rem);
  padding-bottom: calc(var(--hdr) + clamp(2.25rem, 5.5vh, 4rem));
}
.hero__title {
  font-size: var(--fs-h1); line-height: 1.02;
  max-width: 16ch; margin: 0 auto;
  text-wrap: balance;
}
.hero__lead {
  max-width: 36rem; margin: 1.4rem auto 0;
  font-size: var(--fs-l); color: var(--c-ink-2); line-height: 1.55;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; margin-top: 2.2rem; }
.hero__down {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: 44px; height: var(--hdr); margin-left: -22px;
  display: grid; place-items: center;
  color: var(--c-mute);
  transition: color var(--t-fast) ease;
}
@media (hover: hover) and (pointer: fine) { .hero__down:hover { color: var(--c-ink); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__bar--top { animation: lb-top var(--t-letterbox) var(--ease-cine) .15s both; }
  .hero__bar--bot { animation: lb-bot var(--t-letterbox) var(--ease-cine) .15s both; }
  .hero__media img { animation: hero-zoom var(--t-zoom) cubic-bezier(.22, .61, .36, 1) both; }
  .hero__body > * { animation: hero-rise 1100ms var(--ease-out) both; }
  .hero__title { animation-delay: .95s; }
  .hero__lead { animation-delay: 1.1s; }
  .hero__cta { animation-delay: 1.25s; }
  .hero__down { animation: hero-fade 900ms ease 1.6s both; }
}
@keyframes lb-top { from { transform: translateY(calc(-100% + 34svh)); } }
@keyframes lb-bot { from { transform: translateY(calc(100% - 34svh)); } }
@keyframes hero-zoom { from { transform: scale(1.06); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-fade { from { opacity: 0; } }

/* ---------- 2. о компании */
.about { padding-block: var(--sp-6); text-align: center; }
.about__in { max-width: calc(46rem + var(--gutter) * 2); }
.about .h2 { margin-bottom: var(--sp-4); }
.about__in::before {
  content: ""; display: block; width: 1px; height: clamp(48px, 7vw, 88px);
  margin: 0 auto var(--sp-4);
  background: linear-gradient(to bottom, transparent, var(--c-metal));
}
.about__p { font-size: var(--fs-l); color: var(--c-ink-2); line-height: 1.7; }
.about__photo { max-width: 1040px; margin: var(--sp-5) auto 0; }
.about__photo .frame__img img { aspect-ratio: 21 / 9; object-position: 50% 55%; }
.tone { filter: var(--tone-people); }

/* ---------- 3. услуги: главы во весь экран */
.services__head { text-align: center; padding-bottom: var(--sp-5); }
.chapter {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.chapter__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.chapter__media img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%; object-fit: cover;
  filter: saturate(.4) brightness(.64);
}
.chapter__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--c-bg) 0%, rgba(16, 17, 20, 0) 30%),
    linear-gradient(to top, var(--c-bg) 2%, rgba(16, 17, 20, .82) 30%, rgba(16, 17, 20, .1) 66%);
}
.chapter__body {
  text-align: center;
  padding-top: 40vh;
  padding-bottom: clamp(4rem, 12vh, 8rem);
  max-width: calc(44rem + var(--gutter) * 2);
}
.chapter__body .h3 { margin-bottom: 1.1rem; }
.chapter__body p { color: var(--c-ink-2); font-size: var(--fs-l); line-height: 1.6; }
.chapter__body .link { margin-top: 1.4rem; }

/* ---------- 4. флот: технический паспорт */
.fleet { padding-block: var(--sp-6) var(--sp-5); }
.fleet__head { text-align: center; max-width: 40rem; margin: 0 auto var(--sp-5); }
.fleet__head .h2 { margin-bottom: 1.2rem; }
.fleet__photo { margin: 0 0 var(--sp-5); }
.fleet__frame {
  border: 1px solid var(--c-line);
  background: var(--c-panel);
  padding: clamp(6px, .9vw, 12px);
}
.fleet__frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; filter: saturate(.55) brightness(.82) contrast(1.04); }
.fleet__photo .note { text-align: center; margin-top: 1rem; max-width: 46rem; margin-inline: auto; }

.passport {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--c-metal-line);
}
.passport > div { padding: var(--sp-4) clamp(12px, 2.4vw, 40px); text-align: center; }
.passport__big { grid-column: span 3; padding-block: var(--sp-5) !important; }
.passport__big + .passport__big { border-left: 1px solid var(--c-metal-line); }
.passport__row { grid-column: span 2; border-top: 1px solid var(--c-metal-line); }
.passport__row + .passport__row { border-left: 1px solid var(--c-metal-line); }
.passport dt { font-size: var(--fs-xs); letter-spacing: .05em; color: var(--c-mute); margin-bottom: .6rem; }
.passport__num { font-size: var(--fs-num); line-height: .95; color: var(--c-metal); font-variant-numeric: lining-nums; white-space: nowrap; }
.passport__unit { font-family: var(--f-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); color: var(--c-metal); margin-left: .12em; }
.passport__note { font-size: var(--fs-xs); color: var(--c-mute); max-width: 26rem; margin: 1.1rem auto 0; line-height: 1.55; }
.passport__row dd { font-family: var(--f-head); font-size: var(--fs-h4); color: var(--c-ink-2); }
.passport__row dd .need { font-family: var(--f-body); font-size: var(--fs-s); }
.passport__foot { text-align: center; border-top: 1px solid var(--c-metal-line); padding-top: 1.2rem; }
html:lang(zh) .passport dt { letter-spacing: .02em; }

/* ---------- 5. преимущества: свет на деталях */
.adv { padding-block: var(--sp-6); }
.adv__title { text-align: center; max-width: 18ch; margin: 0 auto var(--sp-5); }
html:lang(zh) .adv__title, html:lang(kk) .adv__title, html:lang(en) .adv__title { max-width: 22ch; }
.detail { margin-bottom: var(--sp-6); }
.detail:last-child { margin-bottom: 0; }
.frame {
  border: 1px solid var(--c-line);
  background: var(--c-panel);
  padding: clamp(6px, .9vw, 12px);
}
.frame__img { position: relative; overflow: hidden; background: var(--c-bg); }
.frame__img img { width: 100%; object-fit: cover; transform-origin: 50% 50%; }
.detail--wide .frame__img img { aspect-ratio: 21 / 9; }
.detail--tall .frame__img img { aspect-ratio: 4 / 5; }
.detail--crew .frame__img img { object-position: 50% 38%; }
/* у этого кадра светлая стена салона: приглушаем сильнее, чтобы он не выбивался из графита */
.detail--crew .tone { filter: saturate(.36) brightness(.7) contrast(1.08); }
/* постоянная виньетка: свет падает только на середину кадра */
.frame__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 85% at 50% 50%, transparent 40%, rgba(16, 17, 20, .62) 100%);
}
/* вуаль, которая уходит при скролле (только с JS и без reduced motion) */
.frame__veil { position: absolute; inset: 0; z-index: 1; background: var(--c-shade); opacity: 0; pointer-events: none; }
.detail__text { text-align: center; max-width: 34rem; margin: var(--sp-4) auto 0; }
.detail__text .h3 { margin-bottom: 1rem; }
.detail__text p { color: var(--c-ink-2); }

.detail-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); margin-bottom: var(--sp-6); align-items: start; }
.detail-pair .detail { margin-bottom: 0; }
.detail--low { margin-top: clamp(4rem, 10vw, 9rem); }
.detail-pair .h3 { font-size: var(--fs-h4); }

/* ---------- 6. процесс: линия по центру */
.process { padding-block: var(--sp-6); background: var(--c-panel); border-block: 1px solid var(--c-line); }
.process__title { text-align: center; margin-bottom: var(--sp-5); }
.process__photo { max-width: 980px; margin: 0 auto var(--sp-5); background: var(--c-bg); }
.process__photo .frame__img img { aspect-ratio: 21 / 9; object-position: 50% 62%; }
.steps { position: relative; max-width: 980px; margin: 0 auto; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; top: 22px; bottom: 22px; left: 50%;
  width: 1px; background: var(--c-metal-line);
}
.step { position: relative; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: start; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.step:last-child { padding-bottom: 0; }
.step__n {
  grid-column: 2; grid-row: 1; justify-self: center;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-panel); border: 1px solid var(--c-metal);
  font-size: 1.35rem; line-height: 1; color: var(--c-metal);
  position: relative; z-index: 1;
}
.step__body { grid-row: 1; padding-top: 4px; }
.step:nth-child(odd) .step__body { grid-column: 1; text-align: right; }
.step:nth-child(even) .step__body { grid-column: 3; }
.step__body .h4 { margin-bottom: .45rem; }
.step__body p { color: var(--c-ink-2); font-size: var(--fs-s); max-width: 26rem; }
.step:nth-child(odd) .step__body p { margin-left: auto; }

/* ---------- 7. документы: тиснёная табличка */
.docs { padding-block: var(--sp-6) var(--sp-5); }
.plate {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  max-width: 980px; margin: 0 auto;
  padding: clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel));
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-plate);
  position: relative;
}
.plate::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--c-metal-soft);
}
.plate__scan {
  aspect-ratio: 3 / 4;
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  padding: 1.5rem; text-align: center;
  border: 1px dashed var(--c-metal-line);
  background: var(--c-bg);
  color: var(--c-mute); font-size: var(--fs-xs);
  position: relative;
}
.plate__text .h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem); margin-bottom: 1.2rem; }
.plate__status {
  font-family: var(--f-head); font-size: var(--fs-h4); line-height: 1.25; color: var(--c-metal);
  padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--c-metal-line);
  text-wrap: balance;
}
.plate__text p:last-child { color: var(--c-ink-2); }

/* ---------- 8. форма */
.quote { padding-block: var(--sp-5) var(--sp-6); }
.quote__frame {
  max-width: 980px; margin: 0 auto;
  border: 1px solid var(--c-line);
  background: var(--c-panel);
  padding: clamp(24px, 5vw, 72px);
}
.quote__head { text-align: center; max-width: 36rem; margin: 0 auto var(--sp-4); }
.quote__head .h2 { margin-bottom: 1rem; }
.quote__head p { color: var(--c-ink-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px clamp(20px, 4vw, 48px); }
.field { display: grid; align-content: start; gap: 2px; padding-bottom: 14px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-s); letter-spacing: .01em; color: var(--c-ink-2); }
.field__opt { color: var(--c-mute); opacity: .85; }
.field input, .field textarea {
  width: 100%; min-height: 48px;
  padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--c-metal-line); border-radius: 0;
  color: var(--c-ink); font-size: var(--fs-m);
  transition: border-color var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 72px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-placeholder); }
.field input:hover, .field textarea:hover { border-bottom-color: var(--c-metal); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-accent); box-shadow: 0 1px 0 0 var(--c-accent); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--c-err); }
.field__hint { font-size: var(--fs-xs); color: var(--c-mute); margin: 6px 0 0; }
.field__err { font-size: var(--fs-xs); color: var(--c-err); margin: 6px 0 0; }
.form__summary { color: var(--c-err); font-size: var(--fs-s); margin-bottom: 1rem; text-align: center; }
.form__foot { display: grid; justify-items: center; gap: 1.2rem; margin-top: var(--sp-3); text-align: center; }
.form__consent { font-size: var(--fs-xs); color: var(--c-mute); max-width: 31rem; }
.form__consent a { color: var(--c-ink-2); text-underline-offset: 3px; }
.form.is-sending { opacity: .75; }
.form__ok { text-align: center; display: grid; justify-items: center; gap: 1rem; padding-block: var(--sp-3); }
.form__ok[hidden] { display: none; }
.form__ok .h2:focus { outline: none; }
.form__ok p { color: var(--c-ink-2); max-width: 30rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 9. контакты */
.contacts { padding-block: var(--sp-5) var(--sp-6); text-align: center; }
.contacts__title { margin-bottom: var(--sp-5); }
.contacts__list { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--c-metal-line); }
.contacts__list > div { padding: var(--sp-4) 16px; }
.contacts__list > div + div { border-left: 1px solid var(--c-metal-line); }
.contacts__list dt { font-size: var(--fs-xs); letter-spacing: .05em; color: var(--c-mute); margin-bottom: .6rem; }
.contacts__list dd { font-size: var(--fs-m); line-height: 1.5; overflow-wrap: anywhere; }
.contacts__list dd a { display: inline-block; padding: 10px 0; }

.privacy { padding-block: 0 var(--sp-5); }
.privacy__in { max-width: calc(44rem + var(--gutter) * 2); text-align: center; }
.privacy__title { font-family: var(--f-head); font-size: var(--fs-h4); letter-spacing: var(--track-head); margin-bottom: .8rem; }
.privacy p { font-size: var(--fs-s); color: var(--c-mute); max-width: 36rem; margin-inline: auto; }

/* ---------- подвал */
.ftr { border-top: 1px solid var(--c-line); padding-block: 2.5rem 2rem; }
.ftr__in { display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.ftr__logo img { width: 132px; }
.ftr__legal { font-size: var(--fs-xs); color: var(--c-mute); margin: 0; }
.ftr__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; font-size: var(--fs-xs); color: var(--c-ink-2); margin: 0; }
.ftr__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- планшет и телефон */
@media (max-width: 1139px) {
  .contacts__list { grid-template-columns: 1fr 1fr; }
  .contacts__list > div:nth-child(3) { border-left: 0; }
  .contacts__list > div:nth-child(n+3) { border-top: 1px solid var(--c-metal-line); }
}
@media (max-width: 899px) {
  .detail-pair { grid-template-columns: 1fr; gap: 0; }
  .detail-pair .detail { margin-bottom: var(--sp-6); }
  .detail--low { margin-top: 0; }
  .detail--wide .frame__img img { aspect-ratio: 4 / 3; }
  .detail--tall .frame__img img { aspect-ratio: 4 / 3; }
  .plate { grid-template-columns: 1fr; }
  .plate__scan { aspect-ratio: auto; min-height: 220px; order: 2; }
  .plate__text { text-align: center; }
}
@media (max-width: 759px) {
  .hero__media img { object-position: 47% 50%; }
  .hero__title { max-width: none; }
  .hero__cta { flex-direction: column; gap: 8px; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
  .chapter { min-height: 92svh; }
  .chapter__body { padding-top: 34vh; }
  .fleet__frame img { aspect-ratio: 16 / 10; }
  .about__photo .frame__img img, .process__photo .frame__img img { aspect-ratio: 16 / 10; }
  .passport { grid-template-columns: 1fr; }
  .passport__big, .passport__row { grid-column: auto; }
  .passport__big + .passport__big, .passport__row + .passport__row { border-left: 0; }
  .passport__big + .passport__big { border-top: 1px solid var(--c-metal-line); }
  .passport > div { padding-block: var(--sp-3); }
  .passport__big { padding-block: var(--sp-4) !important; }
  .passport__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-align: left; padding-inline: 0 !important; }
  .passport__row dt { margin: 0; }
  .passport__row dd { text-align: right; }
  .steps::before { left: 22px; }
  .step { grid-template-columns: 44px 1fr; column-gap: 20px; }
  .step__n { grid-column: 1; }
  .step:nth-child(odd) .step__body, .step:nth-child(even) .step__body { grid-column: 2; text-align: left; }
  .step:nth-child(odd) .step__body p { margin-left: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .contacts__list { grid-template-columns: 1fr; }
  .contacts__list > div + div { border-left: 0; border-top: 1px solid var(--c-metal-line); }
  .contacts__list > div { padding-block: var(--sp-3); }
}

/* ---------- reduced motion: всё в финальном виде */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .frame__veil { opacity: 0 !important; }
}

/* ---------- рабочий сайт: дополнения к P5 */
.fleet__frame img { object-position: 50% 46%; filter: saturate(.8) brightness(.9) contrast(1.03); }
.why { margin-top: var(--sp-6); }
.why__title { text-align: center; margin-bottom: var(--sp-4); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-metal-line); }
.why__list li { padding: var(--sp-4) clamp(16px, 2.4vw, 40px) var(--sp-4) 0; border-bottom: 1px solid var(--c-metal-line); }
.why__list li + li { padding-left: clamp(16px, 2.4vw, 40px); }
.why__list li:nth-child(3n + 1) { padding-left: 0; }
.why__list li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--c-metal-line); }
.why__list .h4 { color: var(--c-metal); margin-bottom: .6rem; }
.why__list p { color: var(--c-ink-2); font-size: var(--fs-s); line-height: 1.6; margin: 0; }
.contacts__list dd + dd { margin-top: .4rem; }
.contacts__sub { display: block; font-size: var(--fs-xs); color: var(--c-mute); }
.privacy__in { text-align: left; }
.privacy__title { text-align: center; }
.privacy__text p { margin: 0 auto .9rem; }
.plate__scan--doc { padding: var(--sp-3); }
.plate__scan--doc img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) {
  .why__list { grid-template-columns: 1fr 1fr; }
  .why__list li, .why__list li + li { padding: var(--sp-3) 16px var(--sp-3) 0; border-left: 0 !important; }
  .why__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--c-metal-line) !important; }
}
@media (max-width: 559px) {
  .why__list { grid-template-columns: 1fr; }
  .why__list li, .why__list li:nth-child(even) { padding: var(--sp-3) 0; border-left: 0 !important; }
}

/* страховка от выхода за край на долю пикселя (масштаб фото первого экрана) */
html, body { overflow-x: clip; }
