/* ==========================================================================
   AutoLine — design system
   Near-black ink, one confident warm-orange accent, alternating white/mist
   sections. Archivo for headings, Inter for body.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --accent:        #ff5c28;
  --accent-dark:   #e04713;
  --accent-ink:    #7a2408;
  --accent-soft:   rgba(255, 92, 40, .10);
  --accent-line:   rgba(255, 92, 40, .28);

  /* Ink */
  --ink:      #0b0e14;
  --ink-2:    #232a35;
  --ink-3:    #5b6472;
  --ink-4:    #8b95a4;

  /* Surfaces */
  --bg:       #ffffff;
  --mist:     #f5f6f8;
  --mist-2:   #eceef2;
  --line:     #e3e6ec;
  --line-2:   #d3d8e0;

  /* Feedback */
  --good:     #12805c;
  --good-soft:#e6f5ef;
  --warn:     #b45309;

  /* Radii */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(11,14,20,.06), 0 1px 3px rgba(11,14,20,.05);
  --sh:    0 2px 6px rgba(11,14,20,.06), 0 8px 20px rgba(11,14,20,.06);
  --sh-md: 0 4px 12px rgba(11,14,20,.08), 0 16px 36px rgba(11,14,20,.09);
  --sh-lg: 0 10px 24px rgba(11,14,20,.10), 0 30px 60px rgba(11,14,20,.12);
  --sh-accent: 0 6px 18px rgba(255,92,40,.30);

  /* Layout */
  --container: 1400px;
  --container-wide: 1660px;
  --gut: 24px;
  --header-h: 72px;

  /* Type */
  --f-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .32s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 800;
}
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Layout primitives ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container--wide { max-width: var(--container-wide); }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #cfd5de; }
.section--ink h2, .section--ink h3 { color: #fff; }

.sec-head { margin-bottom: 38px; }
.sec-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.sec-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }

h1, .h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }

.lede {
  font-size: 1.05rem; color: var(--ink-3); margin-top: 14px;
  max-width: 62ch;
}
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font: 600 .94rem/1 var(--f-body);
  letter-spacing: -.01em;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: var(--sh-accent);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1a212c; }

.btn--ghost {
  background: rgba(255,255,255,.10); color: #fff;
  border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.20); border-color: #fff; }

.btn--outline {
  background: #fff; color: var(--ink); border-color: var(--line-2);
}
.btn--outline:hover { border-color: var(--ink); box-shadow: var(--sh-sm); }

.btn--sm { padding: 9px 16px; font-size: .84rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--accent);
}
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Announcement bar ───────────────────────────────────────────────────── */
.announce {
  background: var(--ink); color: #fff;
  min-height: 40px;                 /* min-height, never fixed: wrapping is fine */
  display: flex; align-items: center;
  font-size: .82rem;
  position: relative; z-index: 60;
}
.announce .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 8px;
}
.announce__rotator {
  position: relative; min-height: 22px; flex: 1 1 260px;
  display: flex; align-items: center;
}
.announce__item {
  display: flex; align-items: center; gap: 9px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  position: absolute; inset: 0;
}
.announce__item.is-active {
  opacity: 1; transform: none; position: relative;
}
.announce__item b { color: var(--accent); font-weight: 700; }
.announce__links {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: #aab3c0;
}
.announce__links a:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--sh); }
.header .container {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font: 800 17px/1 var(--f-head); letter-spacing: -.04em;
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: var(--accent);
}
.brand__name {
  font: 800 1.28rem/1 var(--f-head); letter-spacing: -.045em; color: var(--ink);
}
.brand__name span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-weight: 550; font-size: .93rem; color: var(--ink-2);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: #fff; }

.header__actions {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
}

.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.icon-btn__count {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font: 700 11px/20px var(--f-body); text-align: center;
  transform: scale(0); transition: transform .28s var(--ease-out);
}
.icon-btn__count.is-on { transform: scale(1); }

.burger { display: none; }

/* Mobile slide menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: #fff; z-index: 90;
  transform: translateX(100%);
  transition: transform .38s var(--ease-out);
  display: flex; flex-direction: column;
  padding: 22px; overflow-y: auto;
  box-shadow: var(--sh-lg);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a {
  padding: 14px 16px; border-radius: var(--r);
  font: 600 1.05rem/1 var(--f-head); color: var(--ink);
}
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { background: var(--mist); }
.mobile-menu__foot {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}

.scrim {
  position: fixed; inset: 0; background: rgba(11,14,20,.5);
  opacity: 0; pointer-events: none; z-index: 80;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(2px);
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ── Scroll progress ────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #ffa06b);
  z-index: 100; transition: width .1s linear;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 78vh, 780px);
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: -2%;
  background-size: cover; background-position: center 58%;
  z-index: -2;
  will-change: transform;
}
/* Slow Ken Burns drift */
.hero__bg.kb { animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.2%, -1.6%, 0); }
}
/* Semi-transparent overlay — the photograph must stay clearly visible */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,14,20,.86) 0%, rgba(11,14,20,.62) 42%,
                    rgba(11,14,20,.24) 72%, rgba(11,14,20,.42) 100%),
    linear-gradient(to top, rgba(11,14,20,.62) 0%, rgba(11,14,20,0) 46%);
}
.hero__inner { padding: 88px 0 64px; width: 100%; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 550; color: #fff;
  margin-bottom: 22px;
}
.hero__tag b {
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: var(--r-pill);
  font: 700 .74rem/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  letter-spacing: -.038em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero h1 .tone { color: var(--accent); display: block; }
.hero__lede {
  margin-top: 20px; max-width: 52ch;
  font-size: 1.09rem; color: rgba(255,255,255,.88);
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }

.hero__stats {
  display: flex; gap: 38px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.20);
}
.hero__stat .num {
  font: 800 clamp(1.7rem, 3vw, 2.3rem)/1 var(--f-head);
  color: #fff; letter-spacing: -.03em;
}
.hero__stat .lab {
  font-size: .78rem; color: rgba(255,255,255,.72);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 7px;
}

/* Hero search card */
.hero-search {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-lg);
  color: var(--ink-2);
}
.hero-search h3 {
  font-size: 1.22rem; margin-bottom: 4px;
}
.hero-search__sub { font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; }
.hero-search__fields { display: grid; gap: 13px; }

.field label {
  display: block; font: 600 .76rem/1 var(--f-body);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: 7px;
}
.field select, .field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  font-size: .94rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--error input, .field--error select, .field--error textarea {
  border-color: #dc2626;
}
.field__err { color: #dc2626; font-size: .78rem; margin-top: 5px; display: none; }
.field--error .field__err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

/* ── Quick action tiles ─────────────────────────────────────────────────── */
.quick-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: -46px; position: relative; z-index: 5;
}
.quick-tile {
  background: #fff; border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--sh-md); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 15px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.quick-tile:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.quick-tile__icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.quick-tile__t {
  display: block; font: 700 1rem/1.2 var(--f-head); color: var(--ink);
}
.quick-tile__s {
  display: block; font-size: .83rem; color: var(--ink-3); margin-top: 3px;
}

/* ── Brand marquee ──────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; padding: 30px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex; gap: 62px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  font: 800 1.32rem/1 var(--f-head); letter-spacing: -.02em;
  color: var(--ink-4); white-space: nowrap;
  transition: color .2s var(--ease);
}
.marquee__item:hover { color: var(--ink); }

/* ── Promo band ─────────────────────────────────────────────────────────── */
.promo {
  background: var(--ink); color: #cfd5de;
  border-radius: var(--r-xl);
  padding: 46px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px; align-items: center;
  position: relative; overflow: hidden;
}
.promo::before {
  content: ""; position: absolute;
  width: 460px; height: 460px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(255,92,40,.28), transparent 66%);
  pointer-events: none;
}
.promo h2 { color: #fff; }
.promo p { margin-top: 14px; color: #a9b2c0; max-width: 46ch; }
.promo__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; position: relative;
}
.promo-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r); padding: 20px;
}
.promo-stat .n {
  font: 800 1.75rem/1 var(--f-head); color: #fff; letter-spacing: -.03em;
}
.promo-stat .l {
  font-size: .79rem; color: #93a0b0; margin-top: 7px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* ── Vehicle card ───────────────────────────────────────────────────────── */
.v-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.v-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease),
              border-color .26s var(--ease);
}
.v-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.v-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mist-2);
  overflow: hidden;
}
.v-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;              /* uniform card height, no letterboxing */
  transition: transform .55s var(--ease), opacity .5s var(--ease);
}
.v-card:hover .v-card__media img { transform: scale(1.07); }
/* Silhouette fallback should never be cropped or zoomed */
.v-card__media img.is-silhouette {
  object-fit: contain; padding: 14%; opacity: .42;
}
.v-card:hover .v-card__media img.is-silhouette { transform: none; }

.v-card__media-link { position: absolute; inset: 0; z-index: 1; }

.v-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff;
  padding: 6px 12px; border-radius: var(--r-pill);
  font: 700 .71rem/1 var(--f-body);
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(255,92,40,.4);
}
.v-card__save {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--ink-3);
  display: grid; place-items: center;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.v-card__save:hover { transform: scale(1.12); color: var(--accent); }
.v-card__save.is-saved { color: var(--accent); }
.v-card__save.is-saved svg { fill: currentColor; }
.v-card__save.pop { animation: heart-pop .42s var(--ease-out); }
@keyframes heart-pop {
  0% { transform: scale(1); } 40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.v-card__photos {
  position: absolute; bottom: 10px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(11,14,20,.74); color: #fff;
  padding: 5px 10px; border-radius: var(--r-pill);
  font: 600 .73rem/1 var(--f-body);
  backdrop-filter: blur(4px);
}

/* Hover actions: Quick View + Compare */
.v-card__actions {
  position: absolute; inset: auto 10px 10px auto; z-index: 3;
  display: flex; gap: 7px; align-items: center;
  transform: translateY(14px); opacity: 0;
  transition: transform .28s var(--ease-out), opacity .24s var(--ease);
}
.v-card:hover .v-card__actions,
.v-card:focus-within .v-card__actions { transform: none; opacity: 1; }

.v-card__qv {
  background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: var(--r-pill);
  font: 650 .78rem/1 var(--f-body);
  box-shadow: var(--sh);
  display: inline-flex; align-items: center; gap: 6px;
}
.v-card__qv:hover { background: var(--ink); color: #fff; }

.v-card__cmp {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--sh); font-size: 15px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.v-card__cmp:hover { background: var(--ink); color: #fff; }
.v-card__cmp.is-on { background: var(--accent); color: #fff; }

.v-card__body {
  padding: 17px 18px 18px;
  display: flex; flex-direction: column; flex: 1;
}
.v-card__meta {
  font-size: .76rem; color: var(--ink-4);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.v-card__meta span::after { content: "·"; margin-left: 7px; color: var(--line-2); }
.v-card__meta span:last-child::after { content: none; }

.v-card__title {
  font-size: 1.12rem; line-height: 1.2; letter-spacing: -.03em;
}
.v-card__trim {
  font-size: .84rem; color: var(--ink-3); margin-top: 3px;
}

.v-card__chips {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 13px 0 16px;
}
.chip-spec {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 4px 9px;
  font-size: .74rem; color: var(--ink-3); white-space: nowrap;
}

.v-card__foot { margin-top: auto; }
.v-card__price {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.v-card__price .amt {
  font: 800 1.55rem/1 var(--f-head); color: var(--ink); letter-spacing: -.035em;
}
.v-card__price .mo { font-size: .79rem; color: var(--ink-3); }

/* ── Body-type tiles ────────────────────────────────────────────────────── */
.body-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.body-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 20px; text-align: center;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease),
              border-color .24s var(--ease);
}
.body-tile:hover {
  transform: translateY(-5px); box-shadow: var(--sh-md);
  border-color: var(--accent-line);
}
.body-tile__art {
  height: 66px; display: grid; place-items: center; margin-bottom: 14px;
  color: var(--ink-2);
}
.body-tile__art svg { height: 100%; width: auto; max-width: 100%; }
.body-tile:hover .body-tile__art { color: var(--accent); }
.body-tile__n { font: 700 1.02rem/1 var(--f-head); color: var(--ink); }
.body-tile__c { font-size: .8rem; color: var(--ink-3); margin-top: 5px; }

/* ── Why-buy row ────────────────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.why-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
}
.why-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; margin-bottom: 17px;
}
.why-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: var(--ink-3); }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.tst { position: relative; }
.tst__viewport { overflow: hidden; }
.tst__track {
  display: flex; transition: transform .55s var(--ease-out);
}
.tst__slide { min-width: 100%; padding: 4px; }
.tst__card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 42px;
  text-align: center; max-width: 780px; margin: 0 auto;
  box-shadow: var(--sh-sm);
}
.tst__stars { color: var(--accent); font-size: 1.05rem; letter-spacing: 3px; }
.tst__quote {
  font: 500 clamp(1.05rem, 2vw, 1.32rem)/1.55 var(--f-body);
  color: var(--ink); margin: 20px 0 24px; letter-spacing: -.015em;
}
.tst__who { font-weight: 650; color: var(--ink); }
.tst__where { font-size: .84rem; color: var(--ink-3); margin-top: 3px; }

.tst__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--sh);
  z-index: 2; transition: border-color .2s var(--ease);
}
.tst__arrow:hover { border-color: var(--ink); }
.tst__arrow--prev { left: -8px; }
.tst__arrow--next { right: -8px; }

.tst__dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.tst__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2); transition: all .24s var(--ease);
}
.tst__dot.is-on { background: var(--accent); width: 26px; border-radius: var(--r-pill); }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(115deg, var(--accent) 0%, #ff8348 100%);
  border-radius: var(--r-xl); padding: 52px;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 84% 18%, rgba(255,255,255,.22), transparent 52%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p {
  color: rgba(255,255,255,.92); margin: 14px auto 30px;
  max-width: 54ch; position: relative;
}
.cta-band__btns {
  display: flex; gap: 13px; justify-content: center; flex-wrap: wrap;
  position: relative;
}
.btn--on-accent { background: #fff; color: var(--accent-ink); }
.btn--on-accent:hover { background: var(--ink); color: #fff; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink); color: #9aa4b2; padding: 66px 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 42px; padding-bottom: 46px;
}
.footer h4 {
  color: #fff; font: 700 .8rem/1 var(--f-body);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 17px;
}
.footer a:hover { color: var(--accent); }
.footer__links { display: grid; gap: 11px; font-size: .92rem; }
.footer__about { font-size: .92rem; max-width: 40ch; margin-top: 16px; }
.footer__contact { display: grid; gap: 11px; font-size: .92rem; margin-top: 18px; }
.footer__contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 0; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .84rem;
}
.footer .brand__name { color: #fff; }

/* ── Inventory ──────────────────────────────────────────────────────────── */
.inv-head { background: var(--mist); padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.inv-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.chipbar {
  display: flex; gap: 9px; overflow-x: auto; padding: 18px 0 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.chipbar::-webkit-scrollbar { display: none; }
.chipbar a {
  padding: 9px 17px; border-radius: var(--r-pill);
  background: #fff; border: 1.5px solid var(--line);
  font-size: .87rem; font-weight: 550; white-space: nowrap;
  transition: all .18s var(--ease);
}
.chipbar a:hover { border-color: var(--ink); }
.chipbar a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.inv-layout {
  display: grid; grid-template-columns: 274px minmax(0, 1fr);
  gap: 32px; align-items: start; padding: 32px 0 84px;
}
/* A grid item's automatic minimum size is its content's min-content width, so
   the fixed-width quick-pick tiles would otherwise stretch the 1fr track wider
   than the viewport instead of scrolling inside it. */
.inv-layout > *,
.order-layout > *,
.vd-layout > *,
.contact-layout > *,
.studio__grid > * { min-width: 0; }

.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.filters__head {
  padding: 16px 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.filters__head h2 { font-size: 1rem; }
.filters__reset { font-size: .82rem; color: var(--accent); font-weight: 600; }
.fgroup { padding: 18px; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 {
  font: 700 .76rem/1 var(--f-body); text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-3); margin-bottom: 13px;
}
.fgroup__scroll { max-height: 320px; overflow-y: auto; padding-right: 4px; }
.fgroup__scroll::-webkit-scrollbar { width: 5px; }
.fgroup__scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.facet {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; cursor: pointer; font-size: .89rem;
}
.facet input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.facet__label { flex: 1; }
.facet__count {
  font-size: .76rem; color: var(--ink-4);
  background: var(--mist); padding: 2px 8px; border-radius: var(--r-pill);
}
.facet:hover .facet__label { color: var(--accent); }

.inv-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.inv-count { font-size: .93rem; color: var(--ink-3); }
.inv-count b { color: var(--ink); font-weight: 700; }
.inv-sort { display: flex; align-items: center; gap: 9px; }
.inv-sort select {
  padding: 9px 13px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; font-size: .88rem;
}

.applied {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
}
.applied__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  padding: 6px 8px 6px 13px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 550;
}
.applied__x {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,92,40,.2); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 12px; line-height: 1;
}
.applied__x:hover { background: var(--accent); color: #fff; }
.applied__clear { font-size: .82rem; color: var(--ink-3); text-decoration: underline; align-self: center; }

.quickpick {
  display: flex; gap: 11px; overflow-x: auto; padding-bottom: 8px;
  margin-bottom: 20px; scrollbar-width: none;
}
.quickpick::-webkit-scrollbar { display: none; }
.quickpick a {
  flex: 0 0 auto; width: 116px; padding: 13px 10px;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r); text-align: center;
  transition: all .2s var(--ease);
}
.quickpick a:hover { border-color: var(--ink); transform: translateY(-3px); }
.quickpick a.is-active { border-color: var(--accent); background: var(--accent-soft); }
.quickpick__art { height: 34px; display: grid; place-items: center; color: var(--ink-2); }
.quickpick__art svg { height: 100%; width: auto; }
.quickpick__n { font-size: .8rem; font-weight: 600; margin-top: 7px; }
.quickpick__c { font-size: .72rem; color: var(--ink-4); }

.empty {
  text-align: center; padding: 76px 24px;
  background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}
.empty h3 { margin-bottom: 10px; }

.filters-toggle { display: none; }

/* ── Vehicle detail ─────────────────────────────────────────────────────── */
.crumbs {
  padding: 18px 0; font-size: .85rem; color: var(--ink-3);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--line-2); }

.vd-layout {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px; align-items: start; padding-bottom: 76px;
}

.gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery__main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;             /* detail view: never crop the vehicle */
  opacity: 0; transition: opacity .42s var(--ease);
}
.gallery__main img.is-on { opacity: 1; }
.gallery__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff;
  padding: 7px 14px; border-radius: var(--r-pill);
  font: 700 .74rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
}
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px; margin-top: 12px;
}
.gallery__thumb {
  aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--mist);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-on { border-color: var(--accent); }

.vd-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.vd-trim { color: var(--ink-3); font-size: 1rem; margin-top: 6px; }
.vd-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px;
}
.vd-price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--sh-sm);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.vd-price {
  font: 800 clamp(2rem, 4vw, 2.7rem)/1 var(--f-head);
  color: var(--ink); letter-spacing: -.04em;
}
.vd-price-sub { font-size: .88rem; color: var(--ink-3); margin-top: 9px; }
.vd-price-sub b { color: var(--accent); font-weight: 700; }
.vd-actions { display: grid; gap: 10px; margin-top: 22px; }
.vd-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.vd-assure {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; gap: 11px;
}
.vd-assure li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .87rem; color: var(--ink-3);
}
.vd-assure svg { color: var(--good); flex-shrink: 0; margin-top: 2px; }

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; margin-top: 26px;
}
.panel h2 { font-size: 1.32rem; margin-bottom: 18px; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td {
  text-align: left; padding: 13px 4px; font-size: .92rem;
}
.spec-table th {
  color: var(--ink-3); font-weight: 550; width: 46%;
}
.spec-table td { color: var(--ink); font-weight: 600; }

.feature-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 11px;
}
.feature-list li {
  display: flex; gap: 10px; align-items: center;
  font-size: .9rem; color: var(--ink-2);
}
.feature-list svg { color: var(--accent); flex-shrink: 0; }

/* ── Payment Studio ─────────────────────────────────────────────────────── */
.studio {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh);
}
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

.studio__controls { padding: 34px; }
.studio__out {
  padding: 34px; background: var(--ink); color: #cfd5de;
  display: flex; flex-direction: column;
}

.slider-row { margin-bottom: 26px; }
.slider-row__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px; gap: 12px;
}
.slider-row__label {
  font: 600 .8rem/1 var(--f-body); text-transform: uppercase;
  letter-spacing: .09em; color: var(--ink-3);
}
.slider-row__val {
  font: 800 1.32rem/1 var(--f-head); color: var(--ink); letter-spacing: -.03em;
}
.slider-row__hint { font-size: .76rem; color: var(--ink-4); margin-top: 9px; }

input[type="range"].slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--mist-2);
  outline: none; cursor: pointer;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(255,92,40,.5);
  transition: transform .16s var(--ease);
}
input[type="range"].slider::-webkit-slider-thumb:hover { transform: scale(1.16); }
input[type="range"].slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(255,92,40,.5); cursor: pointer;
}

.term-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.term-picker button {
  flex: 1 1 62px; padding: 11px 8px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: .88rem; font-weight: 600;
  transition: all .18s var(--ease);
}
.term-picker button:hover { border-color: var(--ink); }
.term-picker button.is-on {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.studio__monthly-label {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .11em;
  color: #93a0b0;
}
.studio__monthly {
  font: 800 clamp(3rem, 7vw, 4.4rem)/1 var(--f-head);
  color: #fff; letter-spacing: -.05em; margin: 8px 0 2px;
  display: flex; align-items: baseline; gap: 4px;
}
.studio__monthly .per { font-size: 1.1rem; font-weight: 600; color: #93a0b0; }
.studio__apr { font-size: .84rem; color: #93a0b0; }
.studio__apr b { color: var(--accent); }

.studio__break {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 13px;
}
.studio__break-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .91rem;
}
.studio__break-row span { color: #93a0b0; }
.studio__break-row b { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }

.studio__foot { margin-top: auto; padding-top: 26px; }
.studio__disc {
  font-size: .75rem; color: #7f8a99; line-height: 1.55; margin-top: 14px;
}

/* ── Order / checkout ───────────────────────────────────────────────────── */
.order-layout {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px; align-items: start; padding: 34px 0 84px;
}

.stepper { display: flex; gap: 6px; margin-bottom: 30px; }
.stepper__item { flex: 1; text-align: center; position: relative; }
.stepper__dot {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 9px;
  display: grid; place-items: center;
  background: var(--mist-2); color: var(--ink-4);
  font: 700 .84rem/1 var(--f-body);
  transition: background-color .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease-out);
  position: relative; z-index: 2;
}
.stepper__item.is-on .stepper__dot {
  background: var(--accent); color: #fff; transform: scale(1.1);
  box-shadow: var(--sh-accent);
}
.stepper__item.is-done .stepper__dot { background: var(--good); color: #fff; }
.stepper__label {
  font-size: .74rem; color: var(--ink-4); font-weight: 600;
}
.stepper__item.is-on .stepper__label { color: var(--ink); }
.stepper__item::before {
  content: ""; position: absolute; top: 17px; left: -50%;
  width: 100%; height: 2px; background: var(--mist-2); z-index: 1;
}
.stepper__item:first-child::before { display: none; }
.stepper__item.is-done::before, .stepper__item.is-on::before { background: var(--good); }

.step { display: none; }
.step.is-on { display: block; animation: step-in .4s var(--ease-out); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.step h2 { font-size: 1.42rem; margin-bottom: 6px; }
.step__sub { color: var(--ink-3); font-size: .93rem; margin-bottom: 24px; }
.step__fields { display: grid; gap: 16px; }
.step__nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}

.choice-grid { display: grid; gap: 13px; }
.choice {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 19px; border: 1.5px solid var(--line);
  border-radius: var(--r); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice:hover { border-color: var(--line-2); background: var(--mist); }
.choice input { accent-color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.choice.is-on { border-color: var(--accent); background: var(--accent-soft); }
.choice__t { font: 700 1rem/1.3 var(--f-head); color: var(--ink); }
.choice__d { font-size: .86rem; color: var(--ink-3); margin-top: 5px; }

.summary {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 16px);
  box-shadow: var(--sh-sm);
}
.summary__head {
  padding: 17px 20px; background: var(--mist); border-bottom: 1px solid var(--line);
}
.summary__head h3 { font-size: 1.02rem; }
.summary__veh { display: flex; gap: 14px; padding: 20px; }
.summary__veh img {
  width: 96px; height: 72px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--mist-2); flex-shrink: 0;
}
.summary__veh img.is-silhouette { object-fit: contain; padding: 6px; opacity: .5; }
.summary__body { padding: 0 20px 20px; }
.summary__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; font-size: .9rem; border-bottom: 1px solid var(--line);
}
.summary__row:last-of-type { border-bottom: 0; }
.summary__row span { color: var(--ink-3); }
.summary__row b { color: var(--ink); font-weight: 650; text-align: right; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 17px 20px; background: var(--ink); color: #fff;
}
.summary__total span { font-size: .84rem; color: #9aa4b2; }
.summary__total b {
  font: 800 1.62rem/1 var(--f-head); letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.summary__note {
  padding: 15px 20px; background: var(--good-soft); color: var(--good);
  font-size: .82rem; display: flex; gap: 9px; align-items: flex-start;
}
.summary__note svg { flex-shrink: 0; margin-top: 2px; }

.review-list { display: grid; gap: 0; }
.review-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.review-row dt { color: var(--ink-3); }
.review-row dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Success */
.success { text-align: center; padding: 56px 24px; }
.success__mark {
  width: 84px; height: 84px; margin: 0 auto 26px;
  border-radius: 50%; background: var(--good-soft);
  display: grid; place-items: center;
}
.success__mark svg { width: 42px; height: 42px; color: var(--good); }
.success__mark svg path {
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: draw-check .7s var(--ease-out) .2s forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.success__num {
  display: inline-block; margin: 20px 0 8px;
  background: var(--ink); color: #fff;
  padding: 12px 24px; border-radius: var(--r-pill);
  font: 800 1.24rem/1 var(--f-head); letter-spacing: .02em;
}

/* ── Modals ─────────────────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11,14,20,.62); backdrop-filter: blur(3px);
}
.modal__box {
  position: relative; background: #fff;
  border-radius: var(--r-xl);
  width: min(940px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sh-lg);
  transform: translateY(24px) scale(.98);
  transition: transform .34s var(--ease-out);
}
.modal.is-open .modal__box { transform: none; }
.modal__box--sm { width: min(520px, 100%); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-sm);
}
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__pad { padding: 30px; }
.modal__pad h2 { font-size: 1.34rem; margin-bottom: 6px; }
.modal__sub { color: var(--ink-3); font-size: .92rem; margin-bottom: 22px; }

/* Quick View */
.qv { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.qv__media { background: var(--mist); padding: 22px; }
.qv__main {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r); overflow: hidden; background: var(--mist-2);
}
.qv__main img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .38s var(--ease);
}
.qv__main img.is-on { opacity: 1; }
.qv__thumbs { display: flex; gap: 9px; margin-top: 11px; }
.qv__thumb {
  flex: 1; aspect-ratio: 4 / 3; border-radius: var(--r-sm);
  overflow: hidden; border: 2px solid transparent; background: var(--mist-2);
}
.qv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv__thumb.is-on { border-color: var(--accent); }
.qv__info { padding: 30px; display: flex; flex-direction: column; }
.qv__title { font-size: 1.46rem; }
.qv__trim { color: var(--ink-3); font-size: .92rem; margin-top: 4px; }
.qv__price {
  font: 800 2.05rem/1 var(--f-head); color: var(--ink);
  letter-spacing: -.04em; margin: 17px 0 4px;
}
.qv__mo { font-size: .86rem; color: var(--ink-3); }
.qv__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line);
}
.qv__spec-l {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-4);
}
.qv__spec-v { font-size: .92rem; font-weight: 650; color: var(--ink); margin-top: 2px; }
.qv__btns { margin-top: auto; display: grid; gap: 10px; }
.qv__btns-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── Compare tray + view ────────────────────────────────────────────────── */
.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(11,14,20,.13);
  transform: translateY(105%);
  transition: transform .42s var(--ease-out);
}
.tray.is-up { transform: none; }
.tray .container {
  display: flex; align-items: center; gap: 18px;
  padding-block: 14px; flex-wrap: wrap;
}
.tray__label {
  font: 700 .78rem/1 var(--f-body); text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-3);
}
.tray__slots { display: flex; gap: 11px; flex: 1; flex-wrap: wrap; }
.tray__slot {
  display: flex; align-items: center; gap: 10px;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px 12px 8px 8px;
  min-width: 190px;
}
.tray__slot img {
  width: 52px; height: 40px; object-fit: cover;
  border-radius: 6px; background: var(--mist-2); flex-shrink: 0;
}
.tray__slot img.is-silhouette { object-fit: contain; padding: 4px; opacity: .5; }
.tray__slot-n { font-size: .82rem; font-weight: 650; line-height: 1.25; }
.tray__slot-p { font-size: .78rem; color: var(--accent); font-weight: 700; }
.tray__x {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mist-2); color: var(--ink-3);
  display: grid; place-items: center; font-size: 13px; flex-shrink: 0;
}
.tray__x:hover { background: var(--ink); color: #fff; }
.tray__empty {
  min-width: 190px; border: 1.5px dashed var(--line-2);
  border-radius: var(--r); padding: 15px 12px;
  font-size: .8rem; color: var(--ink-4); text-align: center;
}
.tray__actions { display: flex; gap: 10px; align-items: center; }

.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cmp-table th, .cmp-table td {
  padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cmp-table thead th { background: var(--mist); vertical-align: bottom; }
.cmp-table tbody th {
  color: var(--ink-3); font-weight: 550; width: 160px;
  background: #fff; white-space: nowrap;
}
.cmp-table td { font-weight: 600; color: var(--ink); }
.cmp-table td.is-best { color: var(--good); }
.cmp-head__img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-sm); background: var(--mist-2); margin-bottom: 10px;
}
.cmp-head__img.is-silhouette { object-fit: contain; padding: 8px; opacity: .5; }
.cmp-head__n { font: 700 .96rem/1.25 var(--f-head); color: var(--ink); }
.cmp-head__p { color: var(--accent); font-weight: 800; margin-top: 4px; }
.cmp-scroll { overflow-x: auto; }

/* ── Garage drawer ──────────────────────────────────────────────────────── */
.garage {
  position: fixed; inset: 0 0 0 auto; width: min(90vw, 420px);
  background: #fff; z-index: 90;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
}
.garage.is-open { transform: none; }
.garage__head {
  padding: 20px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.garage__head h2 { font-size: 1.16rem; }
.garage__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.garage__item {
  display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line);
}
.garage__item img {
  width: 84px; height: 63px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--mist-2); flex-shrink: 0;
}
.garage__item img.is-silhouette { object-fit: contain; padding: 6px; opacity: .5; }
.garage__item-n { font: 700 .93rem/1.3 var(--f-head); color: var(--ink); }
.garage__item-p { color: var(--accent); font-weight: 700; font-size: .92rem; margin-top: 3px; }
.garage__item-x { font-size: .78rem; color: var(--ink-4); text-decoration: underline; margin-top: 5px; }
.garage__item-x:hover { color: #dc2626; }
.garage__empty { text-align: center; padding: 56px 20px; color: var(--ink-3); }
.garage__foot { padding: 18px 22px; border-top: 1px solid var(--line); }

/* ── Toasts ─────────────────────────────────────────────────────────────── */
.toasts {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 110; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px));
}
.toast {
  background: var(--ink); color: #fff;
  padding: 14px 18px; border-radius: var(--r);
  font-size: .89rem; font-weight: 550;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 11px;
  animation: toast-in .34s var(--ease-out);
}
.toast.is-out { animation: toast-out .3s var(--ease) forwards; }
.toast svg { color: var(--accent); flex-shrink: 0; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(12px) scale(.97); }
}

/* ── Contact / about ────────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px; align-items: start;
}
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.contact-row {
  display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.contact-row__l {
  font: 600 .74rem/1 var(--f-body); text-transform: uppercase;
  letter-spacing: .09em; color: var(--ink-4); margin-bottom: 5px;
}
.contact-row__v { font-weight: 600; color: var(--ink); }
.contact-row__v a:hover { color: var(--accent); }

.chat-btns { display: grid; gap: 10px; margin-top: 20px; }
.chat-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r);
  font-weight: 600; color: #fff;
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.chat-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.chat-btn--wa { background: #25d366; }
.chat-btn--tg { background: #229ed9; }

.about-hero { background: var(--ink); color: #cfd5de; padding: 78px 0; }
.about-hero h1 { color: #fff; }
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.stat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; text-align: center;
}
.stat-card .n {
  font: 800 2.3rem/1 var(--f-head); color: var(--accent); letter-spacing: -.04em;
}
.stat-card .l { font-size: .84rem; color: var(--ink-3); margin-top: 9px; }

.promise-list { display: grid; gap: 16px; }
.promise {
  display: flex; gap: 16px; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.promise__n {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font: 800 .95rem/1 var(--f-head);
}
.promise h3 { font-size: 1.04rem; margin-bottom: 6px; }
.promise p { font-size: .91rem; color: var(--ink-3); }

/* ── Admin ──────────────────────────────────────────────────────────────── */
.admin-head { background: var(--ink); color: #cfd5de; padding: 30px 0; }
.admin-head h1 { color: #fff; font-size: 1.7rem; }
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-top: 22px;
}
.admin-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r); padding: 16px 18px;
}
.admin-stat .n { font: 800 1.7rem/1 var(--f-head); color: #fff; }
.admin-stat .l {
  font-size: .75rem; color: #93a0b0; text-transform: uppercase;
  letter-spacing: .08em; margin-top: 6px;
}

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 26px 0 22px; }
.tab {
  padding: 12px 20px; font-weight: 600; font-size: .93rem;
  color: var(--ink-3); border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--accent); border-bottom-color: var(--accent); }

.table-wrap {
  overflow-x: auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.dtable { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 780px; }
.dtable th {
  text-align: left; padding: 13px 15px; background: var(--mist);
  font: 600 .76rem/1 var(--f-body); text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-3);
  border-bottom: 1px solid var(--line); white-space: nowrap;
  cursor: pointer; user-select: none;
}
.dtable th:hover { color: var(--accent); }
.dtable th[data-sort]::after { content: " ⇅"; opacity: .35; }
.dtable th.sort-asc::after  { content: " ↑"; opacity: 1; color: var(--accent); }
.dtable th.sort-desc::after { content: " ↓"; opacity: 1; color: var(--accent); }
.dtable td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover { background: var(--mist); }

.pill {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill);
  font: 600 .73rem/1.5 var(--f-body); text-transform: capitalize;
}
.pill--new { background: var(--accent-soft); color: var(--accent-ink); }
.pill--contacted { background: #e0edff; color: #1d4ed8; }
.pill--confirmed, .pill--completed { background: var(--good-soft); color: var(--good); }
.pill--closed { background: var(--mist-2); color: var(--ink-3); }

/* ── Animations / utilities ─────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .62s var(--ease-out), transform .62s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

.img-fade { opacity: 0; transition: opacity .5s var(--ease); }
.img-fade.is-loaded { opacity: 1; }

.skeleton {
  background: linear-gradient(100deg, var(--mist-2) 30%, #f7f8fa 50%, var(--mist-2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

.no-scroll { overflow: hidden; }
.hide-sm { display: inline-flex; }
@media (max-width: 860px) { .hide-sm { display: none !important; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* ══ Responsive ═════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-search { max-width: 560px; }
  .vd-layout { grid-template-columns: 1fr; }
  .vd-price-card { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .inv-layout { grid-template-columns: 1fr; }
  .filters {
    position: static;
    display: none;
  }
  .filters.is-open { display: block; margin-bottom: 22px; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border: 1.5px solid var(--line);
    border-radius: var(--r-pill); background: #fff;
    font-weight: 600; font-size: .89rem;
  }
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .studio__grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .qv { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; padding: 34px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  :root { --gut: 18px; }
  .promo { padding: 28px; }
  .cta-band { padding: 38px 26px; }
  .tst__arrow { display: none; }      /* swipe instead */
  .tst__card { padding: 30px 22px; }
}

@media (max-width: 680px) {
  .section { padding: 52px 0; }

  /* Announcements wrap to two lines here, so the crossfade would briefly
     stack the outgoing message on top of the incoming one. Cut instead. */
  .announce__item { transition: none; }
  .announce__item:not(.is-active) { display: none; }

  .hero { min-height: auto; }
  .hero__inner { padding: 56px 0 44px; }
  .hero__stats { gap: 24px; }
  .hero__stat { flex: 1 1 40%; }
  .quick-tiles { margin-top: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .v-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .vd-actions__row { grid-template-columns: 1fr; }
  .qv__btns-row { grid-template-columns: 1fr; }
  .modal__pad { padding: 22px; }
  .qv__info { padding: 22px; }
  .qv__media { padding: 16px; }
  .panel { padding: 20px; }
  .studio__controls, .studio__out { padding: 24px; }
  .review-row { grid-template-columns: 1fr; gap: 3px; }
  .review-row dt { font-size: .8rem; }

  /* Card actions can't rely on hover on touch devices */
  .v-card__actions { opacity: 1; transform: none; }

  /* Spec table restacks to label-over-value */
  .spec-table tr {
    display: grid; grid-template-columns: 1fr; gap: 2px;
    padding: 11px 0;
  }
  .spec-table th, .spec-table td { width: auto; padding: 0; }
  .spec-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }

  .stepper__label { display: none; }
  .stepper__dot { width: 30px; height: 30px; }
  .stepper__item::before { top: 15px; }

  .tray .container { gap: 12px; }
  .tray__slots { gap: 8px; }
  .tray__slot { min-width: 0; flex: 1 1 100%; }
  .tray__empty { display: none; }
  .tray__actions { width: 100%; }
  .tray__actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  :root { --gut: 15px; }
  .v-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero-search { padding: 22px; }
  .quick-tiles { grid-template-columns: 1fr; }
  .body-grid { grid-template-columns: 1fr 1fr; }
  .tst__card { padding: 24px 18px; }
  .cta-band { padding: 30px 20px; }
  .cta-band__btns { flex-direction: column; }
  .cta-band__btns .btn { width: 100%; }
}

/* ── Card CTA row: View details + Payment Studio ────────────────────────── */
.v-card__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.v-card__cta .btn { white-space: nowrap; }
/* Below ~330px of card width the two buttons crowd; stack instead. */
@media (max-width: 420px) {
  .v-card__cta { grid-template-columns: 1fr; }
}

/* ── "Estimating for <car>" banner on a pre-filled studio ───────────────── */
.studio__for {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent-line);
  color: var(--accent-ink);
  font-size: .92rem;
}
.studio__for svg { flex-shrink: 0; color: var(--accent); }
.studio__for strong { font-weight: 700; }
