/* =============================================================
   Overland Gear Lab — styles.css
   1 Tokens · 2 Reset · 3 Utilities · 4 Type · 5 Components
   6 Layout/sections · 7 Pages (ficha, compare, rig, guide)
   8 Effects · 9 Responsive · 10 Reduced motion
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  /* Forest & earth palette (dark pine surfaces, earthy brown cards, sand/khaki bands, moss accents, sunset-orange CTA) */
  --night: #0c1710;      /* deepest pine — header, footer, dark bands */
  --night-2: #13241a;
  --pine: #b9cc7e;       /* moss (light) — links/controls on dark */
  --ink: #f1e9d6;        /* cream text */
  --muted: #bfc6a8;      /* sage-khaki secondary text */
  --paper: #15281d;      /* page background: dark pine */
  --paper-2: #2a2117;    /* alternate sections: earth brown */
  --surface: #2f2619;    /* cards: dark earthy brown */
  --well: #3b3022;       /* inset wells inside cards */
  --sand: #d9c79c;       /* warm sand/khaki */
  --moss: #7a8b4a;
  --line: rgba(241, 233, 214, .13);
  --line-strong: rgba(241, 233, 214, .28);
  --accent: #f08a3c;     /* sunset orange CTA */
  --accent-2: #ffb36b;
  --accent-ink: #1d1006;
  --sage: #a9c98f;
  --good: #9fd6a6;
  --good-on: #0c1710;
  --bad: #f0907a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 12px 30px -12px rgba(0,0,0,.55);
  --shadow-lg: 0 30px 60px -25px rgba(0,0,0,.7);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'%3E%3Cpath d='M-20 60 C40 20 80 100 140 60 S220 20 260 60'/%3E%3Cpath d='M-20 100 C40 60 80 140 140 100 S220 60 260 100'/%3E%3Cpath d='M-20 140 C40 100 80 180 140 140 S220 100 260 140'/%3E%3Cpath d='M-20 180 C40 140 80 220 140 180 S220 140 260 180'/%3E%3Cellipse cx='170' cy='40' rx='30' ry='14'/%3E%3Cellipse cx='170' cy='40' rx='16' ry='7'/%3E%3C/g%3E%3C/svg%3E");
}

/* 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 90px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* 3. Utilities ------------------------------------------------- */
.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }
.nota { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.nota a { text-decoration: underline; }
/* E.1: every inline icon context is sized explicitly */
.ico { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.18em; }
.ico-cat { width: 1.5em; height: 1.5em; }
.catcard-ico .ico-cat { width: 2.4rem; height: 2.4rem; }

/* 4. Typography ------------------------------------------------ */
.eyebrow, .kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.prose { max-width: 72ch; }
.prose p, .prose ul { margin-block: 0 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2rem 0 .8rem; }
.prose a { color: var(--pine); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--pine); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .3s var(--ease-out); }

/* 5. Components ------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1; transition: transform .25s var(--ease-out), background-color .2s, box-shadow .25s, color .2s; white-space: nowrap; border: 1.5px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.02rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -10px rgba(240,138,60,.8); }
.btn-primary:hover { background: var(--accent-2); }
.btn-buy { background: var(--accent); color: var(--accent-ink); }
.btn-buy:hover { background: var(--accent-2); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.is-on { background: var(--sage); border-color: var(--sage); color: var(--night); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); line-height: 1; }
.badge-sample { background: #fde9c8; color: #7a3b0a; border: 1px dashed #d98a3f; }
.badge-deal { background: #b5452b; color: #fff; }
.score-pill { background: var(--night); color: var(--accent-2); padding: .15rem .45rem; border-radius: 6px; letter-spacing: 0; }

.disclosure-bar { background: #0a100d; color: #c9d4cd; font-size: .78rem; padding: .45rem var(--gutter); display: flex; justify-content: center; align-items: center; gap: .5rem; text-align: center; }
.disclosure-bar a { color: var(--accent-2); text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12,23,16,.96); color: #f1e9d6; border-bottom: 1px solid rgba(217,199,156,.18); }
@supports (backdrop-filter: blur(12px)) { .site-header { background: rgba(12,23,16,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); } }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; color: inherit; }
.logo b { color: var(--accent); margin-left: .25rem; font-weight: 800; }
.logo-mark { width: 34px; height: 34px; color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-links { display: flex; gap: .25rem; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: #e2dac4; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
/* E.2: in-nav button keeps its own colors */
.nav-links a.nav-cta, .nav-links a.nav-cta:hover, .nav-links a.nav-cta[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cmp-count { background: var(--night); color: var(--accent-2); border-radius: 999px; font-size: .72rem; padding: .1rem .42rem; font-family: var(--mono); }
.cat-strip { border-top: 1px solid rgba(255,255,255,.06); }
.cat-strip ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .35rem; }
.cat-strip ul::-webkit-scrollbar { display: none; }
.cat-strip a { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border-radius: 999px; font-size: .84rem; color: #d3cbb4; white-space: nowrap; }
.cat-strip a:hover, .cat-strip a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.cat-strip .ico-cat { width: 1.25em; height: 1.25em; color: var(--accent); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a:hover { color: var(--accent); }

/* Product card */
.pgrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-media .badge-sample { position: absolute; top: .75rem; left: .75rem; }
.badge-float { position: absolute; top: .75rem; right: .75rem; }
.pcard-body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard-title { font-size: 1.12rem; }
.pcard-title a:hover { color: var(--pine); text-decoration: underline; text-decoration-color: var(--accent); }
.pcard-hl { font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .76rem; background: var(--well); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .5rem; display: flex; gap: .35rem; }
.chips li span { color: var(--muted); }
.chips li b { font-family: var(--mono); font-weight: 600; }
.pcard-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .3rem; }
.pcard-actions .btn { flex: 1 1 auto; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; }
.price-now { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.price-old { color: var(--muted); font-size: .95rem; }
.price-note { flex-basis: 100%; font-size: .72rem; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }
.rating-none { color: var(--muted); font-size: .85rem; font-style: italic; }
.stars { --pct: 0%; width: 5.4em; height: 1em; background: linear-gradient(90deg, var(--accent) var(--pct), var(--line-strong) var(--pct)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 2l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17l-5.9 3 1.2-6.5L2.5 8.9l6.6-.9z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg%3E%3Cpath id='s' d='M12 2l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17l-5.9 3 1.2-6.5L2.5 8.9l6.6-.9z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow); }
.panel h2, .panel-h { font-size: 1.25rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.panel-h .muted { font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: 0; }

.sample-strip, .sample-banner { display: flex; gap: .75rem; align-items: flex-start; background: #fff5e6; border: 1px dashed #e2a364; color: #6b3810; border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .9rem; }
.sample-strip .ico, .sample-banner .ico { color: #c2671f; width: 1.3em; height: 1.3em; margin-top: .1rem; }
.container.sample-strip { margin-top: 1.25rem; }
.sample-banner { margin-bottom: 1.25rem; }

.switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .92rem; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .2s; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--pine); }
.switch input:checked::after { transform: translateX(18px); }

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.5rem; }
.toolbar label { display: grid; gap: .25rem; font-size: .74rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toolbar select, .field input { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .92rem; padding: .55rem .7rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--well); color: var(--ink); min-width: 150px; }
.toolbar-count { margin-left: auto; font-size: .88rem; color: var(--muted); }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

.dlg { border: 0; border-radius: var(--radius); padding: 0; max-width: min(520px, 92vw); box-shadow: var(--shadow-lg); background: var(--surface); color: var(--ink); }
.dlg::backdrop { background: rgba(10,16,13,.55); backdrop-filter: blur(3px); }
.dlg-inner { padding: 1.5rem; display: grid; gap: 1rem; }
.dlg-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.dlg-body p + p { margin-top: .5rem; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }

/* Compare tray (E.3: overhang badges sit in a non-clipping wrapper) */
.compare-tray { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: var(--night); color: #fff; border-radius: 20px; padding: .7rem .8rem .7rem 1rem; display: flex; align-items: center; gap: .9rem; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 1.5rem); border: 1px solid rgba(255,255,255,.08); }
.tray-label { font-size: .8rem; color: #aebbb3; line-height: 1.25; }
.tray-label b { display: block; color: #fff; font-size: .9rem; }
.tray-slots { display: flex; gap: .65rem; padding: 8px 8px 0 0; overflow: visible; }
.tray-slot { position: relative; }
.tray-thumb { width: 52px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--night-2); border: 1px solid rgba(255,255,255,.12); }
.tray-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tray-remove { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .8rem; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.tray-remove .ico { width: 12px; height: 12px; }

/* 6. Sections -------------------------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--night) var(--topo); color: #e8eee9; }
.section-dark .eyebrow, .section-dark .lead { color: #a9b7ae; }
.section-head { margin-bottom: 1.75rem; display: grid; gap: .4rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

.hero { position: relative; color: #fff; min-height: min(86vh, 760px); min-height: min(86svh, 760px); display: grid; align-items: center; isolation: isolate; overflow: clip; background: var(--night); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,16,13,.92) 0%, rgba(10,16,13,.7) 45%, rgba(10,16,13,.1) 100%), linear-gradient(0deg, rgba(10,16,13,.8), transparent 40%); }
.hero-topo { position: absolute; inset: 0; background: var(--topo); z-index: -1; opacity: .9; }
.hero-inner { padding-block: 4rem; display: grid; gap: 1.3rem; }
.hero .kicker { color: var(--accent-2); }
.hero-title { font-size: clamp(2.3rem, 6.2vw, 4.8rem); line-height: 1; max-width: 15ch; font-weight: 800; letter-spacing: -.035em; }
.hero-title em { font-style: normal; color: var(--accent); display: block; }
.hero-lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #cdd7d1; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 1rem; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--display); font-size: 2rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .8rem; color: #a9b7ae; text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); }

.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .4rem 0 .8rem; max-width: 22ch; }
.page-hero-ctas { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.page-hero-dark { background: var(--night) var(--topo); color: #fff; border: 0; }
.page-hero-dark .lead, .page-hero-dark .crumbs ol, .page-hero-dark .byline { color: #b5c2ba; }
.page-hero-dark .eyebrow { color: var(--accent-2); }
.page-hero-dark .ico { color: var(--accent); }
.byline { font-size: .85rem; margin-top: .8rem; }

.catgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.catcard { position: relative; display: grid; gap: .3rem; padding: 1.4rem; border-radius: var(--radius); background: var(--night) var(--topo); color: #fff; min-height: 170px; align-content: end; overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s; box-shadow: var(--shadow); }
.catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.catcard-ico { color: var(--accent); position: absolute; top: 1.2rem; left: 1.3rem; }
.catcard-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.catcard-count { font-size: .8rem; color: #a9b7ae; font-family: var(--mono); }
.catcard-go { position: absolute; top: 1.2rem; right: 1.2rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease-out); }
.catcard:hover .catcard-go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin: .5rem 0 1rem; }
.split .lead { margin-bottom: 1.5rem; }
.split-art { max-width: 420px; justify-self: center; width: 100%; }
.style-list { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.style-list li { display: grid; padding: .6rem .9rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.style-list span { font-size: .88rem; color: var(--muted); }
.rig-teaser { aspect-ratio: 16/10; border-radius: var(--radius); background: var(--night) var(--topo); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.rig-teaser-car { position: absolute; inset: 0; background: url("assets/img/hero-dusk.webp") 78% 72% / 260% auto no-repeat; }

.guidegrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guidecard { display: grid; gap: .7rem; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s; }
.guidecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guidecard h2, .guidecard h3 { font-size: 1.35rem; }
.guidecard p { color: var(--muted); font-size: .95rem; }

.trust { display: grid; gap: 2rem; }
.trust h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-top: .5rem; }
.trust-steps { display: grid; gap: 1rem; counter-reset: s; }
.trust-steps li { counter-increment: s; padding: 1.2rem 1.2rem 1.2rem 3.6rem; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.trust-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.15rem; font-family: var(--mono); color: var(--accent); font-weight: 600; }
.trust-steps b { display: block; font-family: var(--display); font-size: 1.05rem; }
.trust-steps a { text-decoration: underline; }

.note-card { margin-top: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.note-card h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.field-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.field-list li { font-size: .8rem; padding: .3rem .6rem; border-radius: 8px; background: var(--well); border: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--night) var(--topo); color: #b5c2ba; padding-block: 3.5rem 2rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 46ch; }
.footer-brand .logo { color: #fff; margin-bottom: .8rem; }
.footer-brand p { font-size: .9rem; }
.footer-h { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; font-weight: 600; }
.site-footer li { margin-bottom: .45rem; font-size: .9rem; }
.site-footer a:hover { color: var(--accent-2); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: .6rem; font-size: .82rem; }
.footer-legal strong { color: #fff; }
.copy { color: #7d8b83; }

/* 7. Pages ------------------------------------------------------ */
/* Ficha */
.ficha { padding-block: 1.5rem 4rem; }
.ficha-top { display: grid; gap: 2rem; }
.gal-main { border-radius: var(--radius); overflow: hidden; background: var(--night-2); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.ficha-thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.ficha-thumbs button { width: 88px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.ficha-thumbs button[aria-current="true"], .ficha-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.ficha-head { display: grid; gap: 1rem; align-content: start; }
.ficha-head .eyebrow a:hover { color: var(--accent); }
.ficha-nombre { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.ficha-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.score-big { font-family: var(--display); font-size: 1rem; background: var(--night); color: #fff; padding: .45rem .8rem; border-radius: 12px; }
.score-big b { font-size: 1.4rem; color: var(--accent-2); }
.score-big small { color: #a9b7ae; font-family: var(--sans); }
.ficha-desc { color: var(--muted); font-size: 1.05rem; }
.ficha-head .price-now { font-size: 2.2rem; }
.ficha-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.ideal-para { padding: .8rem 1rem; background: rgba(143,199,168,.18); border-left: 3px solid var(--good); border-radius: 0 10px 10px 0; font-size: .95rem; }
.style-tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; }
.style-tags > span { color: var(--muted); }
.style-tags ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.style-tags li { background: var(--night); color: #fff; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; }
.ficha-toc { display: flex; gap: .4rem; overflow-x: auto; margin: 2.5rem 0 1.5rem; padding: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; position: sticky; top: 108px; z-index: 20; scrollbar-width: none; }
.ficha-toc a { padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.ficha-toc a:hover { background: var(--paper-2); }
.ficha-grid { display: grid; gap: 1.5rem; }
.ficha-radar figure { max-width: 380px; margin-inline: auto; }
.score-bars { display: grid; gap: .5rem; margin-top: 1rem; }
.score-bars li { display: grid; grid-template-columns: 8.5rem 1fr 2rem; gap: .6rem; align-items: center; font-size: .88rem; }
.score-bars i { height: 8px; border-radius: 99px; background: var(--paper-2); position: relative; overflow: hidden; }
.score-bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: linear-gradient(90deg, var(--sage), var(--accent)); border-radius: inherit; }
.score-bars b { font-family: var(--mono); text-align: right; }
.spec-table th, .spec-table td { padding: .62rem .2rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 55%; }
.spec-table td { font-family: var(--mono); font-weight: 600; font-size: .86rem; }
.spec-table tr.is-null td { color: var(--line-strong); }
.spec-group th { font-family: var(--mono); font-size: .7rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) !important; padding-top: 1.1rem !important; border-bottom-color: var(--line-strong) !important; }
.specs-extra, .sources { margin-top: 1rem; font-size: .9rem; }
.specs-extra summary, .sources summary { cursor: pointer; font-weight: 600; }
.sources li { margin-top: .4rem; word-break: break-all; }
.ficha-editorial { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.ficha-editorial .prose { font-size: 1.05rem; }
.pros-contras { display: grid; gap: 1rem; }
.pc-col { border-radius: var(--radius); padding: 1.3rem; border: 1px solid var(--line); background: var(--surface); }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .8rem; }
.pc-col li { display: flex; gap: .6rem; padding: .4rem 0; }
.pc-col li .ico { margin-top: .2rem; }
.pc-pros h3, .pc-pros .ico { color: var(--good); }
.pc-cons h3, .pc-cons .ico { color: var(--bad); }
.pc-pros { border-top: 4px solid var(--good); }
.pc-cons { border-top: 4px solid var(--bad); }
.cta-band { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; border-radius: var(--radius); background: var(--night) var(--topo); color: #fff; }
.cta-band .price-note, .cta-band p { color: #a9b7ae; }
.cta-band .btn-buy { background: var(--accent); color: var(--accent-ink); }
.ficha-resenas { margin-top: 2rem; }
.review-summary.is-empty { color: var(--muted); font-style: italic; }
.reviews { display: grid; gap: 1rem; margin-top: 1rem; }
.review { padding: 1rem; background: var(--well); border-radius: 12px; }
.inline-disclosure { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-top: 2rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(12,23,16,.97); color: #fff; padding: .6rem 0 max(.6rem, env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s var(--ease-out); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .container { display: flex; gap: .8rem; align-items: center; }
.sticky-name { flex: 1; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { font-family: var(--display); font-weight: 800; }
.sticky-buy .btn-buy { background: var(--accent); color: var(--accent-ink); }
body.has-tray .sticky-buy { display: none; }

/* Radar (shared) */
.radar { width: 100%; height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.radar-grid-outer { fill: rgba(143,199,168,.08); }
.radar-axis { stroke: var(--line); }
.radar-shape { fill: var(--c); fill-opacity: .22; stroke: var(--c); stroke-width: 2.4; stroke-linejoin: round; }
.radar-dot { fill: var(--c); stroke: #fff; stroke-width: 1.5; }
.radar-label { font-family: var(--sans); font-size: 11.5px; fill: var(--muted); font-weight: 600; }
.radar-val { font-family: var(--mono); fill: var(--ink); }
.section-dark .radar-grid { stroke: rgba(255,255,255,.18); }
.section-dark .radar-axis { stroke: rgba(255,255,255,.1); }
.section-dark .radar-label { fill: #c9d4cd; }
.radar-anim .radar-shape { transform-origin: center; transform-box: view-box; animation: radarIn .9s var(--ease-out) both; }
@keyframes radarIn { from { transform: scale(.2); opacity: 0; } }

/* Comparator */
.tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .95rem; border-radius: 12px; font-weight: 600; font-size: .9rem; white-space: nowrap; color: var(--muted); }
.tab .ico-cat { color: var(--accent); }
.tab[aria-selected="true"] { background: var(--night); color: #fff; }
.cmp-picker { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 1.25rem 0; }
.pick { display: flex; gap: .75rem; align-items: center; padding: .65rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, box-shadow .2s; position: relative; }
.pick:hover { border-color: var(--line-strong); }
.pick.is-on { border-color: var(--c, var(--accent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--accent)) 25%, transparent); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.pick-name { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.pick-dot { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line-strong); margin-left: auto; flex: none; display: grid; place-items: center; }
.pick.is-on .pick-dot { background: var(--c); border-color: var(--c); color: #fff; }
.pick-dot .ico { width: 12px; height: 12px; }
.cmp-empty { padding: 2.5rem 1rem; text-align: center; color: var(--muted); border: 2px dashed var(--line-strong); border-radius: var(--radius); }
.cmp-top { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.cmp-radar figcaption { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: .5rem; }
.cmp-radar [data-cmp-radar] { max-width: 420px; margin-inline: auto; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; margin-top: .5rem; font-size: .85rem; }
.legend li { display: inline-flex; gap: .4rem; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.cmp-summary h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.winner-list { display: grid; gap: .6rem; }
.winner-list li { display: flex; gap: .6rem; align-items: baseline; font-size: .92rem; }
.winner-list b { font-family: var(--mono); font-size: .78rem; padding: .15rem .45rem; border-radius: 6px; background: var(--c); color: #fff; white-space: nowrap; }
.cmp-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cmp-table { min-width: 640px; }
.cmp-table th, .cmp-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .9rem; vertical-align: top; }
.cmp-table thead th { vertical-align: bottom; background: var(--well); position: sticky; top: 0; }
.cmp-table tbody th { color: var(--muted); font-weight: 500; position: sticky; left: 0; background: var(--surface); min-width: 150px; z-index: 1; }
.cmp-table td { font-family: var(--mono); font-size: .84rem; font-weight: 600; }
.cmp-table td.is-best { background: rgba(143,199,168,.22); color: var(--good); }
.cmp-table td.is-best::after { content: " ★"; color: var(--accent); }
.cmp-table td.is-null { color: var(--line-strong); }
.cmp-table tr.grp th { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--well); }
.cmp-head { display: grid; gap: .5rem; min-width: 170px; }
.cmp-head img { width: 100%; max-width: 180px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border-bottom: 4px solid var(--c); }
.cmp-head a.cmp-name { font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.cmp-head .price-now { font-size: 1.15rem; }
.cmp-table tr.is-same { display: var(--same-display, table-row); }
.cmp.diff-only tr.is-same { display: none; }

/* Rig builder */
.rig-layout { display: grid; gap: 1.25rem; }
.rig-main { display: grid; gap: 1.25rem; min-width: 0; }
.veh-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.veh { display: grid; gap: .3rem; justify-items: center; padding: .6rem .4rem; border: 1.5px solid var(--line); border-radius: 14px; font-size: .82rem; font-weight: 600; text-align: center; background: var(--well); transition: border-color .2s, background .2s; }
.veh[aria-pressed="true"] { border-color: var(--accent); background: rgba(240,138,60,.16); box-shadow: inset 0 0 0 1px var(--accent); }
.veh-art { width: 100%; max-width: 120px; aspect-ratio: 800/360; display: block; }
.veh-art svg { width: 100%; height: 100%; }
.rig-options { display: grid; gap: .9rem; margin-top: 1.1rem; }
.field { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.input-unit { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.field input[type="number"] { width: 140px; min-width: 0; }
.field.file input { font-size: .85rem; }
.rig-stage-wrap { margin: 0; }
.rig-stage { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(#2c4a3e, #6f8a72 55%, #5a4d33 72%, #3b3122); aspect-ratio: 800 / 420; border: 1px solid rgba(217,199,156,.25); background-size: cover; background-position: center; }
.rig-stage.has-photo { background-color: #222; }
.rig-stage svg { width: 100%; height: 100%; display: block; }
.rig-stage .acc { animation: accIn .5s var(--ease-out) both; transform-box: fill-box; transform-origin: center bottom; }
@keyframes accIn { from { opacity: 0; transform: translateY(-14px); } }
.slot-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.slot-chips li { font-size: .76rem; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mono); }
.slot-chips li.is-full { background: var(--night); color: #fff; border-color: var(--night); }
.slot-chips li.is-locked { opacity: .5; text-decoration: line-through; }
.rig-msg:empty { display: none; }
.rig-msg { margin-top: .9rem; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; background: rgba(122,139,74,.2); border: 1px solid rgba(169,201,143,.45); color: #e3edd0; }
.rig-msg.is-warn { background: rgba(240,138,60,.16); border-color: rgba(240,138,60,.55); color: #ffd9b8; }
.rig-loadout { display: grid; gap: .5rem; margin-top: 1rem; }
.rig-loadout li { display: flex; gap: .7rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--well); font-size: .9rem; }
.rig-loadout img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.rig-loadout .lo-name { flex: 1; min-width: 0; }
.rig-loadout .lo-name a { font-weight: 600; }
.rig-loadout small { display: block; color: var(--muted); font-family: var(--mono); font-size: .72rem; }
.lo-remove { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); flex: none; }
.lo-remove .ico { width: 14px; height: 14px; }
.rig-catalog { align-self: start; }
.rig-cat { border-top: 1px solid var(--line); padding-block: .6rem; }
.rig-cat summary { display: flex; gap: .5rem; align-items: center; font-weight: 700; cursor: pointer; padding-block: .3rem; font-family: var(--display); }
.rig-cat summary .ico-cat { color: var(--accent); }
.rig-cat ul { display: grid; gap: .5rem; margin-top: .5rem; }
.rig-item { display: flex; gap: .6rem; align-items: center; font-size: .85rem; }
.rig-item img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; }
.rig-item div { flex: 1; min-width: 0; display: grid; gap: .1rem; justify-items: start; }
.rig-item a { font-weight: 600; line-height: 1.25; }
.rig-item small { color: var(--muted); font-family: var(--mono); }
.rig-item.is-in .btn { background: var(--sage); color: var(--night); box-shadow: none; }
.style-picker { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.style-btn { text-align: left; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 14px; display: grid; gap: .2rem; background: var(--well); position: relative; }
.style-btn small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.style-btn[aria-pressed="true"] { border-color: var(--pine); background: rgba(122,139,74,.28); }
.style-btn .cov { position: absolute; top: .6rem; right: .7rem; font-family: var(--mono); font-size: .72rem; font-weight: 600; color: var(--muted); }
.style-btn .cov.is-full { color: var(--good); }
.coverage { margin-top: 1.25rem; }
.coverage h3, .recs h3 { font-size: 1.1rem; margin-bottom: .7rem; }
.meter { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-bottom: 1rem; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--good)); border-radius: inherit; transition: width .6s var(--ease-out); }
.needs { display: grid; gap: .45rem; }
.needs li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; padding: .55rem .75rem; border-radius: 10px; background: var(--well); }
.needs li.ok .ico { color: var(--good); }
.needs li.miss .ico { color: var(--bad); }
.needs li small { display: block; color: var(--muted); }
.needs li .opt { font-family: var(--mono); font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-left: .3rem; }
.covered-styles { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; font-size: .85rem; align-items: center; }
.covered-styles li { background: var(--good); color: var(--good-on); padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; }
.recs { margin-top: 1.5rem; }
.rec-group { margin-bottom: 1.2rem; }
.rec-group h4 { font-family: var(--display); font-size: 1rem; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.rec-group h4 a { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--pine); text-decoration: underline; }
.rec-list { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.rec { display: grid; grid-template-columns: 72px 1fr; gap: .7rem; padding: .7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rec img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.rec-name { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.rec .price-now { font-size: 1rem; }
.rec-actions { grid-column: 1 / -1; display: flex; gap: .4rem; flex-wrap: wrap; }
.rec-none { font-size: .88rem; color: var(--muted); padding: .7rem; border: 1px dashed var(--line-strong); border-radius: 12px; }

/* Guide */
.guide-layout { display: grid; gap: 2rem; padding-block: 2rem 4rem; }
.guide-toc { display: none; }
.guide-toc ol { display: grid; gap: .4rem; margin: .8rem 0 1.2rem; font-size: .9rem; }
.guide-toc a:hover { color: var(--accent); }
.guide-body { min-width: 0; }
.guide-body > section, .guide-body > .prose { margin-top: 2rem; }
.guide-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1rem; }
.shortlist { display: grid; gap: 1.25rem; margin-top: 1rem; }
.shortlist-item { display: grid; gap: 1rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.rank { position: absolute; top: -12px; left: 1rem; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-weight: 700; padding: .2rem .6rem; border-radius: 8px; font-size: .85rem; z-index: 1; }
.sl-img img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.sl-body { display: grid; gap: .55rem; align-content: start; }
.sl-body h3 { font-size: 1.3rem; }
.sl-body > p { color: var(--muted); font-size: .95rem; }
.sl-foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.sl-foot .price { flex-basis: 100%; }
.sl-radar { display: grid; justify-items: center; gap: .2rem; max-width: 160px; margin-inline: auto; }
.sl-radar b { font-family: var(--display); font-size: 1.2rem; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.2rem; }
.faq[open] summary::after { content: "–"; }
.faq > p, .faq > table { padding: 0 1.1rem 1rem; }
.faq .spec-table { margin: 0 1.1rem 1rem; width: calc(100% - 2.2rem); }
.guide .cta-band { margin-top: 2rem; }

.rig-title { align-items: center; }
.rig-export { margin-left: auto; }
.model-field input { width: 100%; max-width: 360px; padding: .6rem .75rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--well); font-weight: 500; }
.model-hint { font-size: .82rem; margin: .4rem 0 .8rem; }
.model-hint strong { color: var(--ink); }

/* 8. Effects ---------------------------------------------------- */
[data-reveal] { opacity: 1; }
.js-reveal [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(18px); }
[data-reveal] { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
@view-transition { navigation: auto; }

/* 9. Responsive (mobile-first; breakpoints 540/720/960/1280) ---- */
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08); padding: .75rem var(--gutter) 1.25rem; display: none; }
  .nav.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: .8rem 1rem; font-size: 1rem; border-radius: 12px; }
  .toolbar-count { margin-left: 0; flex-basis: 100%; }
  .compare-tray { left: .75rem; right: .75rem; transform: none; width: auto; justify-content: space-between; }
  .tray-label span { display: none; }
}
@media (max-width: 539px) {
  .veh-list { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 1.25rem; }
  .ficha-toc { top: 108px; }
  .disclosure-bar { font-size: .72rem; }
  .score-bars li { grid-template-columns: 7rem 1fr 1.8rem; }
  .ficha-ctas .btn { flex: 1 1 100%; }
  .tray-thumb { width: 42px; height: 34px; }
}
@media (min-width: 720px) {
  .pros-contras { grid-template-columns: 1fr 1fr; }
  .shortlist-item { grid-template-columns: 220px 1fr; }
  .sl-radar { grid-column: 1; grid-row: 2; }
  .trust { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 960px) {
  .ficha-top { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .ficha-grid { grid-template-columns: 1fr 1.25fr; align-items: start; }
  .split { grid-template-columns: 1.1fr 1fr; }
  .split-rev { grid-template-columns: 1fr 1.1fr; }
  .cmp-top { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .rig-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .rig-catalog { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
  .guide-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .guide-toc { display: block; position: sticky; top: 130px; align-self: start; }
  .shortlist-item { grid-template-columns: 220px 1fr 150px; }
  .sl-radar { grid-column: auto; grid-row: auto; align-self: center; }
  .sticky-buy { display: none; }
}
@media (min-width: 1280px) {
  .rig-layout { grid-template-columns: minmax(0, 1fr) 380px; }
}

/* 10. Reduced motion: only intrusive effects ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { transform: none !important; }
}
.cmp-head .badge { align-self: flex-start; }
@media (min-width: 960px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }

/* rig view switcher */
.rig-viewbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 .7rem; }
.view-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--line); }
.view-switch button { border: 0; background: transparent; color: inherit; font: 600 .82rem/1 var(--sans); padding: .55rem .8rem; border-radius: 999px; cursor: pointer; min-height: 36px; }
.view-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.view-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.veh-art img { width: 100%; height: auto; display: block; }

/* 11. Forest & earth theme scopes ------------------------------ */
/* Sand/khaki bands: light warm sections with dark ink (tokens re-scoped so every child stays AA) */
.section-paper, .page-hero:not(.page-hero-dark) {
  --ink: #1f1a10; --muted: #4d4330; --pine: #3f5219; --line: rgba(31,26,16,.16); --line-strong: rgba(31,26,16,.3);
  --surface: #f1e7cf; --well: #e4d6b2; --good: #2b6a41; --good-on: #fff; --bad: #a3381f;
  background: linear-gradient(180deg, #d9c79c, #cfbb8c); color: var(--ink);
}
.page-hero:not(.page-hero-dark) { border-bottom-color: rgba(31,26,16,.18); }
body { background: var(--paper) var(--topo); }
.pcard, .panel, .guidecard, .faq, .shortlist-item, .tabs, .pick, .rec, .toolbar, .note-card, .pc-col, .table-scroll, .trust-steps li { border-color: rgba(217,199,156,.16); }
.rec img, .rig-loadout li img { background: #f4efe6; }
.cmp-table td.is-best { background: rgba(122,139,74,.3); color: var(--good); }
.ideal-para { background: rgba(122,139,74,.22); }
.badge { background: var(--well); }
.slot-chips li { background: var(--well); }
.view-switch { background: rgba(0,0,0,.25); border: 1px solid var(--line); }

/* Rig: vehicle modes (listed model / custom dimensions / own photo) */
.mode-switch { margin: .2rem 0 1rem; }
.mode-panel[hidden] { display: none; }
.dims-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin: .4rem 0 .9rem; }
.dims-grid .field input[type="number"] { width: 100%; max-width: 120px; }
.photo-tools { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: end; margin: .2rem 0 .9rem; }
.fit-notes { display: grid; gap: .4rem; margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(240,138,60,.12); border: 1px solid rgba(240,138,60,.45); font-size: .85rem; }
.fit-notes[hidden] { display: none; }
.fit-notes li { padding-left: 1.1rem; position: relative; color: #ffd9b8; }
.fit-notes li::before { content: "!"; position: absolute; left: 0; font-weight: 800; color: var(--accent); }
.model-hint a { color: var(--accent); text-decoration: underline; }
.rig-stage.has-photo { touch-action: none; }
.rig-stage .mk { cursor: grab; outline: none; }
.rig-stage .mk:active { cursor: grabbing; }
.rig-stage .mk:focus-visible circle:first-child { stroke: #fff; stroke-width: 3.5; }
.view-switch button:disabled { opacity: .45; cursor: not-allowed; }
.rig-stage.has-photo, .rig-stage.has-photo * { user-select: none; -webkit-user-select: none; }

/* Build Your Rig · paint colour picker */
.paint-pick { margin-top: 1rem; display: grid; gap: .5rem; }
.paint-pick .paint-h { font-weight: 700; font-size: .92rem; }
.paint-pick .paint-h small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-strong); padding: 0; cursor: pointer;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 62%, #000));
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.35); transition: transform .15s, border-color .15s; }
.sw:hover:not(:disabled) { transform: scale(1.08); }
.sw[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,138,60,.35), inset 0 -3px 6px rgba(0,0,0,.35); }
.sw-orig { background: conic-gradient(#a5161b 0 25%, #1d4e8f 0 50%, #e9eae6 0 75%, #2e5b3b 0); position: relative; }
.sw-orig::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.sw:focus-visible, .paint-custom:focus-within { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.paint-custom { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); padding: .15rem .55rem .15rem .2rem; border: 2px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.paint-custom.is-on { border-color: var(--accent); color: var(--ink); }
.paint-custom input { width: 28px; height: 28px; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; }
.paint-custom input::-webkit-color-swatch-wrapper { padding: 0; } .paint-custom input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.paint-pick.is-off .swatches { opacity: .4; pointer-events: none; }
