/* =====================================================================
   QUALITY CARS — brand layer (loads after site.css)
   Pure white surfaces, deep forest green, champagne gold. No beige, no
   off-white, nothing muddy: light comes from white, gold and photography.
   ===================================================================== */
:root {
  --forest: #172719; --forest-2: #20382a; --forest-3: #0d1a10;
  --gold: #D8B86D; --gold-deep: #B08A3E; --gold-bright: #F1D891; --gold-ink: #8A6A26;
  --charcoal: #303831;
  --ink: #0f1a11; --ink-2: #303831; --muted: #5d6a61; --faint: #9aa59d;
  --line: #e7ece8; --line-2: #d2dcd5;
  --paper: #ffffff; --paper-2: #f3f7f4; --surface: #ffffff;
  /* legacy names used across the base layer, remapped to the brand */
  --red: #172719; --red-hover: #20382a; --red-tint: #eaf3ec; --red-ink: #172719;
  --navy: #172719; --navy-2: #20382a; --graphite: #172719; --metal: #D8B86D;
  --green: #17803d; --amber: #9a6100; --danger: #c0392b;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --radius: 16px; --radius-sm: 12px; --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 17, .06);
  --shadow: 0 1px 2px rgba(15, 26, 17, .04), 0 12px 32px -14px rgba(15, 26, 17, .18);
  --shadow-lg: 0 30px 70px -28px rgba(15, 26, 17, .35);
  --glow: 0 20px 60px -20px rgba(216, 184, 109, .55);
  --gold-grad: linear-gradient(135deg, #FFF0C2 0%, #F2D88E 38%, #DDBD6E 72%, #C9A04F 100%);
  --wrap: 1280px; --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body { background: #fff; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; }
::selection { background: var(--gold); color: var(--forest); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.eyebrow { color: var(--gold-ink); letter-spacing: .18em; font-size: 12px; }
.lede { color: var(--ink-2); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: #fff; border: 0; }
.section-tint, .qc-browse { background: #fff; }
.qc-browse { padding-top: 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.035em; max-width: 18ch; color: var(--ink); }
.section-head p.sub { color: var(--muted); font-size: 17px; }

/* ---------- Buttons: pill, confident ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: -.005em; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 10px 24px -12px rgba(23, 39, 25, .6); }
.btn-primary:hover { background: var(--forest-2); }
.btn-dark { background: var(--forest); }
.btn-dark:hover { background: var(--forest-3); }
.btn-gold { background: var(--gold-grad); color: var(--forest); box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.5); position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.btn-glass:hover { background: rgba(255,255,255,.26); border-color: #fff; }
.btn-ghost-light { border-radius: 999px; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--forest); }
.btn-outline:hover { border-color: var(--forest); }
.btn-quiet { border-color: var(--line-2); color: var(--forest); }
.btn-quiet:hover { background: var(--paper-2); }
.btn-whatsapp { background: #1faa59; color: #fff; border-radius: 999px; }
.btn-whatsapp:hover { background: #178f4a; }
.link-arrow { color: var(--forest); border-bottom-color: var(--gold); }
.link-arrow:hover { border-color: var(--forest); }
.icon-btn { border-radius: 999px; color: var(--forest); }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn .count { background: var(--gold); color: var(--forest); }
.input, .select, .textarea { border-radius: 12px; border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(216, 184, 109, .28); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.field-error { color: var(--danger); }
.text-btn { color: var(--forest); }
.check input, .compare-toggle input { accent-color: var(--forest); }
.seg input:checked + span, .view-toggle button[aria-pressed="true"], .gallery-tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- Header: crisp white glass ---------- */
.site-header { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid rgba(15,26,17,.06); }
.logo { width: 178px; color: var(--forest); }
.logo-invert { color: #fff; }
.nav-link { color: var(--ink-2); font-weight: 500; border-radius: 999px; padding: 0 14px; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper-2); color: var(--forest); }
.nav-link[aria-current="page"] { box-shadow: none; background: var(--paper-2); color: var(--forest); border-radius: 999px; }
.menu { border-radius: 18px; border-color: var(--line); padding: 10px; box-shadow: 0 30px 60px -24px rgba(15,26,17,.3); }
.menu a { border-radius: 12px; }
.menu-wide a { border-left: 0; border-radius: 12px; }
.menu a:hover, .menu a:focus-visible { background: var(--paper-2); }
.header-phone { color: var(--forest); border-radius: 999px; }
.header-phone .i { color: var(--gold-deep); }
.header-cta { margin-left: 4px; }
.mobile-nav { background: #fff; }
.ml-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: rgba(216,184,109,.18); padding: 2px 8px; border-radius: 999px; }

/* ---------- Hero: Bengaluru at its best ---------- */
.qc-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: min(92vh, 900px); display: flex; align-items: center; background: #0b140d; }
.qc-hero-media { position: absolute; inset: 0; z-index: -1; }
.qc-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(1.25) contrast(1.08) brightness(1.02); transform: scale(1.08); animation: qcPush 14s var(--ease) forwards; }
.qc-hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 72% 58%, rgba(241,216,145,.28), transparent 70%), radial-gradient(40% 40% at 50% 100%, rgba(216,184,109,.25), transparent 70%); mix-blend-mode: screen; }
.qc-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(8,18,10,.86) 0%, rgba(8,18,10,.62) 34%, rgba(8,18,10,.12) 62%, rgba(8,18,10,0) 80%), linear-gradient(180deg, rgba(8,18,10,.35) 0%, rgba(8,18,10,0) 25%, rgba(8,18,10,0) 70%, rgba(8,18,10,.55) 100%); }
@keyframes qcPush { to { transform: scale(1); } }
.qc-hero-copy { width: 100%; padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(140px, 18vh, 200px); }
.qc-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 26px; }
.qc-kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--gold-grad); }
.qc-hero h1 { font-size: clamp(52px, 8.2vw, 124px); line-height: .94; font-weight: 600; letter-spacing: -.05em; max-width: 11ch; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.qc-hero h1 em { font-style: normal; background: linear-gradient(100deg, #FFF6D8 0%, #FBE3A0 35%, #F0CF7E 65%, #FFF0C4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-hero-sub { margin-top: 26px; font: 500 clamp(18px, 1.8vw, 24px)/1.35 var(--display); color: rgba(255,255,255,.92); max-width: 30ch; letter-spacing: -.01em; }
.qc-hero .hero-ctas { margin-top: 38px; gap: 14px; }
/* Entrance motion only; content is visible even if animations never run. */
.qc-hero-copy > * { animation: qcRise .9s var(--ease); }
.qc-hero-copy > :nth-child(2) { animation-duration: 1s; } .qc-hero-copy > :nth-child(3) { animation-duration: 1.15s; } .qc-hero-copy > :nth-child(4) { animation-duration: 1.3s; }
@keyframes qcRise { from { opacity: 0; transform: translateY(18px); } }

/* Car finder floating over the hero edge */
.search-wrap { margin-top: -96px; position: relative; z-index: 5; }
.search-panel { border-radius: 28px; padding: 26px 28px; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(8,18,10,.55), 0 0 0 1px rgba(15,26,17,.05); }
.search-head { margin-bottom: 16px; flex-wrap: wrap; row-gap: 2px; }
.search-head h2 { font-size: 20px; font-weight: 600; color: var(--forest); }
.search-head p { color: var(--muted); font-size: 14px; }
.search-head p strong { color: var(--forest); font-weight: 700; }
.search-panel .select { height: 52px; background-color: #fff; }
.search-panel .btn { height: 52px; padding: 0 26px; }
.search-help a { color: var(--forest); font-weight: 600; }
.search-help .i { color: var(--gold-deep); }

/* ---------- Car cards ---------- */
.car-grid { gap: 24px; }
.car-card { border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(15,26,17,.06), 0 18px 40px -26px rgba(15,26,17,.35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(216,184,109,.55), 0 30px 60px -28px rgba(15,26,17,.45); border-color: transparent; }
.car-media { aspect-ratio: 4 / 3; background: var(--forest); }
.car-card:hover .car-media img { transform: scale(1.05); }
.car-badges { left: 14px; top: 14px; }
.badge { border-radius: 999px; height: 26px; padding: 0 11px; backdrop-filter: blur(10px); }
.badge-light { background: rgba(255,255,255,.9); }
.badge-passport { background: rgba(23,39,25,.82); color: var(--gold-bright); }
.badge-passport .i { color: var(--gold); }
.badge-reserved { background: #fff3d6; color: #8a5a00; }
.fav-btn { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.fav-btn[aria-pressed="true"] { color: #d93a4a; }
.fav-btn[aria-pressed="true"] .i { fill: #d93a4a; }
.tool-chip { border-radius: 999px; }
.car-body { padding: 20px 20px 16px; }
.car-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.car-title { font-size: 22px; letter-spacing: -.025em; margin-top: 4px; color: var(--ink); }
.car-card .car-kicker { order: 2; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 4px; }
.car-card .car-title { order: 1; margin-top: 0; }
.car-card .car-body > :not(.car-kicker):not(.car-title) { order: 3; }
.car-title { font-size: 20px; line-height: 1.2; }
.car-title span { font-weight: 500; letter-spacing: -.01em; }
.car-title .ct-make { display: block; font: 600 12.5px/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px; }
.car-title .ct-yr { color: var(--muted); }
.detail-title .yr { color: var(--gold-deep); font-weight: 500; }
.car-specs { gap: 8px 14px; margin-top: 14px; }
.car-specs li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; }
.car-specs li .i { width: 15px; height: 15px; color: var(--gold-deep); }
.car-specs li:not(:last-child)::after { content: none; }
.car-specs-tbc { margin-top: 12px; font-size: 13px; color: var(--muted); }
.car-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.car-highlights li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--forest); }
.car-price strong { font: 700 24px/1.1 var(--display); color: var(--forest); letter-spacing: -.03em; }
.car-price span { color: var(--muted); }
.avail::before { background: #22b35e; box-shadow: 0 0 0 3px rgba(34,179,94,.18); }
.car-actions { gap: 6px; border-top-color: var(--line); }
.car-actions a, .car-actions button { font: 600 13px var(--font); padding: 9px 13px; border-radius: 999px; color: var(--forest); background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
.car-actions a:hover, .car-actions button:hover { background: var(--paper-2); color: var(--forest); }
.car-actions .ca-main { background: var(--forest); color: #fff; }
.car-actions .ca-main:hover { background: var(--forest-2); color: #fff; }
.car-actions .ca-wa { color: #1faa59; }

/* Studio plate for cars still being photographed */
.car-art { position: relative; height: 100%; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; color: #fff; padding: 18px;
  background: linear-gradient(160deg, #24402d 0%, #172719 55%, #0f1d12 100%); }
.car-art svg { width: 64%; height: auto; color: var(--gold); opacity: .9; margin: 8px 0 6px; }
.car-art-make { font: 600 11px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright); }
.car-art-name { font: 600 26px/1.05 var(--display); letter-spacing: -.03em; color: #fff; }
.car-art-note { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Category tiles ---------- */
.bands { gap: 18px; }
.band { border-radius: 26px; min-height: 420px; background: var(--forest); }
.band::after { background: linear-gradient(180deg, rgba(8,18,10,0) 38%, rgba(8,18,10,.86) 100%); }
.band img { filter: saturate(1.15); }
.band:hover img { transform: scale(1.06); }
.band-body { padding: 26px; display: grid; gap: 6px; }
.band-tier { color: var(--gold-bright); letter-spacing: .2em; }
.band h3 { font-size: 28px; margin: 0; letter-spacing: -.03em; }
.band-go { position: absolute; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--forest); box-shadow: var(--glow); transition: transform .3s var(--ease); }
.band:hover .band-go { transform: translateX(4px); }
.bands-4 .band { min-height: 440px; }

/* ---------- The Quality difference: bento ---------- */
.qc-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.qc-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(15,26,17,.4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.qc-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(216,184,109,.7), 0 30px 60px -30px rgba(15,26,17,.45); }
.qc-tile-ic { position: absolute; top: 22px; left: 22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--gold-bright); }
.qc-tile-ic .i { width: 22px; height: 22px; }
.qc-tile h3 { font-size: 21px; letter-spacing: -.025em; color: var(--ink); }
.qc-tile p { font-size: 14.5px; color: var(--muted); }
.qc-tile-go { position: absolute; top: 26px; right: 22px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.qc-tile:hover .qc-tile-go { transform: translateX(4px); }
.qc-tile-hero { grid-column: span 2; grid-row: span 2; min-height: 400px; background: var(--forest); }
@media (min-width: 641px) { .qc-tile:last-child:nth-child(even) { grid-column: span 2; } }
.qc-tile-hero .qc-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.qc-tile-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,18,10,0) 30%, rgba(8,18,10,.9) 100%); }
.qc-tile-hero:hover .qc-tile-img { transform: scale(1.05); }
.qc-tile-hero h3 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.qc-tile-hero p { color: rgba(255,255,255,.85); font-size: 16px; }
.qc-tile-hero .qc-tile-ic { background: var(--gold-grad); color: var(--forest); }
.qc-tile-hero .qc-tile-go { color: var(--gold-bright); }

/* ---------- Sell & upgrade: full-bleed photo ---------- */
.qc-sell { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: 560px; display: flex; align-items: center; background: var(--forest); }
.qc-sell-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -2; filter: saturate(1.15) brightness(1.04); }
.qc-sell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,18,10,.9) 0%, rgba(8,18,10,.7) 38%, rgba(8,18,10,.05) 75%); }
.qc-sell-copy { width: 100%; }
.qc-sell .eyebrow { color: var(--gold-bright); }
.qc-sell h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; max-width: 13ch; }
.qc-sell .hero-ctas { margin-top: 34px; gap: 14px; }

/* ---------- How it works: five icons on a gold line ---------- */
.qc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: none; }
.qc-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); }
.qc-steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.qc-step-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--forest); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(15,26,17,.45); }
.qc-step-ic .i { width: 26px; height: 26px; }
.qc-steps li:last-child .qc-step-ic { background: var(--gold-grad); box-shadow: var(--glow); }
.qc-step-n { font: 600 12px var(--font); letter-spacing: .2em; color: var(--gold-ink); margin-top: 8px; }
.qc-steps strong { font: 600 19px var(--display); letter-spacing: -.02em; color: var(--ink); }

/* ---------- Visit band ---------- */
.qc-visit { padding: 0 0 clamp(72px, 9vw, 120px); }
.qc-visit-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 4vw, 56px); border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #24402d 0%, #172719 55%, #0f1d12 100%); box-shadow: 0 40px 80px -40px rgba(15,26,17,.6); }
.qc-visit .eyebrow { color: var(--gold-bright); }
.qc-visit h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.04em; max-width: 16ch; }
.qc-visit-addr { margin-top: 10px; color: rgba(255,255,255,.8); }
.qc-visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qc-visit .btn-primary { background: var(--gold-grad); color: var(--forest); box-shadow: var(--glow); }
.qc-visit .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.78); padding: 0 0 32px;
  background: radial-gradient(50% 70% at 92% 0%, rgba(241,216,145,.16), transparent 62%), linear-gradient(180deg, #1b2f1e 0%, #0f1d12 100%); }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding: clamp(56px, 7vw, 96px) 24px clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-line { font: 600 clamp(44px, 6.4vw, 96px)/.95 var(--display); letter-spacing: -.05em; color: #fff; }
.footer-line em { font-style: normal; background: linear-gradient(100deg, #FFF6D8 0%, #FBE3A0 35%, #F0CF7E 65%, #FFF0C4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { padding-top: 48px; }
.site-footer .logo { width: 240px; }
.footer-tag { font: 400 14.5px/1.6 var(--font); color: rgba(255,255,255,.7); max-width: 36ch; margin-top: 18px; }
.site-footer h2 { color: var(--gold-bright); letter-spacing: .18em; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer address { color: rgba(255,255,255,.78); }
.footer-phones a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer-phones .i { width: 16px; height: 16px; color: var(--gold); }
.footer-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-bright); font-weight: 600; margin-top: 10px; }
.footer-link .i { width: 16px; height: 16px; }
.footer-legal { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }
.footer-legal a { color: rgba(255,255,255,.8); }

/* ---------- Page heads, listing, misc on brand ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { font-weight: 600; letter-spacing: -.04em; font-size: clamp(36px, 5vw, 64px); color: var(--ink); }
.cat-row a { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); border: 0; }
.cat-row a:hover { box-shadow: 0 0 0 1px var(--gold); }
.cat-row em { color: var(--forest); }
.filters { border-radius: 22px; border-color: var(--line); }
.filters-head { border-radius: 22px 22px 0 0; }
.chip { border-radius: 999px; }
.chip:hover { border-color: var(--forest); }
.empty { border-radius: 24px; background: #fff; }
.wa-float { background: #1faa59; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(31,170,89,.7); }
.compare-tray { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.toast { border-radius: 999px; background: var(--forest); color: #fff; }
.dialog { border-radius: 26px; }
.brand-tile:hover .bn { color: var(--gold-ink); }
.demo-note { background: #fff; border-color: var(--line-2); }

/* ---------- Car photography: a consistent, gentle showroom finish on dealer photos ---------- */
.car-media img, .stage > img, .thumbs img, .band img, .qc-tile-img, .qc-sell-img, .dialog-car img {
  filter: saturate(1.1) contrast(1.05) brightness(1.03); }
.car-media { isolation: isolate; }
.car-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(15,26,17,.12) 100%); }
.car-badges, .card-tools { z-index: 3; }
.stage { box-shadow: 0 0 0 1px rgba(15,26,17,.06), 0 40px 80px -44px rgba(15,26,17,.55); }

.car-actions a, .car-actions button { white-space: nowrap; }
.car-actions { flex-wrap: nowrap; }
.car-price strong.por { font-size: 18px; letter-spacing: -.02em; }
.car-price span { white-space: normal; }
@media (max-width: 1280px) and (min-width: 1025px) { .car-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer v2: compact, structured (sign-off · visit card + links · brand and legal) ---------- */
.site-footer { padding: 0 0 24px; }
.qf-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid rgba(255,255,255,.1); }
.qf-line { font: 600 clamp(30px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.045em; color: #fff; }
.qf-line em { font-style: normal; background: linear-gradient(100deg, #FFF6D8 0%, #FBE3A0 35%, #F0CF7E 65%, #FFF0C4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qf-cta { display: flex; gap: 10px; }
.qf-cta .btn { height: 48px; padding: 0 22px; }
.qf-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(24px, 3vw, 36px); align-items: start; }
.site-footer h2 { font: 600 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 14px; }
.qf-visit { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.qf-visit address { font-style: normal; color: rgba(255,255,255,.82); line-height: 1.55; margin-bottom: 14px; }
.qf-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qf-contact .qf-wide { grid-column: 1 / -1; }
.qf-contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .2s; }
.qf-contact a:hover { background: rgba(255,255,255,.12); color: #fff; }
.qf-contact .i { width: 17px; height: 17px; color: var(--gold-bright); flex: none; }
.qf-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qf-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qf-nav ul { display: grid; gap: 2px; }
.qf-nav a { display: inline-block; padding: 6px 0; color: rgba(255,255,255,.78); font-size: 15px; }
.qf-nav a:hover { color: var(--gold-bright); }
.qf-bottom { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.qf-brand .logo { width: 150px; }
.qf-legal { font-size: 13px; color: rgba(255,255,255,.6); justify-self: end; }
.qf-legal a { color: rgba(255,255,255,.8); }
.qf-legal a:hover { color: var(--gold-bright); }
.qf-note { grid-column: 1 / -1; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.45); }
@media (max-width: 760px) {
  .qf-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .qf-cta { width: 100%; } .qf-cta .btn { flex: 1; padding: 0 12px; }
  .qf-main { grid-template-columns: 1fr; gap: 26px; }
  .qf-visit { padding: 18px; }
  .qf-nav { gap: 16px; }
  .qf-nav a { font-size: 14.5px; padding: 5px 0; }
  .qf-bottom { grid-template-columns: 1fr; }
  .qf-legal { justify-self: start; }
}

/* ---------- Colour rhythm: bands that alternate down the homepage ---------- */
/* Fresh mint-to-white for the owners and steps sections */
.qc-owners, .qc-how { background: linear-gradient(180deg, #eef6f0 0%, #f6faf7 55%, #ffffff 100%); }
.qc-owners .qc-owner { box-shadow: 0 0 0 1px rgba(23,39,25,.07), 0 20px 44px -30px rgba(15,26,17,.35); }
.qc-how .qc-step-ic { background: #fff; }
/* "Choose with confidence": the bold forest band with glassy tiles */
.qc-diff { background: linear-gradient(160deg, #22402b 0%, #172719 55%, #0f1d12 100%); color: #fff; }
.qc-diff .section-head h2 { color: #fff; }
.qc-diff .eyebrow { color: var(--gold-bright); }
.qc-diff .qc-tile:not(.qc-tile-hero) { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.qc-diff .qc-tile:not(.qc-tile-hero):hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(241,216,145,.55), 0 24px 50px -30px rgba(0,0,0,.6); }
.qc-diff .qc-tile:not(.qc-tile-hero) h3 { color: #fff; }
.qc-diff .qc-tile:not(.qc-tile-hero) p { color: rgba(255,255,255,.72); }
.qc-diff .qc-tile:not(.qc-tile-hero) .qc-tile-ic { background: var(--gold-grad); color: var(--forest); }
.qc-diff .qc-tile-go { color: var(--gold-bright); }
.qc-diff .qc-tile-hero { box-shadow: inset 0 0 0 1px rgba(241,216,145,.35); }
/* Testimonials: white cards on a whisper of mint */
.qc-reviews { background: linear-gradient(180deg, #ffffff 0%, #f3f8f4 100%); }

/* ---------- Subtle motion (added by motion.js only; content is visible without it) ---------- */
.qc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--qc-delay, 0ms); }
.qc-reveal.is-in { opacity: 1; transform: none; }
.qc-steps.qc-reveal { opacity: 1; transform: none; }
.qc-steps.qc-reveal::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--ease) .1s; }
.qc-steps.qc-reveal li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.qc-steps.qc-reveal.is-in::before { transform: scaleX(1); }
.qc-steps.qc-reveal.is-in li { opacity: 1; transform: none; }
.qc-steps.qc-reveal li:nth-child(2) { transition-delay: .18s; } .qc-steps.qc-reveal li:nth-child(3) { transition-delay: .36s; }
.qc-steps.qc-reveal li:nth-child(4) { transition-delay: .54s; } .qc-steps.qc-reveal li:nth-child(5) { transition-delay: .72s; }
.qc-trust strong { font-variant-numeric: tabular-nums; }
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15,26,17,.35); background: rgba(255,255,255,.9); }
@media (prefers-reduced-motion: reduce) { .qc-reveal, .qc-reveal li { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- Trust numbers ---------- */
.qc-trust { padding: 44px 0 8px; }
.qc-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.qc-trust-grid > div { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 8px 16px; position: relative; }
.qc-trust-grid > div + div::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.qc-trust strong { font: 600 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.045em; background: linear-gradient(100deg, #172719 0%, #2c5238 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-trust-grid > div:nth-child(2) strong { background: linear-gradient(100deg, #A47B2E, #C9A04F 50%, #B58C3C); -webkit-background-clip: text; background-clip: text; }
.qc-trust span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- What owners count on ---------- */
.qc-owners .section-head h2 { max-width: none; white-space: nowrap; font-size: clamp(21px, 5.9vw, 56px); }
@media (max-width: 640px) { .qc-owners .section-head h2 { font-size: 6.9vw; } }
.qc-owner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qc-owner { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(15,26,17,.4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.qc-owner:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(216,184,109,.7), 0 30px 60px -30px rgba(15,26,17,.45); }
.qc-owner-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--gold-bright); margin-bottom: 6px; }
.qc-owner-ic .i { width: 22px; height: 22px; }
.qc-owner h3 { font-size: 21px; letter-spacing: -.025em; color: var(--ink); }
.qc-owner p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.qc-owner:nth-child(4) { background: linear-gradient(150deg, #24402d 0%, #172719 60%, #0f1d12 100%); box-shadow: 0 30px 60px -30px rgba(23,39,25,.6); }
.qc-owner:nth-child(4) h3 { color: #fff; }
.qc-owner:nth-child(4) p { color: rgba(255,255,255,.8); }
.qc-owner:nth-child(4) .qc-owner-ic { background: var(--gold-grad); color: var(--forest); }

/* ---------- Real reviews (shown once two or more are added) ---------- */
.qc-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qc-review { margin: 0; display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.qc-review { position: relative; padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.qc-review:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(216,184,109,.7), 0 30px 60px -30px rgba(15,26,17,.4); }
.qc-review-head { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; color: var(--forest); }
.qc-review blockquote { font: 400 15.5px/1.65 var(--font); color: var(--ink-2); letter-spacing: 0; }
.qc-review blockquote::before { font-size: 44px; }
.qc-review figcaption { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.qc-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--display); letter-spacing: .04em; color: var(--forest); background: var(--gold-grad); }
.qc-who { display: grid; gap: 1px; }
.qc-who strong { font-size: 15px; color: var(--ink); }
.qc-who span { font-size: 13px; color: var(--muted); }
.qc-sample-tag { align-self: start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 9px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2); }
.qc-sample-note { margin: -20px 0 22px; font-size: 13.5px; color: var(--muted); }
.qc-review-grid { align-items: stretch; }
.qc-review { gap: 10px; }
.qc-review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.qc-review-name { font: 600 15px var(--font); color: var(--ink); flex: 1; }
.qc-review-car { font-size: 22px; line-height: 1.2; letter-spacing: -.03em; color: var(--forest); }
.qc-review-specs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; font-weight: 500; color: var(--gold-ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qc-review-specs span { color: var(--line-2); }
.qc-review blockquote { margin-top: 6px; padding-left: 14px; border-left: 2px solid var(--gold); }
.qc-review-grid .qc-review blockquote::before { content: none; display: none; }
.qc-review-theme { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.qc-review blockquote { margin: 0; font: 500 18px/1.55 var(--display); color: var(--ink); letter-spacing: -.01em; }
.qc-review blockquote::before { content: "“"; display: block; font: 600 48px/0.6 var(--display); color: var(--gold); margin-bottom: 8px; }
.qc-review figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.qc-review figcaption span { color: var(--muted); font-size: 13px; }
.qc-review figcaption em { font-style: normal; font-size: 12px; color: var(--faint); }
@media (max-width: 1024px) { .qc-owner-grid, .qc-review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .qc-owner-grid, .qc-review-grid { grid-template-columns: 1fr; }
  .qc-trust { padding-top: 32px; }
  .qc-trust span { font-size: 11px; letter-spacing: .03em; line-height: 1.3; }
  .qc-trust-grid > div { padding: 6px 4px; }
  /* Listing: cars first. Categories become one swipeable row of compact chips. */
  .page-head { padding: 22px 0 18px; }
  .page-head .lede { font-size: 15px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-row { display: flex; gap: 8px; overflow-x: auto; margin: 16px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-row a { flex: none; scroll-snap-align: start; padding: 12px 16px; gap: 2px; border-radius: 999px; }
  .cat-row a span { display: none; }
  .cat-row strong { font-size: 14.5px; white-space: nowrap; }
  .cat-row em { display: none; }
  .filter-open, .results-tools .select { min-height: 44px; }
  .listing { padding-top: 12px; }
  /* Test drive: three compact rows so the form starts near the top */
  .td-ways { gap: 10px; }
  .td-ways .td-way { grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px; border-radius: 20px; }
  .td-ways .td-way .qc-tile-ic { position: static; grid-row: span 2; width: 44px; height: 44px; }
  .td-ways .td-way h3 { font-size: 18px; }
  .td-ways .td-way p { margin: 0; font-size: 14px; }
  .td-ways .td-way .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: 10px; height: 44px; }
  .page-head h1 { font-size: clamp(30px, 8.4vw, 40px); }
  /* Car page: bigger targets */
  .amort summary { padding: 14px 0; }
  .emi-line a { padding: 10px 4px; }
  .tco-field { min-height: 76px; }
  /* Comfortable thumb targets (44px) */
  .car-actions a, .car-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; }
  .link-arrow, .loc-link { min-height: 44px; }
  .input, .select { min-height: 48px; font-size: 16px; } /* 16px stops iOS zooming into fields */
  .qc-kicker { font-size: 11.5px; }
  .section-head h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .qc-owner, .qc-review { padding: 22px; }
}

/* ---------- Small location link ---------- */
.loc-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.loc-link:hover { text-decoration-color: var(--forest); }
.loc-link .i { width: 15px; height: 15px; color: var(--gold-deep); }
.qc-visit .loc-link, .site-footer .loc-link { color: var(--gold-bright); text-decoration-color: rgba(241,216,145,.6); }
.site-footer .loc-link .i { color: var(--gold-bright); }
.footer-phones a { word-break: break-word; }
.contact-email { font: 600 18px var(--display); color: var(--forest); word-break: break-all; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.footer-links .footer-link { margin-top: 0; }
.buy-note span { line-height: 1.5; }

/* ---------- Loading screen: the logo draws in, then the page appears (CSS only, never blocks) ---------- */
.qc-splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; pointer-events: none;
  animation: qcSplashOut .5s var(--ease) 1.15s forwards; }
.qc-splash-mark { width: min(480px, 80vw); animation: qcSplashIn .7s var(--ease) both; }
.qc-splash .logo { width: 100%; color: var(--forest); }
.qc-splash .logo g[fill="none"] path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: qcDraw 1s var(--ease) .1s forwards; }
@keyframes qcSplashIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes qcSplashOut { to { opacity: 0; visibility: hidden; } }
@keyframes qcDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .qc-splash { display: none; } }

/* ---------- Hero v2: light showroom (owner's reference) ---------- */
.qc-hero-light { background: #fff; color: var(--ink); min-height: min(84vh, 800px); align-items: center; }
.qc-hero-light .qc-hero-media { left: 30%; }
.qc-hero-light .qc-hero-media img { filter: saturate(1.08) contrast(1.03); object-position: 60% 55%; animation: qcPushSoft 12s var(--ease) forwards; transform: scale(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.6) 30%, rgba(0,0,0,.9) 44%, #000 56%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.6) 30%, rgba(0,0,0,.9) 44%, #000 56%); }
.qc-hero-light .qc-hero-media::before { content: none; }
/* The showroom photo already fades softly on its left; keep the page's own fades light. */
.qc-hero-light .qc-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 12%); }
/* Whole photo, anchored bottom-right like the reference: the full row of cars sits below the headline. */
.qc-hero-light .qc-hero-media { left: 30%; }
.qc-hero-light h1 { font-size: clamp(48px, 6.4vw, 100px); }
.qc-hero-light .qc-hero-media img { object-fit: contain; object-position: 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 8%, #000 20%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 12%, #000 34%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 8%, #000 20%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 12%, #000 34%); mask-composite: intersect; }
/* Reference look: the photo fills the hero height and its golden-hour light bleeds softly behind the headline. */
@media (min-width: 901px) {
  .qc-hero-light { background: radial-gradient(60% 85% at 58% 38%, rgba(255,222,176,.55) 0%, rgba(255,236,210,.28) 38%, rgba(255,255,255,0) 70%), linear-gradient(90deg, #fffdfa 0%, #fff9f1 45%, #fff4e6 100%); }
  .qc-hero-light .qc-hero-media { left: 27%; }
  .qc-hero-light .qc-hero-media img { object-fit: cover; object-position: 100% 42%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.45) 22%, rgba(0,0,0,.85) 34%, #000 44%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.45) 22%, rgba(0,0,0,.85) 34%, #000 44%); mask-composite: add; }
  .qc-hero-light .qc-hero-media::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 10%); }
}
@media (min-width: 901px) and (max-height: 760px) { .qc-hero-light .qc-hero-copy { padding-top: 40px; padding-bottom: 120px; } }
.qc-hero-light.hero-hero-blr .qc-hero-media img { object-position: 50% 60%; }
@keyframes qcPushSoft { to { transform: scale(1); } }
.qc-hero-light .qc-hero-copy { padding-top: clamp(56px, 9vh, 104px); padding-bottom: clamp(110px, 15vh, 160px); }
.qc-hero-light .qc-kicker { color: var(--gold-ink); }
.qc-hero-light h1 { color: var(--forest); text-shadow: none; max-width: 10ch; }
.qc-hero-light h1 em { background: linear-gradient(100deg, #A47B2E 0%, #C9A04F 45%, #B58C3C 75%, #D6B062 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-hero-light .qc-hero-sub { color: var(--ink-2); max-width: 24ch; }
.qc-hero-light .btn-outline { background: rgba(255,255,255,.85); border-color: var(--forest); }
.is-home .search-wrap { margin-top: -64px; }

/* ---------- Finance highlight ---------- */
.qc-finance { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 112px) 0;
  background: radial-gradient(48% 70% at 74% 52%, #FFF6DA 0%, rgba(255,246,218,.6) 35%, #fff 70%); }
.qc-finance::before { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 72% 52%, rgba(241,216,145,.22) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(40% 50% at 72% 52%, #000 0%, transparent 75%); mask-image: radial-gradient(40% 50% at 72% 52%, #000 0%, transparent 75%); animation: qcSpin 80s linear infinite; }
@keyframes qcSpin { to { transform: rotate(360deg); } }
.qc-finance-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.qc-finance h2 { font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; color: var(--forest); }
.qc-finance h2 em { font-style: normal; background: linear-gradient(100deg, #A47B2E, #C9A04F 50%, #B58C3C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-finance-copy > p:not(.eyebrow):not(.field-help) { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 36ch; }
.qc-finance .hero-ctas { margin-top: 28px; }
.qc-finance .field-help { margin-top: 18px; max-width: 52ch; }
.qc-fin-cards { position: relative; height: 400px; }
.qc-fin-card { position: absolute; display: grid; gap: 2px; align-content: center; width: 230px; height: 170px; padding: 24px; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, #2c5238 0%, #1b3321 55%, #132516 100%); box-shadow: 0 0 0 1px rgba(241,216,145,.5), 0 30px 60px -24px rgba(23,39,25,.55), inset 0 1px 0 rgba(255,255,255,.12); animation: qcFloat 6s ease-in-out infinite; }
.qc-fin-card small { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.qc-fin-card strong { font: 600 40px/1.05 var(--display); letter-spacing: -.04em; background: linear-gradient(100deg, #FFF3CC, #F1D891 50%, #E2C27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qc-fin-card.f1 { left: 4%; top: 120px; --r: -7deg; transform: rotate(-7deg); z-index: 3; width: 250px; height: 190px; }
.qc-fin-card.f1 strong { font-size: 46px; }
.qc-fin-card.f2 { left: 36%; top: 10px; --r: 4deg; transform: rotate(4deg); animation-delay: -2s; z-index: 2; }
.qc-fin-card.f3 { left: 58%; top: 190px; --r: -3deg; transform: rotate(-3deg); animation-delay: -4s; z-index: 1; }
.qc-fin-card.f3 strong { font-size: 32px; }
@keyframes qcFloat { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-10px); } }
.qc-coin { position: absolute; z-index: 4; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 20px var(--display); color: #8a6a26;
  background: radial-gradient(circle at 35% 30%, #FFF4CF 0%, #F1D891 35%, #D2AE5E 75%, #B8913F 100%); box-shadow: 0 10px 22px -10px rgba(138,106,38,.8), inset 0 -3px 0 rgba(138,106,38,.35); animation: qcFloat 5s ease-in-out infinite; }
.qc-coin.c1 { left: 30%; top: 0; --r: -12deg; }
.qc-coin.c2 { right: 2%; top: 60px; width: 34px; height: 34px; font-size: 15px; --r: 10deg; animation-delay: -1.5s; }
.qc-coin.c3 { left: 44%; bottom: 0; width: 38px; height: 38px; font-size: 17px; --r: 0deg; animation-delay: -3s; }

/* ---------- Trade in steps, How it works captions ---------- */
.qc-sell-steps { display: grid; gap: 10px; margin-top: 22px; }
.qc-sell-steps li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: rgba(255,255,255,.92); }
.qc-sell-steps b { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); color: var(--forest); background: var(--gold-grad); }
.qc-sell h2 { max-width: 15ch; }
.qc-sell-lede { margin-top: 16px; font: 500 clamp(18px, 1.6vw, 22px)/1.4 var(--display); color: rgba(255,255,255,.9); max-width: 30ch; }
.qc-step-d { font-size: 14px; color: var(--muted); max-width: 18ch; }
.qc-how .qc-step-ic { transition: transform .35s var(--ease), background .35s; }
.qc-how li:hover .qc-step-ic { transform: translateY(-4px); background: var(--forest); color: var(--gold-bright); }

/* ---------- Test-drive booking band ---------- */
.qc-visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.qc-visit-copy > p:not(.eyebrow) { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 17px; }
.qc-visit-ways { display: grid; gap: 12px; margin-top: 24px; }
.qc-visit-ways li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.qc-visit-ways .i { color: var(--gold-bright); }
.qc-visit-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; color: rgba(255,255,255,.7); }
.qc-visit-alt a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.qc-visit-alt .i { color: #3ddc84; }
.qc-visit-form { color: var(--ink); }
.qc-visit-form .form-card { border: 0; border-radius: 24px; padding: 26px; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.qc-visit-form .form-grid { gap: 14px; }
.qc-visit-form .form-success { border-radius: 24px; }

/* ---------- Vehicle page ---------- */
.detail-top { padding-top: 24px; }
.detail-grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; }
.detail-title h1 { font-weight: 600; letter-spacing: -.04em; font-size: clamp(34px, 3.8vw, 52px); }
.detail-title .yr { color: var(--gold-deep); }
.detail-title .variant { color: var(--muted); }
.price-m { display: none; }
@media (max-width: 1024px) {
  .price-m { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 14px; }
  .price-m strong { font: 600 34px/1 var(--display); letter-spacing: -.04em; color: var(--forest); }
  .price-m span { font-size: 13.5px; color: var(--muted); }
}
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.highlights li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--forest); }
.highlights .i { width: 15px; height: 15px; color: var(--gold-deep); }
.stage { border-radius: 26px; aspect-ratio: 4 / 3; background: var(--forest); box-shadow: 0 30px 60px -36px rgba(15,26,17,.5); }
.stage-nav { border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.stage-actions { display: flex; align-items: center; gap: 8px; }
.stage-count { font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(15,26,17,.55); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; }
.thumbs button { border-radius: 12px; }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px var(--gold); }
.stage-art .car-art-name { font-size: clamp(34px, 4vw, 52px); }
.detail-jump { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; margin: 26px 0 8px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -22px rgba(15,26,17,.4); scrollbar-width: none; }
.detail-jump a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.detail-jump a:hover { background: var(--forest); color: #fff; }
.info-section { padding: 40px 0; border-top: 1px solid var(--line); }
.info-section h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; margin-bottom: 20px; }
.info-section .eyebrow + h2 { margin-top: 0; }
.glance { gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.glance > div { background: #fff; }
.glance .i { color: var(--gold-deep); }
.glance dd { font-weight: 600; color: var(--ink); }
.glance dd.unknown { color: var(--faint); font-weight: 500; }

/* Quality Passport */
.passport-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 8px; }
.passport-head h2 { margin: 0; }
.passport-head .eyebrow { margin-bottom: 6px; }
.passport-mark { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--forest); color: var(--gold-bright); box-shadow: 0 14px 30px -16px rgba(23,39,25,.7); }
.passport-mark .i { width: 26px; height: 26px; }
.passport-score { position: relative; width: 74px; height: 74px; }
.passport-score svg { width: 100%; height: 100%; }
.passport-score span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.passport-score strong { font: 700 20px var(--display); color: var(--forest); }
.report-intro { margin-bottom: 18px; }
.report { gap: 16px; }
.report-group { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 20px; }
.report-group h3 { font-size: 16px; color: var(--forest); margin-bottom: 10px; }
.report-group dl > div { padding: 9px 0; border-top: 1px solid var(--line); }
.report-group dl > div.ok dd::before { content: "✓ "; color: var(--green); font-weight: 700; }
.report-group dd.unknown { color: var(--faint); }

/* Is this a good deal? */
.deal-compare { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; margin-bottom: 18px; }
.deal-compare .i { color: var(--gold-bright); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 14px; }
.deal-grid li { display: grid; gap: 4px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.deal-grid li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-2); }
.deal-good::before { background: linear-gradient(180deg, #2fbf6a, #17803d) !important; }
.deal-neutral::before { background: var(--gold-grad) !important; }
.deal-note::before { background: linear-gradient(180deg, #f2b24c, #c9831b) !important; }
.deal-l { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.deal-grid strong { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }
.deal-n { font-size: 13.5px; color: var(--muted); }

/* True cost of ownership */
.tco { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-bottom: 14px; }
.tco-out { display: grid; align-content: start; gap: 6px; padding: 28px; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, #24402d 0%, #172719 55%, #0f1d12 100%); }
.tco-total { font: 600 clamp(40px, 4.4vw, 56px)/1 var(--display); letter-spacing: -.04em; }
.tco-per { color: rgba(255,255,255,.75); font-size: 14px; }
.tco-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin: 18px 0 14px; background: rgba(255,255,255,.15); gap: 2px; }
.tco-bar i { display: block; }
.tco-bar i:first-child { background: #fff !important; }
.tco-legend { display: grid; gap: 8px; }
.tco-legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.tco-legend li:first-child i { background: #fff !important; }
.tco-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tco-legend b { margin-left: auto; color: #fff; font-weight: 600; }
.tco-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.tco-field { display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: text; }
.tco-field:focus-within { box-shadow: 0 0 0 2px var(--gold); }
.tco-field > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tco-input { display: flex; align-items: baseline; gap: 6px; }
.tco-input input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0; font: 600 22px var(--display); color: var(--forest); background: none; -moz-appearance: textfield; }
.tco-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tco-input em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.emi-out { background: linear-gradient(150deg, #24402d 0%, #172719 55%, #0f1d12 100%); border-radius: 24px; }
.emi-inputs { border-radius: 24px; }

/* Per-car FAQs */
.car-faq { max-width: none; }
.car-faq details { border-top: 1px solid var(--line); }
.car-faq summary { font: 600 17px/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); padding: 20px 0; }
.car-faq summary .i { color: var(--gold-deep); }
.car-faq details p { color: var(--ink-2); line-height: 1.7; max-width: 68ch; }
.car-faq .faq-more a { color: var(--forest); text-decoration-color: var(--gold); }

/* Buy box */
.buy-box { border-radius: 26px; border: 0; padding: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -48px rgba(15,26,17,.55); }
.buy-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.buy-box .price { font: 600 44px/1.05 var(--display); letter-spacing: -.045em; color: var(--forest); margin-top: 6px; }
.price-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.emi-line { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.emi-line a { color: var(--forest); font-weight: 600; }
.buy-actions { gap: 10px; }
.buy-actions .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-actions .two .btn { height: 44px; font-size: 13.5px; padding: 0 10px; }
.mini-actions { border-top-color: var(--line); }
.mini-actions button, .mini-compare { color: var(--ink-2); font-size: 13px; }
.mini-compare { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mini-compare input { accent-color: var(--forest); }
.mobile-buy-bar { grid-template-columns: 52px 1fr 1fr !important; background: rgba(255,255,255,.94) !important; backdrop-filter: blur(16px); border-top: 1px solid var(--line) !important; }
.mobile-buy-bar .btn-outline { padding: 0; color: #1faa59; }

/* ---------- Quality IQ, Garage, Document tracker, Upgrade, Test drive ---------- */
.iq-hero { padding: 40px 0 28px; background: #fff; }
.iq-hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.05em; max-width: 14ch; }
.iq { display: grid; gap: 14px; }
.iq-q { border: 0; margin: 0; padding: 22px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.iq-q legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; font: 600 20px var(--display); letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }
.iq-q legend span { font: 600 12px var(--font); letter-spacing: .18em; color: var(--gold-ink); }
.iq-opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.iq-opts label { cursor: pointer; }
.iq-opts input { position: absolute; opacity: 0; pointer-events: none; }
.iq-opts span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .2s var(--ease); }
.iq-opts label:hover span { box-shadow: 0 0 0 1px var(--forest); }
.iq-opts input:checked + span { background: var(--forest); color: #fff; box-shadow: 0 10px 24px -12px rgba(23,39,25,.7); }
.iq-opts input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.iq-results { margin-top: 36px; }
.iq-wait { color: var(--muted); text-align: center; padding: 24px; }
.iq-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.iq-head h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.iq-item { display: flex; flex-direction: column; gap: 10px; }
.iq-item .car-card { flex: 1; }
.iq-match { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 6px; font-size: 13px; color: var(--muted); min-height: 62px; }
.iq-match b { font: 700 18px var(--display); color: var(--forest); margin-right: 2px; }
.iq-match span { padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--forest); font-weight: 500; }
.iq-match .iq-ask { box-shadow: 0 0 0 1px rgba(216,184,109,.7); color: var(--gold-ink); }
.garage-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 36px 0 16px; }
.garage-row:first-child { margin-top: 0; }
.garage-row h2 { font-size: 26px; letter-spacing: -.03em; }
.doc-track { display: grid; gap: 0; position: relative; max-width: 760px; }
.doc-track::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--forest)); }
.doc-track li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 14px 0; }
.doc-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--forest); box-shadow: 0 0 0 1px var(--line), 0 12px 26px -16px rgba(15,26,17,.5); position: relative; z-index: 1; }
.doc-track li:last-child .doc-ic { background: var(--gold-grad); }
.doc-n { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.doc-track strong { display: block; font: 600 20px var(--display); letter-spacing: -.02em; margin: 2px 0 4px; }
.doc-track p { color: var(--muted); }
.doc-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 40px 0 16px; padding: 32px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #24402d 0%, #172719 55%, #0f1d12 100%); }
.doc-cta h2 { font-size: 30px; letter-spacing: -.035em; }
.doc-cta p { color: rgba(255,255,255,.8); margin-top: 6px; }
.doc-cta .btn-primary { background: var(--gold-grad); color: var(--forest); }
.upgrade { background: #fff; border-top: 1px solid var(--line); }
.upgrade h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.04em; margin-bottom: 20px; }
.upgrade-in { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: stretch; margin-bottom: 24px; }
.upgrade-sum { display: grid; align-content: center; padding: 14px 24px; border-radius: 18px; background: var(--forest); color: #fff; min-width: 200px; }
.upgrade-sum span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.upgrade-sum strong { font: 600 26px var(--display); letter-spacing: -.03em; }
.upgrade-h { font-size: 22px; margin: 6px 0 16px; letter-spacing: -.02em; }
.upgrade-more { margin-top: 18px; color: var(--muted); }
.upgrade-more a { color: var(--forest); font-weight: 600; }
.td-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.td-way { position: relative; display: grid; gap: 8px; align-content: start; justify-items: start; padding: 92px 24px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(15,26,17,.4); scroll-margin-top: 110px; }
.td-way h3 { font-size: 22px; letter-spacing: -.025em; }
.td-way p { color: var(--muted); margin-bottom: 8px; }
.td-way:target { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px -30px rgba(15,26,17,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .logo { width: 160px; } .header-phone span { display: none; } }
@media (max-width: 1024px) {
  .qc-bento { grid-template-columns: 1fr 1fr; }
  .qc-tile-hero { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .qc-steps { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); } .tco { grid-template-columns: 1fr; }
  .qc-finance-inner, .qc-visit-inner { grid-template-columns: 1fr; }
  .qc-fin-cards { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
  .qc-hero-light { display: flex; flex-direction: column; min-height: 0; }
  .qc-hero-light .qc-hero-media { position: relative; inset: auto; left: 0; height: auto; width: 100%; }
  .qc-hero-light .qc-hero-media img { height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 74% 70%; transform: none; animation: none;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 22%); -webkit-mask-composite: source-over; mask-image: linear-gradient(0deg, transparent 0%, #000 22%); mask-composite: add; }
  .qc-hero-light .qc-hero-copy { padding-top: 0; padding-bottom: 28px; margin-top: -6px; position: relative; }
  .qc-hero-light .qc-hero-media::after { content: none; }
  .is-home .search-wrap { margin-top: 0; }
  .qc-hero-light .qc-kicker { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
}
@media (max-width: 640px) {
  .qc-fin-cards { height: 330px; }
  .qc-fin-card { width: 180px; height: 136px; padding: 18px; }
  .qc-fin-card strong { font-size: 30px !important; }
  .qc-fin-card.f1 { width: 196px; height: 148px; left: 0; top: 110px; }
  .qc-fin-card.f2 { left: 42%; top: 6px; }
  .qc-fin-card.f3 { left: 44%; top: 180px; }
}
@media (prefers-reduced-motion: reduce) { .qc-finance::before, .qc-fin-card, .qc-coin { animation: none; } }
@media (max-width: 640px) {
  .logo { width: 140px; }
  .td-ways, .upgrade-in { grid-template-columns: 1fr; }
  .iq-opts span { height: 44px; padding: 0 16px; font-size: 14px; }
  .doc-cta { padding: 24px; }
  .passport-head { grid-template-columns: auto 1fr; }
  .passport-score { grid-column: 1 / -1; justify-self: start; }
  .tco-in { grid-template-columns: 1fr 1fr; }
  .stage { border-radius: 20px; }
  .detail-jump { margin-left: -4px; margin-right: -4px; }
  .qc-hero { min-height: 640px; align-items: flex-start; }
  .qc-hero-media img { object-position: 58% 50%; }
  .qc-hero-media::after { background: linear-gradient(180deg, rgba(8,18,10,.78) 0%, rgba(8,18,10,.45) 45%, rgba(8,18,10,.2) 70%, rgba(8,18,10,.6) 100%); }
  .qc-hero-copy { padding-top: 56px; padding-bottom: 150px; }
  .qc-hero h1 { font-size: 54px; }
  .qc-hero .hero-ctas .btn { flex: 1 1 100%; }
  .search-wrap { margin-top: -84px; }
  .search-panel { padding: 20px 18px; border-radius: 22px; }
  /* Feature tiles: one column; the photo tile on top, the rest as compact rows (icon | title + line) */
  .qc-bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .qc-tile-hero { grid-column: auto; grid-row: auto; min-height: 280px; }
  .qc-tile:not(.qc-tile-hero) { display: grid; grid-template-columns: 48px 1fr 20px; column-gap: 14px; row-gap: 2px; align-items: center; min-height: 0; padding: 16px 18px; border-radius: 20px; }
  .qc-tile:not(.qc-tile-hero) .qc-tile-ic { position: static; grid-row: span 2; width: 48px; height: 48px; }
  .qc-tile:not(.qc-tile-hero) h3 { font-size: 17px; grid-column: 2; }
  .qc-tile:not(.qc-tile-hero) p { font-size: 13.5px; grid-column: 2; }
  .qc-tile:not(.qc-tile-hero) .qc-tile-go { position: static; grid-column: 3; grid-row: 1 / span 2; }
  /* How it works: a vertical timeline on phones */
  .qc-steps { grid-template-columns: 1fr; overflow: visible; gap: 0; padding-bottom: 0; }
  .qc-steps::before { left: 35px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), var(--forest)); }
  .qc-steps li { grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 0; padding: 8px 0; align-items: center; }
  .qc-steps li .qc-step-ic { grid-row: span 3; }
  .qc-steps .qc-step-n { margin-top: 0; }
  .qc-steps.qc-reveal::before { transform: scaleY(0); transform-origin: top center; }
  .qc-steps.qc-reveal.is-in::before { transform: scaleY(1); }
  /* Footer: link lists side by side */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px !important; }
  .footer-grid > .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-line { font-size: 44px; }
  .footer-cta .btn { flex: 1 1 100%; }
  .qc-sell { min-height: 520px; align-items: flex-end; }
  .qc-sell::after { background: linear-gradient(180deg, rgba(8,18,10,.62) 0%, rgba(8,18,10,.78) 45%, rgba(8,18,10,.94) 100%); }
  .qc-sell { align-items: center; } .qc-sell-copy { padding-top: 48px; }
  .qc-sell-copy { padding-bottom: 44px; }
  .qc-sell .hero-ctas .btn { flex: 1 1 100%; }
  .qc-visit-inner { border-radius: 24px; }
  .qc-visit-actions .btn { flex: 1 1 100%; }
  .footer-top { padding-left: 16px; padding-right: 16px; }
  .band, .bands-4 .band, .bands-4 .band:last-child { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .qc-hero-media img { animation: none; transform: none; }
  .qc-hero-copy > * { animation: none; opacity: 1; transform: none; }
}
