/* =============================================================
   VOICE   Taller de pruebas: preciso, directo, de ciclista a ciclista.
   IDEA    La hoja de un banco de pruebas: cifras grandes, rejilla de potencia.
   PICTURE Rodillo ilustrado sobre la rejilla y radares superpuestos.
   COLOUR  Grafito de «cueva de dolor», blanco de taller, naranja vatio;
           las series usan los colores de las zonas de potencia.
   TYPE    Barlow Condensed (números de dorsal) + Barlow para leer.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light dark;
  --bg: light-dark(#f4f5f7, #0f121a);
  --panel: light-dark(#ffffff, #171b26);
  --panel-2: light-dark(#eef0f4, #1d2230);
  --ink: light-dark(#161a24, #e9ecf2);
  --muted: light-dark(#596275, #9aa3b5);
  --line: light-dark(#e1e4ea, #283041);
  --deep: #161a24;
  --deep-2: #1f2536;
  --watt: #ff5a1f;
  --watt-ink: #1a0d06;
  --good: light-dark(#0b8a5f, #3ad29a);
  --good-bg: light-dark(#e3f6ee, #12352a);
  --bad: light-dark(#c53b33, #ff7b72);
  --radius: 18px;
  --shadow: 0 1px 2px rgb(16 20 30 / .06), 0 8px 28px -12px rgb(16 20 30 / .18);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body { background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }
:focus-visible { outline: 3px solid var(--watt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--watt); color: #fff; }
table { border-collapse: collapse; width: 100%; }
[hidden]:not(.tray) { display: none !important; }

/* 3. Utilities ------------------------------------------------- */
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 99; background: var(--watt); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.scroll { overflow-x: auto; scrollbar-width: thin; }
.center { text-align: center; margin-top: 28px; }
.sub { color: var(--muted); margin: 6px 0 20px; max-width: 68ch; }
.lead { font-size: 18px; color: var(--muted); max-width: 64ch; margin-top: 14px; }
.kicker { color: var(--watt); font-weight: 600; margin-bottom: 8px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

/* 4. Components ------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15.5px; text-decoration: none; line-height: 1.1; transition: transform .2s var(--ease-out), background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 16.5px; }
.btn-sm { min-height: 40px; padding: 8px 12px; font-size: 14.5px; }
.btn-primary, .btn-amazon { background: var(--watt); color: var(--watt-ink); box-shadow: 0 6px 18px -8px rgb(255 90 31 / .7); }
.btn-primary:hover, .btn-amazon:hover { background: #ff7440; }
.btn-ghost { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost-inv { color: #fff; border: 1px solid rgb(255 255 255 / .3); }
.btn-ghost-inv:hover { background: rgb(255 255 255 / .08); }
.btn-ink { background: var(--deep); color: #fff; }

/* Cabecera */
.aviso-top { background: var(--deep); color: #b9c1d0; font-size: 13px; text-align: center; padding: 6px 16px; }
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: .01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--panel-2); }
.nav a.nav-cta, .nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { display: inline-flex; align-items: center; gap: 8px; background: var(--watt); color: var(--watt-ink); margin-left: 8px; font-weight: 600; }
.nav-cta svg { width: 18px; height: 18px; }
.nav-cta em, .nav-movil em { font-style: normal; background: var(--deep); color: #fff; border-radius: 99px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; padding: 0 6px; }
.nav-movil { display: none; margin-left: auto; position: relative; }
.nav-movil summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); }
.nav-movil summary svg { width: 22px; height: 22px; }
.nav-movil summary::-webkit-details-marker { display: none; }
.nav-movil-panel { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; }
.nav-movil-panel a { padding: 12px 14px; text-decoration: none; border-radius: 10px; font-weight: 500; }
.nav-movil-panel a:hover { background: var(--panel-2); }

.migas { font-size: 14px; color: var(--muted); padding-top: 18px; }
.migas a { color: var(--muted); }
.migas span { margin-inline: 4px; }

/* Tarjetas */
.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(16 20 30 / .06), 0 18px 40px -16px rgb(16 20 30 / .3); }
.card-img { display: block; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 22%, var(--panel-2)), var(--panel-2) 70%); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 10px 18px 0; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-marca { color: var(--muted); font-size: 14px; font-weight: 500; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--watt); }
.card-tag { font-weight: 600; color: color-mix(in srgb, var(--c) 70%, var(--ink)); font-size: 15px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.chips li { font-size: 13.5px; padding: 3px 9px; border-radius: 99px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.chips b { color: var(--ink); font-variant-numeric: tabular-nums; }
.card-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.card-actions .btn-amazon { flex: 1 1 auto; }
.badge-oferta { background: var(--good); color: #fff; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 2px 8px; }
.badge-oferta.abs { position: absolute; top: 12px; left: 12px; }

.nota { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--display); }
.nota b { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.nota span { color: var(--muted); font-size: 15px; font-family: var(--sans); }
.nota.big { align-items: center; gap: 10px; }
.nota.big b { font-size: 60px; color: var(--c, var(--watt)); }
.nota.big span { line-height: 1.2; font-size: 14px; }
.nota-mini { font-family: var(--display); font-size: 26px; }

.precio { display: grid; gap: 1px; }
.precio-actual { font-family: var(--display); font-size: 28px; font-weight: 700; white-space: nowrap; }
.precio s { color: var(--muted); font-size: 14px; }
.precio-pvp { font-weight: 600; white-space: nowrap; }
.precio small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.precio.big .precio-pvp { font-family: var(--display); font-size: 28px; }

/* Barras de puntuación (se ven sin JavaScript) */
.barras { list-style: none; padding: 0; display: grid; gap: 12px; }
.barras li { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; align-items: baseline; }
.barras span { font-weight: 500; }
.barras b { font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.barras i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--panel-2); position: relative; overflow: hidden; }
.barras i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: inherit; }

/* Radar */
.radar-fig { margin: 0; }
.fig { position: relative; min-height: 340px; }
.fig > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fig .r-grid { fill: none; stroke: var(--line); }
.fig .r-axis { stroke: var(--line); }
.fig .r-lbl { fill: var(--muted); font: 500 13px var(--sans); }
.fig .r-poly { fill-opacity: .16; stroke-width: 2.5; stroke-linejoin: round; transition: fill-opacity .2s; }
.fig .r-poly.hl { fill-opacity: .32; }
.leyenda, .hero-leyenda, .nota-pareja { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 14.5px; }
.leyenda span, .hero-leyenda span, .nota-pareja span { display: inline-flex; align-items: center; gap: 8px; }
.leyenda span::before, .hero-leyenda span::before, .nota-pareja span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.leyenda button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; border-radius: 10px; }
.leyenda button::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.leyenda button:hover { background: var(--panel-2); }

/* Tablas de especificaciones */
.specs, .comp-tabla { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.specs th, .specs td, .comp-tabla th, .comp-tabla td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.specs th { font-weight: 500; color: var(--muted); width: 50%; }
.specs td.v, .comp-tabla td.v { font-weight: 600; font-variant-numeric: tabular-nums; }
.specs tr.grupo th, .comp-tabla tr.grupo th { background: var(--panel-2); color: var(--ink); font-family: var(--display); font-size: 18px; font-weight: 700; padding-block: 10px; }
.specs tbody:last-child tr:last-child > *, .comp-tabla tbody:last-child tr:last-child > * { border-bottom: 0; }
td.si { color: var(--good); }
td.no { color: var(--muted); font-weight: 500 !important; }

/* 5. Sections -------------------------------------------------- */
.bloque { padding-block: clamp(36px, 5vw, 64px); }
.bloque + .bloque { padding-top: 0; }
.band { padding-block: clamp(40px, 6vw, 72px); }
.band-ink { background: var(--deep); color: #fff; }
.band-watt { background: var(--watt); color: var(--watt-ink); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--watt); text-decoration: none; }
.sec-head a svg { width: 18px; height: 18px; }
.cabecera-pag { padding-top: 26px; }
.h2-sep { margin-top: 48px; margin-bottom: 18px; }
.h3-sep { margin: 36px 0 16px; }
.dos-col { display: grid; gap: 32px; align-items: center; }

/* Hero */
.hero { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero-grid { position: relative; display: grid; gap: 28px; padding-block: clamp(36px, 6vw, 76px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); }
.hero .lead { color: #b9c1d0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-datos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; color: #b9c1d0; }
.hero-datos b { display: block; font-family: var(--display); font-size: 40px; color: #fff; line-height: 1; }
.hero-stage { position: relative; aspect-ratio: 4 / 3.1; }
.hero-stage::before { content: ""; position: absolute; inset: 8% 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 90 31 / .35), transparent); }
.hero-trainer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-radar { position: absolute; right: -2%; top: -6%; width: 54%; aspect-ratio: 1; background: rgb(22 26 36 / .82); backdrop-filter: blur(6px); border: 1px solid rgb(255 255 255 / .12); border-radius: 22px; padding: 8px; }
.hero-radar .fig { min-height: 0; height: 100%; }
.hero-radar .r-grid, .hero-radar .r-axis { stroke: rgb(255 255 255 / .14); }
.hero-radar .r-lbl { fill: #d4d9e3; font-size: 12px; }
.hero-leyenda { color: #b9c1d0; margin-top: 10px; }

.picks h2 { margin-bottom: 22px; }
.picks-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pick-card { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--deep-2); text-decoration: none; border: 1px solid rgb(255 255 255 / .08); border-top: 4px solid var(--c); transition: transform .25s var(--ease-out); }
.pick-card:hover { transform: translateY(-3px); }
.pick-card small { color: #b9c1d0; font-size: 14px; }
.pick-card b { font-family: var(--display); font-size: 26px; }
.pick-card span { color: #d4d9e3; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.cat-card { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.cat-card:hover { border-color: var(--watt); }
.cat-card b { font-family: var(--display); font-size: 24px; }
.cat-card span { grid-column: 1; color: var(--muted); font-size: 14.5px; }
.cat-card svg { grid-row: 1 / 3; grid-column: 2; width: 20px; height: 20px; color: var(--watt); }

.guias-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.guia-card { display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); }
.guia-card small { color: var(--watt); font-weight: 600; }
.guia-card b { font-family: var(--display); font-size: 28px; line-height: 1.05; }
.guia-card span { color: var(--muted); }
.guia-card:hover b { color: var(--watt); }

.bf { display: grid; gap: 20px; align-items: center; }
.bf p { max-width: 62ch; margin-top: 8px; font-size: 17px; }
.bf .btn svg { width: 18px; height: 18px; }

.metodo { display: grid; gap: 28px; }
.metodo p { color: var(--muted); max-width: 64ch; margin-top: 10px; }
.metodo a { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; color: var(--watt); text-decoration: none; }
.metodo a svg { width: 18px; height: 18px; }
.metodo-pasos { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: p; }
.metodo-pasos li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.metodo-pasos li::before { content: counter(p); grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--deep); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 22px; }
.metodo-pasos span { color: var(--muted); }

/* Listados */
.cat-links { display: flex; gap: 8px; margin-top: 22px; padding-bottom: 4px; }
.cat-links a { flex: none; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; font-weight: 500; font-size: 15px; }
.cat-links a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filtros { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 14px 16px; margin-bottom: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.filtro-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro-checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 10px; background: var(--panel-2); cursor: pointer; font-size: 15px; }
.filtro-checks input, .comp-tools input { width: 18px; height: 18px; accent-color: var(--watt); }
.orden { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.orden select { font: inherit; font-size: 16px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; min-height: 42px; padding: 6px 10px; }
.filtro-count { margin-left: auto; color: var(--muted); font-size: 14.5px; }
.vacio { padding: 32px; border-radius: var(--radius); border: 2px dashed var(--line); display: grid; gap: 18px; justify-items: start; }
.vacio p { max-width: 64ch; font-size: 17px; }
.vacio .btn svg { width: 18px; height: 18px; }

.acc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.acc { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.acc p { color: var(--muted); }
.acc-comp { color: var(--ink) !important; }
.acc-pronto { font-weight: 600; color: var(--watt) !important; }

/* Ficha */
.ficha-top { display: grid; gap: 32px; padding-top: 20px; }
.galeria { display: grid; gap: 10px; align-content: start; }
.galeria-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 24%, var(--panel-2)), var(--panel-2) 70%); border: 1px solid var(--line); scrollbar-width: none; }
.galeria-track::-webkit-scrollbar { display: none; }
.galeria-item { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.galeria-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.galeria-nav { display: flex; align-items: center; gap: 10px; }
.gal-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 26px; line-height: 1; }
.galeria-thumbs { display: flex; gap: 8px; overflow-x: auto; flex: 1; }
.galeria-thumbs button { flex: none; width: 84px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--panel-2); }
.galeria-thumbs button[aria-current="true"] { border-color: var(--c); }
.nota-img { font-size: 13.5px; color: var(--muted); }
.ficha-marca { color: var(--muted); font-weight: 500; }
.ficha-head h1 { margin-top: 4px; }
.ficha-tag { color: color-mix(in srgb, var(--c) 70%, var(--ink)); font-weight: 700; font-size: 18px; margin-top: 8px; }
.ficha-desc { margin-top: 12px; color: var(--muted); font-size: 17px; }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 22px 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cifras div { background: var(--panel); padding: 12px 14px; }
.cifras dt { font-size: 13px; color: var(--muted); }
.cifras dd { margin: 0; font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.cifras small { font-size: .5em; color: var(--muted); margin-left: 3px; font-family: var(--sans); font-weight: 600; }
.compra-box { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); grid-template-columns: auto 1fr; align-items: center; }
.compra-btns { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.compra-btns .btn-amazon { flex: 1 1 220px; }
.ficha-secciones { position: sticky; top: 66px; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); margin-top: 40px; }
.ficha-secciones .wrap { display: flex; gap: 4px; }
.ficha-secciones a { flex: none; padding: 14px 12px; text-decoration: none; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; }
.ficha-secciones a:hover, .ficha-secciones a.on { color: var(--ink); border-color: var(--c); }
.editorial { max-width: 820px; }
.editorial p { margin-top: 14px; font-size: 17px; }
.editorial h3 { margin-top: 28px; }
.editorial h2 + p, .editorial h2 + h3 { margin-top: 12px; }
.editorial h2:not(:first-child) { margin-top: 36px; }
.ideal { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, var(--panel)); border-left: 5px solid var(--c); }
.ideal p { margin-top: 4px; }
.cta-inline { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 26px; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.pc { display: grid; gap: 16px; margin-top: 18px; }
.pc-col { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.pc-col h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pc-col h3 svg, .pc-col li svg { width: 20px; height: 20px; flex: none; }
.pc-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pc-col li { display: flex; gap: 10px; align-items: flex-start; }
.pc-col li svg { margin-top: 3px; }
.pro h3, .pro li svg { color: var(--good); }
.contra h3, .contra li svg { color: var(--bad); }
.opiniones { display: grid; gap: 16px; margin-top: 18px; }
.opiniones > div { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; justify-items: start; }
.fuentes { font-size: 14.5px; color: var(--muted); }
.fuentes a { color: var(--ink); }
.vs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 15px; border-left: 4px solid var(--c); border-right: 4px solid var(--c2); }
.vs-chip em { font-style: normal; color: var(--watt); font-family: var(--display); font-weight: 700; }
.vs-chip:hover { border-color: var(--watt); }

/* Guías */
.ranking { display: grid; gap: 18px; margin-top: 18px; }
.rank { position: relative; display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rank-num { position: absolute; top: 14px; left: 14px; z-index: 1; width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 700; }
.rank-img { border-radius: 14px; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 22%, var(--panel-2)), var(--panel-2) 70%); }
.rank-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.rank-body { display: grid; gap: 8px; align-content: start; }
.rank-body h3 { font-size: 28px; }
.rank-body h3 a { text-decoration: none; }
.ideal-mini { color: var(--muted); }
.rank-foot { display: flex; gap: 16px; align-items: center; }
.rank-barras .barras { gap: 8px; }
.rank-barras .barras b { font-size: 18px; }
.tabla-ofertas table { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.tabla-ofertas th, .tabla-ofertas td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.tabla-ofertas thead th { background: var(--panel-2); font-family: var(--display); font-size: 17px; }
.tabla-ofertas tr:last-child td { border-bottom: 0; }
.tabla-ofertas td a { color: inherit; }
.aviso-precios { padding: 20px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--watt) 10%, var(--panel)); border: 1px solid color-mix(in srgb, var(--watt) 40%, var(--line)); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 18px; list-style-position: outside; }
.faq details p { padding-bottom: 16px; color: var(--muted); }
.faq h2 { margin-bottom: 10px; }
.vs-lados { display: grid; gap: 16px; }
.vs-lado { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); border-top: 5px solid var(--c); display: grid; gap: 12px; align-content: start; justify-items: start; }
.vs-lado img { width: 100%; max-width: 320px; justify-self: center; }
.vs-lado ul { padding-left: 20px; }
.nota-pareja { justify-content: flex-start; margin-top: 16px; font-size: 16px; }
.nota-pareja b { font-family: var(--display); font-size: 24px; }
.legal p { color: var(--ink); }

/* Comparador */
.comp-picker { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; box-shadow: var(--shadow); }
.picker-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.picker-top h2 { font-size: 26px; }
.picker-top small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.picker-top input { font: inherit; font-size: 16px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); width: min(100%, 300px); }
.picker-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.pick { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; font-weight: 600; font-size: 15px; min-height: 60px; transition: border-color .2s, background .2s; }
.pick img { width: 56px; height: 42px; object-fit: contain; border-radius: 8px; background: var(--panel-2); flex: none; }
.pick input { width: 18px; height: 18px; accent-color: var(--c); flex: none; }
.pick:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--panel)); }
.pick:has(input:disabled:not(:checked)) { opacity: .5; cursor: not-allowed; }
.picker-hint { margin-top: 10px; color: var(--muted); font-size: 14.5px; min-height: 1.4em; }
.comp-out { padding-block: 28px 20px; display: grid; gap: 28px; }
.comp-radar-wrap { display: grid; gap: 24px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.comp-veredicto { display: grid; gap: 8px; margin-top: 16px; }
.comp-veredicto p { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--panel-2); }
.comp-veredicto b { font-family: var(--display); font-size: 19px; color: var(--c); }
.comp-veredicto span { color: var(--muted); font-size: 14.5px; }
.comp-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.comp-tools label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; min-height: 44px; cursor: pointer; }
.comp-scroll { border-radius: var(--radius); }
.comp-tabla { min-width: max(100%, calc(170px + var(--n, 6) * 170px)); table-layout: fixed; }
.comp-tabla th.c-label { position: sticky; left: 0; z-index: 2; background: var(--panel); width: 170px; font-weight: 500; color: var(--muted); box-shadow: 1px 0 0 var(--line); }
.comp-tabla tr.grupo th { position: sticky; left: 0; }
.comp-tabla thead th { vertical-align: bottom; font-family: var(--display); font-size: 19px; border-top: 5px solid var(--c, transparent); }
.comp-tabla thead th a { text-decoration: none; display: grid; gap: 6px; }
.comp-tabla thead img { width: 100%; max-width: 150px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--panel-2); border-radius: 10px; }
.comp-tabla thead .rm { margin-top: 8px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); text-decoration: underline; min-height: 32px; }
.comp-tabla td .precio { margin-bottom: 8px; }
.comp-tabla td.best { background: var(--good-bg); color: var(--good); position: relative; }
.comp-tabla td.best::after { content: "mejor"; display: block; font-size: 11.5px; font-weight: 600; opacity: .8; }
.solo-dif .comp-tabla tr.igual { display: none; }

/* Bandeja del comparador */
.tray { position: fixed; inset: auto 0 0; z-index: 50; background: var(--deep); color: #fff; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -10px rgb(0 0 0 / .4); transform: translateY(0); transition: transform .35s var(--ease-out); }
.tray[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.tray-row { display: flex; align-items: center; gap: 12px; }
.tray-items { display: flex; gap: 10px; flex: 1; padding: 8px 8px 0 0; }
.tray-slot { position: relative; flex: none; }
.tray-thumb { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--deep-2); border: 2px solid var(--c); }
.tray-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tray-rm { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--deep); font-weight: 700; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.tray-clear { color: #b9c1d0; text-decoration: underline; min-height: 44px; padding: 0 6px; }
.tray .btn svg { width: 18px; height: 18px; }
body.has-tray { padding-bottom: 84px; }

/* Pie */
.site-foot { background: var(--deep); color: #b9c1d0; margin-top: 20px; }
.foot-grid { display: grid; gap: 28px; padding-block: 48px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-foot .logo { color: #fff; }
.site-foot .logo svg rect { fill: #2a3144; }
.foot-grid p { margin-top: 12px; font-size: 15px; }
.foot-grid h2 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.foot-grid a:not(.logo) { display: block; padding: 5px 0; text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: #fff; }
.foot-legal { border-top: 1px solid #2a3144; padding-block: 20px 32px; font-size: 13.5px; display: grid; gap: 8px; }

/* 6. Effects --------------------------------------------------- */
@view-transition { navigation: auto; }
.reveal { animation: subir .6s var(--ease-out) both; }
@keyframes subir { from { opacity: 0; transform: translateY(14px); } }

/* 7. Responsive ------------------------------------------------ */
@media (max-width: 959px) {
  .nav { display: none; }
  .nav-movil { display: block; }
}
@media (max-width: 600px) {
  table { font-size: 14px; }
  .stack thead { display: none; }
  .stack tr { display: grid; padding-block: 10px; border-bottom: 1px solid var(--line); }
  .stack td { display: flow-root; border: 0 !important; padding: 3px 16px !important; padding-inline-start: calc(16px + 7.5em) !important; text-align: start; }
  .stack td::before { content: attr(data-l); float: inline-start; width: 7em; margin-inline-start: -7.5em; color: var(--muted); font-weight: 500; }
  .stack td:empty { display: none; }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compra-box { grid-template-columns: 1fr; }
  .specs th, .specs td { padding: 10px 12px; }
  .comp-tabla { min-width: calc(120px + var(--n, 6) * 150px); }
  .comp-tabla th.c-label { width: 120px; font-size: 13px; }
  .comp-tabla th, .comp-tabla td { padding: 10px; }
  .hero-radar { width: 52%; }
  .rank-num { width: 40px; height: 40px; font-size: 22px; }
  .tray-clear { display: none; }
  .picker-list { grid-template-columns: 1fr 1fr; gap: 6px; }
  .pick { min-height: 52px; font-size: 14px; padding: 6px 8px; gap: 8px; }
  .pick img { display: none; }
  .comp-picker { padding: 14px; }
}
@media (min-width: 720px) {
  .pc, .opiniones, .vs-lados { grid-template-columns: 1fr 1fr; }
  .bf { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .ficha-top { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
  .galeria { position: sticky; top: 90px; }
  .dos-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .comp-radar-wrap { grid-template-columns: 1fr 1.1fr; }
  .metodo { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .rank { grid-template-columns: 260px 1fr 240px; align-items: start; }
  .fig { min-height: 400px; }
}

/* 8. Reduced motion (solo efectos intrusivos) ------------------ */
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  @view-transition { navigation: none; }
}
