/* ==========================================================================
   Auto Claro: ac.css
   OV1's ov1.css (OV1 repository, main @ e0e9b0e) ported, in Variant B (Ed, 2026-10-16; reference
   docs/design/variant-b.html, which supersedes the first port): brand gold where OV1 is red, Castoro Titling
   for every display setting, and centered composition everywhere OV1 is left-justified. Two exceptions stay
   left-aligned inside a centered measure: running prose longer than three lines (.prose) and form fields.
   Every gold fill carries black text, hover goes dark with a gold ring, errors are never gold. Dark theme only
   (ruling 5, 2026-10-07): OV1's light theme, theme toggle and admin styles are not ported.
   Order: fonts · tokens · base · layout · signature elements · components · utilities · motion · Auto Claro additions.
   ========================================================================== */

/* --- Fonts (self-hosted woff2, public/assets/fonts; see fonts/README.md) ----------------------
   font-display: swap, so text paints in the fallback at once and the web font swaps in.
   The browser only requests a face when text on the page uses it, so these never block render. */
@font-face {
  font-family: "Castoro Titling";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/castoro-titling-400.woff2") format("woff2");   /* ASCII + the Spanish set; see fonts/README.md */
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

/* --- Tokens --------------------------------------------------------------------------------------
   Two layers, as in OV1. (1) Brand constants: the gold family, the gradients, pure white and black, the placeholder
   yellow. (2) Theme tokens: the semantic colors every rule reads (--bg, --surface, --text, --border …). OV1 also has a
   light set; Auto Claro is dark only (ruling 5). A later light theme needs its own darker gold for text and the focus
   ring (the brand gold is 1.8:1 on white). */
:root {
  /* --- brand constants --- */
  --white:          #FFFFFF;
  --white-rgb:      255, 255, 255;
  --black:          #000000;
  --black-rgb:      0, 0, 0;
  --brand-black:    #0A0A0A;   /* the brand black: the page field */
  /* Brand gold #FBB040 (Ed, 2026-10-19, replacing Variant B's orange). On #0A0A0A it is 10.7:1 as text;
     black on it is 11.4:1 (8.6:1 on the mid stop, 7.0:1 on the deep), so every gold FILL carries black text
     (--ac-on-gold). --ac-gold-deep is the base x 0.782, OV1's deep/base ratio (gradient ends, the stripe);
     --ac-gold-mid sits between the two.
     Errors are never gold: they read --ac-error. */
  --ac-gold:       #FBB040;
  --ac-gold-rgb:   251, 176, 64;
  --ac-gold-deep:  #C48A32;
  --ac-gold-mid:   color-mix(in srgb, var(--ac-gold-deep) 60%, var(--ac-gold));
  --ac-gold-glow:  rgba(var(--ac-gold-rgb), .32);
  --ac-on-gold:    #000000;
  --ac-error:        #FF6B66;   /* form errors only, never brand */
  /* Warmed toward the gold: pure grey next to gold looks dirty. Muted is meta text, body is running text on black. */
  --ac-muted:        #9F9A94;
  --ac-body:         #D6D2CC;
  --accent:         var(--ac-gold);
  --on-accent:      var(--ac-on-gold);   /* text on any gold fill */
  /* gradients (DreamBMW's system, OV1's shapes, in gold): 90deg accents and fills, 135deg for larger fills, a three-block stripe */
  --grad-gold:      linear-gradient(90deg, var(--ac-gold-deep), var(--ac-gold));
  --grad-gold-fill: linear-gradient(90deg, var(--ac-gold-mid), var(--ac-gold), var(--ac-gold-mid));   /* behind black text; 200% wide, drifting */
  --grad-gold-135:  linear-gradient(135deg, var(--ac-gold-deep), var(--ac-gold));
  --grad-stripe:      linear-gradient(90deg, var(--ac-gold-deep) 0 33.333%, var(--ac-gold) 33.333% 66.667%, var(--white) 66.667% 100%);
  --shimmer:        linear-gradient(90deg, transparent, rgba(var(--white-rgb), .15) 40%, rgba(var(--white-rgb), .25) 60%, transparent);
  --motion-shift:   10s;       /* one gradient loop: 8–12 s */
  --placeholder:    #FFE600;   /* fill-in markers only — never brand color */
  --placeholder-rgb: 255, 230, 0;
  --success:        #2E9E5B;
  --success-rgb:    46, 158, 91;
  /* type */
  /* Castoro Titling: a caps-only titling serif, 400 only, about 1.6 times wider per glyph than the condensed face it replaced, so
     every display size is about 30% smaller than before and tracked slightly open. font-synthesis: none on every use. */
  --font-display: "Castoro Titling", "Trajan Pro", Georgia, serif;
  --fs-h1: clamp(2rem, 5vw, 3.9rem);
  --fs-h2: clamp(1.45rem, 3vw, 2.35rem);
  --fs-h3: 1.05rem;
  --track-display: .04em;
  --font-body:    "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;               /* prices, terms */
  /* shape */
  --radius: 0;        /* square corners everywhere (client, v0.1.1). Round only: gauge graphics, the quarter-arc, native radios */
  --radius-pill: 0;
  /* motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 180ms;
  --rise: 16px;        /* fade-up travel */
  /* layout (derived, not brand tokens) */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 9vw, 112px);
  --nav-h: 64px;
}

/* --- Theme tokens (dark only, ruling 5) --- */
:root {
  color-scheme: dark;
  --bg:               var(--brand-black);   /* page field (#0A0A0A) */
  --bg-ink:           #000000;              /* nav / hero / page-head field */
  --surface:          #141414;              /* cards */
  --surface-2:        #1C1C1C;              /* hover / elevated */
  --surface-deep:     #111111;              /* media wells */
  --border:           #2A2A2A;              /* hairlines */
  --border-strong:    #3A3A3A;              /* hovered card edge */
  --text:             var(--white);
  --text-soft:        var(--ac-body);       /* running text and long-form prose */
  --text-muted:       var(--ac-muted);      /* meta text */
  --accent-text:      var(--ac-gold);       /* gold used AS text: 10.7:1 on the dark field */
  --focus:            var(--ac-gold);
  --selection-bg:     var(--ac-gold);
  --selection-text:   var(--ac-on-gold);
  --input-bg:         var(--brand-black);
  --input-border:     #6B6B6B;              /* 3.8:1 on #0A0A0A, 3.3:1 on #141414: the boundary of a control reads at 3:1 (WCAG 1.4.11) */
  --control-border:   #6B6B6B;              /* chips, icon buttons, the language toggle: same rule */
  --input-placeholder: #8A8A8A;             /* 4.6:1 on #0A0A0A (was #5f5f5f, 2.3:1) */
  --danger-text:      var(--ac-error);
  --hairline:         rgba(var(--white-rgb), .12);        /* §2.3 #4: 1px white @ 12% */
  --glow-alpha:       .10;                  /* the section's radial gold glow (Variant B) */
  --grid-alpha:       .025;                 /* the body's faint 60px gold grid */
  --shadow:           rgba(var(--black-rgb), .55);
  --ph-floor-a:       #1C1C1C;              /* branded placeholder: studio floor gradient … */
  --ph-floor-b:       #0B0B0B;
  --ph-logo:          rgba(var(--white-rgb), .2);         /* … and the logo on it, muted */
  --ph-sheen:         rgba(var(--white-rgb), .075);
}

/* --- Base --------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the attribute must beat any class that sets display (filtered cards, Clear chip) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background-color: var(--bg);
  /* faint 60px grid of 1px lines in the brand gold at 2.5% (DreamBMW's atmosphere, in gold) */
  background-image: linear-gradient(rgba(var(--ac-gold-rgb), var(--grid-alpha)) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(var(--ac-gold-rgb), var(--grid-alpha)) 1px, transparent 1px);
  background-size: 60px 60px;
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-color: var(--ac-gold); text-underline-offset: .2em; }
a:hover { color: var(--text); text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--selection-bg); color: var(--selection-text); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
small, .meta { color: var(--text-muted); font-size: .875rem; }

h1, h2, h3, h4, .display {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1.08;
  text-wrap: balance;   /* even lines, so no heading leaves one word alone on its last line */
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: .95rem; }

.lede { font-size: clamp(1.0625rem, 1.8vw, 1.125rem); line-height: 1.6; color: var(--text-soft); max-width: 62ch; margin-inline: auto; }
.eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  font: 600 11px/1.2 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 14px; background: var(--ac-gold); color: var(--ac-on-gold);   /* black on gold, 11.4:1 */
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; 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 { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .btn--gold, .mobile-bar__cell--gold, .cta-band, .card-bar::after, .deal-card::after, .band-tile::after, .quote::after, .form::after, .contact-channel::after, .step::after, .why-block__media::after, .marquee__track, .qarc { animation: none !important; }
  .marquee__track { transform: none !important; }
  .steps::after { transform: none !important; }
  html.js .fade-up, html.js .reveal > *, html.js .diagonals, html.js .divider__stripes { opacity: 1 !important; transform: none !important; }
  html.js .diagonals--right { transform: scaleX(-1) !important; }
  html.js .gauge .gauge__value { stroke-dasharray: var(--value) 100 !important; }
  html.js .qarc circle { stroke-dashoffset: 0 !important; animation: none !important; }
  .deal-ph__logo { animation: none !important; transform: none !important; }
}

/* --- Layout ------------------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); text-align: center; }   /* Variant B: everything sits on the page axis */
.wrap--narrow { max-width: 780px; }
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section--ink { background: var(--bg-ink); }
.section--line { border-top: 1px solid var(--border); }
/* Eyebrow, h2 and rule stack on the axis; the aside link or button OV1 puts at the right moves below, 18px gap */
.section__head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head > :first-child, .section__head h2 { margin-bottom: 0; }
.section__foot { margin-top: clamp(28px, 4vw, 48px); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack > * + * { margin-top: 1rem; }
ul.stack { list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   Signature elements (worksheet §2.3)
   ========================================================================== */

/* 1. Gauge arc — partials/gauge-arc.php. 270° sweep, gap at the bottom.
   The arc path uses pathLength="100", so --value (0–100) is the filled share of the sweep. */
.gauge {
  --value: 0;
  --gauge-size: 120px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--gauge-size);
  aspect-ratio: 1;
  flex: none;
}
.gauge__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge__face  { fill: var(--surface); }
.gauge__track { fill: none; stroke: var(--border); stroke-width: 6; stroke-linecap: round; }
.gauge__value {
  fill: none;
  stroke: var(--ac-gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: var(--value) 100;
  filter: drop-shadow(0 0 6px var(--ac-gold-glow));
  transition: stroke-dasharray 1.3s var(--ease);   /* the speedometer sweep (paint-only; see Motion below) */
}
html.js:not(.reduce) .gauge:not(.in) .gauge__value { stroke-dasharray: 0 100; }   /* zero until it enters view */
.gauge__ticks { stroke: var(--hairline); stroke-width: 1; }
.gauge__label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
}
.gauge__main { font-size: .95rem; font-variant-numeric: tabular-nums; }
.gauge__sub  { font: 600 calc(var(--gauge-size) * .085)/1 var(--font-body); letter-spacing: .08em; color: var(--text-muted); }
.gauge--sm { --gauge-size: 64px; }
.gauge--lg { --gauge-size: 168px; }
.gauge--badge { --gauge-size: 44px; }          /* section badge next to an eyebrow */
.gauge--loading .gauge__value { animation: gauge-sweep 1.4s var(--ease) infinite alternate; }
@keyframes gauge-sweep { from { stroke-dasharray: 4 100; } to { stroke-dasharray: 100 100; } }

/* 2. Gold rule — 40×3 gold bar under every H1/H2, centered on the axis (Variant B). Opt out per heading with .no-rule. */
h1::after, h2::after, .accent-rule::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: .35em auto 0;
  background: var(--grad-gold);
}
h1::after { margin-top: 20px; }
h2::after { margin-top: 16px; }
.no-rule::after { content: none; }

/* 3. Gold bullet — 6px gold dot, inline before the text so the list sits centered; items uppercase 12px, tracking .08em. */
.bullets { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 14px; justify-items: center; }
.bullets li {
  max-width: 56ch;
  font: 600 12px/1.5 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bullets li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 3px 0;
  vertical-align: middle;
  background: var(--ac-gold);
}
.bullets--lg li { font-size: 14px; }
/* Body-copy lists inside prose keep the gold dot but stay sentence case. */
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; background: var(--ac-gold); }

/* 4. Hairline diagonals — partials/diagonals.php. 1px white @ 12%, 4–6 lines, bottom-left.
   Decorative only; the partial is aria-hidden. */
.diagonals {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(160px, 28vw, 360px);
  height: auto;
  pointer-events: none;
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1;
}
.diagonals--right { left: auto; right: 0; transform: scaleX(-1); }

/* 5. Quarter-circle gold stroke — the big arc top-right of each post.
   2px stroke, 20% opacity, bleeding off the edge. Parent needs position: relative + overflow: hidden. */
.qarc {
  position: absolute;
  top: calc(var(--qarc-size, 520px) / -2);
  right: calc(var(--qarc-size, 520px) / -2);
  width: var(--qarc-size, 520px);
  height: var(--qarc-size, 520px);
  opacity: .2;
  pointer-events: none;
  overflow: visible;
  animation: qarc-drift 26s ease-in-out infinite alternate;   /* a very slow drift once drawn (transform only) */
}
.qarc circle { fill: none; stroke: var(--ac-gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
html.js:not(.reduce) .qarc circle { stroke-dasharray: 100 100; stroke-dashoffset: 100; animation: qarc-draw 1.6s var(--ease) .2s forwards; }   /* draws in on load */
.qarc--sm { --qarc-size: 320px; }
@media (min-width: 900px) { .qarc { --qarc-size: 820px; } .qarc--sm { --qarc-size: 440px; } }

/* 6. Price lockup — partials/price-lockup.php. "$418" display 40px · "/mo" 14px muted · tax pill.
   Numbers are tabular so columns line up in the deal grid (tnum where the face has it);
   the mono token is used for the term/miles row (see .deal-card__terms), not the headline price. */
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; line-height: 1; }
.price__amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: 28px;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums lining-nums;
}
.price__per { font-size: 14px; color: var(--text-muted); }
.price--withheld .price__withheld { font: 400 clamp(15px, 1.7vw, 18px)/1.1 var(--font-display); font-synthesis: none; text-transform: uppercase; letter-spacing: .03em; color: var(--text); }
.price--lg .price__amount { font-size: clamp(34px, 5vw, 50px); }
.pill {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.pill--gold { border-color: var(--ac-gold); color: var(--text); background: rgba(var(--ac-gold-rgb), .12); }

/* ==========================================================================
   Components (worksheet §2.4)
   ========================================================================== */

/* --- Buttons ------------------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: 600 13px/1 var(--font-body);   /* Variant B: buttons are Inter, as in the mockup; the display face is for headings */
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn--gold {
  position: relative; overflow: hidden; color: var(--on-accent);
  background: var(--grad-gold-fill); background-size: 200% 100%; border-color: var(--ac-gold-deep);
  animation: gold-shift var(--motion-shift) ease-in-out infinite alternate;   /* slow gradient drift; black label on every point of it */
}
.btn--gold::after {   /* the shimmer: a highlight that sweeps across on hover (transform only) */
  content: ""; position: absolute; inset: 0; width: 60%; background: var(--shimmer);
  transform: translateX(-100%); pointer-events: none;
}
.btn--gold:hover::after, .btn--gold:focus-visible::after { animation: shimmer-sweep 1.1s var(--ease) 1; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn--gold:hover:not(:disabled) { border-color: var(--ac-gold); box-shadow: 0 0 0 4px var(--ac-gold-glow); }
.btn--ghost { border-color: var(--control-border); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; font-family: var(--font-body); color: var(--ac-gold); }   /* the body face, wherever the link sits */

/* --- Nav ---------------------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg-ink); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.nav__logo img { height: 32px; width: auto; }
.logo-type {
  font: 400 22px/1 var(--font-display); font-synthesis: none;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
}
@media (max-width: 559px) { .nav__logo .logo-type { font-size: 19px; } }
.logo-type b { color: var(--accent-text); font-weight: 400; }
.nav__links { display: none; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 22px; }
.nav__links a {
  font: 600 13px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--ac-gold); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__phone { font: 600 14px/1 var(--font-body); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav__phone-label { display: none; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--control-border); border-radius: var(--radius); color: var(--text); cursor: pointer;
}
/* Menu button (v0.2.4): three lines. Opening, the outer two slide onto the middle, then turn into an X while the
   middle one turns vertical and fades; closing runs the same steps backwards (the delays swap with the state). */
.nav__burger { position: relative; display: block; width: 20px; height: 14px; }
.nav__burger > span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: currentColor;
  transition: top 150ms var(--ease) 150ms, transform 150ms var(--ease) 0ms, opacity 150ms var(--ease) 0ms;
}
.nav__burger > span:nth-child(1) { top: 0; }
.nav__burger > span:nth-child(2) { top: 6px; transition: transform 300ms var(--ease), opacity 150ms var(--ease); }
.nav__burger > span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .nav__burger > span { transition: top 150ms var(--ease) 0ms, transform 150ms var(--ease) 150ms, opacity 150ms var(--ease) 150ms; }
.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(2) { transform: rotate(90deg); opacity: 0; transition: transform 300ms var(--ease), opacity 150ms var(--ease) 150ms; }
.nav__toggle[aria-expanded="true"] .nav__burger > span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav__burger > span { transition-delay: 0ms !important; } }
.nav__drawer { display: none; border-top: 1px solid var(--border); background: var(--bg-ink); }
.nav__drawer ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.nav__drawer a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }   /* the drawer is unchanged in layout; Inter, as the mockup */
.nav[data-open] .nav__drawer { display: block; }
.cta-short { display: none; }
@media (max-width: 559px) { .cta-long { display: none; } .cta-short { display: inline; } }
.nav__phone-icon { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 559px) {
  .nav__actions { gap: 8px; }
  .nav__actions .btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .nav__phone { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--control-border); border-radius: var(--radius); }
  .nav__phone-text { display: none; }
  .nav__phone-icon { display: block; }
}
@media (min-width: 1024px) {
  .nav__inner > nav { flex: 1 0 auto; }   /* Variant B: the links sit centered between the wordmark and the actions; never narrower than the links */
  .nav__actions { margin-left: 0; }
  .nav__links { display: flex; flex-wrap: nowrap; }
  .nav__links a { white-space: nowrap; }
  .nav__toggle, .nav__drawer, .nav[data-open] .nav__drawer { display: none; }
  .nav__phone-label { display: inline; color: var(--text-muted); margin-right: 6px; }
}
/* Desktop: the wordmark, every link, the language toggle, the phone and the primary CTA must fit on one line, so the
   links are set a notch tighter than OV1's rather than dropping one (the credit application joined the row, Ed
   2026-10-14), and the nav button tracks closer than other buttons. Variant B sets buttons in Inter, wider than the
   old display face, so the tight setting now holds at every desktop width, a little tighter again below 1200px, and
   the Spanish row (its links run longest) shows the phone as its icon. The button shows its short label. */
@media (min-width: 1024px) {
  .nav__inner { gap: 16px; }
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 12px; letter-spacing: .05em; }
  .nav__actions .btn--sm { padding: 0 12px; letter-spacing: .06em; }
  .nav__actions .btn .cta-long { display: none; }
  .nav__actions .btn .cta-short { display: inline; }
  html[lang="es"] .nav__phone { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--control-border); }
  html[lang="es"] .nav__phone-text, html[lang="es"] .nav__phone-label { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__inner { gap: 12px; }
  .nav__links { gap: 10px; }
  .nav__links a { letter-spacing: .02em; }
}
/* Desktop: with the logo's tile (Ed, 2026-10-19) the row no longer fits a labelled button (the wrap stops at 1200px, so
   wider screens add no room), so the nav button shows its WhatsApp or phone icon alone; the link keeps its full label
   as aria-label, and the hero and CTA band carry the labelled WhatsApp buttons. */
@media (min-width: 1024px) {
  .nav__actions .btn--sm { width: 44px; padding: 0; font-size: 0; gap: 0; }
}
/* 1024-1099px in Spanish: the longest row, so the links and the logo close up too. */
@media (min-width: 1024px) and (max-width: 1099px) {
  html[lang="es"] .nav__logo .logo { gap: 6px; }
  html[lang="es"] .nav__links { gap: 8px; }
  html[lang="es"] .nav__links a { letter-spacing: 0; }
}

/* --- Hero --------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-ink);
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 12vw, 140px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; } /* the family and the car sit right of centre: a centred crop cuts them off */
@media (max-width: 767px) { .hero__media img, .hero__media video { object-position: 68% center; } }   /* phones: keeps the family and the bow in frame at 390px (Ed, 2026-10-15) */
.hero::before {        /* keep type legible over any frame of the loop */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* Variant B centers the type, so the wash is centered too: at least 84% black across the middle 64% of the width,
     where the headline and buttons sit, fading to 50% at the edges so the loop still reads. 84% black over a
     pure-white pixel leaves L = .16, i.e. white text at 5.0:1 (the first port's measurement). The loop was graded
     for a left-aligned layout: whether it still sits well is a follow-up for Ed. Phones (≤ 719px) keep the
     vertical wash below. A faint gold glow sits over the top, as in the mockup. */
  background: radial-gradient(55% 55% at 50% 35%, rgba(var(--ac-gold-rgb), .10), transparent 70%),
              linear-gradient(90deg, rgba(var(--black-rgb), .5) 0%, rgba(var(--black-rgb), .84) 18%, rgba(var(--black-rgb), .84) 82%, rgba(var(--black-rgb), .5) 100%),
              linear-gradient(0deg, var(--bg-ink) 0%, transparent 30%);
}
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 719px) { .hero::before { background: linear-gradient(0deg, var(--bg-ink) 0%, rgba(var(--black-rgb), .72) 45%, rgba(var(--black-rgb), .55) 100%); } }
.hero h1 { max-width: 24ch; margin-inline: auto; font-size: var(--fs-h1); }
.hero__sub { max-width: 58ch; margin: 22px auto 28px; font-size: clamp(1.0625rem, 1.8vw, 1.125rem); color: var(--text-soft); }
.hero__trust { margin-top: 26px; font-size: 13px; color: var(--text-muted); letter-spacing: .02em; justify-content: center; }
.hero__trust span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; vertical-align: middle; background: var(--ac-gold); }   /* a dot before each item, so a centered wrap never starts a line with a separator */
.hero--page { min-height: 0; padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--border); }
.hero--page::before { content: none; }
.hero--page h1 { max-width: 24ch; }
.hero--page .diagonals { width: clamp(96px, 12vw, 160px); }

/* --- Band tiles --------------------------------------------------------------------------------- */
.band-tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .band-tiles { grid-template-columns: repeat(3, 1fr); } }
.band-tile {
  position: relative;
  display: flex;
  flex-direction: column;   /* gauge on top, then range, note, link, all on the axis */
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.band-tile:hover { background: var(--surface-2); border-color: var(--ac-gold); transform: translateY(-2px); }
.band-tile:hover .gauge__value { stroke-dasharray: 100 100; }
.band-tile__range { display: block; font: 400 1.15rem/1.1 var(--font-display); font-synthesis: none; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.band-tile__count { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.band-tile__count strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* --- Brand strip (typographic only — no OEM logos, §2.5) --------------------------------------- */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.brand-strip li { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 479px) { .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-strip a { font-size: 14px; padding: 14px 12px; overflow-wrap: anywhere; } }
.brand-strip a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 100%; min-height: 72px; padding: 16px 18px;
  background: var(--bg);
  font: 400 1rem/1.05 var(--font-display); font-synthesis: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.brand-strip a:hover { background: var(--surface-2); }
.brand-strip__count { flex: none; min-width: 28px; padding: 3px 7px; border-radius: var(--radius-pill); background: var(--surface-2); font: 600 12px/1.2 var(--font-body); text-align: center; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.brand-strip a:hover .brand-strip__count { background: var(--ac-gold); color: var(--ac-on-gold); }   /* 12px black on gold */

/* --- Deal card / grid / filter bar (skeletons until Sprint 2) --------------------------------- */
/* Variant B: a centered wrap with OV1's column counts (1, then 2 from 620px, then 3 from 900px), so a short last row
   or a single card sits on the axis instead of at the left */
.deal-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; list-style: none; margin: 0; padding: 0; }
.deal-grid > li { flex: 1 1 270px; max-width: 100%; }
@media (min-width: 620px) { .deal-grid > li { max-width: calc((100% - 16px) / 2); } }
@media (min-width: 900px) { .deal-grid > li { max-width: calc((100% - 32px) / 3); } }
.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.deal-card:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-2px); }
.deal-card__media { aspect-ratio: 16 / 10; background: var(--surface-deep); display: grid; }
.deal-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Branded placeholder (v0.2.1) where an offer has no image_path. The logo is the header's SVG drawn through a CSS
   mask (no new file); muted grey = white at 20%; a soft shadow under it; a slow ±4px float, transform only, phase
   staggered per offer by --ph-delay (set in the markup from the slug). Reduced motion: still, in the block above. */
.deal-ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 55% at 50% -5%, var(--ph-sheen) 0%, transparent 70%), linear-gradient(160deg, var(--ph-floor-a) 0%, var(--ph-floor-b) 100%); }
/* .deal-ph__logo (OV1 drew its logo through a CSS mask) is not ported: Prompt 6 adds Auto Claro's placeholder art. */
@keyframes ph-float { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
.deal__media { max-width: 560px; aspect-ratio: 16 / 10; margin: 18px 0 0; background: var(--surface-deep); border: 1px solid var(--border); display: grid; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__media--ended { opacity: .7; }
/* Uploaded offer photo (v0.3): fills the same 16:10 box as the placeholder (fixed width/height on the <img>, so no
   layout shift). A representative photo's caption sits over its bottom edge, inside the box. */
.deal-photo { position: relative; margin: 0; width: 100%; height: 100%; overflow: hidden; }
.deal-photo picture, .deal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deal-photo__note { position: absolute; inset: auto 0 0 0; padding: 14px 10px 6px; font-size: 11px; line-height: 1.3; color: #F2F2F2;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.deal__media .deal-photo__note { font-size: 12px; padding: 18px 14px 8px; }
.deal-card__body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 18px 18px; flex: 1; }
.deal-card__year { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.deal-card__title { margin: 0; font-size: var(--fs-h3); line-height: 1.15; }
.deal-card__title a { text-decoration: none; }
.deal-card__title a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.deal-card__terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--border); border-top: 1px solid var(--border); }
.deal-card__terms div { padding: 10px 12px; background: var(--surface); }
.deal-card:hover .deal-card__terms div { background: var(--surface-2); }
.deal-card__terms dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.deal-card__terms dd { margin: 2px 0 0; font: 500 14px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }
.deal-card__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.deal-card__disclosure { padding: 10px 18px 14px; font-size: 11px; line-height: 1.45; color: var(--text-muted); }
.deal-card--skeleton .skel { display: block; background: var(--surface-2); color: transparent; }
.deal-card--skeleton:hover { transform: none; }
@media (max-width: 719px) { .deal-grid--preview > li:nth-child(n+5) { display: none; } }  /* home: 4 cards on phones */

.filter-bar {
  position: sticky; top: var(--nav-h); z-index: 20;
  display: flex; justify-content: safe center; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-bottom: 24px; padding: 12px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.filter-bar::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--control-border); border-radius: var(--radius-pill);
  color: var(--text); font: 600 13px/1 var(--font-body); letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"], .chip:hover { border-color: var(--ac-gold); }
.chip[aria-pressed="true"] { background: rgba(var(--ac-gold-rgb), .14); }
.chip select { appearance: none; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

/* --- Steps (How it works 01–04) ----------------------------------------------------------------- */
/* Variant B, as the mockup: no cells; a 2px track along the top that the scroll stripe fills from the middle, and each
   step centered under it: numeral, title, body at 32ch. */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0; padding: 32px 0 0; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--border); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 12px 0; }
.steps > .step::after { content: none; }   /* no card bar: the steps are not cards here */
.step__num { display: block; margin-bottom: 14px; font: 400 2.4rem/1 var(--font-display); font-synthesis: none; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px var(--ac-gold); font-variant-numeric: tabular-nums; }
.step__title { margin: 0 0 10px; font-size: var(--fs-h3); }
.step p { margin: 0; max-width: 32ch; color: var(--text-soft); font-size: 15px; }

/* --- Why block ---------------------------------------------------------------------------------- */
.why-block { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .why-block { grid-template-columns: 1fr 1fr; } .why-block--flip .why-block__media { order: -1; } .why-block--solo { grid-template-columns: minmax(0, 720px); } }
.why-block__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.why-block__media img { width: 100%; height: 100%; object-fit: cover; }
.why-block__media--empty { display: grid; place-items: center; border: 1px dashed var(--border); }

/* --- Testimonials ------------------------------------------------------------------------------- */
.testimonials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.quote { position: relative; margin: 0; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform var(--dur) var(--ease); }
.quote:hover { transform: translateY(-2px); }
.quote::before { content: "\201C"; display: block; height: .5em; font: 400 2.6rem/1 var(--font-display); font-synthesis: none; color: var(--ac-gold); }   /* centered above the quote */
.quote blockquote { margin: 18px 0 18px; font-size: 16px; }
.quote figcaption { font-size: 13px; color: var(--text-muted); }
.quote figcaption strong { color: var(--text); font-weight: 600; }

/* --- FAQ (native <details> accordion) ----------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
/* Variant B: the question centered, a plus/minus pinned to the right edge; the answer centered at 64ch */
.faq summary {
  position: relative;
  display: block;
  padding: 22px 40px;
  font: 600 17px/1.35 var(--font-body);
  text-align: center;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font: 400 22px/1 var(--font-body); color: var(--ac-gold);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--text); }
.faq__answer { padding: 0 40px 24px; margin-inline: auto; text-align: center; color: var(--text-soft); max-width: 64ch; }

/* --- CTA band ----------------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); color: var(--on-accent); background: var(--grad-gold-fill); background-size: 200% 100%; animation: gold-shift var(--motion-shift) ease-in-out infinite alternate; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-stripe); }   /* the signature stripe: deep gold / gold / white */
.cta-band--black { background: var(--bg-ink); border-block: 1px solid var(--border); animation: none; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }   /* stacked on the axis: h2, phone, buttons */
.cta-band h2 { margin: 0 auto; max-width: 22ch; }
.cta-band:not(.cta-band--black) h2::after { background: var(--on-accent); }
.cta-band__phone { display: inline-block; margin-top: 18px; font: 500 1.25rem/1 var(--font-mono); letter-spacing: .02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-band:not(.cta-band--black) .btn { border-color: var(--black); color: var(--black); }   /* black outline buttons on gold */
.cta-band:not(.cta-band--black) :is(.btn--ink, .btn--gold) { background: var(--bg-ink); border-color: var(--bg-ink); color: var(--white); animation: none; }   /* the black primary, white text (a gold button on the gold band turns black, as in the mockup) */
.cta-band:not(.cta-band--black) .btn:hover { background: var(--surface-2); border-color: var(--surface-2); color: var(--white); box-shadow: 0 0 0 4px rgba(var(--black-rgb), .3); }
.cta-band:not(.cta-band--black) :focus-visible { outline-color: var(--black); }   /* a gold ring would vanish on the gold band */
.cta-band .diagonals { stroke: rgba(var(--black-rgb), .2); }

/* --- Lead form ---------------------------------------------------------------------------------- */
/* Exception 2 (Variant B): form fields stay left-aligned inside a centered form block; headings, intro copy and the
   submit row are centered (.prequal__step > legend, .prequal__actions). */
.form { position: relative; display: grid; gap: 18px; width: 100%; max-width: 720px; margin-inline: auto; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.field .req { color: var(--accent-text); }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--text);
  font: 400 16px/1.4 var(--font-body);   /* 16px stops iOS zoom-on-focus */
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ac-gold) 50%), linear-gradient(135deg, var(--ac-gold) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ac-gold); box-shadow: 0 0 0 3px var(--ac-gold-glow); }
.input::placeholder, .textarea::placeholder { color: var(--input-placeholder); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ac-gold); }
.form__note { font-size: 12px; color: var(--text-muted); margin: 0; }
.form__alert { margin: 0; padding: 12px 14px; border-left: 3px solid var(--ac-error); background: rgba(255, 107, 102, .1); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; }   /* errors are never gold */
.form__alert a { color: var(--text); }
.field__error { margin: 0; font-size: 13px; color: var(--danger-text); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--ac-error); }
.hp { position: absolute !important; left: -9999px !important; } /* honeypot */

.contact-channels { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); list-style: none; margin: 0; padding: 0; }
.contact-channel {
  position: relative; display: grid; gap: 10px; height: 100%; padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.contact-channel:hover { background: var(--surface-2); border-color: var(--ac-gold); color: var(--text); transform: translateY(-2px); }
.contact-channel .eyebrow { margin: 0; }
.contact-channel__value { font: 400 clamp(16px, 1.9vw, 21px)/1.15 var(--font-display); font-synthesis: none; letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
a.contact-channel .contact-channel__value::after { content: " \2192"; font-family: var(--font-body); color: var(--ac-gold); }   /* arrows are always the body face: Castoro Titling has none */

/* --- Footer ------------------------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--bg-ink); border-top: 0; padding-block: clamp(48px, 7vw, 80px) 28px; font-size: 14px; color: var(--text-muted); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer__tagline { font: 400 .9rem/1.2 var(--font-display); font-synthesis: none; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.footer h2 { font: 600 12px/1 var(--font-body); letter-spacing: .12em; color: var(--text); margin-bottom: 16px; }
.footer h2::after { content: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--ac-gold); }
.footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-size: 12px; }
.footer__legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }

/* --- Prose (long-form static pages) ------------------------------------------------------------- */
/* Exception 1 (Variant B): running prose longer than three lines stays left-aligned inside a centered 65ch measure;
   its headings are still centered. Centered body text at that length is a readability hit, most of all for readers
   in their second language. */
.prose { max-width: 65ch; margin-inline: auto; text-align: left; font-size: 17px; line-height: 1.7; color: var(--text-soft); }
.wrap.prose { max-width: calc(65ch + 2 * var(--gutter)); }
.prose :is(h1, h2, h3, h4) { text-align: center; }
.prose h2 { margin-top: 2.2em; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--text); }
.prose a { color: var(--text); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.table-scroll { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; }
@media (max-width: 599px) { .prose .table-scroll th, .prose .table-scroll td { padding: 10px 8px; font-size: 13px; line-height: 1.45; } .prose .table-scroll th { font-size: 10px; } }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--surface); border-left: 3px solid var(--ac-gold); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose ol { padding-left: 1.4em; }
.prose ol li { margin-bottom: .5em; }
.prose ol li::marker { color: var(--ac-gold); font-weight: 600; }
/* Outside prose a callout is short and centered, so its bar moves to the top edge (OV1's 3px card bar); inside prose it
   stays left-aligned with the bar on the left. */
.callout { max-width: 72ch; margin: 2em auto; padding: 20px 22px; background: var(--surface); border-top: 3px solid var(--ac-gold); border-radius: var(--radius); }
.prose .callout { max-width: none; margin: 2em 0; border-top: 0; border-left: 3px solid var(--ac-gold); border-radius: 0 var(--radius) var(--radius) 0; }
.callout > :last-child { margin-bottom: 0; }

/* The credit application's Jotform frame (Ed, 2026-10-14): on the page's black field, no card or border. Jotform's embed
   handler sets its height to the form's; the minimum holds the space until then, or for good if the handler is blocked. */
.jotform-frame { display: block; width: 100%; min-height: 900px; border: 0; background: #0A0A0A; }

/* --- Disclosure block (§4.4) -------------------------------------------------------------------- */
.disclosure { font-size: 12px; line-height: 1.55; color: var(--text-muted); max-width: 72ch; margin-inline: auto; }   /* centered at 72ch everywhere */

/* ==========================================================================
   Build-time markers — must be impossible to miss, so they can't ship unnoticed
   ========================================================================== */

/* Fill-in placeholder (License #____, entity ____, hours ____, phone ____ …). Shown in every
   environment on purpose: a yellow block on a black site is its own launch blocker. */
.ph {
  display: inline;
  padding: 1px 5px;
  background: var(--placeholder);
  color: var(--black);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
a .ph, .ph a { color: var(--black); }

/* Legal pages pending counsel review — rendered only when APP_ENV is not production. */
.draft-banner {
  position: relative;
  z-index: 60;
  padding: 10px var(--gutter);
  background: var(--placeholder);
  color: var(--black);
  font: 700 13px/1.4 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

/* --- Utilities ---------------------------------------------------------------------------------- */
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-text); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

/* --- Specials pages (OV1's; Auto Claro's arrive with Prompt 6): page head, stamp, chips, deal detail ------ */
.page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); background: var(--bg-ink); border-bottom: 1px solid var(--border); }
.page-head h1 { margin-bottom: .5em; }
.stamp { margin: 0 0 14px; font: 600 12px/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.stamp a { text-decoration: none; }
.stamp a:hover { text-decoration: underline; }
.band-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pill--link { text-decoration: none; padding: 6px 12px; font-size: 13px; }
.pill--link:hover { border-color: var(--ac-gold); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.chip--search { padding-left: 10px; }
.chip--search svg { width: 16px; height: 16px; fill: none; stroke: var(--text-muted); stroke-width: 2; }
.chip--search input { width: 11em; background: none; border: 0; color: inherit; font: inherit; outline: none; }
.chip--search input::placeholder { color: var(--text-muted); }
.chip--search:focus-within { border-color: var(--ac-gold); }
.chip--reset { color: var(--accent-text); }
.filter-bar select option { background: var(--surface); }
.filter-count { margin: -8px 0 16px; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.filter-empty { padding: 32px 0; color: var(--text-muted); }
.link-btn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; text-decoration: underline; text-decoration-color: var(--ac-gold); text-underline-offset: .2em; cursor: pointer; }
.qchip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; background: var(--surface-2); border: 1px solid var(--border); font: 600 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); list-style: none; }
.qchip--hot { border-color: var(--ac-gold); color: var(--text); background: rgba(var(--ac-gold-rgb), .14); }
.deal-card__chips { margin: 0; padding: 0; }
.deal-card__footer { margin: 0; border-top: 1px solid var(--border); padding: 8px 18px 10px; font-size: 11px; line-height: 1.5; color: var(--text-muted); }
.deal-card__footer a { position: relative; z-index: 1; }   /* above the whole-card link */
.disclosure-block { padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.disclosure-block__h { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.disclosure-block__h::after { content: none; }
.disclosure-block .disclosure { margin: 0 auto; }
.disclosure-block .disclosure + .disclosure { margin-top: 8px; }
.disclosure--version { font-size: 11px; }
.page-head--deal .eyebrow { color: var(--accent-text); }
.deal__lockup { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 20px 48px; margin: 18px 0 20px; }
.deal__lockup--ended .price { opacity: .55; }
.deal-card--ended .price, .deal-card--ended .deal-card__terms { opacity: .55; }   /* ended offer: pricing demoted */
.deal-card--ended .deal-card__footer strong { color: var(--text); font-weight: 600; }
.deal__terms { display: flex; flex-wrap: wrap; gap: 12px 32px; flex: 1 1 320px; min-width: 0; margin: 0; }   /* a wrapping row beside the price; it was an auto-fit grid inside a flex item with no definite width, so it stacked in one column (fixed 2026-10-03) */
.deal__terms > div { flex: 0 0 auto; }
.deal__terms dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.deal__terms dd { margin: 3px 0 0; font: 500 16px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }
.deal__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 18px; padding: 0; }
.deal__note { max-width: 62ch; margin: 0 auto 22px; padding: 12px 16px; background: var(--surface); border-left: 3px solid var(--ac-gold); border-radius: 0 var(--radius) var(--radius) 0; }
.deal__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .deal__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; } }
.total-cost { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.total-cost h2 { font-size: 1.15rem; }
.total-cost__rows { margin: 0; }
.total-cost__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.total-cost__rows dt { color: var(--text-muted); }
.total-cost__rows dd { margin: 0; font: 500 16px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }
.total-cost__sum dt { color: var(--text); font-weight: 600; }
.total-cost__sum dd { font-size: 22px; color: var(--text); }
.total-cost__foot { margin: 14px 0 0; font-size: 12px; color: var(--text-muted); }
.deal__aside h2 { font-size: 1.15rem; }
.deal__steps { margin: 0 0 20px; padding-left: 1.3em; color: var(--text-soft); }
.deal__steps li { margin-bottom: 8px; }
.deal__steps li::marker { color: var(--ac-gold); font-weight: 600; }
.deal__expiry { margin: 0 0 16px; font-size: 14px; color: var(--text-muted); }
.deal__expiry strong { color: var(--text); }
.ended-panel { margin: 0 auto 22px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--ac-gold); border-radius: 0 var(--radius) var(--radius) 0; max-width: 70ch; }
.ended-panel__big { font: 400 clamp(16px, 2.1vw, 20px)/1.15 var(--font-display); font-synthesis: none; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
.ended-panel p:last-child { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ==========================================================================
   Motion & brand gradients (v0.1.3, client creative pass — DECISIONS 2026-10-03)
   Rules: animate transform and opacity, plus background-position on the gradient layers; nothing that
   lays out. The one paint-only exception is the gauge/arc sweep (stroke-dasharray), which cannot be done
   with a transform on an SVG stroke. prefers-reduced-motion: no motion at all (block above), final states.
   JS marks <html> with .js (inline, before paint) and .io once the reveal observer runs; without either,
   nothing is ever hidden (the failsafe keyframe covers a script that loaded but failed).
   ========================================================================== */
@keyframes gold-shift     { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes shimmer-sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes bar-shimmer   { 0% { background-position: -100% 0, 0 0; } 14% { background-position: 200% 0, 0 0; } 100% { background-position: 200% 0, 0 0; } }
@keyframes qarc-draw     { to { stroke-dashoffset: 0; } }
@keyframes qarc-drift    { from { transform: translate(0, 0); } to { transform: translate(-6px, 8px); } }
@keyframes marquee       { to { transform: translateX(-50%); } }
@keyframes ac-failsafe  { to { opacity: 1; transform: none; } }

/* 3px top bar on cards and panels: deep gold → gold, with a shimmer that passes about every 9 s (not constantly).
   Two background layers on one pseudo-element; only background-position moves. --i staggers the pass per card. */
.deal-card::after, .band-tile::after, .quote::after, .form::after, .contact-channel::after, .step::after, .why-block__media::after, .card-bar::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; pointer-events: none;
  background: var(--shimmer) no-repeat -100% 0 / 40% 100%, var(--grad-gold);
  opacity: .78;
  transition: opacity var(--dur) var(--ease);
  animation: bar-shimmer 9s linear infinite;
  animation-delay: calc(var(--i, 0) * -1.3s);
}
.deal-card:hover::after, .band-tile:hover::after, .quote:hover::after, a.contact-channel:hover::after, .step:hover::after { opacity: 1; }   /* the bar brightens on hover */
.deal-card--skeleton::after { animation: none; opacity: .4; }
:is(.deal-grid, .band-tiles, .testimonials, .contact-channels, .steps) > :nth-child(5n+2) { --i: 1; }
:is(.deal-grid, .band-tiles, .testimonials, .contact-channels, .steps) > :nth-child(5n+3) { --i: 2; }
:is(.deal-grid, .band-tiles, .testimonials, .contact-channels, .steps) > :nth-child(5n+4) { --i: 3; }
:is(.deal-grid, .band-tiles, .testimonials, .contact-channels, .steps) > :nth-child(5n+5) { --i: 4; }

/* Section atmosphere: a radial gold glow at the top of every section, under the content */
.section { isolation: isolate; }
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--ac-gold-rgb), var(--glow-alpha)), transparent 70%);
}
.section--ink::before { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--ac-gold-rgb), calc(var(--glow-alpha) - .01)), transparent 70%); }

/* Segmented stripe on the footer's top edge (the CTA band has the same, above) */
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-stripe); }

/* Stripes: the hairline diagonals draw in (scaleX from the left) when they enter view; the full-bleed divider
   (partials/divider.php) is the same lines as a band between major sections. */
html.js:not(.reduce) .diagonals { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--ease); }
html.js:not(.reduce) .diagonals--right { transform: scaleX(0); transform-origin: right center; }
html.js .diagonals.in { transform: scaleX(1); }
html.js .diagonals--right.in { transform: scaleX(-1); }
.divider { position: relative; height: 44px; overflow: hidden; pointer-events: none; }
.divider__stripes { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--hairline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.divider__stripes line { vector-effect: non-scaling-stroke; }
html.js:not(.reduce) .divider__stripes { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease); }
html.js .divider__stripes.in { transform: scaleX(1); }

/* How it works: a stripe runs along the steps and fills as the visitor scrolls through them (--p from site.js) */
.steps { position: relative; }
.steps::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--grad-gold); transform: scaleX(var(--p, 0)); transform-origin: 50% 50%; transition: transform .25s linear; pointer-events: none; z-index: 1; }   /* grows from the middle */
html:not(.js) .steps::after { transform: none; }

/* Reveal: short fade + 16px rise, once, staggered across grids (DreamBMW's .fade-up / .d1–.d4) */
html.js .fade-up, html.js .reveal > * {
  opacity: 0; transform: translateY(var(--rise));
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html.js:not(.io) .fade-up, html.js:not(.io) .reveal > * { animation: ac-failsafe .4s var(--ease) 1.2s forwards; }   /* failsafe: nothing stays hidden */
html.js .fade-up.in, html.js .reveal > .in, html.js .reveal.in > * { opacity: 1; transform: none; }
.d1, .reveal > :nth-child(4n+2) { transition-delay: .1s; }
.d2, .reveal > :nth-child(4n+3) { transition-delay: .2s; }
.d3, .reveal > :nth-child(4n+4) { transition-delay: .3s; }
.d4, .reveal > :nth-child(4n+5) { transition-delay: .4s; }

/* Brand strip as a slow continuous text marquee (two copies of the list; the second is aria-hidden) */
.marquee { overflow: hidden; border-block: 1px solid var(--border); -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 6%, var(--black) 94%, transparent); mask-image: linear-gradient(90deg, transparent, var(--black) 6%, var(--black) 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee .brand-strip { display: flex; flex: none; border: 0; }
.marquee .brand-strip li { border: 0; border-right: 1px solid var(--border); }
.marquee .brand-strip a { min-height: 64px; padding: 14px 28px; white-space: nowrap; }
html:not(.js) .marquee__track { width: auto; display: block; animation: none; }
html:not(.js) .marquee .brand-strip { display: grid; }
html:not(.js) .marquee .brand-strip--copy { display: none; }
@media (prefers-reduced-motion: reduce) { .marquee__track { width: auto; display: block; } .marquee .brand-strip { display: grid; } .marquee .brand-strip--copy { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* Count-up numbers keep their width while the digits change */
[data-count] { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Auto Claro additions (brief section 3), in OV1's language
   ========================================================================== */

/* Gold fills keep black text on hover too: the base a:hover turns links white, which would sit on gold. */
.skip-link:hover { color: var(--ac-on-gold); }
.cta-band:not(.cta-band--black) a:not(.btn):hover { color: var(--black); text-decoration-color: var(--black); }

/* Icons (partials/icon.php, from the legacy app) */
.icon { width: 16px; height: 16px; flex: none; }
.icon--stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; }
.icon--check { stroke-width: 2.4; }
.icon--arrow { stroke-width: 2; }
.btn .icon { width: 18px; height: 18px; }

/* The logo: the cone tile (Ed, 2026-10-19) beside the wordmark, AUTO<b>CLARO</b> in Castoro Titling, CLARO in gold at
   weight 400 (the face has one weight; the .logo-type rules above). The tile is 1:2; its size is set in the markup. */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; flex: none; width: 16px; height: 32px; }
.logo--lg { gap: 14px; }
.logo--lg .logo-mark { width: 22px; height: 44px; }
@media (max-width: 559px) { .nav__logo .logo { gap: 8px; } .nav__logo .logo-mark { width: 14px; height: 28px; } }
@media (max-width: 359px) { .nav__logo .logo-mark { display: none; } }   /* below the 360px floor the wordmark stands alone */
.logo-type { white-space: nowrap; }
.logo-type--lg { font-size: 30px; }   /* the footer */
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p { max-width: 42ch; margin-inline: auto; }

/* Two-part headlines: the second part in gold */
h1 .accent, h2 .accent { color: var(--accent-text); }

/* Square EN/ES toggle: the current language is a gold fill with black text */
.lang-toggle { display: inline-flex; flex: none; border: 1px solid var(--control-border); }
.lang-toggle__opt {
  display: inline-grid; place-items: center; width: 40px; height: 38px;
  font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-decoration: none; color: var(--text-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-toggle__opt + .lang-toggle__opt { border-left: 1px solid var(--control-border); }
.lang-toggle__opt:not([aria-current]):hover { color: var(--text); background: var(--surface-2); }
.lang-toggle__opt[aria-current="true"], .lang-toggle__opt[aria-current="true"]:hover { background: var(--ac-gold); color: var(--ac-on-gold); }

/* Nav phone (the icon stands alone below 560px, like OV1's) */
.nav__phone { display: inline-flex; align-items: center; gap: 8px; }
.nav__phone .icon { width: 18px; height: 18px; }
/* Where the header is tight (tablets, and 1024 to 1199px where the Spanish links are long) the phone is its icon alone. */
@media (max-width: 767px), (min-width: 1024px) and (max-width: 1199px) {
  .nav__phone { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--control-border); }
  .nav__phone-text { display: none; }
}
@media (max-width: 639px) {
  /* Phones: the mobile action bar carries Call and WhatsApp, so the header keeps the logo, the language toggle and the
     menu (OV1's phone icon and CTA would push it past the screen next to the toggle; up to 639px since the logo
     gained its tile, Ed 2026-10-19). */
  .nav__actions .nav__phone, .nav__actions .btn { display: none; }
  .nav__inner { gap: 12px; }
}

/* Mobile action bar: Call · WhatsApp (gold) · Apply · Specials, fixed to the bottom below 1024px */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  background: var(--bg-ink); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 60px; padding: 8px 4px;
  font: 600 11px/1.1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-align: center;
  text-decoration: none; color: var(--text);
}
.mobile-bar__cell + .mobile-bar__cell { border-left: 1px solid var(--border); }
.mobile-bar__cell .icon { width: 20px; height: 20px; }
.mobile-bar__cell--gold, .mobile-bar__cell--gold:hover { background: var(--ac-gold); color: var(--ac-on-gold); }
.mobile-bar__cell--gold:focus-visible { outline-color: var(--black); outline-offset: -4px; }
.mobile-bar__cell--pending { color: var(--text-muted); text-transform: none; letter-spacing: 0; }
body.has-mobile-bar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  body.has-mobile-bar { padding-bottom: 0; }
}

/* Layout helpers */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.faq-split { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; } }
.text-soft { color: var(--text-soft); }
.panel { position: relative; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.panel h3 { margin-top: .25em; }

/* The promise card: "Your car. Your payment. No runaround." and its three numbered points */
.promise-card { position: relative; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.promise-card .eyebrow { margin-bottom: .5rem; }
.promise-card__line { margin: 0 auto 24px; max-width: 24ch; font: 400 clamp(1.5rem, 3.3vw, 2.5rem)/1.12 var(--font-display); font-synthesis: none; letter-spacing: .04em; text-transform: uppercase; text-wrap: balance; color: var(--text); }
.promise-card__points { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 20px; }
@media (min-width: 900px) { .promise-card__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.promise-card__points li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; color: var(--text-soft); }   /* numeral above, text centered */
.promise-card__num { font: 400 1.25rem/1 var(--font-display); font-synthesis: none; letter-spacing: .04em; color: var(--accent-text); font-variant-numeric: tabular-nums; }

/* Hero trust line: legacy trust items, OV1's gold dots between them */
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }

/* Who we help: the customer types as pills */
.customers h2 { max-width: 20ch; margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.pills .pill { padding: 7px 11px; font-size: 12px; white-space: normal; }

/* The Spanish-first block */
.spanish-block { position: relative; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.spanish-block__title { margin: 0 0 12px; font: 400 clamp(1.3rem, 2.4vw, 1.65rem)/1.12 var(--font-display); font-synthesis: none; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.spanish-block .btn-row { margin-top: 22px; }

/* City tiles: the nine launch cities with their ZIP */
/* Variant B, as the mockup's city strip: tiles that wrap and center on the axis, the ZIP as a small count tag */
.city-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.city-tile { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; }
.city-tile__name { font: 400 1rem/1.1 var(--font-display); font-synthesis: none; letter-spacing: .08em; text-transform: uppercase; }
.city-tile__zip { padding: 4px 7px; background: var(--surface-2); font: 500 11px/1 var(--font-mono); color: var(--text-muted); font-variant-numeric: tabular-nums; }
a.city-tile { transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
a.city-tile:hover { background: var(--surface-2); border-color: rgba(var(--ac-gold-rgb), .6); color: var(--text); }

/* How it works: what's included (gold checks) and what you'll never get (crosses) */
/* Centered like the bullets: the check or the × sits inline before the text, so each item can center at 56ch */
.checks, .crosses { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; justify-items: center; }
.checks li, .crosses li { max-width: 56ch; color: var(--text-soft); }
.checks .icon { display: inline-block; width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -3px; color: var(--accent-text); }
.crosses__mark { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 10px 3px 0; vertical-align: middle; border: 1px solid var(--control-border); color: var(--text-muted); font: 600 14px/1 var(--font-body); }

/* Contact: the gold channel is WhatsApp, the primary */
.contact-channel--gold { background: var(--ac-gold); border-color: var(--ac-gold-deep); color: var(--ac-on-gold); }
.contact-channel--gold .eyebrow { color: var(--ac-on-gold); }
a.contact-channel--gold .contact-channel__value::after { color: var(--ac-on-gold); }
a.contact-channel--gold:hover .eyebrow { color: var(--text-muted); }
a.contact-channel--gold:hover .contact-channel__value::after { color: var(--ac-gold); }

/* /apply: the two-step prequalification with its gold progress bar */
.apply-grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: start; }
@media (min-width: 960px) { .apply-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.apply-aside { display: grid; gap: 16px; }
.prequal__step > legend { justify-items: center; text-align: center; width: 100%; }   /* the form's headings and intro: centered */
.prequal__progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prequal__progress span { height: 4px; background: var(--border-strong); transition: background var(--dur) var(--ease); }
.prequal__progress span.is-on { background: var(--grad-gold); }
.prequal__step { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.prequal__step > legend { display: grid; gap: 8px; margin: 0 0 4px; padding: 0; }
.prequal__step > legend .eyebrow { margin: 0; }
.prequal__title { font: 400 clamp(1.25rem, 2.2vw, 1.45rem)/1.12 var(--font-display); font-synthesis: none; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.prequal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }   /* the submit row: centered */
.prequal__actions--end { justify-content: center; }
.prequal__secure { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; margin: 0; padding-top: 18px; border-top: 1px dashed var(--border-strong); font-size: 13px; color: var(--text-muted); }
.prequal__secure .icon { width: 18px; height: 18px; color: var(--accent-text); }
.form__note--pending { padding: 10px 12px; border: 1px dashed var(--border-strong); }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.range { width: 100%; height: 28px; margin: 0; accent-color: var(--ac-gold); }
.range-out { margin-left: 6px; font: 500 14px/1 var(--font-mono); letter-spacing: 0; text-transform: none; color: var(--text); font-variant-numeric: tabular-nums; }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 8px; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-card {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius);
  font: 600 14px/1.3 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text); cursor: pointer;
}
.radio-card input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ac-gold); }
.radio-card:has(input:checked) { border-color: var(--ac-gold); background: rgba(var(--ac-gold-rgb), .12); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.next-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.next-steps__num { font: 500 13px/1.5 var(--font-mono); color: var(--accent-text); }
.next-steps strong { display: block; font-size: 14px; }
.next-steps p { margin: 2px 0 0; font-size: 14px; color: var(--text-muted); }
.btn--block .icon { margin-right: 2px; }

/* Footer: the legacy independence disclaimer under the columns */
.footer__disclaimer { margin: 40px auto 0; max-width: 72ch; font-size: 12px; line-height: 1.6; color: var(--text-muted); }

/* --- SEO pages (Prompt 5): breadcrumbs and the ZIP lookup ------------------------------------- */
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 16px 0 0; font-size: 13px; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }
.zip-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 20px; }
.zip-form .input { flex: 1 1 160px; max-width: 220px; }

/* --- Specials (Prompt 6): the payment and the total price side by side, equally conspicuous (CARS Act, Brief v3 4a.1) */
.price-pair { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 20px; margin: 12px 0 8px; }
.price-pair .price { margin: 0; }
.deal-card__copy { font-size: 14px; color: var(--text-muted); margin: 8px 0 0; }
.deal-grid--single { max-width: 420px; margin-inline: auto; }
.deal-grid--single > li { max-width: 100%; }   /* later than the column rules, same specificity */
.deal-ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--surface); color: var(--text-muted); font-size: 13px; }

/* --- Customer views (Prompt 7): /p/{token} and /i/{token} ---------------------------------------------------------- */
.cv-head { padding-block: 20px; border-bottom: 1px solid var(--border); background: var(--bg-ink); }
.cv-main { padding-block: clamp(32px, 6vw, 64px); }
.cv-title { margin: 6px 0 10px; font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.08; text-wrap: balance; }
.cv-title--second { margin-top: 32px; font-size: clamp(1.1rem, 2.8vw, 1.4rem); }
.cv-vehicle { font-size: 1.125rem; font-weight: 600; margin: 0 0 18px; }
.cv-total-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cv-total-price strong { font: 500 1.375rem/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }
.cv-warning { margin: 0 0 18px; font-weight: 600; }
.cv-options { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0 0 20px; padding: 0; }
.cv-option { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.cv-option__h { margin: 0 0 10px; font-size: 1.25rem; }
.cv-option__terms { display: grid; gap: 8px; margin: 0; }
.cv-option__terms dt { font-size: 12px; color: var(--text-muted); }
.cv-option__terms dd { margin: 2px 0 0; font: 500 15px/1.25 var(--font-mono); font-variant-numeric: tabular-nums; }
.cv-option__pay dd, .cv-option__total dd { font-size: 1.25rem; }
.cv-line { margin: 0 0 12px; }
.cv-note { margin: 18px 0 0; color: var(--text-muted); font-size: 14px; }
.cv-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.cv-table th, .cv-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.cv-table .cv-num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.cv-table tfoot th, .cv-table tfoot td { font-weight: 600; border-bottom: 0; }
.cv-message p { max-width: 52ch; }
.cv-contact { margin-top: 28px; }

/* --- Staging placeholders (Ed, 2026-10-12) ----------------------------------------------------------------------------
   Staging renders WhatsApp and call before the real numbers exist, as inert "#placeholder-..." links (placeholder_
   contacts()), and every fill-in (.ph). Both carry a visible PLACEHOLDER mark. Production renders neither. */
a[href^="#placeholder-"] { pointer-events: none; outline: 2px dashed var(--placeholder); outline-offset: 2px; }
a[href^="#placeholder-"]::before, .ph::before { content: "PLACEHOLDER"; display: inline-block; margin-right: 6px; padding: 0 4px;
  background: var(--placeholder); color: #000; font: 700 11px/1.6 var(--font-body); letter-spacing: 0; text-transform: none; vertical-align: middle; }
.ph::before { background: #000; color: var(--placeholder); }

/* /apply, Prompt 3: the car as year / make / model, the optional marker, the consent box, the alert's buttons */
.form__row--car { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.6fr); }
@media (max-width: 479px) { .form__row--car { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .form__row--car > :last-child { grid-column: 1 / -1; } }
.field__opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--text-muted); }
.consent { display: grid; gap: 6px; }
.consent .check { color: var(--text-soft); }
.consent .check a { color: var(--text); text-decoration: underline; }
.form__alert { display: grid; gap: 10px; }
.form__alert p { margin: 0; }
.form__alert .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.form__alert a.btn { color: var(--text); }
.form__alert a.btn--gold, .form__alert a.btn--gold:hover { color: var(--on-accent); }   /* black on gold, always */
.form__alert:focus { outline: 2px solid var(--focus); outline-offset: 3px; }

/* --- Blog (Prompt 9) ------------------------------------------------------------------------------------------------- */
.blog-list__item + .blog-list__item { padding-top: 18px; border-top: 1px solid var(--border); }
.blog-list__cat { margin-bottom: 4px; }
.blog-post__byline { margin-bottom: 28px; }
.blog-post h2 { margin-top: 2em; }
.blog-post h3 { margin-top: 1.4em; font-size: var(--fs-h3); }
.blog-post .callout { margin: 1.6em 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--ac-gold); border-radius: var(--radius); }
.blog-post .callout p { margin: 0; }
.blog-post .callout strong:first-child { color: var(--ac-gold); }
.table-scroll { margin: 1.4em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); }
.table-scroll table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.table-scroll th, .table-scroll td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table-scroll th { background: var(--surface); font-weight: 600; }
.table-scroll tr:last-child td { border-bottom: 0; }
.deal-card .pill { max-width: 100%; white-space: normal; }   /* the past-deal tag wraps inside its card instead of clipping */
