:root {
  --navy: #0e1a35;
  --navy-2: #172a52;
  --cream: #f4f1e8;
  --white: #ffffff;
  --ink: #101935;
  --muted: #515b78;
  --line: #dfe3ec;
  --input-line: #cfd6e3;
  --accent: #ffc629;
  --accent-dark: #f0b400;
  --danger: #b3261e;
  --ok: #17794a;
  --radius-card: 22px;
  --radius-input: 12px;
  --shadow-card: 0 44px 90px -44px rgba(8, 18, 44, 0.55);
  --shadow-soft: 0 30px 60px -46px rgba(8, 18, 44, 0.35);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 56px; }
.wrap-narrow { max-width: 860px; }
.wrap-flow { max-width: 820px; padding-top: 28px; padding-bottom: 72px; }

/* highlight: accent bar behind the words, keeps navy text readable */
.hl { background: linear-gradient(transparent 62%, var(--accent) 62%); padding: 0 0.08em; }
.hero .hl { background: none; color: var(--accent); padding: 0; }

.demo-bar { background: var(--accent); color: var(--navy); text-align: center; font-size: 0.82rem; font-weight: 600; padding: 6px 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--navy); box-shadow: inset 0 -9px 0 var(--accent); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: 0.92rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background 0.16s, transform 0.16s; }
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { min-height: 42px; padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(900px 500px at 85% 0%, #24407a 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 88px 0 104px; scroll-margin-top: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-sub { margin-top: 24px; font-size: 1.12rem; max-width: 30em; color: rgba(255, 255, 255, 0.86); }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; }

.card { background: var(--white); color: var(--ink); border-radius: var(--radius-card); padding: 34px; box-shadow: var(--shadow-card); }
.card-title { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 18px; }

.plate { display: flex; align-items: stretch; height: 88px; border: 3px solid var(--ink); border-radius: 10px; background: var(--white); overflow: hidden; }
.plate:focus-within { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.plate-tag { display: flex; align-items: center; justify-content: center; width: 40px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; }
.plate input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; text-align: center; text-transform: uppercase; font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: 0.12em; color: var(--ink); }
.plate input::placeholder { color: #b9c0cf; }

.label { display: block; margin: 18px 0 6px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--input-line); border-radius: var(--radius-input); background: #fbfcfe; font: inherit; color: var(--ink); }
.input:focus { outline: 3px solid var(--accent-dark); outline-offset: 1px; border-color: var(--ink); }
textarea.input { resize: vertical; }
.field-error { min-height: 1.4em; margin: 10px 0; font-size: 0.9rem; font-weight: 600; color: var(--danger); }
.proof { margin-top: 14px; font-size: 0.88rem; text-align: center; }
.stars { color: var(--accent-dark); letter-spacing: 2px; }

/* ---------- sections ---------- */
.section { padding: 112px 0; scroll-margin-top: 70px; }
.section-white { background: var(--white); }
.eyebrow { display: inline-block; margin-bottom: 22px; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-note { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-soft); }
.step-num { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 0.9rem; background: var(--accent); color: var(--navy); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.steps p, .benefits p { margin-top: 8px; color: var(--muted); }

.benefits { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.benefits article { border-top: 3px solid var(--navy); padding-top: 18px; }

.table-scroll { margin-top: 72px; overflow-x: auto; }
.compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 0.95rem; }
.compare tbody th { font-weight: 600; color: var(--muted); }
.compare .us { background: var(--navy); color: var(--white); font-weight: 600; border-bottom-color: rgba(255, 255, 255, 0.14); }
.compare thead .us { border-radius: 16px 16px 0 0; color: var(--accent); }
.compare tbody tr:last-child .us { border-radius: 0 0 16px 16px; border-bottom: 0; }

.reviews { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-soft); }
.reviews blockquote { margin: 0; font-size: 1.02rem; }
.reviews figcaption { margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

.cta-band { background: var(--navy); color: var(--white); padding: 72px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.site-footer { background: #0a1226; color: rgba(255, 255, 255, 0.75); padding: 28px 0; font-size: 0.85rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- guided flow ---------- */
.flow-top { display: flex; justify-content: space-between; align-items: center; }
.flow-count { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: #e2ded1; margin: 8px 0 24px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 999px; transition: width 0.3s; }
.flow-step { box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.flow-step h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); outline: none; }
.step-help, .lookup-note { margin-top: 10px; color: var(--muted); }
.lookup-note:empty { display: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 8px; }
.span-2 { grid-column: 1 / -1; }
.fineprint { margin-top: 20px; font-size: 0.82rem; color: var(--muted); }
.flow-actions { margin-top: 8px; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group .label { width: 100%; margin-bottom: 0; }
.choice-group button, .zone-chips button { min-height: 46px; padding: 10px 18px; border: 1.5px solid var(--input-line); border-radius: 999px; background: #fbfcfe; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.choice-group button[aria-checked="true"], .zone-chips button.has-damage { background: var(--navy); border-color: var(--navy); color: var(--white); }
.zone-chips button.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px var(--accent); }

.damage-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; margin-top: 22px; align-items: start; }
.car-map { position: relative; padding: 26px 22px 0; text-align: center; }
.car-map svg { width: 100%; max-width: 230px; height: auto; display: block; margin: 0 auto; }
.car-map svg [data-zone] { fill: #eef1f6; stroke: #9aa5bd; stroke-width: 1.5; cursor: pointer; transition: fill 0.15s; }
.car-map svg [data-zone]:hover { fill: #dfe5f0; }
.car-map svg [data-zone].has-damage { fill: var(--navy); stroke: var(--navy); }
.car-map svg [data-zone].is-active { fill: var(--accent); stroke: var(--navy); stroke-width: 2.5; }
.map-label { position: absolute; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.map-front { top: 0; left: 50%; transform: translateX(-50%); }
.map-left { top: 150px; left: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.map-right { top: 150px; right: 0; writing-mode: vertical-rl; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.zone-chips button { min-height: 40px; padding: 7px 14px; font-size: 0.85rem; }

.damage-editor { background: var(--cream); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.damage-editor h3 { margin-bottom: 12px; font-size: 1.05rem; }
.editor-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.damage-list { list-style: none; padding: 0; margin: 0; }
.damage-list li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.damage-list .empty { color: var(--muted); border: 0; }
.damage-list small { display: block; color: var(--muted); }

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.photo-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 4 / 3; border: 2px dashed var(--input-line); border-radius: 16px; background: #fbfcfe; text-align: center; cursor: pointer; overflow: hidden; padding: 12px; }
.photo-slot:focus-within { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.photo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-slot svg { width: 64px; height: 40px; stroke: #8b96b0; fill: none; stroke-width: 2; }
.photo-slot strong { font-family: var(--display); font-size: 0.95rem; }
.photo-slot span { font-size: 0.78rem; color: var(--muted); }
.photo-slot .req { color: var(--danger); font-weight: 600; }
.photo-slot.has-photo { border-style: solid; border-color: var(--ok); padding: 0; }
.photo-slot.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.has-photo .slot-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(14, 26, 53, 0.82); color: var(--white); font-size: 0.82rem; font-weight: 600; }
.photo-slot.has-photo .slot-bar span { color: var(--white); font-size: inherit; }
.photo-slot .slot-remove { position: relative; z-index: 2; background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 4px; }
.photo-slot.is-busy { opacity: 0.6; }

.done { text-align: center; }
.done-tick { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--ok); color: var(--white); font-size: 2rem; font-weight: 700; }
.done p { margin-top: 12px; }
.done h3 { margin-top: 28px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; text-align: left; margin: 24px auto 0; max-width: 420px; background: var(--cream); border-radius: 16px; padding: 18px 20px; font-size: 0.95rem; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; }
.next { text-align: left; max-width: 420px; margin: 12px auto 26px; padding-left: 20px; color: var(--muted); }

/* ---------- staff ---------- */
.staff-list { display: grid; gap: 22px; margin-top: 28px; }
.staff-card { padding: 26px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.staff-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.staff-head h2 { font-size: 1.4rem; }
.staff-meta { color: var(--muted); font-size: 0.88rem; }
.staff-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-top: 16px; font-size: 0.93rem; }
.staff-cols b { color: var(--muted); font-weight: 600; }
.staff-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.staff-photos a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--cream); }
.staff-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-photos span { position: absolute; left: 0; bottom: 0; background: rgba(14, 26, 53, 0.82); color: var(--white); font-size: 0.72rem; font-weight: 600; padding: 3px 8px; border-radius: 0 8px 0 0; }
.staff-login { max-width: 420px; margin: 72px auto; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .site-nav { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
  .steps, .benefits, .reviews { grid-template-columns: 1fr; }
  .benefits { gap: 28px; }
  .card { padding: 24px 20px; }
  .damage-layout { grid-template-columns: 1fr; }
  .staff-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fields { grid-template-columns: 1fr; }
  .plate { height: 76px; }
  .plate input { font-size: 1.8rem; }
  .wrap-flow { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
