/* Hallmark · shape: Studio sheet (hero stage with callouts, ledger, workbench, comparator, route, signal band, map) · genre: atmospheric · theme: custom · job: book · idea: "Машина под одним студийным светом: каждая услуга отмечена прямо на кузове и сразу считается" · vibe: "тёмный бокс, белый свет, красный сигнал"
 * paper: oklch(14% 0.006 25) · accent: oklch(58% 0.21 27) · display: Unbounded · body: Onest · outlier: IBM Plex Mono (HUD labels only) · hero: the SUV full-bleed under the studio light, headline over the roof, five callouts on the body that feed the calculator · nav: wordmark, four links, phone, one action · footer: one row, wordmark, links, legal · imagery: photographs (owner-supplied, black and white) · signature: callouts on the car that tick services in the calculator
 * axes: dark/grotesk-extended/warm · posture: full palette (paper near-black, signal red for controls, field red for the one booking band, ink white), pinned by the owner's reference · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, red on black comes from the owner's reference; made specific by callouts on the car wired to the price calculator */
/* Hallmark · waive 38iii · the red part is always a whole second line of the head, never a word inside one · the owner pinned the Behance reference whose every head is a white line over a red line */
/* Hallmark · waive 64 · mono only on short lower-case HUD labels beside the car photos, untracked · the owner's reference is a dashboard HUD and the detailing page keeps it */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Общее ---------- */
html { scroll-behavior: smooth; }
.section { padding-block: var(--section-gap-s); }
.hud { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); font-weight: 400; }
.hl { color: var(--color-accent); }

.h2 {
  display: flex; flex-direction: column;
  font-size: var(--text-section); font-weight: 800; line-height: 1; letter-spacing: var(--tracking-display);
  text-transform: uppercase; margin-bottom: var(--space-2xl);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-card);
  font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--solid:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--line { border-color: var(--color-ink-2); color: var(--color-ink); background: transparent; }
.btn--line:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--ink { background: var(--color-paper); color: var(--color-ink); }
.btn--ink:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--sm { min-height: 42px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- Шапка ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); border-bottom: var(--rule-hair) solid transparent; }
.nav.is-solid { background: var(--color-paper); border-color: var(--color-rule); }
.nav__inner { display: flex; align-items: center; gap: var(--space-xl); height: 72px; }
.wordmark { display: inline-flex; align-items: baseline; gap: var(--space-sm); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: var(--tracking-display); text-decoration: none; color: var(--color-ink); }
.wordmark__sub { font-family: var(--font-outlier); font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); letter-spacing: 0; }
.nav__links { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav__links a, .footer__links a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .footer__links a:hover { color: var(--color-ink); }
.nav__phone { color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.nav__phone:hover { color: var(--color-accent); }
.nav__cta { min-height: 44px; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav__burger span, .nav__burger span::before { display: block; width: 18px; height: 2px; background: var(--color-ink); position: relative; transition: transform var(--dur-short) var(--ease-out); }
.nav__burger span::before { content: ""; position: absolute; top: 6px; }
.nav__burger span { transform: translateY(-3px); }
.nav__burger[aria-expanded="true"] span { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }
.mmenu { display: grid; gap: var(--space-xs); padding: var(--space-md) var(--gutter) var(--space-xl); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-rule); }
.mmenu a:not(.btn) { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); text-transform: uppercase; letter-spacing: var(--tracking-display); text-decoration: none; padding-block: var(--space-xs); }
.mmenu .btn { margin-top: var(--space-md); }

/* ---------- Первый экран ---------- */
.hero { padding-top: 72px; }
.hero__stage { position: relative; max-width: 1920px; margin-inline: auto; }
.hero__img { width: 100%; height: auto; }
.hero__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--color-paper) 0%, transparent 16%, transparent 78%, var(--color-paper) 100%); }
.hero__title {
  position: absolute; z-index: 2; top: 2%; left: 0; right: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  font-size: min(7.4vw, 8.75rem); font-weight: 800; line-height: 1; letter-spacing: var(--tracking-display); text-transform: uppercase;
  padding-inline: var(--gutter);
}
.spots { position: absolute; inset: 0; z-index: 3; }
.spot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-8px, -50%);
  display: flex; align-items: center; padding: 0; border: 0; background: none; color: var(--color-ink); cursor: pointer;
}
.spot--left { flex-direction: row-reverse; transform: translate(calc(-100% + 8px), -50%); }
.spot__dot { position: relative; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--color-ink); background: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.spot__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--color-ink-2); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.spot__label {
  font-family: var(--font-outlier); font-size: var(--text-xs); white-space: nowrap; color: var(--color-ink); text-shadow: 0 1px 6px var(--color-paper), 0 0 2px var(--color-paper);
  padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-xl);
  background: linear-gradient(var(--color-ink-2), var(--color-ink-2)) 8px center / 26px 1px no-repeat;
}
.spot--left .spot__label { padding: var(--space-xs) var(--space-xl) var(--space-xs) var(--space-sm); background-position: calc(100% - 8px) center; }
.spot:hover .spot__dot, .spot[aria-pressed="true"] .spot__dot { background: var(--color-accent); border-color: var(--color-accent); }
.spot[aria-pressed="true"] .spot__label { color: var(--color-accent-ink); }
.spot:focus-visible { outline: none; }
.spot:focus-visible .spot__dot { outline: 2px solid var(--color-focus); outline-offset: 4px; }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: calc(var(--space-xl) * -1); position: relative; z-index: 2; }
.hero__lead { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 34ch; }
.hero__actions { display: flex; align-items: center; gap: var(--space-lg); }
.hero__phone { color: var(--color-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero__phone:hover { color: var(--color-accent); }
.hero__hint { grid-column: 1 / -1; }

/* ---------- Услуги ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.svc__row {
  position: relative; width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: var(--space-md); row-gap: var(--space-2xs);
  align-items: baseline; padding: var(--space-lg) var(--space-md) var(--space-lg) var(--space-lg); text-align: left;
  background: none; border: 0; border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.svc__row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: 0; width: 3px; background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform var(--dur-long) var(--ease-out); }
.svc__row:hover { background: var(--color-paper-2); color: var(--color-ink); }
.svc__row.is-active { color: var(--color-ink); background: var(--color-paper-2); }
.svc__row.is-active::before { transform: scaleY(1); }
.svc__row.is-active .hud { color: var(--color-accent); }
.svc__row:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.svc__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.svc__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-ink); }
.svc__desc { grid-column: 2 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.svc__photo { position: sticky; top: 104px; margin: 0; }
.svc__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); transition: opacity var(--dur-long) var(--ease-out); }
.svc__photo img.is-out { opacity: 0; }
.svc__photo figcaption { margin-top: var(--space-sm); }

/* ---------- Калькулятор ---------- */
.calc { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.calc__noscript { color: var(--color-ink-2); margin-bottom: var(--space-xl); }
.calc__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
.calc__steps { display: grid; gap: var(--space-2xl); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step__head { display: flex; align-items: baseline; gap: var(--space-md); padding: 0; margin-bottom: var(--space-lg); font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.step__head .hud { color: var(--color-accent); }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__box { display: grid; gap: var(--space-2xs); height: 100%; padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.opt__name { font-weight: 600; color: var(--color-ink); }
.opt__hint { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); }
.opt:hover .opt__box { border-color: var(--color-ink-2); }
.opt input:checked + .opt__box { border-color: var(--color-accent); background: var(--color-paper-3); box-shadow: inset 0 3px 0 var(--color-accent); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.checks { border-top: var(--rule-hair) solid var(--color-rule); }
.chk { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-rule); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.chk:hover { background: var(--color-paper-3); }
.chk input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.chk__mark { width: 22px; height: 22px; border: 2px solid var(--color-ink-2); border-radius: var(--radius-card); display: grid; place-items: center; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.chk__mark::after { content: ""; width: 10px; height: 5px; border: 2px solid var(--color-accent-ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform var(--dur-micro) var(--ease-out); }
.chk input:checked + .chk__mark { background: var(--color-accent); border-color: var(--color-accent); }
.chk input:checked + .chk__mark::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.chk input:focus-visible + .chk__mark { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chk__name { color: var(--color-ink); }
.chk__price { font-variant-numeric: tabular-nums; color: var(--color-ink-2); white-space: nowrap; }

.total { position: sticky; top: 104px; padding: var(--space-xl); background: var(--color-paper); border-top: 3px solid var(--color-accent); border-radius: var(--radius-card); display: grid; gap: var(--space-md); }
.total__sum { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 3.6vw, 3.75rem); line-height: 1; letter-spacing: var(--tracking-display); white-space: nowrap; }
.total__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin: 0 0 var(--space-xs); padding-block: var(--space-md); border-block: var(--rule-hair) solid var(--color-rule); }
.total__meta dd { margin: var(--space-2xs) 0 0; font-weight: 600; }
.total__note { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- До и после ---------- */
.result__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.result__head .h2 { margin-bottom: 0; }
.ba { position: relative; aspect-ratio: 1024 / 572; overflow: hidden; border-radius: var(--radius-card); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--color-ink); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--color-ink); background: var(--color-scrim); }
.ba__handle::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 16px; height: 8px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--color-ink) 2px, transparent 2px calc(100% - 2px), var(--color-ink) calc(100% - 2px)); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.ba__tag { position: absolute; top: var(--space-md); padding: var(--space-2xs) var(--space-sm); background: var(--color-paper); color: var(--color-ink); pointer-events: none; }
.ba__tag--l { left: var(--space-md); }
.ba__tag--r { right: var(--space-md); }

/* ---------- Маршрут ---------- */
.route__svg { width: 100%; height: auto; overflow: visible; margin-bottom: var(--space-xl); }
.route__track { fill: none; stroke: var(--color-rule); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.route__line { fill: none; stroke: var(--color-accent); stroke-width: 2.5; }
.route__node circle { fill: var(--color-paper); stroke: var(--color-accent); stroke-width: 2.5; }
.route__node text { fill: var(--color-ink); font-family: var(--font-outlier); font-size: 15px; text-anchor: middle; }
.route__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-columns); }
.route__steps li { display: grid; gap: var(--space-2xs); align-content: start; font-size: var(--text-sm); color: var(--color-ink-2); border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-md); }
.route__steps .hud { color: var(--color-accent); }
.route__steps b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); text-transform: uppercase; letter-spacing: var(--tracking-display); color: var(--color-ink); }
.route__time { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); }

/* ---------- Красный баннер ---------- */
.banner { --color-focus: var(--color-ink); background: var(--color-field); color: var(--color-field-ink); overflow: hidden; }
.banner__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--gap-columns); padding-block: var(--space-3xl); }
.banner__text { display: grid; gap: var(--space-lg); justify-items: start; }
.banner__title { font-size: clamp(2.5rem, 5.4vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: var(--tracking-display); text-transform: uppercase; }
.banner__text p { font-size: var(--text-lead); }
.banner__img { width: 120%; max-width: none; mix-blend-mode: multiply; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.info { margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.info div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); align-items: baseline; }
.info dd { margin: 0; font-size: var(--text-lg); }
.info a { text-decoration: none; }
.info a:hover { color: var(--color-accent); }
.map { position: relative; min-height: 420px; height: 100%; border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__streets path { stroke: var(--color-paper-3); stroke-width: 14; fill: none; }
.map__minor path { stroke: var(--color-paper-3); stroke-width: 5; fill: none; }
.map__river { stroke: var(--color-rule); stroke-width: 22; fill: none; stroke-linecap: round; }
.map__pin { position: absolute; left: 52%; top: 42%; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--color-accent); border: 4px solid var(--color-ink); }
.map__pin::before, .map__pin::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--color-accent); animation: ping 2.6s var(--ease-out) infinite; }
.map__pin::after { animation-delay: 1.3s; }
.map__bar { position: absolute; left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); font-weight: 600; }
.map__btns { display: flex; gap: var(--space-xs); }
.map__live { position: absolute; inset: 0; z-index: 1; }
.map__live:empty { display: none; }

/* ---------- Подвал ---------- */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-xl); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.footer__copy { margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Появление (одно на сайт, видно без скриптов) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-long) var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .route__line { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1600ms var(--ease-in-out); }
.js .route.is-in .route__line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .route__line { stroke-dashoffset: 0; }
  .spot__dot::after, .map__pin::before, .map__pin::after { animation: none; opacity: 0; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 75rem) {
  .nav__links { gap: var(--space-md); }
  .nav__phone { display: none; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__title { font-size: 10vw; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .services__grid, .calc__grid, .contacts__grid { grid-template-columns: minmax(0, 1fr); }
  .services__grid > div { display: contents; }
  .services .h2 { order: -2; margin-bottom: 0; }
  .svc__photo { position: static; order: -1; }
  .svc__photo img { aspect-ratio: 16 / 10; }
  .total { position: static; }
  .route__svg { display: none; }
  .route__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner__inner { grid-template-columns: minmax(0, 1fr); }
  .banner__img { width: 100%; }
  .map { min-height: 340px; }
}
@media (max-width: 40rem) {
  .wordmark__sub { display: none; }
  .hero__stage { display: flex; flex-direction: column; }
  .hero__title { position: static; order: -1; font-size: 13vw; padding-block: var(--space-md) 0; }
  .hero__img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; }
  .spots, .hero__hint { display: none; }
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 100%; }
  .svc__row { grid-template-columns: 36px minmax(0, 1fr); padding-inline: var(--space-md) var(--space-xs); }
  .svc__price { grid-column: 2; }
  .seg, .seg--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg--3 .opt:last-child { grid-column: 1 / -1; }
  .total { padding: var(--space-lg); }
  .route__steps { grid-template-columns: minmax(0, 1fr); }
  .result__head { flex-direction: column; align-items: flex-start; }
  .ba { aspect-ratio: 4 / 3; }
  .info div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .map__bar { flex-direction: column; align-items: stretch; }
  .map__btns .btn { flex: 1; }
  .footer__copy { margin-left: 0; }
}
