/* ==========================================================================
   РЕГИОНИМПОРТ — дизайн-система
   Концепция: «транзитный коридор Европа → Смоленск». Фотография делает
   атмосферу, графитовые плоскости и тонкие линии — порядок, янтарный акцент
   (свет фар, дорожная разметка) появляется только там, где нужно действие.
   ========================================================================== */
:root {
  --ink: #101418;          /* графит: текст, тёмные плоскости */
  --night: #07090C;        /* фон первого экрана с ночной картой */
  --asphalt: #171C22;      /* тёмные секции */
  --asphalt-2: #222931;    /* линии и поверхности на тёмном */
  --paper: #F1F2F0;        /* холодный светлый фон секций */
  --white: #FFFFFF;
  --line: #DADEE2;
  --muted: #5E6874;
  --steel: #98A3AF;        /* вторичный текст на тёмном */
  --amber: #E3A23B;        /* акцент: только кнопки действия и ключевые метки */
  --amber-hover: #F0B455;
  --ok: #2E8B57;
  --danger: #C8442F;

  --f-display: 'Fira Sans Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Golos Text', 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', 'Consolas', 'Courier New', monospace;

  --r: 4px;
  --r-lg: 8px;
  --container: 1280px;
  --gutter: 32px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* ---------- Типографика ---------- */
.display { font-size: clamp(44px, 6.6vw, 92px); font-weight: 600; line-height: .98; letter-spacing: -.025em; color: var(--white); max-width: 11ch; }
.display--page { font-size: clamp(38px, 5vw, 68px); max-width: 16ch; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 20ch; }
.h3 { font-size: 24px; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 58ch; }
.kicker {
  display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 18px;
}
.kicker--dark { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-hover); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--asphalt-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: '→'; font-family: var(--f-mono); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--white); border-bottom: 1px solid var(--asphalt-2); }
.header__inner { display: flex; align-items: center; gap: 40px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--white); }
.logo__mark { width: 40px; height: 40px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: .06em; }
.logo__text small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 6px; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav > a { position: relative; padding: 6px 0; font-size: 15px; color: var(--steel); transition: color .15s; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--white); }
.nav > a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--amber); }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.header__links { display: flex; gap: 12px; font-size: 12px; color: var(--steel); margin-top: 4px; }
.header__links a:hover { color: var(--white); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--asphalt-2); background: transparent; border-radius: var(--r); cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 1.5px; background: var(--white); transition: transform .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding-top: 32px; }
.section--flush { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--asphalt); color: var(--steel); }
.section--dark .h2, .section--dark h3 { color: var(--white); }
.section__head { margin-bottom: 56px; }
.section__head .lead { margin-top: 18px; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .lead { margin-top: 20px; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

/* Секция с фотографией на фоне */
.section--photo { background: var(--ink); color: var(--steel); overflow: hidden; isolation: isolate; }
.section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.section--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,20,24,.94) 0%, rgba(16,20,24,.82) 45%, rgba(16,20,24,.45) 100%); }
.section--photo .h2 { color: var(--white); }
.section--photo .lead { color: #C4CBD2; }

/* ---------- Первый экран: карта маршрута ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--night); overflow: hidden; }
.hero__map { position: absolute; top: -2%; bottom: -6%; left: 36%; right: -14%; z-index: -1; pointer-events: none; display: grid; place-items: center; }
.hero__map-tilt { width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--night) 0%, var(--night) 40%, rgba(7,9,12,.75) 50%, rgba(7,9,12,0) 62%), linear-gradient(0deg, var(--night) 0%, rgba(7,9,12,0) 26%), linear-gradient(180deg, var(--night) 0%, rgba(7,9,12,0) 20%); }
.route-map { width: 100%; height: auto; display: block; }
.rm-dot--feeder { fill: #6B7784; }
.rm-feeder { fill: none; stroke: #8A96A3; stroke-width: 1.6; stroke-dasharray: 4 7; opacity: .55; }
.rm-route { fill: none; stroke: url(#rmRoute); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: rm-draw 2.6s .3s cubic-bezier(.6,0,.2,1) both; }
.rm-route-glow { fill: none; stroke: #E3A23B; stroke-width: 7; stroke-linecap: round; opacity: .28; }
.rm-route-glow--wide { stroke-width: 18; opacity: .1; }
.rm-dot { fill: #98A3AF; }
.rm-dot--main { fill: #E3A23B; stroke: #07090C; stroke-width: 3; }
.rm-pulse { fill: #E3A23B; transform-box: fill-box; transform-origin: center; animation: rm-pulse 2.4s ease-out infinite; }
.rm-label { font-family: var(--f-mono); font-size: 17px; paint-order: stroke; stroke: #07090C; stroke-width: 5px; fill: #B4BEC8; letter-spacing: .04em; }
.rm-label--main { fill: #FFFFFF; font-size: 22px; font-weight: 500; }
@keyframes rm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rm-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(4); opacity: 0; } }

.hero__inner { padding-top: clamp(72px, 9vw, 136px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__lead { margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); color: #C9D0D7; max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Соцдоказательство */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); max-width: 760px; }
.proof__videos { display: flex; align-items: center; gap: 16px; }
.proof__faces { display: flex; }
.proof__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--ink); background: var(--asphalt-2); }
.proof__faces img + img { margin-left: -12px; }
.proof__text { display: flex; flex-direction: column; font-size: 13px; color: var(--steel); line-height: 1.35; }
.proof__text b { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--white); }
.proof__videos:hover .proof__text b { color: var(--amber); }
.rating { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); background: rgba(255,255,255,.03); }
a.rating:hover { border-color: rgba(255,255,255,.35); }
.rating__icon svg { width: 30px; height: 30px; display: block; }
.rating__body { display: flex; flex-direction: column; line-height: 1.2; }
.rating__top { display: flex; align-items: center; gap: 8px; }
.rating__top b { font-family: var(--f-display); font-size: 20px; color: var(--white); }
.rating__src { font-size: 12px; color: var(--steel); }
.stars { display: inline-flex; gap: 2px; }
.stars__s { width: 13px; height: 13px; background: linear-gradient(90deg, #FFC24A var(--f), #4A5560 var(--f));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z%27/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 21l1.6-7L2 9.2l7.1-.6z%27/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Расчёт стоимости ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.calc__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.calc__body .lead { margin-top: 20px; }
.calc__body .form { margin-top: 36px; }
.calc__body .btn { justify-self: start; }

/* ---------- Риски ---------- */
.risks { border-top: 1px solid var(--asphalt-2); }
.risks__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--asphalt-2); }
.risks__row--head { padding: 16px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.risks__row--head span:last-child { color: var(--amber); }
.risks__row h3 { font-size: 26px; margin-bottom: 8px; }
.risks__row p { max-width: 52ch; }
.risks__row > div:last-child p { color: #D5DBE0; font-size: 17px; }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 24px 24px 0 0; position: relative; }
.steps li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); }
.steps li:last-child::before { background: var(--amber); }
.steps__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.steps h3 { font-size: 22px; margin: 10px 0 8px; }
.steps p { font-size: 15px; color: var(--muted); }
.photo-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 64px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.photo-row figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* ---------- О компании / реквизиты ---------- */
.company { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.company__text .lead { margin-top: 20px; }
.company__text .link-arrow { margin-top: 32px; }
.registry { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.registry__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--paper); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.registry__status { color: var(--ok); display: inline-flex; align-items: center; gap: 8px; }
.registry__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.registry dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; }
.registry dt, .registry dd { margin: 0; padding: 13px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.registry dt { color: var(--muted); padding-right: 8px; }
.registry dd { font-weight: 500; }
.registry__foot { padding: 14px 24px; font-size: 13px; color: var(--muted); }
.registry__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.company-band { min-height: clamp(460px, 48vw, 640px); display: flex; align-items: flex-end; }
.company-band .company__text { max-width: 560px; }
.section--photo:has(.company-band)::before { background: linear-gradient(90deg, rgba(16,20,24,.92) 0%, rgba(16,20,24,.6) 40%, rgba(16,20,24,0) 70%), linear-gradient(0deg, rgba(16,20,24,.6), rgba(16,20,24,0) 50%); }
.section--photo:has(.company-band) .section__bg { object-position: 70% 50%; }
.reqline { display: flex; flex-wrap: wrap; gap: 0; margin: 32px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.reqline div { padding: 14px 32px 0 0; }
.reqline dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.reqline dd { margin: 4px 0 0; font-family: var(--f-mono); font-size: 15px; color: var(--white); }
.company--light .prose { margin-top: 24px; color: var(--muted); }

/* Принципы / что входит — список без иконок */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--asphalt-2); }
.principles > div { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--asphalt-2); }
.principles dt { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.principles dd { margin: 0; font-size: 15px; max-width: 34ch; }
.principles--light { grid-template-columns: repeat(4, 1fr); border-color: var(--line); margin-top: 24px; }
.principles--light > div { border-color: var(--line); }
.principles--light dt { color: var(--ink); font-size: 20px; }
.principles--light dd { color: var(--muted); }

.ticks { display: grid; gap: 0; margin: 28px 0 36px; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 22px; width: 12px; height: 2px; background: var(--amber); }
.ticks b { color: var(--ink); font-weight: 600; }

/* ---------- Каталог ---------- */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.car { position: relative; display: flex; flex-direction: column; }
.car__media { position: relative; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; border-radius: var(--r-lg); }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car:hover .car__media img { transform: scale(1.035); }
.car__badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: var(--r); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(16,20,24,.78); color: var(--white); }
.car__badge--transit { background: var(--amber); color: var(--ink); }
.car__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: var(--r); font-family: var(--f-mono); font-size: 11px; background: rgba(16,20,24,.7); color: var(--white); }
.car__body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; flex: 1; }
.car__title { font-size: 24px; }
.car__title span { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.car__specs { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 0; }
.car__specs li + li::before { content: '·'; margin: 0 8px; color: var(--line); }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.car__price b { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.car__price span { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.car__link { position: absolute; inset: 0; z-index: 1; }
.car .btn { position: relative; z-index: 2; }

.filters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 24px; }
.filters .field__input { min-height: 46px; font-size: 14px; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.catalog-bar b { color: var(--ink); }
.catalog-more { display: flex; justify-content: center; margin-top: 48px; }
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty h3 { margin-bottom: 10px; color: var(--ink); font-size: 24px; }
.empty .btn { margin-top: 20px; }
.skeleton { background: linear-gradient(90deg, var(--line), #E8EBEE, var(--line)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r-lg); min-height: 380px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Страница автомобиля */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs > * + *::before { content: '/'; margin-right: 8px; opacity: .5; }
.cardetail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: var(--r); border: 0; background: rgba(16,20,24,.7); color: var(--white); cursor: pointer; font-size: 20px; }
.gallery__nav:hover { background: var(--ink); }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--line); opacity: .6; transition: opacity .15s; outline-offset: 2px; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--amber); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: calc(var(--header-h) + 24px); }
.buybox .h2 { font-size: clamp(32px, 3vw, 44px); }
.buybox__sub { color: var(--muted); margin-top: 8px; font-family: var(--f-mono); font-size: 13px; }
.buybox__price { margin: 24px 0; padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); color: var(--steel); }
.buybox__price b { display: block; font-family: var(--f-display); font-size: 40px; font-weight: 600; color: var(--white); line-height: 1.1; margin: 4px 0; font-variant-numeric: tabular-nums; }
.buybox__price small { font-size: 13px; }
.buybox__price small:first-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 500; }
.included { margin-top: 72px; }
.prose { max-width: 72ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; list-style: revert; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Видео-отзывы ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.videos--row { grid-template-columns: repeat(5, 1fr); }
.video { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; border: 0; padding: 0; background: var(--asphalt); color: var(--white); text-align: left; display: block; width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,20,24,.85)); }
.video:hover img { transform: scale(1.035); }
.video__play { position: absolute; left: 16px; bottom: 44px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; transition: transform .2s; }
.video__play::before { content: ''; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); }
.video:hover .video__play { transform: scale(1.08); }
.video__meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: '−'; color: var(--ink); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__title { font-size: 26px; margin-bottom: 4px; }
.form--panel { background: var(--white); color: var(--ink); padding: 32px; border-radius: var(--r-lg); }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field__label i { color: var(--danger); font-style: normal; }
.field__input { width: 100%; min-height: 52px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
select.field__input { appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6874' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; }
.field__input:hover { border-color: #BCC3CA; }
.field__input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,162,59,.35); }
.field__input.is-invalid { border-color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { margin: 1px 0 0; width: 17px; height: 17px; accent-color: var(--ink); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 14px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); font-weight: 600; }
.form__status.is-error { color: var(--danger); }

/* Консультация */
.consult { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.consult__text .lead { margin-top: 20px; }
.split--form { align-items: start; }
.split--form .form--panel { border: 1px solid var(--line); }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-list { display: grid; margin: 0 0 32px; border-top: 1px solid var(--line); }
.contact-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 460px; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.6); }

/* Внутренние страницы: шапка с фото погранперехода */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink) url('/img/photo/border-1280.webp') center 60% / cover no-repeat; color: var(--steel); padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
@media (min-width: 1300px) { .page-hero { background-image: url('/img/photo/border-2400.webp'); } }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,20,24,.95), rgba(16,20,24,.75) 60%, rgba(16,20,24,.55)); }
.page-hero .lead { color: #C4CBD2; margin-top: 20px; }
.page-hero .crumbs { color: var(--steel); }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero--tall { padding: clamp(96px, 14vw, 200px) 0; }

/* CTA-полоса */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(26px, 2.6vw, 36px); }
.cta-band p { margin-top: 8px; color: var(--muted); }
.cta-band__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-band .btn--ghost { border-color: var(--ink); color: var(--ink); }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,20,24,.8); }
.modal__box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border-radius: var(--r-lg); padding: 36px; animation: pop .2s ease; }
.modal__box .form { margin-top: 20px; }
.modal__title { font-size: 30px; margin-bottom: 8px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: var(--r); border: 0; background: var(--paper); font-size: 22px; cursor: pointer; line-height: 1; z-index: 2; }
.modal__box--video { max-width: min(420px, calc((100vh - 32px) * 9 / 16)); padding: 0; background: #000; overflow: hidden; }
.modal__close--light { background: rgba(255,255,255,.9); }
.video-frame { aspect-ratio: 9 / 16; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
body.is-locked { overflow: hidden; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: var(--steel); padding: 80px 0 0; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col a:hover { color: var(--white); }
.footer__title { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.footer__phone { font-family: var(--f-mono); font-size: 16px; color: var(--white); }
.footer__muted { color: #6E7883; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--asphalt-2); font-size: 12px; color: #6E7883; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--white); }
.footer__note { width: 100%; }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__contact { display: none; }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .videos--row { grid-template-columns: repeat(4, 1fr); }
  .videos--row .video:nth-child(5) { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; border-top: 0; }
  .steps li { border-top: 1px solid var(--ink); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles--light { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; --gutter: 24px; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 32px;
    background: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a { padding: 18px 0; border-bottom: 1px solid var(--asphalt-2); font-family: var(--f-display); font-size: 24px; color: var(--white); }
  .nav > a[aria-current="page"]::after { display: none; }
  .nav__mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
  .nav__phone { font-family: var(--f-mono); font-size: 20px; color: var(--white); }
  .nav__messengers { display: flex; gap: 20px; color: var(--steel); }
  .calc, .split, .company, .cardetail, .contacts, .consult, .faq-wrap { grid-template-columns: 1fr; }
  .calc__media img { aspect-ratio: 16 / 9; }
  .risks__row { grid-template-columns: 1fr; gap: 12px; }
  .risks__row--head { display: none; }
  .cars { grid-template-columns: 1fr 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:first-child { grid-column: span 2; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .buybox { position: static; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { display: flex; flex-direction: column; }
  .rm-label { font-size: 30px; stroke-width: 8px; }
  .rm-label--main { font-size: 36px; }
  .rm-route { stroke-width: 6; }
  .rm-route-glow { stroke-width: 12; }
  .rm-route-glow--wide { stroke-width: 28; }
  .rm-dot { r: 8px; }
  .rm-dot--main { r: 12px; stroke-width: 4; }
  .hero__map { position: relative; order: 2; inset: auto; height: auto; margin: -8px -14% 8px -34%; padding: 0; }
  .hero::after { background: linear-gradient(180deg, var(--night) 0%, rgba(7,9,12,0) 30%); }
  .hero__inner { padding-bottom: 0; }
  .section--photo::before { background: rgba(16,20,24,.86); }
  .section--photo:has(.company-band)::before { background: linear-gradient(0deg, rgba(16,20,24,.97) 0%, rgba(16,20,24,.88) 50%, rgba(16,20,24,0) 80%); }
  .section--photo:has(.company-band) .section__bg { object-position: 86% 0; height: 62%; }
  .company-band { min-height: 0; padding-top: 220px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .logo__text b { font-size: 17px; }
  .logo__mark { width: 36px; height: 36px; }
  .hero__actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .cars, .steps, .principles, .principles--light { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row figure:first-child { grid-column: auto; }
  .filters { grid-template-columns: 1fr 1fr; }
  .videos, .videos--row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .videos--row .video:nth-child(n+5) { display: none; }
  .video__play { width: 38px; height: 38px; left: 12px; bottom: 38px; }
  .video__meta { left: 12px; right: 12px; bottom: 10px; }
  .video__meta span:first-child { display: none; }
  .form--panel { padding: 24px 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .gallery__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__thumbs button { flex: 0 0 76px; scroll-snap-align: start; }
  .map, .map iframe { min-height: 320px; }
  .registry dl { grid-template-columns: 1fr; }
  .registry dt { padding-bottom: 0; border-bottom: 0; }
  .registry dd { padding-top: 2px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .modal__box { padding: 28px 20px; }
  .faq summary { font-size: 18px; }
}
