/* ООО «АСТ» — лендинг аренды спецтехники
   Палитра по брифу: чёрный + золотой #ffd700 + белый */
:root {
  --black: #000;
  --coal: #0d0e10;      /* фон чередующихся секций */
  --steel: #17191c;     /* панели, карточки */
  --steel-2: #212429;   /* наведение, поля */
  --line: #2e3238;
  --white: #fff;
  --muted: #a2a8b0;
  --gold: #ffd700;
  --gold-dim: #c9a900;
  --f-head: "Montserrat", "Arial Black", Arial, sans-serif;
  --f-text: "Roboto", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.6 var(--f-text); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Типографика ---------- */
.h2 { font: 800 clamp(30px, 4.2vw, 54px)/1.02 var(--f-head); letter-spacing: -.02em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head__text { color: var(--muted); max-width: 38ch; }

/* ---------- Кнопки: скошенная форма из логотипа ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border: 0; background: none; text-decoration: none;
  font: 700 16px/1 var(--f-head); letter-spacing: .01em; white-space: nowrap; transition: color .2s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-18deg); transition: background .2s, box-shadow .2s, transform .25s var(--ease); }
.btn--gold { color: var(--black); }
.btn--gold::before { background: var(--gold); }
.btn--gold:hover::before { background: #ffe44d; transform: skewX(-18deg) translateX(3px); }
.btn--ghost { color: var(--white); }
.btn--ghost::before { box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn--ghost:hover::before { box-shadow: inset 0 0 0 2px var(--gold); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-solid { background: rgba(0,0,0,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__img { display: block; height: 62px; width: auto; }
.logo__mark { width: 52px; height: auto; fill: var(--white); }
.logo__bar { fill: var(--gold); }
.logo__text { display: grid; line-height: 1; }
.logo__text b { font: 800 26px/1 var(--f-head); letter-spacing: .02em; }
.logo__text small { font: 600 11px/1.3 var(--f-head); color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font: 600 15px/1 var(--f-head); color: rgba(255,255,255,.82); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { right: 0; }
.header__contacts { display: grid; text-align: right; line-height: 1.25; }
.header__phone { font: 700 17px/1.2 var(--f-head); text-decoration: none; white-space: nowrap; }
.header__mail { font-size: 13px; color: var(--muted); text-decoration: none; }
.header__phone:hover, .header__mail:hover { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 12px 8px; margin-left: 4px; }
.burger span { display: block; height: 2px; background: var(--white); transition: transform .25s; }
.burger span + span { margin-top: 8px; width: 70%; margin-left: auto; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span + span { width: 100%; transform: translateY(-5px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 0;
  background: radial-gradient(120% 90% at 85% 10%, #1b1d21 0%, #000 60%); }
.hero__slab { position: absolute; top: 0; bottom: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 180px); mask-image: linear-gradient(180deg, transparent 0, #000 180px); right: -6vw; width: 46vw; transform: skewX(-24deg); transform-origin: bottom; overflow: hidden; }
.hero__photo { position: absolute; inset: 0 -30%; transform: skewX(24deg); background: url("img/hero.jpg") center/cover no-repeat, linear-gradient(180deg, #2a2d32, #121316); filter: grayscale(.2) contrast(1.05); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,0) 45%); }
.hero__slab i { position: absolute; top: 0; bottom: 0; width: 26px; background: var(--gold); }
.hero__slab i:nth-of-type(1) { left: 0; width: 64px; }
.hero__slab i:nth-of-type(2) { left: 92px; opacity: .75; }
.hero__slab i:nth-of-type(3) { left: 140px; opacity: .45; }
.hero__in { position: relative; padding-bottom: clamp(40px, 6vh, 72px); }
.hero__kicker { font: 600 clamp(15px, 1.4vw, 18px)/1.4 var(--f-head); color: var(--gold); max-width: 32ch; margin-bottom: 22px; }
.hero__title { font: 800 clamp(40px, 7vw, 104px)/.95 var(--f-head); letter-spacing: -.03em; max-width: 11.5em; }
.hero__line { display: block; }
.hero__line:first-child { font-size: .5em; letter-spacing: -.01em; margin-bottom: .3em; color: rgba(255,255,255,.88); }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 36px; padding-left: 10px; }

/* Табличка с цифрами — как шильд техники */
.hero__plate { position: relative; z-index: 1; background: var(--black); }
.plate { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: 0; }
.plate__cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px 24px 30px 0; }
.plate__cell + .plate__cell { padding-left: 24px; border-left: 1px solid var(--line); }
.plate dd { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plate__cell:first-child dd { color: var(--gold); }
.plate dt { font-size: 14px; line-height: 1.4; color: var(--muted); max-width: 26ch; }

/* ---------- Каталог ---------- */
.fleet { background: var(--coal); padding: clamp(72px, 9vw, 128px) 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { position: relative; flex: none; display: inline-flex; align-items: flex-start; gap: 6px; border: 0; background: none; padding: 18px 18px 20px;
  font: 700 clamp(15px, 1.3vw, 18px)/1 var(--f-head); color: var(--muted); transition: color .2s; }
.tabs__btn:first-child { padding-left: 0; }
.tabs__btn:hover { color: var(--white); }
.tabs__count { font-size: 12px; color: var(--muted); font-weight: 600; }
.tabs__btn::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 4px; background: var(--gold); transform: scaleX(0) skewX(-30deg); transform-origin: left; transition: transform .3s var(--ease); }
.tabs__btn:first-child::after { left: 0; }
.tabs__btn[aria-selected="true"] { color: var(--white); }
.tabs__btn[aria-selected="true"] .tabs__count { color: var(--gold); }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1) skewX(-30deg); }

.fleet__panel { padding-top: 24px; }
.fleet__panel.is-entering .unit { animation: unitIn .55s var(--ease) both; }
.fleet__panel.is-entering .unit:nth-child(2) { animation-delay: .06s; }
.fleet__panel.is-entering .unit:nth-child(3) { animation-delay: .12s; }
.fleet__panel.is-entering .unit:nth-child(n+4) { animation-delay: .18s; }
@keyframes unitIn { from { opacity: 0; transform: translateX(40px); } }
.fleet__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 9px 14px; font: 500 14px/1 var(--f-text); color: rgba(255,255,255,.85); transition: border-color .2s, color .2s, background .2s; }
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold); }
.fleet__viewport { margin: 0 calc(var(--gut) * -1); }
.fleet__track { --cols: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gut) * 2 - 24px * (var(--cols) - 1)) / var(--cols));
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); padding: 4px var(--gut) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.fleet__track::-webkit-scrollbar { display: none; }
.fleet__track:focus-visible { outline-offset: -2px; }

/* Карточка: панель со срезанным углом, как стальной лист */
.unit { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--steel);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); transition: background .25s; }
.unit:hover { background: var(--steel-2); }
.unit.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 40% { box-shadow: inset 0 0 0 2px var(--gold); } 100% { box-shadow: inset 0 0 0 2px transparent; } }
.unit__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #23262b, #15171a); display: grid; place-items: center; overflow: hidden; }
.unit__ph { width: 70%; fill: #3a3f46; }
.unit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.unit__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.unit__kind { font-size: 14px; color: var(--muted); }
.unit__name { font: 800 24px/1.15 var(--f-head); letter-spacing: -.01em; margin: 4px 0 16px; }
.unit__specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.unit__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.unit__specs dt { color: var(--muted); }
.unit__specs dd { font-weight: 500; text-align: right; }
.unit__note { margin-top: 12px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.75); }
.unit__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.unit__qty { font-size: 14px; color: var(--muted); }
.unit__qty b { font: 800 22px/1 var(--f-head); color: var(--white); margin-right: 2px; }

.fleet__nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); background: none; transition: border-color .2s, opacity .2s; }
.arrow svg { width: 22px; fill: none; stroke: var(--white); stroke-width: 2; }
.arrow:hover:not(:disabled) { border-color: var(--gold); }
.arrow:disabled { opacity: .3; cursor: default; }
.fleet__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.fleet__progress span { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--gold); transition: left .2s, width .2s; }

/* ---------- Задачи ---------- */
.tasks { padding: clamp(72px, 9vw, 128px) 0; }
.tasks__list { border-top: 1px solid var(--line); }
.task { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 12px 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.task__name { font: 700 clamp(19px, 1.8vw, 24px)/1.25 var(--f-head); }
.task__tech { color: var(--muted); }
.task__go { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 0; font: 600 15px/1 var(--f-head); color: var(--gold); white-space: nowrap; }
.task__go svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.task__go:hover svg { transform: translateX(5px); }

/* ---------- О компании ---------- */
.about { background: var(--coal); padding: clamp(72px, 9vw, 128px) 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.about__text { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); max-width: 44ch; }
.about__facts { margin-top: 32px; display: grid; gap: 14px; max-width: 52ch; }
.about__facts li { position: relative; padding-left: 30px; color: rgba(255,255,255,.85); }
.about__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 6px; background: var(--gold); transform: skewX(-30deg); }
.clients { background: var(--steel); padding: 32px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.clients__title { font: 600 15px/1.3 var(--f-head); color: var(--muted); margin-bottom: 8px; }
.clients__list li { font: 800 clamp(22px, 2.2vw, 30px)/1.2 var(--f-head); letter-spacing: -.01em; padding: 18px 0; border-bottom: 1px solid var(--line); }
.clients__list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Шаги ---------- */
.steps { padding: clamp(72px, 9vw, 128px) 0; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 28px 28px 0 0; border-top: 4px solid var(--line); }
.step::before { content: "0" counter(step); display: block; font: 800 15px/1 var(--f-head); color: var(--gold); margin-bottom: 18px; }
.step:first-child { border-top-color: var(--gold); }
.step h3 { font: 800 22px/1.2 var(--f-head); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 26ch; }
.steps__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 48px; padding-left: 10px; }
.steps__phone { font: 600 17px/1.3 var(--f-head); text-decoration: none; }
.steps__phone:hover { color: var(--gold); }

/* ---------- Контакты + карта ---------- */
.contacts { padding: clamp(72px, 9vw, 128px) 0; background: var(--coal); }
.contacts__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.contacts__map { height: 420px; background: repeating-linear-gradient(-30deg, #15171a 0 22px, #181a1e 22px 44px); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.contacts__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.92); }
.contact-card { background: var(--black); padding: clamp(28px, 3vw, 44px); }
.contact-card__list { display: grid; gap: 16px; margin: 28px 0 24px; }
.contact-card__list dt { font-size: 14px; color: var(--muted); }
.contact-card__list dd { font-size: 17px; }
.contact-card__list a { text-decoration: none; }
.contact-card__list a:hover { color: var(--gold); }
.contact-card__phone { font: 800 26px/1.2 var(--f-head); }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { border: 1px solid var(--line); padding: 10px 16px; font: 600 14px/1 var(--f-head); text-decoration: none; transition: border-color .2s, color .2s; }
.msg:hover { border-color: var(--gold); color: var(--gold); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px; padding-left: 10px; }

/* ---------- Подвал ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 14px; color: var(--muted); }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: start; }
.footer__req { display: grid; gap: 4px; }
.footer__links { display: grid; gap: 6px; text-align: right; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; z-index: 70; left: 24px; bottom: 24px; width: min(calc(100% - 48px), 560px); background: var(--steel); border: 1px solid var(--line); padding: 22px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.cookie__text { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.cookie__text a { color: var(--white); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; padding-left: 8px; }
.footer__cookie { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookie:hover { color: var(--gold); }

/* ---------- Мобильная панель ---------- */
.mbar { display: none; }

/* ---------- Попап ---------- */
.modal { width: min(100% - 24px, 520px); max-height: calc(100% - 24px); overflow-y: auto; padding: 0; border: 0; background: var(--steel); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.order { position: relative; padding: clamp(28px, 5vw, 44px); }
.modal__close { position: absolute; top: 12px; right: 30px; width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.modal__close svg { width: 22px; stroke: var(--white); stroke-width: 2; }
.order__title { font: 800 clamp(24px, 3vw, 30px)/1.15 var(--f-head); letter-spacing: -.01em; padding-right: 40px; }
.order__sub { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
.order__machine { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border-left: 4px solid var(--gold); background: var(--steel-2); font-size: 15px; }
.order__machine button { border: 0; background: none; color: var(--muted); padding: 4px 6px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 14px; color: var(--muted); }
.field input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; background: var(--black); color: var(--white); font: 400 17px var(--f-text); transition: border-color .2s; }
.field input:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #ff6b5b; }
.hp { position: absolute; left: -9999px; }
.pref { border: 0; padding: 0; margin: 2px 0 16px; }
.pref legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.pref__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pref__opts label { position: relative; cursor: pointer; }
.pref__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pref__opts span { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 6px; border: 1px solid var(--line); background: var(--black); font: 600 14px/1 var(--f-head); color: rgba(255,255,255,.85); transition: border-color .2s, color .2s, background .2s; }
.pref__opts label:hover span { border-color: rgba(255,255,255,.4); }
.pref__opts input:checked + span { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,.06); }
.pref__opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 420px) { .pref__opts { grid-template-columns: repeat(2, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.check a { color: var(--white); }
.order__error { margin: -6px 0 16px; color: #ff8a7d; font-size: 14px; }
.order__submit { width: calc(100% - 10px); margin-left: 5px; }
.order__submit[disabled] { opacity: .45; cursor: not-allowed; }
.order__submit[aria-busy="true"] { cursor: progress; }
.order__hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.order__hint[hidden] { display: none; }
.order__done-text { margin: 14px 0 26px; color: rgba(255,255,255,.85); }
.order__done .btn { margin-left: 8px; }

/* ---------- Анимации при скролле ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv--scale { transform: scale(.94); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .tasks__list .task:nth-child(2) { transition-delay: .05s; }
.js .tasks__list .task:nth-child(3) { transition-delay: .1s; }
.js .steps__list .step:nth-child(2) { transition-delay: .1s; }
.js .steps__list .step:nth-child(3) { transition-delay: .2s; }
.js .steps__list .step:nth-child(4) { transition-delay: .3s; }

/* Сцена загрузки первого экрана */
.js .hero__slab { animation: slabIn 1.1s var(--ease) both; }
.js .hero__kicker, .js .hero__line, .js .hero__lead, .js .hero__actions, .js .plate { animation: riseIn .9s var(--ease) both; }
.js .hero__kicker { animation-delay: .25s; }
.js .hero__line:nth-child(1) { animation-delay: .35s; }
.js .hero__line:nth-child(2) { animation-delay: .45s; }
.js .hero__line:nth-child(3) { animation-delay: .55s; }
.js .hero__lead { animation-delay: .7s; }
.js .hero__actions { animation-delay: .8s; }
.js .plate { animation-delay: .95s; }
@keyframes slabIn { from { transform: skewX(-24deg) translateX(30%); opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(36px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__mail { display: none; }
  .nav { gap: 20px; }
}
@media (max-width: 1024px) {
  .fleet__track { --cols: 2; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 24px; background: rgba(0,0,0,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header__contacts { margin-left: auto; }
  .burger { display: block; }
  .plate { grid-template-columns: repeat(2, 1fr); }
  .plate__cell:nth-child(3) { padding-left: 0; border-left: 0; }
  .plate__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .task { grid-template-columns: 1fr auto; }
  .task__tech { grid-column: 1; grid-row: 2; }
  .task__go { grid-column: 2; grid-row: 1 / 3; }
  .about__in { grid-template-columns: 1fr; }
  .contacts__in { grid-template-columns: 1fr; }
  .contacts__map { height: 340px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in .logo { grid-column: 1 / -1; }
  .footer__links { text-align: left; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .header__cta, .header__contacts { display: none; }
  .burger { margin-left: auto; }
  .logo__img { height: 50px; }
  .logo__text b { font-size: 22px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero__slab { width: 44vw; right: 6vw; top: 40px; opacity: .5; }
  .hero__in { z-index: 1; }
  .hero__title { font-size: clamp(36px, 11vw, 56px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .plate dd { font-size: 32px; }
  .plate__cell { padding: 18px 12px 22px 0; }
  .plate__cell + .plate__cell { padding-left: 14px; }
  .plate__cell:nth-child(3) { padding-left: 0; }
  .plate dt { font-size: 13px; }
  .sec-head { grid-template-columns: 1fr; }
  .fleet__track { --cols: 1; grid-auto-columns: 84%; gap: 14px; }
  .unit__body { padding: 18px 18px 20px; }
  .unit__name { font-size: 21px; }
  .fleet__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 22px; padding: 0 var(--gut); scrollbar-width: none; }
  .fleet__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .task { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .task__go { grid-column: 1; grid-row: auto; justify-self: start; }
  .steps__list { grid-template-columns: 1fr; row-gap: 28px; }
  .step { padding-top: 22px; }
  .clients { padding: 24px; }
  .contacts__in { gap: 28px; }
  .contacts__map { height: 280px; }
  .contact-card { padding: 0; background: none; }
  .contact-card__actions .btn { flex: 1 1 100%; }
  .footer { padding-bottom: 24px; }
  .footer__in { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 18px; }
  .cookie__actions .btn { flex: 1 1 auto; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.2fr; height: 64px; background: rgba(0,0,0,.96); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: none; text-decoration: none; font: 600 12px/1 var(--f-head); color: var(--white); }
  .mbar__btn svg { width: 22px; height: 22px; fill: currentColor; }
  .mbar__btn--gold { background: var(--gold); color: var(--black); font-size: 15px; }
}
