/* KoreAuto: porcelain and celadon, navy ink, taegeuk red for actions only.
   One family (Archivo, variable width + weight): expanded and heavy for display and prices, normal for reading.
   Signature: the sentence search on the home page. Supporting: plate-style prices, the inspection dossier. */
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/static/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/static/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --porcelain: #F2F5F1;
  --porcelain-2: #E7EDE8;
  --white: #FFFFFF;
  --celadon: #2F5D50;
  --celadon-deep: #224A3F;
  --celadon-mist: #CFE0D6;
  --ink: #16222C;
  --ink-2: #22313D;
  --steel: #5F6E78;
  --line: #D6DFD9;
  --line-2: #C2CEC6;
  --red: #CD2E3A;
  --red-press: #B02530;
  --ok: #2E7D4F;
  --ok-bg: #E2F1E7;
  --warn: #E2B33A;
  --warn-bg: #FBF1D6;
  --bad: #CD2E3A;
  --bad-bg: #FBE4E5;

  --wide: 125%;
  --semi: 112%;
  --r-plate: 7px;
  --r-card: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1280px;
  --shadow: 0 1px 0 rgba(22, 34, 44, .06), 0 12px 32px -18px rgba(22, 34, 44, .28);
  --focus: 0 0 0 3px var(--porcelain), 0 0 0 5px var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font-family: Archivo, system-ui, sans-serif; font-size: 16px; line-height: 1.55; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: var(--wide); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-press); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-quiet { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- plates ---------- */
.plate { display: inline-flex; align-items: stretch; height: 34px; border: 2px solid var(--ink); border-radius: var(--r-plate); background: var(--white); overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--white), inset 0 0 0 2.5px rgba(22,34,44,.12); }
.plate .eu { display: grid; place-items: center; width: 22px; background: var(--celadon); color: var(--white); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.plate .word { display: grid; place-items: center; padding: 0 11px 0 9px; font-stretch: var(--wide); font-weight: 850; font-size: 17px; letter-spacing: -.01em; }
.plate-dark { border-color: var(--porcelain); background: var(--ink); box-shadow: none; }
.plate-dark .word { color: var(--porcelain); }
.price-plate { display: inline-block; padding: 3px 10px 2px; border: 2px solid var(--ink); border-radius: var(--r-plate); background: var(--white); font-stretch: var(--wide); font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; }
.price-plate-lg { font-size: clamp(30px, 3.4vw, 40px); padding: 6px 16px 4px; border-width: 2.5px; border-radius: 10px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.landed { color: var(--steel); font-size: 13px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--porcelain) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { text-decoration: none; flex: none; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 550; font-size: 15px; color: var(--steel); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.top-search { margin-left: auto; display: flex; align-items: center; width: min(360px, 32vw); height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); padding-left: 16px; }
.top-search:focus-within { border-color: var(--ink); }
.top-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; }
.top-search button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--steel); display: grid; place-items: center; border-radius: 50%; }
.top-wa { min-height: 40px; padding: 0 16px; font-size: 14px; }
.is-home .top-wa { margin-left: auto; }

/* ---------- home: sentence hero (the signature) ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); background:
  radial-gradient(1200px 520px at 85% -10%, var(--celadon-mist), transparent 60%),
  linear-gradient(var(--porcelain), var(--porcelain)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-lede { max-width: 52ch; color: var(--steel); font-size: 17px; margin-bottom: 28px; }
.sentence-text { font-size: clamp(34px, 5.6vw, 76px); line-height: 1.12; font-weight: 750; font-stretch: var(--semi); letter-spacing: -.03em; text-wrap: pretty; }
.sentence-text .nw { white-space: nowrap; }
.slot { display: inline-block; position: relative; vertical-align: baseline; }
.slot select { appearance: none; -webkit-appearance: none; field-sizing: content; min-width: 3ch; max-width: 100%; margin: 0; padding: 0 .82em 0 .06em; border: 0; border-bottom: .07em solid var(--celadon); border-radius: 0; background: transparent; color: var(--celadon); font: inherit; font-stretch: inherit; letter-spacing: inherit; line-height: 1.05; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - .38em) 55%, calc(100% - .16em) 55%; background-size: .22em .22em, .22em .22em; background-repeat: no-repeat; }
.slot select:hover { color: var(--celadon-deep); border-bottom-color: var(--celadon-deep); }
.slot select:focus-visible { box-shadow: none; outline: 3px solid var(--celadon-mist); outline-offset: 4px; border-radius: 4px; }
.slot select:disabled { color: var(--steel); border-bottom-style: dashed; border-bottom-color: var(--line-2); cursor: default; }
.slot select option { font-size: 16px; font-stretch: 100%; color: var(--ink); letter-spacing: 0; }
/* The open list would otherwise inherit the headline size; where the picker is stylable it becomes a compact panel. */
@supports (appearance: base-select) {
  .slot select, .slot select::picker(select) { appearance: base-select; }
  .slot select::picker-icon { display: none; }
  .slot select::picker(select) { margin-top: 10px; min-width: 220px; max-height: min(380px, 60vh); padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow); font-size: 16px; font-weight: 500; font-stretch: 100%; line-height: 1.3; letter-spacing: 0; }
  .slot select option { padding: 9px 12px; border-radius: 8px; font-weight: 500; cursor: pointer; }
  .slot select option:hover, .slot select option:focus-visible { background: var(--porcelain-2); outline: none; box-shadow: none; }
  .slot select option:checked { background: var(--celadon-mist); color: var(--celadon-deep); font-weight: 650; }
  .slot select option:checked:focus-visible { box-shadow: inset 0 0 0 2px var(--celadon); }
  .slot select option::checkmark { display: none; }
}
.sentence-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.quick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--steel); font-size: 15px; }
.quick a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.quick a:hover { text-decoration-color: var(--red); }

.hero-car { display: block; text-decoration: none; background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s; }
.hero-car:hover { transform: translateY(-3px); }
.hero-car-tag { display: block; padding: 12px 16px 10px; font-size: 13px; font-weight: 650; color: var(--celadon); border-bottom: 1px solid var(--line); }
.hero-car-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-car-bd { display: grid; gap: 8px; padding: 14px 16px 18px; }
.hero-car-ttl { font-stretch: var(--semi); font-weight: 750; font-size: 18px; line-height: 1.2; }
.hero-car-sub { color: var(--steel); font-size: 14px; }

/* ---------- bands, heads ---------- */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-tint { background: var(--porcelain-2); }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-bottom: 28px; }
.band-head h2 { font-size: clamp(26px, 3vw, 38px); }
.link-more { margin-left: auto; font-weight: 650; font-size: 15px; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.band .journey + .link-more { display: inline-block; margin-top: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 550; background: var(--white); }
.pills a:hover { border-color: var(--ink); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-ph { position: relative; display: block; background: var(--porcelain-2); }
.card-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .flag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700; }
.card .count { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(22,34,44,.72); color: var(--white); font-size: 12px; }
.card-bd { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-ttl { font-stretch: var(--semi); font-weight: 750; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.card-trim { color: var(--steel); font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-spec { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--steel); margin-bottom: 6px; }
.card-spec b { color: var(--ink); font-weight: 650; }
.card .price-row { margin-top: auto; }

/* ---------- dossier (dark showcase) ---------- */
.dossier { background: var(--celadon-deep); color: var(--porcelain); padding: clamp(56px, 8vw, 104px) 0; }
.dossier-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dossier h2 { font-size: clamp(30px, 4vw, 52px); max-width: 16ch; }
.dossier-copy > p { margin-top: 18px; max-width: 54ch; color: var(--celadon-mist); font-size: 17px; }
.dossier-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 32px 0 0; }
.dossier-list div { padding: 16px 0; border-top: 1px solid rgba(207,224,214,.25); }
.dossier-list dt { font-weight: 700; font-stretch: var(--semi); }
.dossier-list dd { margin: 4px 0 0; color: var(--celadon-mist); font-size: 15px; }
.dossier-stat { margin-top: 28px; font-size: 17px; color: var(--celadon-mist); }
.dossier-stat b { color: var(--white); font-stretch: var(--wide); font-weight: 800; font-size: 1.5em; margin-right: 4px; }
.dossier-fig { margin: 0; display: grid; justify-items: center; gap: 22px; }
.dossier .cardiag .shell { background: rgba(255,255,255,.06); border-color: rgba(207,224,214,.35); }
.dossier .cardiag .p { background: var(--celadon-mist); }
.dossier .cardiag .lab, .dossier figcaption { color: var(--celadon-mist); }

/* body diagram (shared with the car page) */
.cardiag { position: relative; width: 260px; height: 400px; flex: none; }
.cardiag .shell { position: absolute; left: 40px; top: 10px; width: 180px; height: 380px; border-radius: 70px 70px 60px 60px; background: var(--porcelain); border: 2px solid var(--line-2); }
.cardiag .p { position: absolute; background: var(--celadon-mist); }
.cardiag .p.repaired { background: var(--warn); }
.cardiag .p.replaced { background: var(--bad); }
.cardiag .hood { left: 62px; top: 28px; width: 136px; height: 88px; border-radius: 40px 40px 10px 10px; }
.cardiag .roof { left: 62px; top: 150px; width: 136px; height: 120px; border-radius: 12px; }
.cardiag .trunk { left: 62px; top: 304px; width: 136px; height: 70px; border-radius: 10px 10px 36px 36px; }
.cardiag .fender_fl { left: 40px; top: 34px; width: 20px; height: 92px; border-radius: 12px 0 0 0; }
.cardiag .fender_fr { left: 200px; top: 34px; width: 20px; height: 92px; border-radius: 0 12px 0 0; }
.cardiag .door_fl { left: 40px; top: 132px; width: 20px; height: 74px; }
.cardiag .door_fr { left: 200px; top: 132px; width: 20px; height: 74px; }
.cardiag .door_rl { left: 40px; top: 212px; width: 20px; height: 74px; }
.cardiag .door_rr { left: 200px; top: 212px; width: 20px; height: 74px; }
.cardiag .fender_rl { left: 40px; top: 292px; width: 20px; height: 86px; border-radius: 0 0 0 12px; }
.cardiag .fender_rr { left: 200px; top: 292px; width: 20px; height: 86px; border-radius: 0 0 12px 0; }
.cardiag .lab { position: absolute; left: 0; font-size: 12px; font-weight: 650; color: var(--steel); }
.cardiag .lab-f { top: 0; } .cardiag .lab-b { bottom: 0; }
figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--steel); }
.key { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.sw-ok { background: var(--celadon-mist); box-shadow: inset 0 0 0 1px rgba(22,34,44,.15); } .sw-warn { background: var(--warn); } .sw-bad { background: var(--bad); }
.fig-note { flex-basis: 100%; text-align: center; font-size: 13px; opacity: .85; }

/* ---------- journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.journey li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--ink); }
.journey li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--porcelain); border: 2px solid var(--ink); }
.journey li:last-child::before { background: var(--red); border-color: var(--red); }
.journey .when { display: block; font-weight: 700; color: var(--celadon); font-size: 14px; margin-bottom: 8px; }
.journey h3 { font-size: 20px; font-stretch: var(--semi); margin-bottom: 8px; }
.journey p { color: var(--steel); font-size: 15px; max-width: 32ch; }

/* ---------- make index ---------- */
.make-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.make-index a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.make-index .mk { font-stretch: var(--semi); font-weight: 700; font-size: 19px; }
.make-index .ct { color: var(--steel); font-size: 14px; }
.make-index a:hover .mk { color: var(--red); }

/* ---------- ask band ---------- */
.ask { background: var(--ink); color: var(--porcelain); padding: 40px 0; }
.ask-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.ask p { font-size: clamp(18px, 2vw, 22px); font-stretch: var(--semi); font-weight: 600; max-width: 46ch; }

/* ---------- listing page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 22px 0 0; font-size: 14px; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.list-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.list-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 14px; }
.list-title h1 { font-size: clamp(30px, 4vw, 48px); }
.list-count { color: var(--steel); font-size: 17px; }
/* guides: one reading column; the question is the H1 and the short answer sits right under it */
.guide { max-width: 760px; padding-bottom: clamp(48px, 7vw, 88px); }
.guide-head { padding: 18px 0 8px; }
.guide-head h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.guide-answer { margin-top: 22px; padding-left: 20px; border-left: 4px solid var(--celadon); font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.guide-answer a, .guide-sec a, .guide-index a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.guide-meta { margin-top: 14px; font-size: 14px; color: var(--steel); }
.guide-sec { margin-top: clamp(36px, 5vw, 52px); }
.guide-sec h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.guide-sec h2 a { text-decoration: none; }
.guide-sec p { max-width: 68ch; }
.guide-sec p + p, .guide-after { margin-top: 12px; }
.guide-after { color: var(--steel); font-size: 15px; }
.guide-steps, .guide-list { margin: 16px 0 0; padding-left: 1.3em; display: grid; gap: 14px; max-width: 68ch; }
.guide-steps li::marker { color: var(--celadon); font-weight: 800; font-stretch: var(--semi); }
.guide-list li::marker { color: var(--celadon); }
.guide-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.guide-table th, .guide-table td { padding: 11px 16px 11px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.guide-table thead th { border-top: 0; border-bottom: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--steel); }
.guide-table tbody th { font-weight: 650; width: 34%; }
.guide-num td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.guide-num th:not(:first-child) { text-align: right; }
.guide-sources { margin-top: 32px; font-size: 14px; color: var(--steel); }
.guide-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 2px solid var(--ink); }
.guide-next h2 { font-size: 20px; margin-bottom: 10px; }
.guide-next p { color: var(--steel); margin-bottom: 16px; }
.guide-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-next li a { font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.guide-index { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: gi; }
.guide-index li { padding: 22px 0; border-top: 1px solid var(--line-2); counter-increment: gi; }
.guide-index a { font-size: clamp(19px, 2.2vw, 24px); font-weight: 750; font-stretch: var(--semi); line-height: 1.25; }
.guide-index p { margin-top: 8px; color: var(--steel); max-width: 68ch; }
.hub-guides { margin-top: 28px; font-size: 15px; color: var(--steel); }
.hub-guides a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
/* brand / model hubs: answer-first intro, key figures, then price-by-year and FAQ under the grid */
.hub-intro { max-width: 68ch; margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.hub-facts { display: grid; grid-template-columns: repeat(5, minmax(0, max-content)); gap: 0 36px; margin: 20px 0 0; }
.hub-facts div { padding: 10px 0 0; border-top: 2px solid var(--celadon); }
.hub-facts dt { font-size: 13px; color: var(--steel); }
.hub-facts dd { margin: 2px 0 0; font-weight: 700; font-stretch: var(--semi); font-size: 20px; }
.hub-more { margin: 28px 0 0; }
.hub-more a { font-weight: 650; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hub-grid h2, .hub-related-h { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 18px; }
.year-table { font-variant-numeric: tabular-nums; }
.specs.year-table th, .specs.year-table td { width: auto; padding: 10px 0 10px 16px; white-space: nowrap; text-align: right; }
.specs.year-table th:first-child { padding-left: 0; text-align: left; color: var(--ink); font-weight: 650; }
.year-table thead th { font-size: 13px; font-weight: 500; color: var(--steel); padding-top: 0; border-bottom: 1px solid var(--line-2); }
.year-table tbody tr + tr th, .year-table tbody tr + tr td { border-top: 1px solid var(--line); }
.faq { margin: 0; }
.faq div { padding: 16px 0; border-top: 1px solid var(--line-2); }
.faq dt { font-weight: 700; font-stretch: var(--semi); font-size: 17px; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); max-width: 62ch; }
.hub-related-h { margin-top: clamp(40px, 5vw, 64px); }
.model-index-h { font-size: 20px; margin: 40px 0 14px; }
.model-index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.model-index a { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.model-index a:hover { border-color: var(--celadon); color: var(--celadon-deep); }
.model-index .ct { color: var(--steel); font-weight: 500; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span, .chips a { padding: 4px 12px; border-radius: 999px; font-size: 14px; background: var(--white); border: 1px solid var(--line-2); }
.chips .ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); font-weight: 650; }
.chips a { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 3px; }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 28px 0 72px; align-items: start; }
.filters { position: sticky; top: 88px; }
.filters-d > summary { display: none; }
.filters form { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; }
.filters-head h2 { font-size: 20px; }
.filters-head a { font-size: 14px; color: var(--steel); }
.filters label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--steel); }
.filters .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters input[type=number], .filters select, .lead input, .lead textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 450; }
.filters select { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
::placeholder { color: #9AA6AE; opacity: 1; }
.filters input:focus, .filters select:focus, .lead input:focus, .lead textarea:focus { outline: none; border-color: var(--ink); }
.filters .check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 550; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--celadon); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; color: var(--steel); font-size: 14px; }
.toolbar b { color: var(--ink); font-weight: 650; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--steel); }
.pager a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--white); }
.pager a:hover { border-color: var(--ink); }
.pager .cur { font-weight: 750; color: var(--ink); }
.empty { padding: 48px 28px; border: 1.5px dashed var(--line-2); border-radius: var(--r-card); text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty h2 { font-size: 24px; }
.empty p { color: var(--steel); max-width: 48ch; }

/* ---------- car page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin-top: 18px; height: clamp(320px, 42vw, 560px); }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--porcelain-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.03); }
.g-main { grid-row: 1 / 3; border-radius: var(--r-card) 10px 10px var(--r-card) !important; }
.gallery .count, .gallery .more { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(22,34,44,.78); color: var(--white); font-size: 13px; font-weight: 600; }
.gallery .more { inset: 0; display: grid; place-items: center; border-radius: 0; background: rgba(22,34,44,.55); font-size: 18px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; padding: 32px 0 64px; align-items: start; }
.detail-main { display: grid; gap: 24px; min-width: 0; }
.car-ref { color: var(--steel); font-size: 14px; margin-bottom: 10px; }
.car-head h1 { font-size: clamp(30px, 3.6vw, 46px); }
.car-head .trim { display: block; margin-top: 8px; font-size: .5em; font-weight: 600; font-stretch: 100%; color: var(--steel); letter-spacing: -.005em; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line-2); }
.keyfacts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: 13px; color: var(--steel); }
.keyfacts dd { margin: 2px 0 0; font-weight: 650; font-size: 16px; }
.sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 28px); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.sheet-head h2 { font-size: 22px; font-stretch: var(--semi); }
.sheet-head p { color: var(--steel); font-size: 14px; }
.sheet-dossier { border-top: 4px solid var(--celadon); }
.inspect { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
.verdicts { display: grid; gap: 18px; min-width: 0; }
.verdict-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.verdict-list li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; border-left: 4px solid; }
.verdict-list li span { font-size: 13px; color: var(--steel); }
.verdict-list .ok { background: var(--ok-bg); border-color: var(--ok); }
.verdict-list .bad { background: var(--bad-bg); border-color: var(--bad); }
.verdict-list .warn { background: var(--warn-bg); border-color: var(--warn); }
.verdict-list .neutral { background: var(--porcelain); border-color: var(--line-2); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th { text-align: left; font-weight: 500; color: var(--steel); padding: 10px 12px 10px 0; width: 46%; vertical-align: top; }
.specs td { padding: 10px 0; font-weight: 600; vertical-align: top; }
.specs tr + tr th, .specs tr + tr td { border-top: 1px solid var(--line); }
.specs td.warn { color: #8A6400; } .specs td.bad { color: var(--bad); } .specs td.ok { color: var(--ok); }
.specs td.vin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 500; word-break: break-all; }
.specs-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 8px; background: var(--porcelain); border: 1px solid var(--line); font-size: 14px; }
.fine { font-size: 13px; color: var(--steel); line-height: 1.45; }
.detail-side { display: grid; gap: 20px; position: sticky; top: 88px; }
.pricebox { display: grid; gap: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-card); padding: 22px; }
.pb-k { font-size: 14px; font-weight: 650; font-stretch: 100%; color: var(--steel); letter-spacing: 0; }
.pb-price { display: grid; justify-items: start; gap: 6px; }
.pb-lek { color: var(--steel); font-size: 15px; }
.pb-note { font-size: 14px; color: var(--steel); }
.pb-warn { padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); font-size: 14px; }
.cost { margin: 0; display: grid; border-top: 1px solid var(--line); }
.cost div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cost dt { color: var(--steel); } .cost dd { margin: 0; font-weight: 600; }
.cost .total { border-bottom: 0; padding-top: 12px; font-size: 16px; }
.cost .total dt { color: var(--ink); font-weight: 700; } .cost .total dd { font-weight: 800; font-stretch: var(--semi); }
.deposit { padding: 12px 14px; border-radius: 10px; background: var(--porcelain); display: grid; gap: 4px; }
.deposit p:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.pb-meta { font-size: 13px; color: var(--steel); text-align: center; }
.lead-box h2 { font-size: 22px; font-stretch: var(--semi); }
.lead-box > p { color: var(--steel); font-size: 14px; margin: 6px 0 16px; }
.lead { display: grid; gap: 12px; }
.lead label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--steel); }
.lead textarea { resize: vertical; min-height: 88px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- plain pages ---------- */
main > .panel { width: min(100% - 2 * var(--gutter), 780px); margin: clamp(32px, 6vw, 72px) auto; }
main > .panel + .panel { margin-top: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 4vw, 44px); }
.prose h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.prose h2 { font-size: 24px; font-stretch: var(--semi); margin: 8px 0 14px; }
.prose p, .prose li { max-width: 68ch; font-size: 16px; }
.prose p + p { margin-top: 14px; }
.prose ol, .prose ul { padding-left: 1.2em; display: grid; gap: 12px; margin: 22px 0; }
.prose li::marker { color: var(--celadon); font-weight: 700; }
.prose a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.muted { color: var(--steel); }
.small { font-size: 14px; }
.center { text-align: center; display: grid; gap: 16px; justify-items: center; }
.center h1 { font-size: clamp(40px, 6vw, 72px); }
.center p { max-width: 52ch; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #B9C4CC; padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 16px; max-width: 34ch; font-size: 15px; }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot a { color: var(--porcelain); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; max-width: 90ch; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F9D55; color: var(--white); box-shadow: 0 10px 26px -10px rgba(22,34,44,.6); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- glightbox: match the palette ---------- */
.glightbox-clean .gslide-description { background: var(--ink); }
.glightbox-clean .gslide-title { color: var(--porcelain); font-family: Archivo, system-ui, sans-serif; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .detail { grid-template-columns: minmax(0, 1fr) 340px; }
  .make-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 16px; }
}
@media (max-width: 900px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .top-row { gap: 14px; min-height: 60px; flex-wrap: wrap; padding: 10px 0; }
  .nav { order: 3; width: 100%; gap: 20px; overflow-x: auto; }
  .top-search { order: 4; width: 100%; margin-left: 0; }
  .top-wa { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-car { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
  .hero-car-tag { grid-column: 1 / -1; }
  .hero-car-ph img { height: 100%; aspect-ratio: auto; }
  .dossier-grid { grid-template-columns: minmax(0, 1fr); }
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 2px solid var(--ink); margin-left: 6px; }
  .journey li { border-top: 0; padding: 0 0 28px 26px; }
  .journey li::before { left: -8px; top: 2px; }
  .make-index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .filters { position: static; }
  .filters-d > summary { display: flex; align-items: center; gap: 8px; list-style: none; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); font-weight: 650; cursor: pointer; width: max-content; }
  .filters-d > summary::-webkit-details-marker { display: none; }
  .filters-d[open] > summary { margin-bottom: 12px; border-color: var(--ink); }
  .filters-d .dot { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: var(--white); font-size: 12px; }
  /* phones: price right after the title, the offer form after the specs */
  .detail { display: flex; flex-direction: column; gap: 24px; }
  .detail-main, .detail-side { display: contents; }
  .car-head { order: 1; } .pricebox { order: 2; } .detail-main .sheet { order: 3; } .lead-box { order: 4; }
  .inspect { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .verdicts { justify-self: stretch; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .g-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r-card) !important; }
  .g-side { aspect-ratio: 4 / 3; }
  .g-side:nth-of-type(n+4) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .guide-next { grid-template-columns: minmax(0, 1fr); }
  .guide-answer { font-size: 17px; padding-left: 16px; }
  body { font-size: 15.5px; }
  .top-wa span { display: none; }
  .top-wa { width: 40px; padding: 0; }
  .sentence-text { font-size: clamp(30px, 9vw, 40px); }
  .sentence-go .btn { width: 100%; }
  .hero-car { grid-template-columns: 112px minmax(0, 1fr); }
  .dossier-list { grid-template-columns: minmax(0, 1fr); }
  .hub-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .hub-facts div { padding-bottom: 10px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid-home .card:nth-child(n+5) { display: none; }
  .specs-2col { grid-template-columns: minmax(0, 1fr); }
  .specs-2col .specs + .specs tr:first-child th, .specs-2col .specs + .specs tr:first-child td { border-top: 1px solid var(--line); }
  .cardiag { transform: scale(.82); transform-origin: top center; height: 330px; margin-bottom: -10px; }
  .band-head .link-more { margin-left: 0; }
  .ask-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
