/* evtestbaterie.ro: "cell readout" design.
   One bold idea: the battery's cells drawn as a voltage readout (hero + logo).
   Everything else stays quiet: ink text, one jade green, amber only for "look here". */

@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/barlow-latin-500-normal.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: "Barlow"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/barlow-latin-ext-500-normal.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; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/barlow-latin-600-normal.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: "Barlow"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/barlow-latin-ext-600-normal.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; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/barlow-latin-700-normal.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: "Barlow"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/barlow-latin-ext-700-normal.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; }
@font-face { font-family: "Barlow"; font-style: normal; font-display: swap; font-weight: 800; src: url(/assets/fonts/barlow-latin-800-normal.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: "Barlow"; font-style: normal; font-display: swap; font-weight: 800; src: url(/assets/fonts/barlow-latin-ext-800-normal.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; }
@font-face { font-family: "Instrument"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.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: "Instrument"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.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 {
  --ink: #10212B;      /* text, dark band */
  --brand: #0B7A5C;    /* jade: brand, buttons, links */
  --brand-bright: #0B7A5C; /* cells, logo, shapes */
  --brand-deep: #075A44;
  --brand-light: #5EE3A8; /* jade on dark backgrounds only */
  --amber: #E39B2D;    /* the one cell that needs attention */
  --tint: #EDF4F1;     /* hero and page-title band */
  --mist: #F4F6F5;     /* alternate sections */
  --line: #CBD8D2;
  --field: #7F918A;   /* form field borders: 3:1 on white */
  --muted: #4E605A;
  --red: #C0353B;
  --yellow: #E39B2D;
  --green: #0B7A5C;
  --wa: #25D366;
  --display: "Barlow", "Arial Narrow", sans-serif;
  --body: "Instrument", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.55; font-size: 1.0625rem; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.bg-mint { background: var(--tint); }
.bg-mint:not(.hero) + .section { padding-top: clamp(32px, 5vw, 56px); }
.bg-sky, .bg-sand { background: var(--mist); }
.muted { color: var(--muted); }
.small { font-size: .875rem; color: var(--muted); }
.mt { margin-top: 2.5rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 38em; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 10px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo svg { width: 48px; height: 48px; flex: none; }
.wordmark { font-family: var(--display); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.wordmark b { font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.wordmark span { color: var(--muted); font-weight: 400; }
.header-right { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.price-tag { font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; }
.lang { font-weight: 700; text-decoration: none; color: var(--ink); padding: 10px 8px; }
.nav { display: flex; gap: 26px; overflow-x: auto; padding-bottom: 12px; font-size: .95rem; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); font-weight: 700; }
.nav-phone { margin-left: auto; font-weight: 700; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 6px; min-width: 44px; min-height: 44px; padding: 2px 10px; font-size: 1.2rem; line-height: 1.4; cursor: pointer; color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; border: 2px solid var(--brand); cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- generic panels (inner pages) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.cards > .card { border: 0; border-radius: 0; padding: 16px 0 8px; background: transparent; }
/* panel title sits above the line, text below it */
.cards > .card > strong:first-child { display: block; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.15; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 3px solid var(--ink); }
.card p { margin: 6px 0 0; }
.card strong { font-family: var(--display); font-size: 1.15rem; font-weight: 650; }
.facts strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; color: var(--ink); line-height: 1.1; }
.facts span { font-size: .95rem; color: var(--muted); }
.checks { padding-left: 1.4em; }
.checks li { margin-bottom: 6px; }
.checks li::marker { content: "✓  "; color: var(--brand); font-weight: 700; }
.banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.banner h2 { margin-bottom: 6px; }
details.card { margin-bottom: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
details.card:first-of-type { border-top: 1px solid var(--line); }
summary { font-family: var(--display); font-weight: 650; font-size: 1.15rem; cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; max-width: 40em; }

/* ---------- footer + mobile bar ---------- */
.site-footer { background: var(--ink); color: #C9D6D1; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a, .site-footer strong { color: #fff; }
.site-footer .small { color: #8FA39C; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.footer-brand .logo { color: #fff; margin: 0 0 16px; }
.footer-brand .logo svg { width: 44px; height: 44px; }
.footer-brand .wordmark { color: #fff; font-size: 1.6rem; }
.site-footer p a { display: inline-block; padding: 5px 0; }
.footer-brand .wordmark b { color: var(--brand-light); }
.footer-brand .wordmark span { color: #8FA39C; }
.mobile-bar { display: none; }

/* ---------- forms ---------- */
label { display: block; font-weight: 700; margin-bottom: 14px; }
label.inline { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 400; margin: 0 16px 0 0; }
select, input[type="text"], input[type="tel"], input[type="search"], textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink); border: 1.5px solid var(--field); border-radius: 6px; background: #fff; }
select:focus, input:focus { border-color: var(--brand); }
input[type="range"] { display: block; width: 100%; height: 32px; margin-top: 2px; accent-color: var(--brand); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 700; margin-bottom: 4px; }
[hidden] { display: none !important; }

.request { background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: clamp(22px, 4vw, 36px); }
.request h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.request label { margin-bottom: 4px; }
.request input[type="text"], .request input[type="tel"] { margin-bottom: 12px; }
label.consent { display: flex; align-items: flex-start; margin: 8px 0; }
label.consent { gap: 10px; }
.consent input { margin-top: 2px; }
.request p.muted { margin-bottom: 1.4em; }
.error { color: var(--red); font-size: .9rem; font-weight: 700; margin: -6px 0 10px; }
.request .btn { width: 100%; margin-top: 8px; }

/* ---------- calculator ---------- */
.calc { margin: 24px 0 16px; }
.soh-result { border: 2px solid var(--ink); }
.soh-big { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 750; margin: 4px 0 12px; line-height: 1; }
.soh-big #soh-label { font-size: 1.1rem; font-weight: 650; }
.soh-result[data-band="green"] .soh-big { color: var(--green); }
.soh-result[data-band="yellow"] .soh-big { color: #A86A10; }
.soh-result[data-band="red"] .soh-big { color: var(--red); }
/* nothing to show until a car is chosen: keep the box short (it sits above the inputs on phones) */
.soh-result[data-band=""] :is(.soh-result > .muted, .soh-big, .soh-scale, .soh-ticks) { display: none; }
.soh-scale { position: relative; display: flex; height: 12px; border-radius: 6px; overflow: visible; }
.soh-scale span { height: 100%; }
.soh-scale .r { flex: 50; background: var(--red); border-radius: 6px 0 0 6px; }
.soh-scale .y { flex: 20; background: var(--yellow); }
.soh-scale .g { flex: 30; background: var(--green); border-radius: 0 6px 6px 0; }
.soh-scale i { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--ink); border-radius: 2px; transform: translateX(-2px); }
.soh-ticks { position: relative; height: 1.4em; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.soh-ticks span { position: absolute; transform: translateX(-50%); }
.soh-ticks span:nth-child(1) { left: 0; transform: none; }
.soh-ticks span:nth-child(2) { left: 50%; }
.soh-ticks span:nth-child(3) { left: 70%; }
.soh-ticks span:nth-child(4) { right: 0; transform: none; }

/* ---------- compatible cars ---------- */
.search { margin: 20px 0 12px; }
.search-row { display: flex; gap: 8px; margin-top: 6px; }
.search-row input { flex: 1; min-width: 0; margin-top: 0; }
.brands { columns: 300px; column-gap: 40px; margin-top: 16px; }
.brand-group { break-inside: avoid; margin-bottom: 28px; }
.brand-group summary { padding: 12px 0; border-bottom: 2px solid var(--ink); }
.brand-group h3 { margin: 0; }
.brand-group[open] ul { margin: 8px 0 0; }
.brand-group ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.brand-group li { padding: 5px 0; border-bottom: 1px solid var(--mist); }
.tag { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--mist); color: var(--muted); font-weight: 700; }
.tag-warranty { background: var(--tint); color: var(--brand-deep); }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 11em; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-spec { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; max-width: 520px; border-top: 2px solid var(--ink); }
.hero-spec div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hero-spec dt { color: var(--muted); font-size: .85rem; }
.hero-spec dd { margin: 0; font-family: var(--display); font-weight: 750; font-size: 1.3rem; white-space: nowrap; }

/* sample report (illustration until a real AVILOO report image is added in site.json) */
.sample { margin: 0; }
.sample img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(15, 30, 51, .18); }
.sample-card { background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 22px 24px; box-shadow: 10px 10px 0 var(--brand-bright); }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sample-head strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.sample-car { margin: 14px 0 6px; color: var(--muted); font-size: .95rem; }
.sample-car b { color: var(--ink); }
.sample-soh { display: flex; align-items: baseline; gap: 12px; }
.sample-num { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; color: var(--green); letter-spacing: -0.03em; }
.sample-soh span:last-child { color: var(--muted); font-size: .9rem; }
.sample-bar { height: 10px; border-radius: 5px; background: var(--mist); margin: 10px 0 14px; overflow: hidden; }
.sample-bar i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.sample-rows { margin: 0; }
.sample-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--mist); font-size: .95rem; }
.sample-rows dt { color: var(--muted); }
.sample-rows dd { margin: 0; font-weight: 700; text-align: right; }
.sample figcaption { margin-top: 16px; }

/* the cell readout */
.cells { margin-top: clamp(40px, 6vw, 72px); }
.cell-chart { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
.cell-axis { position: relative; font-size: .78rem; color: var(--muted); }
.cell-axis span { position: absolute; right: 10px; transform: translateY(50%); white-space: nowrap; }
.cell-plot { position: relative; height: clamp(150px, 20vw, 230px); border-bottom: 2px solid var(--ink); }
.cell-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.cell-row { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 3px; }
.cell-row i { flex: 1; min-width: 0; height: var(--h); background: var(--brand-bright); border-radius: 2px 2px 0 0; transform-origin: bottom; animation: cell-in .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--n) * 9ms); }
.cell-row i.low { background: var(--amber); }
.cell-mean { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed var(--ink); }
.cell-mean .cell-box { position: absolute; right: 0; bottom: 6px; }
.cell-box { display: inline-block; background: #fff; border: 1px solid var(--ink); border-radius: 4px; padding: 4px 9px; font-size: .8rem; line-height: 1.3; color: var(--ink); white-space: nowrap; box-shadow: 0 2px 6px rgba(16, 33, 43, .12); }
.cell-box strong { display: block; font-size: .9rem; }
.cell-callout { position: absolute; width: 0; height: 0; }
.cell-callout::before { content: ""; position: absolute; left: 0; bottom: 4px; width: 1.5px; height: 30px; background: var(--ink); }
.cell-callout .cell-box { position: absolute; left: -10px; bottom: 34px; }
.cell-xaxis { grid-column: 2; position: relative; height: 1.6em; font-size: .78rem; color: var(--muted); }
.cell-xaxis span { position: absolute; top: 4px; transform: translateX(-50%); }
.cell-xaxis span:first-child { transform: none; }
.cell-xaxis span:last-child { transform: none; }
.cells figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0 18px; font-size: .875rem; color: var(--muted); }
.cells figcaption .flag { font-weight: 700; }
@keyframes cell-in { from { transform: scaleY(.08); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cell-row i { animation: none; } }

/* steps: a real sequence, so they are numbered and joined by a "cable" */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); font-family: var(--display); font-weight: 750; font-size: 1.3rem; margin-bottom: 18px; position: relative; }
.steps li:last-child::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 650; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

/* report: what the device reads */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin: 0; }
.readings div { border-top: 2px solid var(--ink); padding-top: 14px; }
.readings .ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 10px; display: block; }
.readings dt { font-family: var(--display); font-size: 1.25rem; font-weight: 650; margin-bottom: 4px; }
.readings dd { margin: 0; color: var(--muted); }

/* warranty: the single dark band */
.band-dark { background: var(--ink); color: #DCE7E2; }
.band-dark h2 { color: #fff; }
.band-dark a { color: var(--brand-light); }
.band-dark .lead { color: #B8C9C2; }
.warranty-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; max-width: 14em; }
.band-dark .warranty-title + .lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 34em; }
.warranty-figs { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 4vw, 48px); margin: 40px 0 32px; }
.warranty-figs div { border-top: 3px solid var(--brand-light); padding-top: 14px; }
.warranty-figs dt { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6.4vw, 4.8rem); line-height: .95; letter-spacing: -0.02em; color: var(--brand-light); white-space: nowrap; }
.warranty-figs dd { margin: 8px 0 0; color: #fff; font-size: 1.05rem; max-width: 16em; }

/* price + form side by side */
.price-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.price-big { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; letter-spacing: -0.03em; margin: 8px 0 12px; }
.price-big span { font-size: .4em; font-weight: 650; letter-spacing: 0; }
.price-col .checks { margin: 24px 0; }

/* compat + calculator pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.pair > div { border-top: 3px solid var(--ink); padding-top: 24px; }
.pair h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); }
.about-points { list-style: none; padding: 0; margin: 0; }
.about-points li { padding: 14px 0; border-top: 1px solid var(--line); }
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points strong { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 650; }
.about-points span { color: var(--muted); }

.dealer-strip { border: 2px solid var(--ink); border-radius: 6px; padding: clamp(24px, 4vw, 40px); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .price-form, .pair, .about-grid { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 0; border-top: 1px solid var(--mist); }
  .nav a[aria-current="page"] { color: var(--brand); }
  .nav-phone { margin-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); z-index: 10; }
  .mobile-bar .btn { flex: 1; padding: 12px 10px; }
  .wrap { padding: 0 16px; }
  .price-tag { display: none; }
  .hero-btns { display: none; }
  .wordmark { font-size: 1.45rem; }
  .logo svg { width: 40px; height: 40px; }
  .cell-row { gap: 1px; }
  .cell-row i.low { flex: 4; }  /* the weak cell must stay visible when 96 bars share a phone width */
  .cell-plot { height: 190px; }
  .cell-chart { grid-template-columns: 46px 1fr; }
  .cell-mean .cell-box { bottom: 4px; }
  .readings { grid-template-columns: 1fr; }
  .sample-card { box-shadow: 6px 6px 0 var(--brand-bright); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}
@media (max-width: 359px) {
  .logo { gap: 8px; }
  .logo svg { width: 36px; height: 36px; }
  .wordmark { font-size: 1.2rem; }
  .header-right { gap: 6px; }
  .hero-spec dd { white-space: normal; }
}

/* ---------- floating WhatsApp button (every page) ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.wa-bubble { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(15, 30, 51, .25); }
.wa-bubble svg { width: 34px; height: 34px; }
.wa-bubble::before, .wa-bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite; }
.wa-bubble::after { animation-delay: 1.2s; }
.wa-text { font-size: .75rem; font-weight: 700; background: #fff; border-radius: 999px; padding: 1px 8px; box-shadow: 0 2px 6px rgba(15, 30, 51, .15); }
.wa-float:hover .wa-bubble { background: #1EBE5A; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-bubble { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-bubble::before, .wa-bubble::after { animation: none; opacity: 0; } }
@media (max-width: 767px) {
  .mobile-bar { padding-right: 96px; }
  .wa-float { right: 14px; bottom: 8px; }
  .wa-bubble { width: 54px; height: 54px; }
  .wa-bubble svg { width: 30px; height: 30px; }
}

/* ---------- car check + SOH (main page and calculator page) ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; }
.calc-grid .calc { margin: 0; }
.calc-grid .soh-result { position: sticky; top: 16px; }
.compat-line { margin: 0 0 18px; padding: 12px 14px; border-radius: 6px; background: var(--mist); font-weight: 700; }
.compat-line[data-state="yes"] { background: #E6F4EC; color: #145F3A; }
.compat-line[data-state="yes"]::before { content: "✓ "; }
.compat-line[data-state="unknown"] { background: #FDF3E2; color: #7A4E0B; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-grid .soh-result { position: static; order: -1; } }

.pick-label { margin: 14px 0 6px; font-weight: 700; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick-row select { margin-top: 0; }
@media (max-width: 600px) { .pick-row { grid-template-columns: 1fr; } }

/* inner pages use the full page width; keep running text at a readable line length */
main .wrap > p, main .wrap > ul, main .wrap > ol:not(.steps) { max-width: 46em; }
.partner-logo { display: block; height: 48px; width: auto; margin-bottom: 20px; }
.wrap > .request { max-width: 760px; }
.cards.facts > .card > strong:first-child { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
