:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #17191a;
  --ink-2: #4b4f52;
  --muted: #686c6f;
  --line: #e6e3dc;
  --accent: #d4382f;
  --accent-ink: #ffffff;
  --accent-soft: #fbe8e6;
  --accent-text: #b52c24;
  --wa: #15803d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 8px 24px rgba(20, 20, 20, .06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.5; }
#app { min-height: calc(100vh - 64px); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.6); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(10,10,10,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.brand-name { font-weight: 650; font-size: 15px; line-height: 1.15; display: flex; flex-direction: column; }
.brand-name small { font-weight: 450; font-size: 11.5px; color: var(--muted); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name small { color: rgba(255,255,255,.55); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: rgba(255,255,255,.72); }
.nav-links a:hover { color: #fff; }
.nav .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.nav .btn-ghost:hover { background: rgba(255,255,255,.08); }
.logo { height: 40px; width: auto; }
.logo-lg { height: 56px; width: auto; }
@media (max-width: 1080px) { .nav-links { display: none; } .nav-call { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b52c24; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #116b33; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); height: 38px; font-size: 14px; padding: 0 16px; }
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.wa-icon { width: 18px; height: 18px; flex: none; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1b1d1c; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.82) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; max-width: 14ch; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); margin: 16px 0 28px; }
.hero-tag { position: absolute; right: 20px; bottom: 20px; z-index: 1; font-size: 12.5px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.hero-tag:hover { color: #fff; }
@media (max-width: 700px) { .hero-tag { display: none; } }

.finder { background: #fff; color: var(--ink); border-radius: 22px; padding: 8px; display: flex; gap: 6px; max-width: 760px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.finder select { flex: 1; min-width: 0; border: 0; background: var(--bg); border-radius: 14px; padding: 0 14px; height: 52px; appearance: none; -webkit-appearance: none; font-size: 15px; cursor: pointer; }
.finder .btn { height: 52px; border-radius: 14px; }
@media (max-width: 700px) { .finder { flex-direction: column; } .finder select { flex: none; } }

/* sections */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 56ch; }
.link-more { color: var(--accent-text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* car cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.grid > *, .rail > * { min-width: 0; }
.car { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.car:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 16px 36px rgba(0,0,0,.09); }
.car-img { aspect-ratio: 4 / 3; background: #e9e7e1; position: relative; }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip-new { background: var(--accent); color: #fff; }
.car-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.car-title { font-weight: 650; font-size: 16.5px; }
.car-sub { color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-meta { color: var(--muted); font-size: 13.5px; }
.car-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.car-price strong { font-size: 20px; letter-spacing: -0.01em; }
.car-price span { color: var(--muted); font-size: 13px; }

/* shelf + body tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; color: #fff; background: #222; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.tile div { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1; }
.tile h3 { font-size: 22px; }
.tile p { margin: 2px 0 0; font-size: 14px; color: rgba(255,255,255,.82); }

.shelf { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 700px) { .shelf { padding: 24px 18px; border-radius: 22px; } }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.why-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.why-num { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; margin-bottom: 16px; }
.why-card h3 { font-size: 20px; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* dark band */
.band { background: #111; color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.4vw, 42px); }
.band p { color: rgba(255,255,255,.75); }
.band-list { display: grid; gap: 12px; }
.band-item { background: rgba(255,255,255,.07); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.band-item b { display: block; }
.band-item span { color: rgba(255,255,255,.65); font-size: 14px; }
.banks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.banks span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: rgba(255,255,255,.85); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 22px; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; }
.visit-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.visit-card h2 { font-size: 30px; }
.visit-row b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.visit iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radius); filter: grayscale(.4) contrast(1.02); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* stock page */
.page-head { padding: 40px 0 20px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.pill { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; font-weight: 550; }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters select { height: 38px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font-size: 14px; }
.filters .spacer { flex: 1; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* detail */
.crumbs { padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; padding: 20px 0 64px; align-items: start; }
@media (max-width: 960px) {
  .detail { display: flex; flex-direction: column; gap: 16px; }
  .detail > *, .detail-left > * { min-width: 0; width: 100%; }
  .detail-left { display: contents; }
  .gallery { order: 1; } .buybox { order: 2; } .info-block { order: 3; margin-top: 0; }
}
.gallery-main { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e7e1; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: 20px; display: grid; place-items: center; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: #e9e7e1; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.buybox h1 { font-size: 28px; }
.buybox .sub { color: var(--ink-2); margin-top: 4px; }
.price-big { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.fact b { display: block; font-size: 14.5px; }
.fact span { font-size: 12px; color: var(--muted); }
.calc { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; }
.calc-top strong { font-size: 24px; }
.calc-top { margin-bottom: 6px; gap: 12px; }
.calc-top strong { white-space: nowrap; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.seg { display: inline-flex; background: var(--bg); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; border-radius: 8px; padding: 6px 11px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.calc small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 6px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31,168,85,.15); }
.band-item .avatar { background: rgba(212,56,47,.18); color: #ff8a80; }
.info-block { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); margin-top: 16px; }
.info-block h2 { font-size: 20px; margin-bottom: 12px; }
.notes { margin: 0; padding-left: 18px; color: var(--ink-2); }
.notes li { margin: 4px 0; }
.extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extras span { background: var(--bg); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.promise div { font-size: 14px; color: var(--ink-2); }
.promise b { display: block; color: var(--ink); }
@media (max-width: 600px) { .promise { grid-template-columns: 1fr; } }
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .buybox { position: static; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; }
  .has-cta .foot { padding-bottom: 90px; }
}

/* sheet (lead capture) */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(15,17,16,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-card { background: #fff; width: 100%; max-width: 460px; border-radius: 24px 24px 0 0; padding: 26px 24px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease; }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet-card { border-radius: 24px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet-card h3 { font-size: 22px; }
.sheet-card p { color: var(--ink-2); margin: 6px 0 18px; font-size: 15px; }
.sheet-car { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 10px; margin-bottom: 16px; }
.sheet-car img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.sheet-car b { display: block; font-size: 14.5px; }
.sheet-car span { font-size: 13px; color: var(--muted); }
.field { display: block; margin-bottom: 12px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.field input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font-size: 16px; background: #fff; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sheet-close { float: right; border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.routed { text-align: center; padding: 8px 0; }
.routed .avatar { margin: 0 auto 14px; width: 64px; height: 64px; font-size: 24px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; flex: none; }

/* owner */
.owner-gate { max-width: 400px; margin: 80px auto; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); text-align: center; }
.owner-gate h1 { font-size: 26px; margin: 14px 0 6px; }
.pin { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.pin input { width: 54px; height: 62px; text-align: center; font-size: 24px; border-radius: 14px; border: 1px solid var(--line); }
.pin input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.dash { padding: 32px 0 64px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.kpi span { font-size: 13px; color: var(--muted); display: block; }
.kpi b { font-size: 28px; letter-spacing: -0.02em; }
.kpi small { display: block; font-size: 12.5px; color: var(--ink-2); }
.panels { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .panels { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.panel h2 { font-size: 18px; margin-bottom: 4px; }
.panel > p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.lead { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.lead:first-of-type { border-top: 0; }
.lead-main { flex: 1; min-width: 0; }
.lead-main b { display: block; font-size: 14.5px; }
.lead-main span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-2); white-space: nowrap; }
.tag-live { background: var(--accent-soft); color: var(--accent-text); }
.tag-sample { background: #f1efe9; color: var(--muted); }
.rota { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rota:first-of-type { border-top: 0; }
.rota .lead-main span { white-space: normal; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; background: #d9d6cf; border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch i::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.next-up { margin-top: 14px; background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.aging { width: 100%; border-collapse: collapse; font-size: 14px; }
.aging td { padding: 10px 0; border-top: 1px solid var(--line); }
.aging tr:first-child td { border-top: 0; }
.aging td:last-child { text-align: right; white-space: nowrap; }
.age-bar { height: 6px; border-radius: 3px; background: var(--bg); margin-top: 6px; overflow: hidden; }
.age-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.age-bar i.old { background: #c2702b; }

/* footer */
.foot { background: #0a0a0a; color: #fff; padding: 48px 0 28px; margin-top: 24px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; font-size: 14.5px; color: rgba(255,255,255,.75); align-content: start; }
.foot-links a:hover { color: #fff; }
.foot-small { margin-top: 32px; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* service booking */
.svc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .svc { grid-template-columns: minmax(0, 1fr); } }
.svc-form { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.svc-form h2 { font-size: 17px; margin: 22px 0 12px; }
.svc-form h2:first-child { margin-top: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.svc-wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc-form { padding: 22px 18px; } }
.field em { font-style: normal; font-weight: 450; color: var(--muted); }
.field select, .field textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px; font-size: 16px; background: #fff; }
.field select { height: 48px; padding: 0 14px; }
.field textarea { resize: vertical; font-family: inherit; }
.field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.seg-wrap { display: flex; flex-wrap: wrap; }
.svc-side { display: grid; gap: 16px; }
.svc-band { background: #fff; border-radius: 22px; padding: 28px 32px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.svc-band h2 { font-size: 26px; }
.svc-band p { margin: 6px 0 0; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 700px) { .svc-band { flex-direction: column; align-items: flex-start; padding: 24px 20px; } }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.days button b { font-size: 19px; }
.days button small { font-size: 11.5px; color: var(--muted); }
.days button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.days button[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
.seg-wrap button { padding: 8px 12px; }
.seg.needs { outline: 2px solid var(--accent); }

/* phone menu */
.nav-menu { display: none; width: 40px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: 8px; }
.nav-menu span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 1px; transition: transform .2s; }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { display: grid; padding: 4px 20px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.menu[hidden] { display: none; }
.menu a { padding: 13px 0; font-size: 17px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.menu a:last-child { border-bottom: 0; }
@media (max-width: 1080px) { .nav-menu { display: inline-flex; } }
@media (min-width: 861px) { .menu { display: none !important; } }

/* collapsed estimate */
.calc-toggle { width: 100%; border: 0; background: none; padding: 0; margin: 0; display: flex; align-items: baseline; gap: 10px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.calc-toggle strong { font-size: 22px; margin-right: auto; }
.calc-adjust { color: var(--accent-text); font-weight: 600; font-size: 14px; }
#c-body { margin-top: 10px; }
.calc-row { flex-wrap: wrap; }
.calc .seg { flex-wrap: wrap; }

/* toast */
.toast { position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 32px); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; background: #111; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 550; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: up .25s ease; white-space: nowrap; }

/* keyboard focus */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.nav :focus-visible, .foot :focus-visible, .band :focus-visible, .menu :focus-visible { outline-color: #fff; }
.car:focus-visible, .tile:focus-visible { outline-offset: 4px; border-radius: var(--radius); }

/* Finance application */
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.steps li { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.steps i { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.steps .done i, .steps .on i { background: var(--accent); }
.steps .on { color: var(--ink); }
@media (max-width: 520px) { .steps span { display: none; } .steps .on span { display: block; white-space: nowrap; } }
.app-car { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 22px; }
.app-car img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; flex: none; }
.app-car > div { min-width: 0; flex: 1; display: grid; gap: 2px; font-size: 14px; }
.app-car > div span { color: var(--ink-2); }
.app-car > label { flex: 1; }
.hint { font-size: 13.5px; color: var(--ink-2); margin: -4px 0 12px; }
.id-read { font-size: 13px; color: var(--wa); margin: -6px 0 12px; min-height: 0; }
.id-read:empty { display: none; }
.id-read.bad, .form-err { color: var(--accent-text); }
.form-err { font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.field input.bad, .field select.bad { border-color: var(--accent); }
.leftover { background: var(--bg); border-radius: 14px; padding: 14px 16px; margin: 4px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.leftover span { font-size: 14px; color: var(--ink-2); }
.leftover b { font-size: 20px; }
.leftover small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.sum { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.sum-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sum-head h3 { font-size: 15px; }
.sum-head button { background: none; border: 0; cursor: pointer; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 4px 0; }
.sum-row span { color: var(--muted); flex: none; }
.sum-row b { font-weight: 550; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 14px 0 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.app-nav { display: flex; gap: 10px; margin-top: 18px; }
.app-nav .btn-primary { flex: 1; height: 48px; }
#app-form .btn-primary + .btn-primary, .buybox #apply { height: 48px; }
.app-car { position: relative; }
.app-car > button { background: none; border: 0; cursor: pointer; font-size: 14px; padding: 0; align-self: flex-start; }
@media (max-width: 520px) {
  .app-car { align-items: flex-start; }
  .app-car img { width: 64px; height: 48px; }
  .app-car > div { font-size: 13.5px; }
  .app-car > button { position: absolute; top: 12px; right: 12px; }
  .app-car > div b:first-child { padding-right: 56px; }
}

/* How-it-works steps on a light side card */
.why-card .band-item { background: none; padding: 10px 0 0; }
.why-card .band-item > div > span { display: block; color: var(--muted, #6b6b6b); margin-top: 2px; }
.why-card .band-item .avatar { flex: none; background: rgba(212,56,47,.1); color: var(--accent); }

/* Sell page: four quick reasons above the form */
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.perks div { background: var(--bg, #f4f2ee); border-radius: 14px; padding: 12px 14px; }
.perks b { display: block; font-size: 14px; }
.perks span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Enquiry sheet: tall form scrolls inside the card on small phones */
.sheet-card { max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
.sheet-card .svc-grid { margin-bottom: 4px; }


.lead .src { font-style: normal; font-weight: 600; color: var(--ink, #1a1a1a); }
.lead .src-ucd { color: #c2410c; }
.lead-wrap { border-top: 1px solid var(--line); }
.lead-wrap:first-of-type { border-top: 0; }
.lead-wrap > summary.lead { border-top: 0; cursor: pointer; list-style: none; }
.lead-wrap > summary.lead::-webkit-details-marker { display: none; }
.lead-wrap[open] > summary.lead .lead-main span { white-space: normal; }
.lead-more { padding: 4px 0 14px 52px; display: grid; gap: 6px; font-size: 13.5px; }
.lm-row { display: flex; gap: 10px; }
.lm-row span { width: 110px; flex: none; color: var(--muted); }
.lm-row b { font-weight: 600; }
.lm-act { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
@media (max-width: 560px) { .lead-more { padding-left: 0; } .lm-row span { width: 96px; } }

/* sell us your car: guided steps + photo pack */
.steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; overflow-x: auto; }
.steps li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--bg); }
.steps li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fff; }
.steps li.now { background: var(--ink); color: #fff; }
.steps li.now span { background: var(--accent); color: #fff; }
.steps li.done span { background: var(--wa); color: #fff; }
.step-note { font-size: 14px; margin: -4px 0 14px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.step-nav .btn-primary { min-width: 140px; }
.shot-meter { height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.shot-meter i { display: block; height: 100%; background: var(--wa); transition: width .3s ease; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot { display: flex; flex-direction: column; gap: 4px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px; cursor: pointer; min-width: 0; background: #fff; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.shot-cam { width: 100%; aspect-ratio: 4 / 3; border-radius: 9px; background: var(--bg); display: grid; place-items: center; font-size: 28px; color: var(--muted); }
.shot b { font-size: 13.5px; line-height: 1.25; }
.shot b em { font-style: normal; font-weight: 450; color: var(--muted); }
.shot small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.shot.has { border-style: solid; border-color: var(--wa); }
.shot.has small { color: var(--wa); font-weight: 600; }
.shot.needs { border-color: var(--accent); background: var(--accent-soft); }
.shot.busy { opacity: .5; }
.shot-video { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
.shot-video .shot-cam { width: 64px; aspect-ratio: 1; font-size: 20px; }
.shot-video b { flex: 1; min-width: 160px; }
.shot-video small { flex-basis: 100%; }
.pack { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.pack-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pack-photos figure { margin: 0; min-width: 0; }
.pack-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.pack-photos figcaption { font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.pack-photos figure.big { grid-column: 1 / -1; }
.pack-photos figure.big img { aspect-ratio: auto; cursor: zoom-out; }
.heads { margin: 14px 0 10px; }
.heads h3 { font-size: 15px; margin-bottom: 8px; }
.hu { margin: 0 0 6px; font-size: 13.5px; padding: 7px 10px; border-radius: 9px; line-height: 1.35; }
.hu-bad { background: #fdf3e7; color: #8a4b08; }
.hu-good { background: #ecf6ef; color: #14532d; }
.offer { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--bg); }
.offer .lm-act { flex-wrap: wrap; margin-top: 10px; }
.steps { scrollbar-width: none; } .steps::-webkit-scrollbar { display: none; }
.more-shots { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.more-shots summary { cursor: pointer; font-weight: 600; font-size: 14.5px; padding: 6px 0; list-style-position: inside; }
.more-shots summary em { font-style: normal; font-weight: 450; color: var(--muted); }
.pack-wrap .page-head { padding-bottom: 12px; }
.pack-wrap .panel { max-width: 760px; }
.pack-wrap .panel > .tag { float: right; }
.pack-wrap .pack { border-top: 0; margin-top: 8px; }
