/* ==========================================================================
   50State Auto Source — design system
   Palette: black / white / greys. One accent = pure black on light, white on dark.
   ========================================================================== */
:root {
  --black: #0a0a0b;
  --ink: #171a20;
  --grey-900: #22252b;
  --grey-700: #4b5058;
  --grey-500: #7a7f87;
  --grey-300: #c8cbd0;
  --grey-200: #e3e5e8;
  --grey-100: #f2f3f5;
  --white: #ffffff;
  --success: #1f7a4d;
  --danger: #b3261e;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 40px rgba(10, 10, 11, 0.08);
  --shadow-lg: 0 30px 80px rgba(10, 10, 11, 0.25);
  --font: 'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--white); color: var(--black); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--grey { background: var(--grey-100); }
.section--dark { background: var(--black); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey-500); margin-bottom: 14px; font-weight: 600;
}
.lead { font-size: 1.125rem; color: var(--grey-700); }
.section--dark .lead { color: var(--grey-300); }
.muted { color: var(--grey-500); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 26px; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #000; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--grey-200); }
.btn--ghost { background: transparent; border-color: var(--grey-300); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: var(--white); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.18); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Demo-data banner ---------- */
.demo-banner {
  background: #fff6d6; color: #5c4400; font-size: 0.8rem; text-align: center; padding: 7px 16px;
  border-bottom: 1px solid #f0e0a0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.9rem; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 8px 12px; border-radius: var(--radius);
  transition: background 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(0,0,0,0.06); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: var(--radius); }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform 0.3s; }

/* Visitor indicator */
.visitors {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--grey-700);
  padding: 6px 12px; border-radius: 999px; background: var(--grey-100); white-space: nowrap;
}
.visitors__dot { width: 7px; height: 7px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 0 rgba(34,163,90,0.5); animation: pulse 2s infinite; }
.visitors--demo .visitors__dot { background: var(--grey-500); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(34,163,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,163,90,0); } }

@media (max-width: 960px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--white); padding: 12px 20px 24px; border-bottom: 1px solid var(--grey-200);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; }
  .header-actions .btn { display: none; }
  .header-actions { order: 2; }
}
@media (max-width: 520px) {
  .visitors__text-long { display: none; }
  .brand span { letter-spacing: 0.14em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 80% at 70% 30%, #2b2f36 0%, #111215 55%, #050506 100%);
  min-height: min(92vh, 860px); display: flex; align-items: center;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 72px 0 96px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--grey-300); }
.hero .lead { color: #c9ccd1; max-width: 520px; margin-bottom: 32px; }
.hero__note { margin-top: 22px; font-size: 0.78rem; color: #8d9198; max-width: 480px; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; filter: drop-shadow(0 40px 50px rgba(0,0,0,0.55)); animation: drive-in 1.4s var(--ease) both; }
.hero__floor { position: absolute; left: -10%; right: -10%; bottom: -14%; height: 40%; background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0.10), transparent 70%); }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.6rem; font-weight: 500; }
.hero__stats span { font-size: 0.78rem; color: #9ca0a6; letter-spacing: 0.04em; }
@keyframes drive-in { from { transform: translateX(14%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero__art { order: -1; max-width: 560px; }
}

/* ---------- Offers strip ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-200); border-radius: var(--radius-lg); overflow: hidden; }
.offer { background: var(--white); padding: 32px; }
.offer__value { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 12px; }
.offer p { color: var(--grey-700); font-size: 0.92rem; margin-bottom: 16px; }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Model cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.model-card {
  position: relative; background: var(--grey-100); border-radius: var(--radius-lg); padding: 32px 32px 28px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model-card__art { margin: 8px -12px 12px; aspect-ratio: 480 / 180; }
.model-card__art svg { transition: transform 0.6s var(--ease); }
.model-card:hover .model-card__art svg { transform: translateX(10px) scale(1.02); }
.model-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.model-card h3 { font-size: 1.8rem; margin: 0; }
.model-card__tag { color: var(--grey-700); margin: 4px 0 0; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 20px; padding: 16px 0; border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.specs strong { display: block; font-size: 0.92rem; font-weight: 500; }
.specs span { font-size: 0.74rem; color: var(--grey-500); }
.price-from { margin-bottom: 20px; }
.price-from .was { text-decoration: line-through; color: var(--grey-500); font-size: 0.9rem; margin-right: 8px; }
.price-from .now { font-size: 1.35rem; font-weight: 500; }
.price-from .per { font-size: 0.78rem; color: var(--grey-500); display: block; }
.model-card .btn-row { margin-top: auto; }
.model-card .btn-row .btn { flex: 1; }
@media (max-width: 820px) { .model-grid { grid-template-columns: 1fr; } .model-card { padding: 24px; } }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--white);
}
.badge--light { background: var(--white); color: var(--ink); border: 1px solid var(--grey-200); }
.badge--muted { background: var(--grey-200); color: var(--grey-700); }
.badge--success { background: #e3f3ea; color: var(--success); }
.badge--warn { background: #fff1d6; color: #7a5200; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.calc__inputs { padding: 36px; display: grid; gap: 22px; align-content: start; }
.calc__result { padding: 36px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__inputs, .calc__result { padding: 24px; } }

.summary-rows { display: grid; gap: 0; margin: 8px 0 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.95rem; }
.summary-row dt { color: #b9bdc3; }
.summary-row dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.summary-row--discount dd { color: #8be0b0; }
.summary-row--total { border-bottom: 0; padding-top: 18px; font-size: 1.35rem; }
.summary-row--total dt { color: var(--white); }
.summary-light .summary-row { border-bottom-color: var(--grey-200); }
.summary-light .summary-row dt { color: var(--grey-700); }
.summary-light .summary-row--discount dd { color: var(--success); }
.summary-light .summary-row--total dt { color: var(--ink); }
.pay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pay-split > div { background: rgba(255,255,255,0.07); border-radius: var(--radius); padding: 14px 16px; }
.summary-light .pay-split > div { background: var(--grey-100); }
.pay-split span { display: block; font-size: 0.75rem; color: #a7abb1; }
.summary-light .pay-split span { color: var(--grey-500); }
.pay-split strong { font-size: 1.2rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.terms-note { font-size: 0.78rem; color: #9ca0a6; line-height: 1.5; }
.summary-light .terms-note { color: var(--grey-500); }

/* ---------- Form controls ---------- */
.field { display: grid; gap: 7px; }
.field > label, .field-label { font-size: 0.8rem; font-weight: 600; color: var(--grey-700); letter-spacing: 0.02em; }
.field .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius);
  border: 1px solid var(--grey-300); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey-700) 50%), linear-gradient(135deg, var(--grey-700) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,26,32,0.1); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.8rem; min-height: 0; }
.field-hint { color: var(--grey-500); font-size: 0.78rem; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--grey-100); padding: 5px; border-radius: 10px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  text-align: center; padding: 10px 6px; border-radius: 7px; font-size: 0.88rem; font-weight: 500; cursor: pointer; color: var(--grey-700);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.segmented input:checked + label { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.segmented input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Option cards (configurator) */
.choice-list { display: grid; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--grey-300);
  border-radius: 10px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.choice label:hover { border-color: var(--grey-500); }
.choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice input:disabled + label { opacity: 0.45; cursor: not-allowed; }
.choice__title { font-weight: 500; }
.choice__desc { display: block; font-size: 0.8rem; color: var(--grey-500); margin-top: 2px; }
.choice__price { white-space: nowrap; font-size: 0.9rem; color: var(--grey-700); font-variant-numeric: tabular-nums; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch label { display: block; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); border: 3px solid var(--white); outline: 1px solid transparent; transition: outline-color 0.2s, transform 0.2s; }
.swatch label:hover { transform: scale(1.06); }
.swatch input:checked + label { outline: 2px solid var(--ink); outline-offset: 1px; }
.swatch input:focus-visible + label { outline: 2px dashed var(--ink); outline-offset: 3px; }
.swatch-caption { margin-top: 10px; font-size: 0.88rem; }
.swatch-caption strong { font-weight: 500; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--grey-700); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }

/* ---------- Configurator page ---------- */
.config-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 48px; align-items: start; }
.config-stage { position: sticky; top: calc(var(--header-h) + 20px); }
.config-visual { background: linear-gradient(180deg, var(--grey-100), #e9ebee); border-radius: var(--radius-lg); padding: 40px 24px 28px; position: relative; overflow: hidden; }
.config-visual svg { transition: opacity 0.3s; }
.config-visual__title { text-align: center; margin-top: 12px; }
.config-visual__title h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 4px; }
.quick-specs { display: flex; justify-content: center; gap: 32px; margin-top: 16px; flex-wrap: wrap; text-align: center; }
.quick-specs strong { display: block; font-weight: 500; font-size: 1.05rem; }
.quick-specs span { font-size: 0.75rem; color: var(--grey-500); }
.config-panel { display: grid; gap: 36px; }
.config-step h2 { font-size: 1.15rem; margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; }
.config-step h2 .num { font-size: 0.75rem; color: var(--grey-500); font-weight: 600; letter-spacing: 0.1em; }
.config-summary { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.stock-callout { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--grey-100); font-size: 0.88rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 980px) {
  .config-layout { grid-template-columns: 1fr; gap: 28px; }
  .config-stage { position: static; }
}

.vehicle-lock { background: var(--grey-100); border-radius: var(--radius-lg); padding: 24px; }
.vehicle-lock dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 16px 0 0; font-size: 0.92rem; }
.vehicle-lock dt { color: var(--grey-500); }
.vehicle-lock dd { margin: 0; }

/* ---------- Inventory ---------- */
.inv-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.inv-toolbar .segmented { min-width: min(100%, 460px); }
.inv-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.inv-filters .select { min-width: 170px; }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.vcard { border: 1px solid var(--grey-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; background: var(--white); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.vcard__art { background: linear-gradient(180deg, var(--grey-100), #e7e9ec); padding: 26px 14px 12px; position: relative; }
.vcard__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.vcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.vcard h3 { margin: 0 0 4px; font-size: 1.2rem; }
.vcard__meta { font-size: 0.82rem; color: var(--grey-500); margin-bottom: 14px; }
.vcard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 0.82rem; margin: 0 0 16px; }
.vcard__facts dt { color: var(--grey-500); }
.vcard__facts dd { margin: 0; }
.vcard__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.vcard__price .now { font-size: 1.4rem; font-weight: 500; }
.vcard__price .was { text-decoration: line-through; color: var(--grey-500); font-size: 0.9rem; }
.vcard__save { font-size: 0.82rem; color: var(--success); margin-bottom: 18px; }
.vcard .btn-row { margin-top: auto; }
.vcard .btn-row .btn { flex: 1; }
.vcard--unavailable { opacity: 0.72; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--grey-300); border-radius: var(--radius-lg); color: var(--grey-700); }

.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.explain { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--grey-200); }
.explain h3 { font-size: 1rem; }
.explain p { font-size: 0.9rem; color: var(--grey-700); margin: 0; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden; }
.why { background: var(--black); padding: 34px; }
.why svg { width: 28px; height: 28px; margin-bottom: 18px; stroke: var(--white); }
.why h3 { font-size: 1.05rem; }
.why p { color: #a9adb3; font-size: 0.92rem; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why { padding: 26px; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--grey-200); }
.testimonial blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.testimonial figcaption { font-size: 0.85rem; color: var(--grey-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--grey-200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 500; font-size: 1.04rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--grey-700); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-index { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.faq-index a { font-size: 0.8rem; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--grey-200); }
.faq-index a:hover { border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-aside ul { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-aside li { display: flex; gap: 14px; }
.contact-aside li strong { display: block; font-weight: 500; }
.contact-aside li span { color: var(--grey-700); font-size: 0.9rem; }
.contact-aside .stepnum { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 0.8rem; }
.safety { border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 20px; font-size: 0.86rem; color: var(--grey-700); background: var(--white); }
.safety strong { color: var(--ink); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--grey-200); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: 0.9rem; }
.form-status--error { background: #fdecea; color: var(--danger); }
.form-success { text-align: center; padding: 20px 0; }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 18px; }
.form-success .ref { display: inline-block; margin: 6px 0 18px; padding: 8px 14px; background: var(--grey-100); border-radius: var(--radius); font-family: ui-monospace, Menlo, monospace; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #a9adb3; padding: 64px 0 32px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.footer-legal { border-top: 1px solid #23262b; padding-top: 24px; font-size: 0.76rem; color: #7d8187; display: grid; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Modal (inventory popup) ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,5,6,0.6); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity 0.3s var(--ease);
}
.modal-backdrop.is-visible { opacity: 1; }
.modal {
  position: relative; width: min(100%, 520px); background: var(--black); color: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); transform: translateY(16px) scale(0.98); transition: transform 0.4s var(--ease);
}
.modal-backdrop.is-visible .modal { transform: none; }
.modal__art { background: radial-gradient(90% 90% at 50% 20%, #2f333a, #0b0b0c); padding: 40px 28px 6px; }
.modal__body { padding: 26px 32px 32px; text-align: center; }
.modal__body h2 { font-size: 1.7rem; }
.modal__count { font-size: 3.4rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 4px; }
.modal__body p { color: #b4b8be; }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.modal__close:hover { background: rgba(255,255,255,0.2); }
.modal .btn-row { justify-content: center; margin-top: 18px; }

/* ---------- Notice bar / toast ---------- */
.notice-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px;
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-lg);
  display: flex; gap: 16px; align-items: center; font-size: 0.85rem;
}
.notice-bar p { margin: 0; color: #c9ccd1; }
.notice-bar a { color: var(--white); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--white); padding: 12px 16px 12px 20px; border-radius: 999px; font-size: 0.88rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; transition: all 0.35s var(--ease); max-width: calc(100% - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast button { background: rgba(255,255,255,0.14); color: var(--white); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.8rem; white-space: nowrap; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; padding: 56px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--grey-700); }
.legal li { margin-bottom: 0.5em; }
.legal .toc { background: var(--grey-100); border-radius: var(--radius-lg); padding: 22px 26px; margin: 28px 0; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.draft-banner { background: #fff6d6; border: 1px solid #f0e0a0; color: #5c4400; padding: 14px 18px; border-radius: var(--radius); font-size: 0.88rem; }
mark.ph { background: #fff1c2; color: #5c4400; padding: 0 4px; border-radius: 3px; }

/* ---------- Page header (sub pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding: 72px 0 56px; }
.page-hero .lead { color: #b9bdc3; max-width: 680px; }

/* ---------- Loading / error ---------- */
.skeleton { background: linear-gradient(90deg, var(--grey-100), var(--grey-200), var(--grey-100)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); min-height: 240px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.load-error { text-align: center; padding: 48px 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

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

/* Configurator: summary placement + mobile ordering */
.config-summary { margin-top: 20px; }
.line-items { list-style: none; margin: 0 0 8px; padding: 0; font-size: 0.86rem; color: var(--grey-700); }
.line-items li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.line-items li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 980px) {
  .config-layout { display: flex; flex-direction: column; }
  .config-stage { display: contents; }
  .config-visual { order: 1; }
  .config-panel { order: 2; }
  .config-summary { order: 3; margin-top: 0; }
}

/* Brand logo image */
.brand img { height: 32px; width: auto; border-radius: 4px; }
.site-footer .brand img { height: 40px; }
@media (max-width: 520px) { .brand img { height: 26px; } }

/* --- Visual refinements --- */
@media (max-width: 960px) {
  .header-actions { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; margin-left: 4px; }
}
.toast { top: calc(var(--header-h) + 16px); bottom: auto; transform: translate(-50%, -12px); }
.toast.is-visible { transform: translate(-50%, 0); }
.breakdown { margin: 4px 0 6px; }
.breakdown summary { cursor: pointer; font-size: 0.85rem; color: var(--grey-700); padding: 6px 0; list-style: none; }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary::after { content: ' +'; }
.breakdown[open] summary::after { content: ' −'; }
@media (min-width: 981px) {
  .config-visual { padding: 24px 24px 20px; }
  .config-visual svg { max-height: 190px; margin-inline: auto; }
  .config-summary { padding: 22px 26px; }
  .config-summary .summary-row { padding: 9px 0; }
}
.toast { width: max-content; max-width: min(560px, calc(100% - 32px)); border-radius: 14px; line-height: 1.4; }
@media (max-width: 600px) {
  .toast { left: 16px; right: 16px; width: auto; max-width: none; transform: translateY(-12px); justify-content: space-between; }
  .toast.is-visible { transform: none; }
}

/* --- Sales elements --- */
.promo-bar { background: #b3121f; color: #fff; font-size: 0.85rem; text-align: center; padding: 9px 0; font-weight: 500; }
.promo-bar a { color: #fff; font-weight: 700; margin-left: 8px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.6); white-space: nowrap; }
.hero__badge { display: inline-block; background: #b3121f; color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero__ribbon { position: absolute; top: 4%; right: 4%; z-index: 3; width: 118px; height: 118px; border-radius: 50%; background: #b3121f; color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 16px 40px rgba(179,18,31,0.45); transform: rotate(-10deg); animation: pop 0.8s 0.6s var(--ease) both; }
.hero__ribbon strong { font-size: 2.2rem; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.hero__ribbon span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; }
@keyframes pop { from { transform: scale(0.3) rotate(-30deg); opacity: 0; } to { transform: rotate(-10deg); opacity: 1; } }
@media (max-width: 600px) { .hero__ribbon { width: 84px; height: 84px; top: 0; right: 0; } .hero__ribbon strong { font-size: 1.6rem; } .hero__ribbon span { font-size: 0.7rem; } }
.model-card .badge { background: #b3121f; }
.sale-band { background: #b3121f; color: #fff; padding: 56px 0; }
.sale-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sale-band h2 { margin: 0 0 6px; }
.sale-band p { margin: 0; color: #ffd9dc; }
.brand img { height: 30px; border-radius: 0; }
.site-footer .brand img { height: 33px; }
@media (max-width: 520px) { .brand img { height: 22px; } }

/* --- Sales popup --- */
.btn--sale { background: #b3121f; color: #fff; font-weight: 600; }
.btn--sale:hover { background: #d0172a; }
.modal--sale { width: min(100%, 860px); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,0.08); }
.modal--sale .modal__art { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 28px 28px; background: radial-gradient(110% 80% at 50% 35%, #353a42 0%, #121316 60%, #0a0a0b 100%); }
.modal--sale .modal__art svg { width: 100%; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.6)); }
.modal__model { text-align: center; color: #8d9198; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 18px 0 0; }
.modal__ribbon { position: absolute; top: 22px; left: 22px; width: 86px; height: 86px; border-radius: 50%; background: #b3121f; display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: 0 12px 30px rgba(179,18,31,0.5); }
.modal__ribbon strong { font-size: 1.6rem; line-height: 1; font-weight: 700; }
.modal__ribbon span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; }
.modal--sale .modal__body { text-align: left; padding: 40px 36px 32px; }
.modal__eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ff6b75; margin-bottom: 10px; }
.modal--sale h2 { font-size: 1.75rem; margin-bottom: 18px; }
.modal__stock { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; }
.modal--sale .modal__count { font-size: 2.6rem; margin: 0; }
.modal__stock strong { display: block; font-weight: 600; }
.modal__stock span { font-size: 0.85rem; color: #ff8a93; }
.modal__lead { color: #b4b8be; font-size: 0.92rem; margin-bottom: 14px; }
.modal__update { display: block; font-size: 0.8rem; color: #8d9198; margin-top: 4px; }
.modal__benefits { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 0.9rem; }
.modal__benefits li { display: flex; gap: 10px; align-items: center; color: #e6e8eb; }
.modal__benefits svg { width: 18px; height: 18px; flex-shrink: 0; color: #5fd28f; }
.modal__price { font-size: 0.95rem; color: #c9ccd1; margin-bottom: 16px; }
.modal__price strong { color: #fff; font-size: 1.25rem; font-weight: 600; }
.modal__actions { display: grid; gap: 10px; }
.modal__fine { font-size: 0.74rem; color: #7d8187; margin: 14px 0 0; }
@media (max-width: 760px) {
  .modal-backdrop { align-items: end; padding: 12px; }
  .modal--sale { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
  .modal--sale .modal__art { padding: 30px 40px 6px; }
  .modal__ribbon { width: 64px; height: 64px; top: 14px; left: 14px; }
  .modal__ribbon strong { font-size: 1.2rem; }
  .modal__model { display: none; }
  .modal--sale .modal__body { padding: 20px 22px 22px; }
  .modal--sale h2 { font-size: 1.4rem; margin-bottom: 12px; }
  .modal__benefits { font-size: 0.85rem; gap: 6px; }
}

/* ==========================================================================
   v2 layout — matches the original site structure, refined
   ========================================================================== */
:root { --accent: #1652d9; --accent-soft: #eef3ff; --sale: #c8102e; --line: #e4e7ec; }
.accent { color: var(--accent); }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 1rem; }
.btn--sale { background: var(--sale); }
.btn--sale:hover { background: #a50d26; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--grey-700); text-decoration: underline; cursor: pointer; }
.car-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero */
.hero2 { background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%); border-bottom: 1px solid var(--line); }
.hero2__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 64px 0 72px; }
.hero2 h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 22px; }
.hero2 h1 .accent { display: block; }
.hero2 .lead { max-width: 540px; margin-bottom: 30px; }
.hero2 .lead strong { color: var(--ink); }
.hero__badge { background: var(--sale); }
.hero2__trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: var(--grey-700); }
.hero2__trust li::before { content: '✓'; color: var(--success); font-weight: 700; margin-right: 7px; }
.hero2__media { position: relative; }
.hero2__card { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #e9ecf0 60%, #d9dde3 100%); box-shadow: 0 30px 70px rgba(16, 24, 40, 0.16); display: grid; place-items: center; border: 1px solid var(--line); }
.hero2__card svg { width: 92%; animation: drive-in 1.2s var(--ease) both; }
.hero2__flag { position: absolute; top: 18px; right: 18px; background: var(--sale); color: #fff; border-radius: 12px; padding: 10px 14px; text-align: center; box-shadow: 0 12px 30px rgba(200, 16, 46, 0.35); line-height: 1.15; }
.hero2__flag strong { display: block; font-size: 1.15rem; }
.hero2__flag span { font-size: 0.72rem; opacity: 0.9; }
@media (max-width: 900px) { .hero2__inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 48px; } .hero2__media { order: -1; } }

/* Payment options strip */
.pay-options-wrap { padding: 40px 0 0; }
.pay-options { background: #f7f9fc; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 28px; }
.pay-options__title { text-align: center; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 22px; }
.pay-options__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 14px; align-items: stretch; }
.pay-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; padding: 18px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.pay-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(22, 82, 217, 0.12); transform: translateY(-2px); }
.pay-card strong { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.pay-card span { font-size: 0.82rem; color: var(--grey-700); }
.pay-card em { font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-top: 4px; }
.pay-card--popular { border: 2px solid var(--accent); }
.pay-card__badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff !important; font-size: 0.66rem !important; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pay-card--info { flex-direction: row; gap: 12px; background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; justify-content: flex-start; text-align: left; padding-left: 24px; }
.pay-card--info svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff3d6; color: #a86a00; flex-shrink: 0; }
.pay-card--info b { display: block; font-size: 0.95rem; }
.pay-card--info small { color: var(--accent); font-weight: 600; font-size: 0.85rem; }
@media (max-width: 820px) { .pay-options__grid { grid-template-columns: repeat(3, 1fr); } .pay-card--info { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; justify-content: center; } }
@media (max-width: 480px) { .pay-options { padding: 20px 14px; } .pay-card strong { font-size: 1.35rem; } .pay-card { padding: 16px 6px; } }

/* Model cards row */
.section-head--center h2 { font-weight: 700; }
.model-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mcard { border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px 18px; text-align: center; background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.mcard:hover { box-shadow: 0 18px 40px rgba(16, 24, 40, 0.1); transform: translateY(-4px); }
.mcard h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.mcard__tag { font-size: 0.8rem; color: var(--grey-500); margin: 4px 0 8px; }
.mcard__img { aspect-ratio: 16 / 9; display: grid; place-items: center; margin: 4px 0 12px; overflow: hidden; border-radius: 10px; }
.mcard__img svg { width: 100%; }
.mcard__official { font-size: 0.8rem; color: var(--grey-500); margin: 0; }
.mcard__your { font-size: 0.8rem; color: var(--grey-700); margin: 2px 0 0; }
.mcard__price { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.mcard .btn { margin-top: auto; }
.mcard__stock { display: block; font-size: 0.8rem; color: var(--accent); text-decoration: none; margin-top: 10px; font-weight: 500; }
@media (max-width: 1080px) { .model-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .model-row { grid-template-columns: 1fr; } }

/* Range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), var(--grey-200) var(--fill, 0%)); outline: none; margin: 10px 0 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,0.18); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: pointer; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(22, 82, 217, 0.25); }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; }
.slider-head label { font-size: 0.8rem; font-weight: 600; color: var(--grey-700); letter-spacing: 0.02em; }
.slider-head output { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.range-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: var(--grey-500); }
.hint { background: var(--accent-soft); color: #1e3a8a; border-radius: 10px; padding: 11px 14px; font-size: 0.84rem; margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; cursor: pointer; font-weight: 500; }
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 3-panel calculator */
.calc3 { display: grid; grid-template-columns: 1.1fr 1.1fr 0.9fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(16,24,40,0.06); }
.calc3 > div { padding: 30px; }
.calc3__inputs { background: #f9fafc; display: grid; gap: 16px; align-content: start; border-right: 1px solid var(--line); }
.calc3__head { display: flex; gap: 14px; align-items: flex-start; }
.calc3__head h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 4px; }
.calc3__head p { font-size: 0.8rem; color: var(--grey-500); margin: 0; }
.calc3__icon { flex: 0 0 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.calc3__icon svg { width: 22px; height: 22px; }
.calc3__car { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.calc3__img { aspect-ratio: 16 / 8; display: grid; place-items: center; overflow: hidden; border-radius: 10px; margin-bottom: 10px; }
.calc3__car h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.calc3__car h3 small { display: block; font-size: 0.85rem; font-weight: 500; color: var(--grey-500); margin-top: 2px; }
.calc3__prices { margin: 0 0 10px; display: grid; gap: 4px; font-size: 0.9rem; }
.calc3__prices > div { display: flex; justify-content: space-between; }
.calc3__prices dt { color: var(--grey-500); }
.calc3__prices dd { margin: 0; }
.calc3__prices .disc dd, .calc3__prices .disc dt { color: var(--accent); font-weight: 600; }
.calc3__label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-500); font-weight: 600; margin: 8px 0 0; }
.calc3__price { font-size: 2.4rem; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; margin: 0; line-height: 1.1; }
.calc3__pay h3 { font-size: 1rem; font-weight: 700; }
.calc3__now { font-size: 1.9rem; font-weight: 700; color: var(--accent); margin: 2px 0 2px; letter-spacing: -0.02em; }
.calc3__bal { font-size: 0.85rem; color: var(--grey-700); margin-bottom: 14px; }
.calc3__deliv { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 4px 0 18px; }
.calc3__deliv svg, .pbox__deliv svg { width: 20px; height: 20px; color: var(--accent); }
.calc3__pay .terms-note { margin-top: 12px; }
@media (max-width: 1000px) { .calc3 { grid-template-columns: 1fr 1fr; } .calc3__inputs { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .calc3 { grid-template-columns: 1fr; } .calc3 > div { padding: 22px; } .calc3__car { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Configurator v2 */
.cfg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cfg-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin: 0 0 6px; }
.cfg-head p { margin: 0; color: var(--grey-700); font-size: 0.92rem; }
.pills { display: flex; gap: 6px; background: var(--grey-100); padding: 5px; border-radius: 999px; flex-wrap: wrap; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label { padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; cursor: pointer; color: var(--grey-700); }
.pills input:checked + label { background: var(--ink); color: #fff; }
.pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.cfg-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.cfg-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; }
.cfg-img { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 25%, #fff, #eceff3 70%); display: grid; place-items: center; }
.cfg-img svg { width: 94%; }
.cfg-caption { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--grey-700); margin: 12px 0 14px; }
.cfg-caption .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.specbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.specbox > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.specbox strong { display: block; font-size: 1.05rem; font-weight: 700; }
.specbox span { font-size: 0.72rem; color: var(--grey-500); }
.pbox { margin: 0; display: grid; gap: 0; }
.pbox > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.92rem; }
.pbox dt { color: var(--grey-700); }
.pbox dd { margin: 0; font-variant-numeric: tabular-nums; }
.pbox__disc dt, .pbox__disc dd { color: var(--accent) !important; font-weight: 600; }
.pbox__total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px !important; }
.pbox__total dt { color: var(--ink) !important; font-weight: 700; }
.pbox__total dd { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.pbox__due { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px !important; margin: 6px 0 2px; }
.pbox__due dt, .pbox__due dd { color: #1e3a8a !important; font-weight: 700; }
.pbox__deliv { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--grey-700); margin: 10px 0 0; }
.cfg-main { display: grid; gap: 26px; }
.cfg-step h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); font-weight: 700; margin-bottom: 12px; }
.cfg-step__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile label { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.tile label:hover { border-color: var(--grey-500); }
.tile input:checked + label { border: 2px solid var(--accent); padding: 13px 15px; background: #f8faff; }
.tile input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile__name { font-weight: 600; font-size: 0.92rem; }
.tile__name small { display: block; font-weight: 400; color: var(--grey-500); font-size: 0.75rem; margin-top: 2px; }
.tile__price { font-size: 0.8rem; color: var(--grey-700); white-space: nowrap; }
.swatch input:checked + label { outline: 2px solid var(--accent); }
.toggles { display: grid; gap: 10px; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; position: relative; }
.toggle.is-disabled { opacity: 0.5; cursor: not-allowed; }
.toggle__name { display: block; font-weight: 600; font-size: 0.92rem; }
.toggle__desc { display: block; font-size: 0.78rem; color: var(--grey-500); margin-top: 2px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { flex: 0 0 44px; height: 26px; border-radius: 999px; background: var(--grey-300); position: relative; transition: background .2s; }
.toggle__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--accent); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.prepay { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.vehicle-lock h2 { font-size: 1.15rem; }
@media (max-width: 980px) { .cfg { grid-template-columns: 1fr; } .cfg-side { position: static; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .pills label { padding: 7px 11px; font-size: 0.8rem; } }
.modal__close { z-index: 5; }

/* --- Real photos: full-bleed in every container --- */
.car-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero2__card:has(.car-photo) { aspect-ratio: 16 / 10; background: #111; }
.mcard__img:has(.car-photo), .calc3__img:has(.car-photo) { background: #f2f3f5; }
.cfg-img:has(.car-photo) { background: #111; }
.vcard__art:has(.car-photo) { padding: 0; aspect-ratio: 16 / 9; }
.vcard__art:has(.car-photo) .vcard__badges { z-index: 2; }
.modal--sale .modal__art:has(.car-photo) { padding: 0; }
.modal--sale .modal__art:has(.car-photo) { justify-content: center; background: radial-gradient(110% 80% at 50% 50%, #2a2e35, #0b0b0c 75%); }
.modal--sale .modal__art:has(.car-photo) .car-photo { position: absolute; inset: 0; object-position: 32% 50%; }
.modal--sale .modal__art:has(.car-photo) .modal__model { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.modal--sale .modal__art:has(.car-photo) .modal__ribbon { z-index: 2; }
@media (max-width: 760px) { .modal--sale .modal__art:has(.car-photo) { aspect-ratio: 16 / 9; } }
.photo-note { font-size: 0.75rem; color: var(--grey-500); }

.vcard__art { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.vcard__art svg { width: 100%; }

/* --- Hero v3: full-width photo with white text on top --- */
.btn--blue { background: #1677ff; color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(22, 119, 255, 0.35); }
.btn--blue:hover { background: #0b63e5; }
.hero3 { position: relative; overflow: hidden; background: #05070d; color: #fff; min-height: clamp(580px, 80vh, 780px); display: flex; align-items: center; }
.hero3__media { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; }
.hero3__media .car-photo { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: hero-zoom 1.6s var(--ease) both; }
.hero3__media svg { position: absolute; right: 4%; bottom: 14%; width: 80%; }
@keyframes hero-zoom { from { transform: scale(1.06); opacity: 0.4; } to { transform: none; opacity: 1; } }
.hero3__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #05070d 0%, #05070d 28%, rgba(5,7,13,0.82) 38%, rgba(5,7,13,0.35) 52%, rgba(5,7,13,0) 66%),
    linear-gradient(0deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0) 30%),
    linear-gradient(180deg, rgba(5,7,13,0.35) 0%, rgba(5,7,13,0) 22%); }
.hero3__inner { position: relative; z-index: 2; padding: 72px 0 84px; width: min(100% - 40px, var(--maxw)); }
.hero3__copy { max-width: 600px; }
.hero3__badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero3 h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 22px; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.45); }
.hero3 h1 .accent { display: block; color: #3d9bff; }
.hero3 .lead { color: #d3dbe8; max-width: 520px; margin-bottom: 30px; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero3 .lead strong { color: #fff; }
.hero3__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9rem; color: #dfe6f1; }
.hero3__trust li::before { content: '✓'; color: #4ade80; font-weight: 700; margin-right: 7px; }
.hero3__flag { position: absolute; z-index: 3; top: 40px; right: max(20px, calc((100vw - var(--maxw)) / 2)); display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #e01d35, #b3121f); color: #fff; padding: 14px 22px 14px 16px; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 18px 40px rgba(200, 16, 46, 0.45); line-height: 1.05; animation: pop 0.8s 0.5s var(--ease) both; }
.hero3__bolt { font-size: 2rem; }
.hero3__flag strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.hero3__flag span { font-size: 0.95rem; font-weight: 600; font-style: italic; }
@keyframes pop { from { transform: scale(0.4) rotate(-20deg); opacity: 0; } to { transform: rotate(-5deg); opacity: 1; } }
@media (max-width: 900px) {
  .hero3 { display: block; min-height: 0; }
  .hero3__media { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .hero3__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,13,0.25) 0%, rgba(5,7,13,0) 30%, rgba(5,7,13,0) 60%, #05070d 100%); }
  .hero3__media svg { position: static; width: 92%; margin: 8% auto 0; }
  .hero3__shade { display: none; }
  .hero3__inner { padding: 0 0 48px; margin: -48px auto 0; }
  .hero3__flag { top: 14px; right: 14px; padding: 9px 14px 9px 10px; }
  .hero3__flag strong { font-size: 1.3rem; }
  .hero3__flag span { font-size: 0.72rem; }
  .hero3__bolt { font-size: 1.3rem; }
}

/* --- Hero v4: lineup photo on top, white text over the darkened road --- */
.hero3 { display: block; min-height: 0; }
.hero3__media { position: relative; width: 100%; aspect-ratio: 21 / 9; max-height: 80vh; min-height: 340px; }
.hero3__media .car-photo { object-position: 50% 58%; }
.hero3__media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,13,0.25) 0%, rgba(5,7,13,0) 18%, rgba(5,7,13,0) 58%, rgba(5,7,13,0.75) 80%, #05070d 100%); }
.hero3__shade { display: none; }
.hero3__inner { margin: -190px auto 0; padding: 0 0 76px; }
.hero3__copy { max-width: 980px; margin: 0 auto; text-align: center; }
.hero3 .lead { margin-inline: auto; max-width: 640px; }
.hero3 .btn-row, .hero3__trust { justify-content: center; }
.hero3 h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.hero3__flag { top: 32px; }
@media (max-width: 900px) {
  .hero3__media { aspect-ratio: 4 / 3; min-height: 0; }
  .hero3__media .car-photo { object-position: 50% 55%; }
  .hero3__inner { margin-top: -56px; padding-bottom: 48px; }
  .hero3__copy { text-align: left; }
  .hero3 .btn-row, .hero3__trust { justify-content: flex-start; }
}
.hero3__media::after { inset: 0 0 -3px 0; background: linear-gradient(180deg, rgba(5,7,13,0.25) 0%, rgba(5,7,13,0) 18%, rgba(5,7,13,0) 58%, rgba(5,7,13,0.78) 80%, #05070d 96%, #05070d 100%); }
.hero3__media { overflow: hidden; }
@media (max-width: 900px) {
  .hero3__media { aspect-ratio: 16 / 11; }
  .hero3__media .car-photo { object-position: 50% 66%; }
  .hero3__media::after { background: linear-gradient(180deg, rgba(5,7,13,0.2) 0%, rgba(5,7,13,0) 25%, rgba(5,7,13,0) 62%, rgba(5,7,13,0.8) 84%, #05070d 97%, #05070d 100%); }
}

/* --- Quick offer form section --- */
.offer-section { background: radial-gradient(90% 120% at 10% 0%, #13203d 0%, #05070d 60%); color: #fff; }
.offer-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.offer-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
.offer-copy h2 .accent { color: #3d9bff; }
.offer-copy .lead { color: #c9d3e3; }
.offer-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: #dfe6f1; }
.offer-points li { display: flex; gap: 10px; }
.offer-points li::before { content: '✓'; color: #4ade80; font-weight: 700; }
.offer-points strong { color: #fff; }
.offer-card { color: var(--ink); }
.qform { display: grid; gap: 22px; }
.qform__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform__group legend { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--grey-500); margin-bottom: 10px; padding: 0; }
.qcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qcard { position: relative; }
.qcard input, .qpill input { position: absolute; opacity: 0; pointer-events: none; }
.qcard label { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.qcard label strong { font-size: 0.98rem; }
.qcard label span { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.qcard input:checked + label { border: 2px solid var(--accent); padding: 13px 15px; background: #f8faff; }
.qcard input:focus-visible + label, .qpill input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.qcards--contact label { flex-direction: row; align-items: center; gap: 10px; }
.qcards--contact svg { width: 24px; height: 24px; flex-shrink: 0; }
.qcard--whatsapp svg { color: #1fa855; }
.qcard--phone svg { color: var(--accent); }
.qpills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qpill label { display: block; text-align: center; padding: 11px 6px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.qpill input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.qform .has-error .qcard label, .qform .has-error .qpill label { border-color: var(--danger); }
.qform__note { text-align: center; margin: -8px 0 0; }
@media (max-width: 900px) { .offer-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .qpills { grid-template-columns: 1fr 1fr; } .qcards { grid-template-columns: 1fr; } }

/* Header: never wrap; switch to the mobile menu earlier */
.nav a, .header-actions .btn, .visitors { white-space: nowrap; }
.nav a { padding: 8px 10px; }
@media (max-width: 1240px) {
  .menu-toggle { display: block; margin-left: auto; order: 3; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--white); padding: 12px 20px 24px; border-bottom: 1px solid var(--grey-200); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.25s var(--ease); box-shadow: var(--shadow); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; }
  .header-actions { order: 2; margin-left: auto; }
}
@media (max-width: 960px) { .header-actions .btn { display: none; } }
@media (max-width: 1240px) { .menu-toggle { margin-left: 8px; } }
.offer-points li { display: block; padding-left: 26px; position: relative; }
.offer-points li::before { position: absolute; left: 0; }

/* --- Availability form extras --- */
.qform__head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qform__head strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.qform__head span { font-size: 0.82rem; color: var(--success); font-weight: 600; }
.qsaved { background: #ecfdf3; color: #146c3c; border-radius: 10px; padding: 10px 14px; font-size: 0.85rem; font-weight: 500; }
.offer-copy .lead strong { color: #fff; }
.contact-now { margin-top: 28px; }
.contact-now p { color: #c9d3e3; margin-bottom: 10px; font-weight: 600; }
.contact-now .btn svg { width: 20px; height: 20px; }
.btn--whatsapp { background: #1fa855; color: #fff; font-weight: 600; }
.btn--whatsapp:hover { background: #178c46; }
.qcards--3 { grid-template-columns: repeat(3, 1fr); }
.qcard--used label span { color: #146c3c; }
.qcard--email svg { color: #7a5200; }
@media (max-width: 640px) { .qcards--3 { grid-template-columns: 1fr; } }
/* Vector logo */
.brand img { height: 38px; width: auto; }
.site-footer .brand img { height: 40px; }
@media (max-width: 520px) { .brand img { height: 30px; } }
