/* =============================================================
   EspressoScope — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #faf7f2;
  --bg-alt: #f1ece1;
  --surface: #ffffff;
  --surface-2: #fbf8f3;
  --text: #241a14;
  --text-muted: #6b5d52;
  --text-faint: #948577;
  --border: #e6ddcf;
  --border-strong: #d8cbb8;
  --accent: #b5502f;
  --accent-2: #c17a3d;
  --accent-ink: #fff6ee;
  --accent-soft: #f4e3d3;
  --gold: #d79a2c;
  --good: #3f7d4a;
  --good-bg: #e9f3e8;
  --bad: #ad3b2a;
  --bad-bg: #fbebe6;
  --link: #9a3f22;
  --shadow-sm: 0 1px 2px rgba(36,26,20,.06), 0 1px 1px rgba(36,26,20,.04);
  --shadow-md: 0 6px 20px rgba(36,26,20,.08), 0 2px 6px rgba(36,26,20,.05);
  --shadow-lg: 0 16px 40px rgba(36,26,20,.14), 0 4px 12px rgba(36,26,20,.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --nav-h: 68px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15100c;
    --bg-alt: #1c1611;
    --surface: #211a14;
    --surface-2: #251e17;
    --text: #f3ece1;
    --text-muted: #bcae9e;
    --text-faint: #8c7f70;
    --border: #382c22;
    --border-strong: #46392c;
    --accent: #e08a54;
    --accent-2: #e6a66b;
    --accent-ink: #2a1a0e;
    --accent-soft: #362316;
    --gold: #e8b747;
    --good: #6fbb78;
    --good-bg: #1d2b1d;
    --bad: #e08672;
    --bad-bg: #34201c;
    --link: #f0a97e;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 6px 20px rgba(0,0,0,.35);
    --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg: #15100c; --bg-alt: #1c1611; --surface: #211a14; --surface-2: #251e17;
  --text: #f3ece1; --text-muted: #bcae9e; --text-faint: #8c7f70;
  --border: #382c22; --border-strong: #46392c;
  --accent: #e08a54; --accent-2: #e6a66b; --accent-ink: #2a1a0e; --accent-soft: #362316;
  --gold: #e8b747; --good: #6fbb78; --good-bg: #1d2b1d; --bad: #e08672; --bad-bg: #34201c;
  --link: #f0a97e;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; font-family: var(--serif); font-weight: 600; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--text); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-xs { gap: .4rem; } .gap-sm { gap: .75rem; } .gap-md { gap: 1.25rem; } .gap-lg { gap: 2rem; }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.divider { height: 1px; background: var(--border); border: 0; margin-block: 2rem; }
.visually-hide-empty:empty { display: none; }
[hidden] { display: none !important; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 62ch; }
a.text-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.text-link:hover { color: var(--accent); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out), color .18s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* --- Nav --- */
.site-nav {
  position: sticky; top: 0; z-index: 500;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.1rem;
}
.brand-mark svg { width: 18px; height: 18px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 600; font-size: .93rem; color: var(--text-muted); transition: color .15s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 999px;
}
.nav-tools { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; }
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle svg { width: 22px; height: 22px; flex: none; }
.nav-drawer-close svg { width: 20px; height: 20px; flex: none; }

.selector {
  position: relative;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
}
.selector select {
  appearance: none; -webkit-appearance: none; background: none; border: 0;
  padding: .45rem 1.9rem .45rem .9rem; font: inherit; font-weight: 700; font-size: .82rem;
  color: var(--text); cursor: pointer;
}
.selector::after {
  content: ""; position: absolute; right: .7rem; top: 50%; translate: 0 -50%;
  width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px); pointer-events: none;
}

/* --- Cards --- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .thumb {
  position: relative; aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: .9rem; }
.product-card .body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-card .kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.product-card h3 { font-size: 1.02rem; line-height: 1.3; }
.product-card .brand-line { font-size: .82rem; color: var(--text-muted); }
.product-card .spacer { flex: 1; }
.product-card .price-row { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-now { font-family: var(--mono); font-weight: 700; font-size: 1.25rem; }
.price-was { font-family: var(--mono); font-size: .88rem; color: var(--text-faint); text-decoration: line-through; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700;
  padding: .22rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.badge svg { width: 1em; height: 1em; flex: none; }
.badge-deal { background: var(--bad-bg); color: var(--bad); }
.badge-featured { background: var(--accent-soft); color: var(--accent); }
.badge-new { background: var(--good-bg); color: var(--good); }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; white-space: nowrap; }
.rating-row { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-muted); }

.grid { display: grid; gap: 1.25rem; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Compare checkbox on cards --- */
.compare-add {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
  color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: 999px; padding: .35rem .7rem .35rem .55rem;
  transition: border-color .15s, color .15s, background .15s;
}
.compare-add input { accent-color: var(--accent); width: 15px; height: 15px; }
.compare-add:has(input:checked) { border-style: solid; border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* --- Category chip filters --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border-strong);
  font-size: .85rem; font-weight: 600; color: var(--text-muted); background: var(--surface);
}
.chip[aria-current="true"], .chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* --- Ficha --- */
.ficha-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 1rem); }
.gallery-main { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); aspect-ratio: 1/1; overflow: hidden; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; overflow-y: visible; padding-block: .25rem .5rem; }
.gallery-thumbs button {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 10px; border: 2px solid var(--border);
  background: var(--surface); overflow: hidden; padding: 4px;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); }

.fh-kind { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.fh-brand { color: var(--text-muted); font-weight: 600; }
.fh-title { margin-block: .3rem .6rem; }
.fh-rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.fh-price-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.fh-price-now { font-family: var(--mono); font-size: 2rem; font-weight: 700; }
.fh-price-note { font-size: .78rem; color: var(--text-faint); margin-top: .3rem; }
.fh-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.25rem; }
.fh-quicklist { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem 1rem; }
.fh-quicklist div { font-size: .85rem; display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dotted var(--border); padding-bottom: .3rem; }
.fh-quicklist dt { color: var(--text-muted); }
.fh-quicklist dd { font-weight: 700; font-family: var(--mono); }

/* --- Radar chart --- */
.radar-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.radar-wrap h3 { margin-bottom: .3rem; }
.radar-svg { width: 100%; height: auto; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; font-size: .82rem; }
.radar-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: .35rem; }

/* --- Spec table --- */
.spec-group { margin-bottom: 1.4rem; }
.spec-group h4 { margin-bottom: .6rem; color: var(--accent); }
.spec-table { font-size: .92rem; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td { text-align: left; padding: .55rem .3rem; }
.spec-table th { font-weight: 600; color: var(--text-muted); width: 55%; }
.spec-table td { font-family: var(--mono); font-weight: 600; }
.spec-table td.na { color: var(--text-faint); font-family: var(--sans); font-weight: 400; }
.spec-yes { color: var(--good); font-weight: 700; }
.spec-no { color: var(--text-faint); }

/* --- Editorial --- */
.editorial { max-width: 74ch; font-size: 1.02rem; }
.editorial p { margin-bottom: 1rem; }
.pc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-block: 1.5rem; }
.pc-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
.pc-col h4 { display: flex; align-items: center; gap: .45rem; margin-bottom: .7rem; }
.pc-col h4 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col.pros h4 { color: var(--good); }
.pc-col.cons h4 { color: var(--bad); }
.pc-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.pc-col li { display: flex; gap: .5rem; font-size: .93rem; }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.ideal-para { background: var(--accent-soft); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; font-weight: 600; }

/* --- Reviews --- */
.review { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.15rem; background: var(--surface); }
.review + .review { margin-top: .8rem; }
.review-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; flex-wrap: wrap; }
.review-verified { display: inline-flex; align-items: center; gap: .25rem; font-size: .74rem; color: var(--good); font-weight: 700; }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }
.review-text { font-size: .92rem; color: var(--text-muted); }

/* --- Disclosure --- */
.disclosure {
  font-size: .82rem; color: var(--text-muted); background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: .9rem 1.1rem;
}

/* --- Comparator --- */
.compare-toolbar {
  position: sticky; top: var(--nav-h); z-index: 400; background: var(--surface);
  border-bottom: 1px solid var(--border); padding-block: .8rem;
}
.compare-slots { display: flex; gap: .8rem; flex-wrap: wrap; }
.compare-slot {
  flex: 1 1 200px; min-width: 180px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md);
  padding: .6rem .8rem; display: flex; align-items: center; gap: .6rem; min-height: 60px; position: relative;
}
.compare-slot.filled { border-style: solid; border-color: var(--border); background: var(--surface-2); }
.compare-slot img { width: 40px; height: 40px; object-fit: contain; }
.compare-slot .name { font-size: .82rem; font-weight: 700; line-height: 1.25; }
.compare-slot .remove-badge {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bad); color: #fff; display: grid; place-items: center; font-size: .8rem; box-shadow: var(--shadow-sm);
}
.compare-search { position: relative; margin-top: .8rem; }
.compare-search input {
  width: 100%; padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--border-strong);
  font: inherit; background: var(--surface); color: var(--text);
}
.compare-results {
  position: absolute; top: calc(100% + .4rem); left: 0; right: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  max-height: 320px; overflow-y: auto; z-index: 50;
}
.compare-results button {
  width: 100%; text-align: left; padding: .6rem .9rem; display: flex; align-items: center; gap: .6rem; font-size: .88rem;
}
.compare-results button:hover { background: var(--bg-alt); }
.compare-results img { width: 32px; height: 32px; object-fit: contain; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare-table { min-width: 640px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--surface-2); position: sticky; top: 0; }
.compare-table tbody th { text-align: left; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.compare-table td { font-family: var(--mono); font-weight: 600; text-align: center; }
.compare-table td.best { background: var(--good-bg); color: var(--good); border-radius: 6px; }
.compare-table .col-product { text-align: center; font-family: var(--sans); }
.compare-table .col-product img { width: 70px; height: 70px; object-fit: contain; margin-inline: auto; }
.compare-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* --- Hero --- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 { margin-block: .5rem .9rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-stats { display: flex; gap: 1.6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-stat b { font-family: var(--serif); font-size: 1.6rem; display: block; }
.hero-stat span { font-size: .8rem; color: var(--text-muted); }
.hero-visual {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(155deg, var(--accent-soft), var(--bg-alt));
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative;
}
.hero-visual .cup-icon { width: 46%; height: 46%; color: var(--accent); }
.hero-visual .cup-icon svg { width: 100%; height: 100%; }

.hero-pick { display: flex; flex-direction: column; background: var(--surface); }
.hero-pick-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.hero-pick-img { flex: 1; display: grid; place-items: center; padding: 2.2rem 2rem 1rem; min-height: 0; }
.hero-pick-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-pick-body { padding: 1.1rem 1.4rem 1.4rem; border-top: 1px solid var(--border); background: var(--surface-2); }
.hero-pick-body .kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.hero-pick-body h3 { font-size: 1.05rem; line-height: 1.3; margin-block: .25rem .4rem; }
.hero-pick-body .price-row { margin-block: .5rem .7rem; }

/* --- How we choose / trust block --- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.3rem; }
.trust-item svg { width: 28px; height: 28px; flex: none; color: var(--accent); margin-bottom: .6rem; }

/* --- Category entry cards on home --- */
.cat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.3rem; display: flex; flex-direction: column; gap: .4rem;
}
.cat-card .count { font-size: .78rem; color: var(--text-muted); }

/* --- Guide / ranking pages --- */
.guide-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.guide-item { display: flex; gap: 1rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); align-items: center; }
.guide-item .rank { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); width: 2ch; flex: none; text-align: center; }
.guide-item img { width: 72px; height: 72px; object-fit: contain; flex: none; background: var(--bg-alt); border-radius: 8px; padding: .4rem; }
.guide-item .why { font-size: .88rem; color: var(--text-muted); }
.faq-item { border-bottom: 1px solid var(--border); padding-block: 1rem; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }

/* --- Footer --- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 2.5rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .8rem; color: var(--text-muted); }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { font-size: .88rem; color: var(--text-muted); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-faint); }
.footer-disclosure { font-size: .78rem; color: var(--text-faint); max-width: 70ch; margin-top: 1rem; }

/* --- Legal pages --- */
.legal-body { max-width: 74ch; }
.legal-body h2 { margin-top: 2rem; margin-bottom: .6rem; }
.legal-body p, .legal-body li { color: var(--text-muted); margin-bottom: .8rem; }

/* --- Amazon disclosure strip --- */
.top-strip { background: var(--text); color: var(--bg); font-size: .78rem; text-align: center; padding: .45rem 1rem; }
.top-strip a { text-decoration: underline; color: inherit; }

/* =============================================================
   6. Effects (subtle, non-intrusive)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   7. Mobile nav drawer
   ============================================================= */
.nav-drawer {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  display: flex; flex-direction: column; padding: 1.25rem; transform: translateX(100%);
  transition: transform .28s var(--ease-out);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer .drawer-links { display: flex; flex-direction: column; gap: .2rem; margin-top: 2rem; }
.nav-drawer .drawer-links a { padding: .9rem .3rem; font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid var(--border); }
.nav-drawer-close { align-self: flex-end; width: 44px; height: 44px; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 1023px) {
  .ficha-head { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; flex: none; }
  .nav-inner { gap: .4rem; }
  .brand { font-size: 1.02rem; gap: .4rem; min-width: 0; flex-shrink: 1; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-tools { gap: .35rem; }
  .selector select { padding: .4rem 1.5rem .4rem .6rem; font-size: .74rem; }
  .selector::after { right: .5rem; }
  .pc-cols { grid-template-columns: 1fr; }
  .fh-quicklist { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .fh-price-now { font-size: 1.6rem; }
  .compare-slots { flex-direction: column; }
}
@media (max-width: 539px) {
  .footer-grid { grid-template-columns: 1fr; }
  .guide-item { flex-wrap: wrap; }
}

/* =============================================================
   9. Reduced-motion (only the truly intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
