/* ─────────────────────────────────────────────────────────────
   Cabot Detailing: graphite + gold.
   Change the brand colors here; everything else follows.
   ───────────────────────────────────────────────────────────── */
:root {
  --brand: #ffc629;        /* gold: buttons, highlights */
  --brand-ink: #1b1500;    /* text on gold */
  --dark: #0e1116;         /* hero + header */
  --dark-2: #171b22;
  --on-dark: #f4f2ec;
  --on-dark-2: #a7acb5;

  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f1efe9;
  --ink: #14161a;
  --ink-2: #555b64;
  --line: #e4e1d9;
  --accent: #8a5d00;       /* gold that reads on light backgrounds */
  --accent-soft: #fff4cf;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warn: #8a5d00;
  --warn-soft: #fff7e0;
  --ok: #157a4a;
  --ok-soft: #e3f5ec;
  --radius: 12px;
  --shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 60px rgba(0,0,0,.28);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d11; --surface: #151920; --surface-2: #1c2129; --ink: #eef0f3; --ink-2: #a3a9b3;
    --line: #2a303a; --accent: #ffc629; --accent-soft: #33290b; --danger: #f87171; --danger-soft: #3b1515;
    --warn: #ffd166; --warn-soft: #2e260f; --ok: #4ade80; --ok-soft: #0f2a1c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d11; --surface: #151920; --surface-2: #1c2129; --ink: #eef0f3; --ink-2: #a3a9b3;
  --line: #2a303a; --accent: #ffc629; --accent-soft: #33290b; --danger: #f87171; --danger-soft: #3b1515;
  --warn: #ffd166; --warn-soft: #2e260f; --ok: #4ade80; --ok-soft: #0f2a1c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.setup-banner { background: var(--warn-soft); color: var(--warn); padding: 10px 16px; text-align: center; font-size: .9rem; font-weight: 600; }
.setup-banner code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; border-radius: 10px; border: 1.5px solid transparent; padding: 12px 22px; cursor: pointer; text-decoration: none; transition: transform .12s, filter .15s, background .15s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(255,198,41,.28); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); }
.btn-primary:disabled { box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.25); }
.btn-outline-light:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.linkish { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* Header + wordmark */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14,17,22,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; flex: none; transform: skewX(-8deg); }
.brand-mark::after { content: 'C'; color: var(--brand-ink); font: italic 800 1.35rem/1 var(--display); transform: skewX(8deg); }
.wordmark { display: flex; flex-direction: column; line-height: .9; }
.wordmark b { font: italic 800 1.35rem/1 var(--display); color: var(--on-dark); letter-spacing: .02em; }
.wordmark span { font-size: .58rem; font-weight: 800; letter-spacing: .38em; color: var(--brand); margin-top: 2px; }
.wordmark-sm b { color: var(--ink); font-size: 1.1rem; }
.wordmark-sm span { color: var(--accent); }

/* Hero: headline + quote on the first screen */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255,198,41,.16), transparent 60%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.035) 58% 62%, transparent 62%),
    var(--dark);
  color: var(--on-dark); padding: 28px 0 40px; scroll-margin-top: 58px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.hero-copy { padding-top: 22px; position: sticky; top: 86px; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--on-dark-2); margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.hero h1 { font: italic 800 clamp(2.5rem, 5.4vw, 4.4rem)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; margin-bottom: 14px; }
.hero h1 span { color: var(--brand); display: block; }
.lede { font-size: 1.05rem; color: var(--on-dark-2); max-width: 430px; margin-bottom: 20px; }
.steps-mini { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.steps-mini li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; }
.steps-mini b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,198,41,.14); color: var(--brand); font: 800 1rem/1 var(--display); flex: none; }
.area-line { font-size: .85rem; color: var(--on-dark-2); border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; max-width: 430px; }
.area-line strong { color: var(--on-dark); }
.area-line a { color: var(--brand); }

/* Quote card */
.quote-side { min-width: 0; }
.wizard { background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 70px; }
.wiz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wiz-progress { flex: 1; min-width: 0; }
.wiz-step-label { display: block; font-size: .76rem; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.wiz-steps { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.wiz-steps li { flex: 1; height: 5px; border-radius: 99px; background: var(--surface-2); position: relative; overflow: hidden; }
.wiz-steps li::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.wiz-steps li.done::after, .wiz-steps li.on::after { transform: scaleX(1); }
.wiz-steps li.on::after { opacity: .55; }
.price-chip { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; flex: none; }
.price-chip-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); font-weight: 800; }
.price-chip-value { font: 800 1.9rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; }
.wiz-body { padding: 16px 18px 2px; }
.step { animation: stepIn .3s ease both; }
.step.no-anim { animation: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 1.55rem; margin-bottom: 10px; }
.step-sub { color: var(--ink-2); }
.q-label { font-weight: 800; margin: 14px 0 7px; display: block; font-size: .92rem; }
.q-hint { font-weight: 500; color: var(--ink-2); font-size: .84rem; text-transform: none; letter-spacing: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
.q-desc { color: var(--ink-2); font-size: .85rem; margin: 7px 0 0; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px 16px; }
.wiz-nav [data-action="next"] { min-width: 180px; }

.grid { display: grid; gap: 8px; }
.grid-vehicles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { text-align: center; font: inherit; color: var(--ink); background: var(--surface); cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 6px 9px; transition: border-color .15s, background .15s, transform .12s; display: flex; flex-direction: column; align-items: center; }
.choice:hover { border-color: var(--ink-2); }
.choice:active { transform: scale(.98); }
.choice[aria-pressed="true"] { border-color: var(--brand); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice svg { width: 100%; max-width: 88px; height: 34px; display: block; margin-bottom: 5px; color: var(--ink-2); }
.choice[aria-pressed="true"] svg { color: var(--ink); }
.choice-title { font-weight: 800; font-size: .84rem; line-height: 1.15; }
.choice-price { font-weight: 700; color: var(--accent); font-size: .76rem; margin-top: 3px; }
.choice-hint { color: var(--ink-2); font-size: .7rem; line-height: 1.25; margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-weight: 700; font-size: .9rem; padding: 8px 13px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip small { color: var(--ink-2); font-weight: 700; }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--brand); }

/* Add-ons as a compact grid */
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.addon { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--surface); min-height: 58px; }
.addon:hover { border-color: var(--ink-2); }
.addon-wide { grid-column: 1 / -1; min-height: 0; }
.addon-off { cursor: default; background: var(--surface-2); border-style: dashed; }
.addon-off:hover { border-color: var(--line); }
.addon-off .addon-text strong { color: var(--ink-2); }
.addon:has(input:checked) { border-color: var(--brand); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.addon input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.addon-text { min-width: 0; }
.addon-text strong { display: block; font-size: .86rem; line-height: 1.2; }
.addon-text span { display: block; color: var(--ink-2); font-size: .75rem; margin-top: 2px; }
.addon-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); flex: none; position: relative; }
.addon:has(input:checked) .addon-check { background: var(--brand); border-color: var(--brand); }
.addon:has(input:checked) .addon-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--brand-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.addon:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 2px; flex: none; }
.stepper button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; flex: none; transition: background .2s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(18px); }

/* Photos */
.photos { margin-top: 12px; padding: 10px 12px; border: 1.5px dashed var(--line); border-radius: var(--radius); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photos-needed { border-color: var(--brand); background: var(--warn-soft); }
.photos-head { flex: 1 1 200px; min-width: 0; }
.photos-head strong { display: block; font-size: .9rem; }
.photos-head span { color: var(--ink-2); font-size: .8rem; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.photo, .photo-add { width: 56px; height: 56px; border-radius: 10px; position: relative; flex: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.photo-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: .95rem; line-height: 1; cursor: pointer; }
.photo-add { border: 1.5px dashed var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); background: var(--surface); }
.photo-add span { font-size: 1.3rem; line-height: 1; font-weight: 800; }
.photo-add small { font-size: .62rem; font-weight: 800; }
.photo-note { color: var(--warn); font-size: .82rem; font-weight: 700; margin: 6px 0 0; flex-basis: 100%; }

.notice { border-radius: var(--radius); padding: 12px 14px; margin-top: 12px; font-size: .92rem; }
.notice-warn { background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.notice-stop { background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.notice-ok { background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.notice strong { display: block; margin-bottom: 4px; }
.notice p:last-child { margin-bottom: 0; }
.fee-warn { font-size: .8rem; color: var(--ink-2); margin: 10px 0 0; padding: 8px 11px; border-radius: 10px; background: var(--warn-soft); border-left: 3px solid var(--brand); }
.fee-warn strong { color: var(--ink); }

/* Price step */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer { font: inherit; color: var(--ink); text-align: left; cursor: pointer; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px; position: relative; display: flex; flex-direction: column; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.offer.selected { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }
.offer.blocked { cursor: default; opacity: .55; }
.offer-badge { position: absolute; top: -10px; left: 12px; background: var(--brand); color: var(--brand-ink); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.offer-name { font-weight: 800; font-size: .95rem; }
.offer-price { font: 800 2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.offer-time { display: block; color: var(--ink-2); font-size: .74rem; font-weight: 600; margin-top: 1px; }
.offer-top + .offer-best { margin-top: 6px; }
.offer-best { font-size: .82rem; font-weight: 700; margin-bottom: 8px; }
.offer-list { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; color: var(--ink-2); padding-top: 8px; border-top: 1px dashed var(--line); }
.offer-list > span { display: flex; gap: 6px; align-items: flex-start; }
.offer-list .ico { color: var(--ok); margin-top: 1px; }
.offer-not { font-size: .75rem; color: var(--warn); margin-top: 7px; font-weight: 600; }
.offer-pick { margin-top: 10px; text-align: center; padding: 8px; border-radius: 9px; border: 1.5px solid var(--line); font-weight: 800; font-size: .86rem; }
.offer.selected .offer-pick { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.lines { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .8rem; }
.lines > span { display: flex; justify-content: space-between; gap: 10px; }
.lines > span > span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.lines .incl > span:last-child, .lines .disc > span:last-child { color: var(--ok); }
.why { margin: 10px 0 0; padding: 9px 12px; background: var(--surface-2); border-radius: 10px; font-size: .85rem; }
.why strong { color: var(--accent); }
.plan-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 10px; padding: 11px 13px; border: 1.5px dashed var(--brand); border-radius: 12px; cursor: pointer; }
.plan-card strong { display: block; font-size: .9rem; }
.plan-card span span { color: var(--ink-2); font-size: .82rem; }

/* Receipt */
.receipt { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 13px; background: var(--surface); }
.r-line { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; padding: 3px 0; }
.r-line span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.r-disc span:last-child { color: var(--ok); }
.r-sub { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 7px; color: var(--ink-2); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 7px; font-weight: 800; }
.r-total span:last-child { font: 800 1.7rem/1 var(--display); }
.r-note { margin: 6px 0 0; font-size: .76rem; color: var(--ink-2); }
.done-head + .summary { margin-bottom: 10px; }

/* Booking step */
.field { display: block; margin-bottom: 9px; }
.field > span { display: block; font-weight: 800; margin-bottom: 4px; font-size: .86rem; }
.input, select.input, textarea.input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; min-height: 44px; }
.input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
textarea.input { min-height: 66px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.more-fields summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: .86rem; padding: 4px 0; }
.more-fields[open] summary { margin-bottom: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.policy { margin-top: 12px; padding: 11px 13px; border-radius: 12px; background: var(--surface-2); font-size: .82rem; }
.policy-sum { margin: 0 0 6px; color: var(--ink-2); }
.policy-sum strong { color: var(--ink); }
.policy details summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.policy ul { margin: 6px 0 4px; padding-left: 18px; color: var(--ink-2); }
.policy li { margin: 4px 0; }
.policy b { color: var(--ink); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 800; font-size: .9rem; cursor: pointer; padding-top: 9px; margin-top: 8px; border-top: 1px solid var(--line); }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.fee-list { color: var(--ink-2); padding-left: 20px; margin: 0 0 14px; }
.fee-list li { margin: 6px 0; }

/* Done */
.done-head { text-align: center; margin-bottom: 12px; }
.done-check { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); margin: 0 auto 10px; position: relative; animation: pop .4s ease both; }
.done-check::after { content: ''; position: absolute; left: 20px; top: 11px; width: 11px; height: 23px; border: solid var(--brand-ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.summary { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 16px; margin: 0; font-size: .92rem; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.summary .total { font: 800 1.8rem/1 var(--display); }
.send { display: grid; gap: 10px; margin: 14px 0 6px; }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .05em; }
.welcome-back { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; padding: 11px 14px; border-radius: 14px; background: var(--dark-2); border: 1.5px solid var(--brand); font-size: .92rem; color: var(--on-dark); }
.welcome-back > span:first-child { flex: 1 1 220px; }
.welcome-back .linkish { color: var(--on-dark-2); }
.welcome-back .muted { color: var(--on-dark-2); }
.lost-link { text-align: center; font-size: .82rem; color: var(--on-dark-2); margin: 12px 0 0; }
.lost-link a { color: var(--brand); }
.quote-link { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--accent-soft); }
.quote-link strong { display: block; }
.quote-link span { display: block; color: var(--ink-2); font-size: .84rem; margin: 2px 0 10px; }
.quote-link-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Quote page (quote.html) */
.quote-page { max-width: 640px; padding-top: 24px; padding-bottom: 48px; }
.quote-page .eyebrow { color: var(--accent); }
.history-title { font-size: 1rem; margin: 18px 0 8px; font-family: inherit; text-transform: none; }
.history { list-style: none; padding: 0; margin: 0 0 14px; font-size: .88rem; }
.history li { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.history li span:first-child { color: var(--ink-2); }
.history li span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.history em { font-style: normal; font-weight: 800; margin-left: 6px; }
.history em.approved { color: var(--ok); }
.history em.declined { color: var(--danger); }

/* Below the hero (kept short) */
.section { padding: 40px 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.pkg-grid { display: block; }
.price-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.price-table th, .price-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { background: var(--dark); color: var(--on-dark); font: 800 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.price-table thead th small, .price-table th small, .price-table td small { display: block; font: 500 .72rem/1.3 'Plus Jakarta Sans', sans-serif; text-transform: none; letter-spacing: 0; color: var(--on-dark-2); margin-top: 2px; }
.price-table tbody th { text-align: left; font-weight: 800; font-size: .92rem; }
.price-table tbody th small, .price-table td small { color: var(--ink-2); }
.price-table td { font: 800 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.price-table td small { display: inline; font-size: .8rem; }
.price-table .plan-row { background: var(--accent-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pkg-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg-best { font-weight: 700; font-size: .86rem; margin: 2px 0 8px; }
.pkg-not { font-size: .8rem; color: var(--ink-2); margin: 8px 0 0; }
.addon-list { list-style: none; padding: 0 !important; margin: 0; }
.addon-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; color: var(--ink); }
.addon-list li span:last-child { text-align: right; color: var(--ink-2); font-weight: 600; }
.pkg-off { border-top-color: var(--line); }
.pkg-off .pkg-from, .pkg-off ul { opacity: .6; }
.badge-season { display: inline-block; vertical-align: middle; font: 800 .62rem/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); margin-left: 6px; }
.ext-closed { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius); border: 1.5px dashed var(--line); background: var(--surface-2); }
.ext-closed-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ext-closed-head .badge-season { margin-left: 0; }
.ext-closed-head strong { font-size: .9rem; color: var(--ink-2); }
.ext-closed p { margin: 6px 0; font-size: .8rem; color: var(--ink-2); }
.ext-closed-opts { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-2); opacity: .75; }
.ext-remind { margin-top: 8px; padding-top: 8px; font-size: .85rem; }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; border-top: 4px solid var(--brand); }
.pkg h3 { margin-bottom: 0; font-size: 1.05rem; }
.pkg-from { font: 800 1.6rem/1 var(--display); margin: 6px 0 2px; }
.pkg .muted { margin-bottom: 8px; }
.pkg ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .86rem; }
.pkg li { margin: 3px 0; }
.towns { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { background: var(--accent-soft); padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: .84rem; color: var(--ink); }
.towns-nearby li { background: var(--surface); border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.ba-frame > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--brand); box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; pointer-events: none; }
.ba-tag-l { left: 10px; } .ba-tag-r { right: 10px; }
.ba figcaption { font-size: .86rem; color: var(--ink-2); margin-top: 8px; }
.faq { max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); }
.foot { background: var(--dark); color: var(--on-dark-2); padding: 26px 0 34px; font-size: .88rem; }
.foot-inner { display: flex; flex-direction: column; gap: 6px; }
.foot .wordmark-sm b { color: var(--on-dark); }
.foot .wordmark-sm span { color: var(--brand); }
.foot p { margin: 0; }
.foot a { color: var(--brand); }

/* Icons */
.ico { width: 24px; height: 24px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 30px; height: 30px; }
.ico-star { width: 16px; height: 16px; fill: var(--brand); stroke: var(--brand); }

/* Trust row under the headline */
.trust-row { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 470px; }
.trust-row li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .8rem; font-weight: 700; color: var(--on-dark); }
.trust-row .ico { color: var(--brand); }

/* Our promise */
.promise-section { padding-top: 44px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.promise-head { grid-column: 1 / -1; margin-bottom: 4px; }
.promise-head h2 { margin: 0; }
.eyebrow-dark { color: var(--ink-2); margin-bottom: 6px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; position: relative; overflow: hidden; }
.promise::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.promise .ico { color: var(--accent); margin-bottom: 8px; }
.promise h3 { font-size: 1rem; margin-bottom: 4px; line-height: 1.25; }
.promise p { color: var(--ink-2); font-size: .86rem; margin: 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 10px; font-size: .95rem; line-height: 1.5; }
.review figcaption { font-size: .82rem; color: var(--ink-2); font-weight: 700; }

/* Prep checklist, aftercare, referral */
.prep { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); }
.prep summary { cursor: pointer; font-weight: 800; padding: 11px 0; font-size: .92rem; }
.prep ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 7px; font-size: .86rem; color: var(--ink-2); }
.prep li { display: flex; gap: 8px; align-items: flex-start; }
.prep .ico { color: var(--ok); margin-top: 2px; }
.refer { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--dark); color: var(--on-dark); }
.refer strong { display: block; font-size: .92rem; }
.refer span { display: block; font-size: .82rem; color: var(--on-dark-2); }
.ref-note { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; padding: 8px 11px; border-radius: 10px; background: var(--ok-soft); font-size: .85rem; }
.ref-note .ico { color: var(--ok); }
.day-list { color: var(--ink-2); padding-left: 20px; margin: 0 0 14px; }
.day-list li { margin: 6px 0; }
.day-list b { color: var(--ink); }

/* Sticky price button on phones */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { margin: 12px 0 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: none; }
  .trust-row li { white-space: nowrap; }
  .hero { padding: 14px 0 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-copy { position: static; padding-top: 0; }
  .hero h1 { font-size: 2.3rem; margin-bottom: 6px; }
  .hero h1 span { display: inline; }
  .eyebrow { margin-bottom: 8px; }
  .lede { font-size: .95rem; margin-bottom: 0; }
  .steps-mini, .area-line { display: none; }
  .pkg-compare { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .pkg { scroll-snap-align: start; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .price-table td { font-size: 1.35rem; }
  .price-table thead th { font-size: .92rem; }
  .price-table thead th small { display: none; }
}
@media (max-width: 560px) {
  .promise { padding: 13px 13px 12px; }
  .promise h3 { font-size: .92rem; }
  .promise p { font-size: .8rem; }
  .refer { flex-direction: column; align-items: stretch; }
  .wiz-body { padding: 14px 13px 2px; }
  .wiz-head, .wiz-nav { padding-left: 13px; padding-right: 13px; }
  .grid-vehicles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers { grid-template-columns: 1fr; }
  .row-2 { gap: 8px; }
  .row-2 .field > span { font-size: .8rem; }
  .row-2 .input { padding: 8px 9px; font-size: .92rem; }
  .wiz-nav .btn { flex: 1; min-width: 0; }
  .wiz-nav [data-action="back"] { flex: 0 0 auto; }
  .history li { grid-template-columns: 1fr auto; }
  .history li span:first-child { grid-column: 1 / -1; font-size: .8rem; }
  .section-head .btn { display: none; }
}
/* Phones: keep every quote step on one screen */
@media (max-width: 560px) {
  .offer { padding: 11px 12px; }
  .offer-best { margin-bottom: 6px; font-size: .8rem; }
  .offer-list { gap: 2px; padding-top: 6px; }
  .offer-list > span:nth-child(n+4) { display: none; }
  .offer-pick { margin-top: 8px; padding: 6px; }
  .offers { gap: 12px; }
  .receipt { padding: 8px 11px; }
  .r-line { font-size: .82rem; padding: 2px 0; }
  .r-note { display: none; }
  .plan-card { padding: 9px 11px; margin-top: 8px; }
  .plan-card strong { font-size: .84rem; }
  .plan-card span span { font-size: .76rem; }
  .policy { padding: 9px 11px; margin-top: 8px; }
  .policy-sum { font-size: .76rem; margin-bottom: 4px; }
  .agree { padding-top: 7px; margin-top: 6px; font-size: .86rem; }
}
@media (max-width: 340px) {
  .row-2 { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Address lookup + notes (When & where step) */
.addr-status { font-size: .84rem; color: var(--ink-2); margin: 6px 0 12px; padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, var(--ink-2) 7%, transparent); }
.addr-status[data-state="ok"], .addr-status[data-state="approx"] { background: var(--ok-soft); color: var(--ink); border-left: 3px solid var(--ok); }
.addr-status[data-state="fail"] { background: var(--warn-soft); color: var(--warn); border-left: 3px solid var(--brand); }
.addr-status[data-state="looking"] { opacity: .75; }
.notes-field { margin-top: 12px; }
.notes-field em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.notes-field textarea { min-height: 58px; resize: vertical; }

/* Day picker: big tap targets instead of the tiny native calendar */
.day-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.day { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 2px; min-height: 58px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.day b { font-size: 1.15rem; line-height: 1.1; }
.day small { font-size: .68rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.day:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); }
.day[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #111; box-shadow: none; }
.day[aria-pressed="true"] small { color: #111; }
.day-grid + .q-label { margin-top: 2px; }
