:root {
  --void: #0e1111;
  --pit: #131919;
  --steel: #182020;
  --steel-hi: #1e2727;
  --edge: #2a3434;
  --edge-soft: #202929;
  --amber: #ff9549;
  --amber-deep: #f28434;
  --bone: #ffffff;
  --ash: #a1a5a5;
  --ash-dim: #889191;
  --wrap: 1320px;
  --header-h: 148px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --grille: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "TT Tank", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--bone);
  background: var(--void);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

::selection { background: var(--amber); color: #101414; }

/* ---------- signature: grille marker ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 33px;
  height: 14px;
  flex: none;
  background: var(--grille);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }

.btn--red { background: var(--amber); color: #141a1a; }
.btn--red:hover { background: var(--amber-deep); }

.btn--outline { background: transparent; color: var(--bone); border-color: var(--edge); }
.btn--outline:hover { border-color: var(--amber); color: var(--amber); }

.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 12px; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 17, 17, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge-soft);
}

.header__main { border-bottom: 1px solid var(--edge-soft); }

.header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.header__logo { height: 30px; width: auto; }
.header__status {
  padding-left: 18px;
  font-weight: 400;
  border-left: 1px solid var(--edge);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ash);
}

.header__phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone .icon { color: var(--amber); }

.header__mark { width: auto; height: 36px; opacity: .9; }

.header__cta { min-height: 48px; }

.header__nav-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 58px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ash);
  white-space: nowrap;
  transition: color .18s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 8px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform .22s;
}
.nav-link:hover { color: var(--bone); }
.nav-link.is-active { color: var(--amber); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-group { position: relative; }

.nav-link--group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-link__chev {
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s, margin-top .22s;
}
.nav-group:hover .nav-link__chev,
.nav-group.is-open .nav-link__chev { margin-top: 2px; transform: rotate(-135deg); }

.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  min-width: 232px;
  padding: 6px 0;
  background: var(--steel);
  border: 1px solid var(--edge-soft);
  box-shadow: var(--shadow);
}
.nav-group:hover .nav-drop,
.nav-group.is-open .nav-drop { display: block; }

.nav-drop__link { display: block; padding: 14px 22px; }
.nav-drop__link::after { bottom: 10px; }

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--bone);
  transition: transform .22s, opacity .22s;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--void);
  overflow: hidden;
}

.hero__track { display: grid; }

/* запасной hero из пререндера держит ту же высоту, что и настоящий слайд,
   иначе при отрисовке JS страница уезжает вниз на 323 px */
.pr--hero { min-height: min(80vh, 760px); }

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  min-height: min(80vh, 760px);
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 9s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }

/* Шторка держит контраст текста, но не должна съедать кадр. Поэтому она не
   вертикальной стеной поперёк левой трети, а эллипсом под самим текстом: углы
   и верх остаются открытыми, фотография читается. */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(100% 88% at 2% 22%, rgba(9, 12, 12, .30) 0%, rgba(9, 12, 12, .21) 30%, rgba(9, 12, 12, .08) 58%, rgba(9, 12, 12, 0) 76%),
    linear-gradient(0deg, rgba(9, 12, 12, .11) 0%, rgba(9, 12, 12, 0) 20%);
}

/* Заголовок прибит к верху кадра, кнопка — к низу, фотография дышит между ними.
   Так устроены слайдеры импортёра и соседних дилеров, и так первый экран не
   превращается в стопку текста на телефоне. Раскладку держит `margin-top: auto`
   у кнопки, минимальный зазор между блоками — `gap`. */
.hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 104px;
}

.hero__title {
  max-width: 780px;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
  /* мягкое пятно под самими буквами: держит заголовок на светлых кусках кадра
     (небо, капот, стеклянные дома), не отнимая света у фотографии */
  text-shadow: 0 1px 28px rgba(9, 12, 12, .62);
}

.hero__highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 22px 12px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(9, 12, 12, .72);
  color: var(--amber);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.25;
}

.hero__bullets { display: grid; gap: 13px; max-width: 42ch; }
.hero__bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  font-size: clamp(15px, 1.3vw, 18px);
  /* то же пятно, что под заголовком: буллиты мельче и требуют контраста 4,5:1,
     без него пришлось бы гасить весь кадр */
  text-shadow: 0 1px 18px rgba(9, 12, 12, .7);
}
.hero__bullets li::before {
  content: "";
  width: 19px;
  height: 10px;
  color: var(--amber);
  background: var(--grille);
}

.hero__cta { margin-top: auto; }

.hero__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero__arrow {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 238, 238, .2);
  background: rgba(14, 17, 17, .4);
  color: var(--bone);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  transition: background-color .18s, color .18s, border-color .18s;
}
.hero__arrow:hover { background: var(--amber); color: #141a1a; border-color: var(--amber); }
.hero__arrow--next { margin-left: -1px; }

.hero__dots {
  display: flex;
  gap: 8px;
  margin-left: 22px;
  pointer-events: auto;
}
.hero__dots button {
  width: 40px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(236, 238, 238, .28);
  cursor: pointer;
  transition: background-color .2s;
}
.hero__dots button.is-active { background: var(--amber); }

/* ---------- countdown ---------- */

.timer {
  background: var(--steel);
  border-top: 1px solid var(--edge-soft);
  border-bottom: 1px solid var(--edge-soft);
}

.timer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  flex-wrap: wrap;
}

.timer__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .02em;
}
.timer__title .icon { color: var(--amber); width: 22px; height: 22px; }

.timer__clock { display: flex; gap: 8px; }

.timer__cell {
  min-width: 76px;
  padding: 9px 6px;
  background: var(--void);
  border: 1px solid var(--edge-soft);
  text-align: center;
}
.timer__num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.timer__unit { display: block; font-size: 11px; color: var(--ash-dim); letter-spacing: .08em; }

.timer__cta { min-height: 50px; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section--flush { padding-top: 0; }
.section--tight { padding: 0; }
.section--pit { background: var(--pit); }

.section__head { display: grid; gap: 18px; }

.section__title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.section__lead {
  margin-top: 14px;
  max-width: 60ch;
  color: var(--ash);
}
/* 60ch — предел читаемости для абзаца, но подзаголовок модельного ряда длиннее
   и ломался на две строки при свободных 1272 px в колонке */
.section__lead--wide { max-width: 82ch; }
/* Подзаголовки склада, дилера и сервиса заказчик просил вести в одну строку
   на всю ширину колонки (18.08.2026) — на телефоне они переносятся сами. */
.section__lead--full { max-width: none; }

/* ---------- model picker ---------- */

.picker {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.picker__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 16px;
  background: var(--steel);
  border: 1px solid var(--edge-soft);
  color: var(--bone);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .2s, border-color .2s;
}
.picker__item:hover { background: var(--steel-hi); border-color: var(--edge); }
.picker__item.is-active { border-color: var(--amber); }
.picker__item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.picker__name {
  flex: none;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  z-index: 1;
}

.picker__img {
  width: 100%;
  height: 128px;
  object-fit: contain;
}

/* Тип топлива — подписью в подвале плитки, во всю её ширину: строчка читается
   как табличка с данными, а не как ярлык на кузове. Набор тот же, что у названия
   модели: мелкие разряженные капители на тёмном фоне замыливались. */
.picker__fuel {
  margin: auto -22px 0;
  padding: 11px 22px 0;
  border-top: 1px solid var(--edge-soft);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--ash-dim);
  transition: color .2s;
}
.picker__item:hover .picker__fuel,
.picker__item.is-active .picker__fuel { color: var(--ash); }
.picker__hybrid { color: var(--amber); }

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--edge-soft);
  background: var(--steel);
  cursor: pointer;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb:hover img { transform: scale(1.06); }

.thumb__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 13, 13, .68);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}

/* ---------- footnotes ---------- */

.note-ref {
  display: inline-block;
  margin-left: 3px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: .5em;
  font-weight: 500;
  vertical-align: super;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}
.note-ref:hover { opacity: 1; }

/* ---------- trust ---------- */

.trust {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1px;
  background: var(--edge-soft);
  border: 1px solid var(--edge-soft);
}
.trust__item {
  padding: 34px 28px;
  background: var(--void);
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  gap: 12px;
  align-content: start;
}
.trust__value {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--amber);
}
.trust__value--long { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.trust__title { font-size: 17px; font-weight: 500; }
.trust__text { font-size: 14px; color: var(--ash); line-height: 1.5; }

/* ---------- test drive ---------- */

.testdrive {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--void) center / cover no-repeat;
  border: 1px solid var(--edge-soft);
  overflow: hidden;
}
.testdrive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(11, 14, 14, .94) 0%, rgba(11, 14, 14, .74) 42%, rgba(11, 14, 14, .2) 78%);
}

.testdrive__body {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  max-width: 620px;
  display: grid;
  gap: 22px;
  justify-items: start;
}
.testdrive__title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.testdrive__text { font-size: 17px; color: var(--ash); }

/* ---------- trade-in ---------- */

.tradein {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--edge-soft);
}
.tradein__media { position: relative; overflow: hidden; }
.tradein__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tradein__panel { padding: 46px 42px; display: grid; gap: 22px; align-content: start; background: var(--steel); }
.tradein__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.tradein__text { color: var(--ash); font-size: 15px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--wide { grid-column: 1 / -1; }

.field { display: grid; gap: 7px; }
.field__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash-dim); }
.field__input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--edge);
  border-radius: 0;
  background: var(--void);
  font: inherit;
  color: var(--bone);
  transition: border-color .18s;
}
.field__input::placeholder { color: var(--ash-dim); }
.field__input:hover { border-color: #3a4646; }
.field__input:focus { border-color: var(--amber); outline: none; }
.field__input:disabled { background: var(--steel); color: var(--ash-dim); }
select.field__input {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select.field__input option { background: var(--steel); color: var(--bone); }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ash-dim);
}
.consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--amber); }

.form__done {
  padding: 18px 20px;
  background: rgba(255, 149, 73, .1);
  border-left: 3px solid var(--amber);
  font-size: 15px;
}

/* ---------- credit ---------- */

.credit {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--edge-soft);
}
.credit__panel { padding: 46px 42px; background: var(--steel); }
.credit__media { position: relative; overflow: hidden; }
.credit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.credit__note {
  padding: 18px 22px;
  background: var(--void);
  border-left: 3px solid var(--amber);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ash);
}

/* ---------- сервис ---------- */

.service {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--edge-soft);
}
.service__facts {
  padding: 46px 42px;
  display: grid;
  gap: 28px;
  align-content: space-between;
  background: var(--void);
}
.service__list { display: grid; gap: 24px; }
.service__item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.service__icon { width: 24px; height: 24px; color: var(--amber); }
.service__item-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.service__item-text { margin-top: 7px; font-size: 14.5px; line-height: 1.55; color: var(--ash); }

.service__reg {
  padding: 18px 22px;
  background: var(--steel);
  border-left: 3px solid var(--amber);
}
.service__reg-title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash-dim); }
.service__reg-text { margin-top: 9px; font-size: 14px; line-height: 1.55; color: var(--ash); }

.service__panel { padding: 46px 42px; display: grid; gap: 22px; align-content: start; background: var(--steel); }
.service__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.service__text { color: var(--ash); font-size: 15px; }
.service__note { font-size: 13px; line-height: 1.5; color: var(--ash-dim); }

/* ---------- полоса захвата ---------- */

.pickup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 34px;
  background: var(--steel);
  border: 1px solid var(--edge-soft);
  border-left: 3px solid var(--amber);
}
.pickup__title { font-size: clamp(21px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
.pickup__text { margin-top: 8px; max-width: 62ch; font-size: 15px; color: var(--ash); }
.pickup__cta { flex: none; }

/* ---------- лизинг ---------- */

.leasing {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--edge-soft);
}

.leasing__media { position: relative; overflow: hidden; }
.leasing__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.leasing__rates {
  padding: 30px 32px;
  min-width: 0;
  border: 1px solid var(--edge-soft);
  border-top: 0;
  background: var(--void);
}
.leasing__scroll { overflow-x: auto; scrollbar-width: thin; }

.rates {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rates__caption {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash-dim);
}

.rates th, .rates td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge-soft);
  text-align: center;
  font-weight: 300;
  font-size: 15px;
}
.rates thead th {
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--bone);
}
.rates thead th i {
  display: inline;
  margin-left: 5px;
  font-style: normal;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--ash-dim);
}
/* колонка аванса остаётся на виду, пока таблицу листают вбок */
.rates th[scope="row"], .rates thead th:nth-child(2) {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 1%;
  white-space: nowrap;
  text-align: left;
  padding-right: 18px;
  background: var(--void);
  font-weight: 500;
  color: var(--bone);
}

.rates thead th:first-child, .rates td.rates__model {
  width: 18%;
  white-space: nowrap;
  text-align: left;
  padding-left: 0;
  padding-right: 26px;
  font-weight: 500;
  color: var(--bone);
}
.rates td.rates__model { vertical-align: middle; border-bottom: 0; }
.rates td.rates__model span { display: block; padding: 3px 0; }

.leasing__models {
  display: none;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ash-dim);
}
.rates td { color: var(--ash); }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody tr:hover td, .rates tbody tr:hover th { color: var(--bone); }

.rates .is-best {
  position: relative;
  color: var(--amber);
  font-weight: 500;
}
.rates .is-best::after {
  content: "";
  position: absolute;
  inset: 3px 0;
  background: rgba(255, 149, 73, .1);
  z-index: -1;
}

.leasing__panel {
  padding: 46px 42px;
  background: var(--steel);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.leasing__text { color: var(--ash); font-size: 15px; line-height: 1.6; }

.leasing__list { display: grid; gap: 14px; }
.leasing__list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 15px;
}
.leasing__list li::before {
  content: "";
  width: 19px;
  height: 10px;
  margin-top: 7px;
  color: var(--amber);
  background: var(--grille);
}

.leasing__hint { margin-top: auto; font-size: 13px; line-height: 1.5; color: var(--ash-dim); }

/* ---------- stock ---------- */

.stock__filter { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--ash);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.chip:hover { color: var(--bone); border-color: #3a4646; }
.chip.is-active { background: var(--amber); border-color: var(--amber); color: #141a1a; }

.stock__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.car {
  display: flex;
  flex-direction: column;
  background: var(--steel);
  border: 1px solid var(--edge-soft);
  transition: border-color .2s;
}
.car:hover { border-color: var(--edge); }

.car__media { position: relative; aspect-ratio: 4 / 3; background: var(--void); overflow: hidden; }
.car__media img { width: 100%; height: 100%; object-fit: cover; }

/* машину ещё не отсняли — вместо фото рендер её цвета, он шире кадра карточки */
.car__media--render { background: var(--steel); }
.car__media--render img { object-fit: contain; }

.car__soon {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 10px;
  background: rgba(14, 17, 17, .72);
  color: var(--ash);
  font-size: 12px;
  letter-spacing: .04em;
}

.car__badge {
  position: absolute;
  left: 0;
  top: 16px;
  padding: 7px 14px;
  background: var(--amber);
  color: #141a1a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.car__open {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.car__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(14, 17, 17, .74);
  color: var(--bone);
  cursor: pointer;
  opacity: 0;
  transition: opacity .18s, background-color .18s;
}
.car__nav .icon { width: 18px; height: 18px; }
.car__nav:hover { background: var(--amber); color: #141a1a; }
.car__nav--prev { left: 10px; }
.car__nav--next { right: 10px; }
.car__media:hover .car__nav,
.car__nav:focus-visible { opacity: 1; }

@media (hover: none) {
  .car__nav { opacity: 1; }
}

.car__bars {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 3px;
}
.car__bars span {
  flex: 1;
  height: 2px;
  background: rgba(236, 238, 238, .3);
  transition: background-color .2s;
}
.car__bars span.is-on { background: var(--amber); }

.car__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car__name { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.car__trim { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.car__meta { display: flex; flex-wrap: wrap; gap: 7px; }
.car__tag { padding: 5px 10px; background: var(--void); font-size: 12px; color: var(--ash); }

.stock__more { margin: 32px auto 0; display: flex; min-width: 260px; }

.car__prices { margin-top: auto; display: grid; gap: 2px; }
.car__price-old { font-size: 14px; color: var(--ash-dim); text-decoration: line-through; }
.car__price { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }

/* ---------- contacts ---------- */

.contacts { display: grid; grid-template-columns: 440px 1fr; gap: 36px; align-items: start; }
.contacts__title { font-size: clamp(28px, 3vw, 42px); }
.contacts__list { margin-top: 28px; display: grid; gap: 18px; }
.contacts__list li { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; font-size: 17px; }
.contacts__list .icon { color: var(--amber); margin-top: 4px; }
.contacts__list a { text-decoration: none; }

.contacts__form {
  margin-top: 32px;
  padding: 32px 30px;
  background: var(--steel);
  border: 1px solid var(--edge-soft);
  display: grid;
  gap: 18px;
}
.contacts__form-title { font-size: 22px; font-weight: 500; }
.contacts__form-text { font-size: 14px; color: var(--ash); }

.contacts__map {
  height: 100%;
  min-height: 560px;
  border: 1px solid var(--edge-soft);
  background: var(--steel);
  overflow: hidden;
}
.contacts__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Метка повторяет фирменный пин организации в Яндекс.Картах: чёрный круг
   в оранжевом кольце с маркой TANK, короткий хвост и отдельная точка внизу —
   на координате дилерского центра стоит именно она, круг висит над ней. */
.ymap-pin {
  position: absolute;
  left: -27px;
  top: -72px;
  width: 54px;
  height: 72px;
}
.ymap-pin__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  background: #0d0f0f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.ymap-pin__badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% -6px;
  border: 4px solid transparent;
  border-top: 11px solid var(--amber);
}
.ymap-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  background: #0d0f0f;
}
.ymap-pin img { position: relative; z-index: 1; }

/* ---------- footer ---------- */

.footer { padding: 56px 0 44px; background: var(--pit); border-top: 1px solid var(--edge-soft); color: var(--ash); font-size: 14px; }
.footer__top { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--edge-soft); }
.footer__logo { height: 30px; width: auto; }
.footer__mark { height: 34px; width: auto; opacity: .75; }
.footer__contacts { display: flex; gap: 28px; flex-wrap: wrap; color: var(--bone); }
.footer__contacts a { text-decoration: none; }

.legal { margin-top: 28px; }
.legal__summary { font-size: 15px; font-weight: 500; color: var(--bone); cursor: pointer; }
.legal__body { margin-top: 20px; display: grid; gap: 18px; max-width: 100ch; }
.legal__notes { display: grid; gap: 12px; counter-reset: note; }
.legal__notes li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ash-dim);
  transition: color .3s;
}
.legal__notes li::before { counter-increment: note; content: counter(note); color: var(--amber); font-weight: 500; }
.legal__notes li.is-target { color: var(--bone); }
.legal__common, .legal__req { font-size: 12.5px; line-height: 1.55; color: var(--ash-dim); }

/* ---------- cookie ---------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 24px;
  translate: -50% 0;
  width: min(720px, calc(100vw - 220px));
  z-index: 56;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: var(--steel);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--ash);
}
.cookie p { margin: 0; text-wrap: pretty; }
.cookie .btn { flex: none; }

/* ---------- modal ---------- */

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 11, 11, .82); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--steel);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  display: grid;
}
.modal__body { display: grid; gap: 20px; padding: 46px 40px; }
.modal__aside { display: none; }
.modal__dialog--media {
  width: min(880px, 100%);
  grid-template-columns: 320px 1fr;
  overflow: hidden;
}
.modal__dialog--media .modal__body { min-height: 0; overflow-y: auto; }
.modal__dialog--media .modal__aside {
  display: block;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--edge);
  background: var(--pit);
}
.modal__dialog--media .modal__aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.modal__dialog--media .modal__aside::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 32, 32, 0) 45%, rgba(24, 32, 32, .9) 100%);
}
.modal__close, .lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--ash);
  cursor: pointer;
  transition: color .18s;
}
.modal__close:hover, .lightbox__close:hover { color: var(--amber); }
.modal__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; padding-right: 40px; line-height: 1.15; }
.modal__text { font-size: 14px; color: var(--ash); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  align-items: center;
  background: rgba(8, 11, 11, .96);
}
.lightbox__close { color: var(--bone); top: 20px; right: 20px; }
.lightbox__stage { display: grid; place-items: center; padding: 24px; }
.lightbox__stage img {
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 140px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--void);
}
.lightbox__arrow {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 238, 238, .16);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.lightbox__arrow:hover { background: var(--amber); color: #141a1a; border-color: var(--amber); }
.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  color: var(--ash-dim);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

body.is-locked { overflow: hidden; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- adaptive ---------- */

@media (max-width: 1180px) {
  .contacts { grid-template-columns: 360px 1fr; }
  .picker { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 140px; }
  .section { padding: 72px 0; }
  .header__status { display: none; }
  .header__phone { font-size: 18px; }
  .tradein, .credit, .leasing, .service { grid-template-columns: 1fr; }
  .tradein__media, .credit__media, .leasing__media { height: 320px; }
  .credit__media { order: -1; }
  .stock__grid { grid-template-columns: repeat(2, 1fr); }
  .header__nav-row { justify-content: flex-start; }
  .contacts { grid-template-columns: 1fr; }
  .contacts__map { min-height: 380px; }
  .modal__dialog--media { width: min(520px, 100%); grid-template-columns: 1fr; }
  .modal__dialog--media .modal__aside { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .header__row { gap: 14px; min-height: 66px; }
  .header__cta, .header__mark { display: none; }
  .header__phone { margin-left: auto; font-size: 17px; }
  .header__logo { height: 24px; }

  .header__burger { display: block; }
  .header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: var(--void);
    border-top: 1px solid var(--edge-soft);
    box-shadow: var(--shadow);
  }
  .header__nav.is-open { display: block; }
  .header__nav-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding: 6px 24px 16px;
    overflow: visible;
  }
  .nav-link {
    padding: 16px 0 16px 14px;
    border-bottom: 1px solid var(--edge-soft);
    border-left: 2px solid transparent;
    font-size: 14px;
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { border-left-color: var(--amber); }

  .nav-group { position: static; }
  .nav-link--group { display: none; }
  .nav-drop {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-drop__link { padding: 16px 0 16px 14px; }

  .picker { grid-template-columns: 1fr; gap: 12px; }
  /* в строку плитка встаёт боком: слева название с типом топлива, справа кузов */
  .picker__item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 12px;
    padding: 8px 14px 8px 20px;
  }
  .picker__name { grid-area: 1 / 1; align-self: end; }
  .picker__fuel { grid-area: 2 / 1; align-self: start; margin: 0; padding: 4px 0 0; border-top: 0; }
  .picker__img { grid-area: 1 / 2 / 3 / 3; width: auto; height: 96px; max-width: 100%; justify-self: end; object-position: right center; }


  .trust { grid-template-columns: 1fr; }
  .trust__item { padding: 26px 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .tradein__panel, .credit__panel, .leasing__panel { padding: 30px 22px; }
  /* на телефоне фотографии занимали по трети экрана и ничего не добавляли к формам */
  .tradein__media, .credit__media, .leasing__media { display: none; }
  .service__facts, .service__panel { padding: 30px 22px; }
  .pickup { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 20px; }
  .pickup__cta { width: 100%; }
  .leasing__rates, .leasing__panel { padding: 24px 18px; }
  .rates th, .rates td { padding: 11px 8px; font-size: 14px; }
  .rates thead th { font-size: 15px; }
  /* колонка моделей на телефоне съедала треть экрана — вместо неё строка под таблицей */
  .rates thead th:first-child, .rates td.rates__model { display: none; }
  .leasing__models { display: block; }
  .testdrive__body { padding: 44px 24px; max-width: none; }
  .testdrive::after { background: linear-gradient(180deg, rgba(11, 14, 14, .92) 30%, rgba(11, 14, 14, .5) 100%); }
  .timer__row { justify-content: center; text-align: center; }
  .timer__title { justify-content: center; }
  .timer__cta { width: 100%; }
  .timer__cell { min-width: 68px; }
  .stock__grid { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; translate: none; flex-direction: column; align-items: stretch; gap: 14px; }
  .modal__body { padding: 36px 22px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__stage { grid-area: 1 / 1; padding: 16px; }
  .lightbox__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    translate: 0 -50%;
    width: 46px;
    height: 46px;
    margin: 0;
    background: rgba(14, 17, 17, .62);
    backdrop-filter: blur(3px);
  }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
  .lightbox__counter { bottom: 24px; }
  .hero__arrow { display: none; }
  .hero__slide, .pr--hero { min-height: min(76vh, 600px); }
  .hero__shade {
    background: linear-gradient(180deg, rgba(9, 12, 12, .30) 0%, rgba(9, 12, 12, .30) 40%, rgba(9, 12, 12, 0) 62%);
  }
  .hero__nav { padding: 0 20px; }
  .hero__dots { margin-left: 0; }
  .hero__body { gap: 18px; padding: 28px 20px 60px; }
  .hero__title { max-width: none; }
  .hero__highlight { padding: 10px 16px 10px 14px; }
  .hero__bullets { gap: 10px; max-width: none; }
  .hero__bullets li { grid-template-columns: 28px 1fr; font-size: 15px; }
  /* на телефоне кнопка во всю ширину, но на планшете 420 px — иначе она
     растягивается на 700 px и выглядит нажатой полосой */
  .hero__cta { align-self: stretch; max-width: 420px; }
  .footer__top { gap: 20px; }
}

/* ниже 380 px колонке с кузовом не хватает места в строках с подписью
   «Бензин · Гибрид» — кадр 96 px ужимался только у них, и машины выходили
   разного размера; меньшая высота влезает целиком во все строки */
@media (max-width: 380px) {
  .picker__img { height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__bg { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- документ ---------- */

.doc { max-width: 92ch; padding-top: 8px; }
.doc__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--bone);
}
.doc__h2 {
  margin-top: 44px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--bone);
}
.doc__h3 { margin-top: 28px; font-size: 16px; font-weight: 700; color: var(--bone); }
.doc p { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--ash); }
.doc__list { margin-top: 12px; display: grid; gap: 8px; list-style: none; }
.doc__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ash);
}
.doc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--amber);
}
.doc__req { color: var(--bone) !important; font-weight: 600; }

.footer__policy { margin-top: 22px; font-size: 13px; }
.footer__policy a { color: var(--ash-dim); text-decoration: underline; text-underline-offset: 3px; }
.footer__policy a:hover { color: var(--bone); }
