/* =============================================================================
   Voltia — hoja de estilos unica
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografia · 5. Componentes
   6. Secciones · 7. Efectos · 8. Responsive · 9. Reduced motion
   ============================================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink:        #10131a;
  --ink-soft:   #2a2f3c;
  --muted:      #5d6472;
  --paper:      #f8f7f4;
  --surface:    #ffffff;
  --surface-2:  #f1efea;
  --line:       #e3e0d9;
  --line-soft:  #eeece7;

  --accent:     #2b4cff;
  --accent-ink: #ffffff;
  --accent-dim: #eaeeff;
  --volt:       #c8ff35;
  --good:       #10794f;
  --bad:        #b23227;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-s: 0 1px 2px rgba(16, 19, 26, .05), 0 2px 8px rgba(16, 19, 26, .04);
  --shadow-m: 0 2px 4px rgba(16, 19, 26, .05), 0 12px 28px rgba(16, 19, 26, .07);
  --shadow-l: 0 4px 10px rgba(16, 19, 26, .06), 0 24px 60px rgba(16, 19, 26, .10);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  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; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
::selection { background: var(--ink); color: var(--volt); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.center { text-align: center; }
.section { padding-block: clamp(2.8rem, 6vw, 4.8rem); }
.section-head { max-width: 46ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin-top: .6rem; }
.section-note { color: var(--muted); font-size: .93rem; max-width: 62ch; margin-bottom: 1.2rem; }

/* =============================================================
   4. Tipografia
   ============================================================= */
h1 { font-family: var(--serif); font-size: clamp(2.05rem, 5.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3.1vw, 2.15rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.05rem, 1.9vw, 1.28rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--ink-soft); max-width: 66ch; margin-top: 1rem; }

.prosa { max-width: 74ch; }
.prosa h2 { margin-top: 2.4rem; margin-bottom: .8rem; }
.prosa h2:first-child { margin-top: 0; }
.prosa p { margin-bottom: 1.05rem; color: var(--ink-soft); }
.prosa a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prosa .spec-table { margin-block: 1.4rem 2rem; }
.prosa .destacado {
  background: var(--accent-dim); border-left: 3px solid var(--accent);
  padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; color: var(--ink);
}

.lista-num { counter-reset: n; list-style: none; padding: 0; margin-bottom: 1.2rem; }
.lista-num li {
  counter-increment: n; position: relative; padding-left: 2.6rem;
  margin-bottom: .85rem; color: var(--ink-soft);
}
.lista-num li::before {
  content: counter(n); position: absolute; left: 0; top: .12rem;
  width: 1.85rem; height: 1.85rem; display: grid; place-items: center;
  background: var(--ink); color: var(--volt); border-radius: 50%;
  font-family: var(--mono); font-size: .8rem; font-weight: 700;
}

.tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .6rem; border-radius: 6px;
  background: var(--surface-2); color: var(--ink-soft);
}

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.15rem; border-radius: 11px; font-weight: 600; font-size: .93rem;
  border: 1.5px solid transparent; transition: transform .3s var(--ease-out),
    background-color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; border-radius: 13px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-buy { background: var(--accent); color: var(--accent-ink); }
.btn-buy:hover { background: #1c39d8; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43, 76, 255, .25); }

/* --- Navegacion --- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 247, 244, .82);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(14px)) {
  .nav { background: rgba(248, 247, 244, .72); backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  background: var(--ink); color: var(--volt); border-radius: 10px;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.02em; }
.brand-text small { font-size: .66rem; color: var(--muted); letter-spacing: .04em; }

.nav-menu { display: flex; align-items: center; gap: 1.1rem; }
.nav-links { display: flex; gap: .3rem; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: .45rem .62rem; border-radius: 8px; font-size: .88rem;
  font-weight: 500; color: var(--ink-soft); transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
/* El boton dentro del nav debe ganar a `.nav-links a` (especificidad). */
.nav-menu a.nav-cta, .nav-menu a.nav-cta:hover {
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
}
.nav-menu a.nav-cta:hover { background: var(--accent); }
.nav-cta-count {
  display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem;
  padding: 0 .35rem; border-radius: 999px;
  background: var(--volt); color: var(--ink);
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
}
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); }
.nav-burger, .nav-burger::before, .nav-burger::after {
  display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s linear;
}
.nav-burger { margin-inline: auto; position: relative; }
.nav-burger::before, .nav-burger::after { content: ""; position: absolute; left: 0; }
.nav-burger::before { top: -6px; }
.nav-burger::after { top: 6px; }
.nav.is-open .nav-burger { background: transparent; }
.nav.is-open .nav-burger::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-burger::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Tarjeta de producto --- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: #d5d1c8; }
.card-media { display: block; background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.card-kicker { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 1.22rem; line-height: 1.2; }
.card-title a:hover { color: var(--accent); }
.card-claim { font-size: .92rem; color: var(--muted); }
.card-specs, .ficha-highlights {
  list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: .1rem .9rem; border-top: 1px solid var(--line-soft); padding-top: .8rem; margin-top: auto;
}
.card-specs li, .ficha-highlights li { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; padding: .18rem 0; }
.card-specs span, .ficha-highlights span { color: var(--muted); }
.card-specs b, .ficha-highlights b { font-family: var(--mono); font-size: .84rem; font-weight: 700; }
.card-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 auto; }

.stars { display: inline-flex; align-items: center; gap: .22rem; font-weight: 700; color: var(--ink); }
.stars svg { width: 14px; height: 14px; color: #e0a80c; flex: none; }
.card-reviews { color: var(--muted); }

.compare-add {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  padding: .35rem .1rem; border-bottom: 1.5px solid transparent;
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.compare-add svg { width: 15px; height: 15px; flex: none; }
.compare-add:hover { color: var(--accent); border-color: var(--accent); }
.compare-add.is-on { color: var(--accent); border-color: var(--accent); }

/* --- Precio --- */
.precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.precio-valor { font-family: var(--mono); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; }
.precio-tachado { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.precio-nota { flex-basis: 100%; font-size: .74rem; color: var(--muted); line-height: 1.45; }
.precio-sin .precio-valor { font-size: 1.02rem; color: var(--muted); font-family: var(--sans); }

.aviso-stock {
  display: inline-block; font-size: .78rem; font-weight: 600;
  background: #fdf3e7; color: #8a5410; border: 1px solid #f0d9b6;
  padding: .35rem .65rem; border-radius: 8px;
}

/* --- Tabla de especificaciones --- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: .68rem .85rem; border-bottom: 1px solid var(--line-soft); vertical-align: top;
}
.spec-table tbody th[scope="row"] { color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { font-family: var(--mono); font-size: .85rem; }
.spec-table tr.spec-group th {
  background: var(--ink); color: var(--paper); font-family: var(--sans);
  font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700;
  padding: .5rem .85rem; width: auto;
}
.spec-table tr:not(.spec-group):nth-of-type(even) { background: var(--surface); }

/* --- Radar --- */
.radar { width: 100%; height: auto; max-width: 380px; margin-inline: auto; overflow: visible; }
.radar-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-area {
  fill: color-mix(in srgb, var(--radar-color, var(--accent)) 16%, transparent);
  stroke: var(--radar-color, var(--accent)); stroke-width: 2.2; stroke-linejoin: round;
}
.radar-dot { fill: var(--radar-color, var(--accent)); }
.radar-dot.is-empty { fill: var(--paper); stroke: var(--muted); stroke-width: 1.5; }
.radar-label { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--muted); }
.radar-value { font-family: var(--mono); font-weight: 700; fill: var(--ink); }
.radar-figure figcaption { text-align: center; font-size: .78rem; color: var(--muted); margin-top: .6rem; }

.score-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.score-list li { display: grid; grid-template-columns: 6.5rem 1fr 4.5rem; align-items: center; gap: .7rem; font-size: .88rem; }
.score-list .bar { display: block; height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.score-list .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.score-list b { font-family: var(--mono); font-size: .8rem; text-align: right; color: var(--ink); }

/* --- Pros y contras --- */
.pros-contras { display: grid; gap: 1.1rem; }
.pc-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-size: 1rem; }
/* Cada contexto de icono se dimensiona explicitamente. */
.pc-col h3 svg, .check-list svg, .resena-verificada svg { width: 1.1em; height: 1.1em; flex: none; }
.pc-pros h3 { color: var(--good); }
.pc-contras h3 { color: var(--bad); }
.pc-col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.pc-col li { position: relative; padding-left: 1.15rem; font-size: .92rem; color: var(--ink-soft); }
.pc-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; }
.pc-pros li::before { background: var(--good); }
.pc-contras li::before { background: var(--bad); }
.ideal-para {
  margin-top: 1.1rem; padding: .95rem 1.15rem; border-radius: var(--radius);
  background: var(--accent-dim); border: 1px solid #cfd8ff; font-size: .95rem;
}
.cta-inline { margin-top: 1.4rem; }

.check-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .55rem; font-size: .9rem; color: var(--ink-soft); }
.check-list svg { color: var(--accent); margin-top: .22em; }

/* --- Resenas --- */
.resumen-resenas {
  font-size: 1.02rem; color: var(--ink-soft); max-width: 72ch;
  border-left: 3px solid var(--ink); padding-left: 1.1rem; margin-bottom: 1.6rem;
}
.resenas { display: grid; gap: 1rem; }
.resena { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.2rem; }
.resena-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .86rem; margin-bottom: .5rem; }
.resena-stars { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--mono); font-size: .8rem; }
.resena-stars svg { width: 13px; height: 13px; color: #e0a80c; flex: none; }
.resena-verificada { display: inline-flex; align-items: center; gap: .25rem; font-size: .74rem; color: var(--good); font-weight: 600; }
.resena-text { font-size: .93rem; color: var(--ink-soft); }
.resena footer { margin-top: .55rem; font-size: .74rem; color: var(--muted); }

/* --- Comparador --- */
.cmp-selector {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; margin-bottom: 2rem;
}
.cmp-selector-title { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.cmp-chip {
  display: flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .4rem .8rem .4rem .4rem; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: .85rem; font-weight: 500;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.cmp-chip img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; background: var(--surface-2); flex: none; }
.cmp-chip input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.cmp-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }

.cmp-radar-wrap { margin-bottom: 2.2rem; }
.cmp-radar { display: grid; gap: 1.2rem; align-items: center; justify-items: center; }
.cmp-radar-canvas { width: 100%; max-width: 420px; }
.cmp-legend { list-style: none; padding: 0; display: grid; gap: .5rem; }
.cmp-legend li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; }
.cmp-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }

.table-scroll { overflow-x: auto; overflow-y: visible; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .88rem; }
.cmp-table th, .cmp-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.cmp-table thead th { vertical-align: bottom; border-bottom: 2px solid var(--ink); }
.cmp-table thead th.cmp-corner { font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.cmp-table tbody th[scope="row"] { color: var(--muted); font-weight: 500; white-space: nowrap; }
.cmp-table tbody td { font-family: var(--mono); font-size: .84rem; }
.cmp-table tr.spec-group th {
  background: var(--ink); color: var(--paper); font-size: .7rem; letter-spacing: .11em;
  text-transform: uppercase; font-weight: 700; padding: .5rem .9rem;
}
.cmp-head { display: block; }
.cmp-head img { width: 100%; max-width: 150px; height: 108px; object-fit: contain; background: var(--surface-2); border-radius: 10px; padding: .4rem; }
.cmp-name { display: block; margin-top: .5rem; font-family: var(--serif); font-size: 1rem; line-height: 1.2; max-width: 16ch; }
.cmp-table thead .precio { margin-block: .55rem; }
.cmp-table thead .precio-valor { font-size: 1.02rem; }
.cmp-table thead .precio-nota { font-size: .68rem; }
.cmp-table td.is-best { background: #f2fbf5; color: var(--good); font-weight: 700; position: relative; }
.best-flag {
  display: inline-block; margin-left: .4rem; font-family: var(--sans); font-size: .6rem;
  letter-spacing: .08em; text-transform: uppercase; background: var(--good); color: #fff;
  padding: .1rem .35rem; border-radius: 4px; vertical-align: middle;
}
.score-pill {
  display: inline-block; background: var(--accent-dim); color: var(--accent);
  padding: .15rem .5rem; border-radius: 6px; font-weight: 700;
}
[data-col].is-hidden { display: none; }

/* --- Ranking --- */
.ranking { list-style: none; padding: 0; display: grid; gap: 1rem; counter-reset: r; }
.rank-row {
  display: grid; grid-template-columns: auto 96px 1fr; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.15rem;
}
.rank-pos { font-family: var(--mono); font-size: 1.4rem; font-weight: 700; color: var(--line); }
.rank-media img { width: 96px; height: 72px; object-fit: contain; background: var(--surface-2); border-radius: 10px; }
.rank-body h2 { font-size: 1.1rem; font-family: var(--serif); margin-bottom: .45rem; }
.rank-bar { display: flex; align-items: center; gap: .6rem; }
.rank-bar i { display: block; height: 9px; border-radius: 5px; background: var(--accent); min-width: 8px; }
.rank-bar b { font-family: var(--mono); font-size: .86rem; }
.rank-note { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.rank-cta { grid-column: 1 / -1; }

/* --- Guias / picks --- */
.picks { display: grid; gap: 1.4rem; }
.pick {
  position: relative; display: grid; gap: 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem;
}
.pick-rank {
  position: absolute; top: -14px; left: 1.3rem; width: 34px; height: 34px;
  display: grid; place-items: center; background: var(--ink); color: var(--volt);
  border-radius: 10px; font-family: var(--mono); font-weight: 700;
}
.pick-media img { width: 100%; height: 210px; object-fit: contain; background: var(--surface-2); border-radius: var(--radius); }
.pick-body { display: flex; flex-direction: column; gap: .7rem; }
.pick-body h3 { font-family: var(--serif); font-size: 1.3rem; }
.pick-claim { font-weight: 600; color: var(--accent); }

.guia-card {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.guia-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.guia-card h3 { font-family: var(--serif); font-size: 1.2rem; }
.guia-card p { font-size: .9rem; color: var(--muted); }

.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1.15rem; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: .7rem; color: var(--ink-soft); font-size: .93rem; }

/* --- Categorias --- */
.cat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cat-card {
  display: flex; flex-direction: column; gap: .45rem; padding: 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-m); }
.cat-card h3 { font-family: var(--serif); font-size: 1.25rem; }
.cat-card p { font-size: .88rem; color: var(--muted); }
.cat-count { margin-top: auto; padding-top: .6rem; font-family: var(--mono); font-size: .74rem; color: var(--accent); font-weight: 700; }

.cat-layout { display: grid; gap: 2rem; }
.aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; align-self: start; }
.aside h2 { font-size: 1.05rem; font-family: var(--sans); margin-bottom: .9rem; }
.filtros { margin-bottom: 1.2rem; }
.filtros label { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.filtros select {
  font: inherit; font-size: .85rem; padding: .45rem .7rem; border: 1.5px solid var(--line);
  border-radius: 9px; background: var(--surface); color: var(--ink);
}
.empty {
  text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg);
}
.empty h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; margin-bottom: 1rem; }

/* =============================================================
   6. Secciones
   ============================================================= */
.hero {
  position: relative; background: var(--ink); color: var(--paper);
  padding-block: clamp(3rem, 9vw, 6.5rem); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% 20% -10%;
  background: radial-gradient(46% 42% at 68% 34%, rgba(200, 255, 53, .16), transparent 72%),
              radial-gradient(38% 38% at 18% 70%, rgba(43, 76, 255, .30), transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--volt);
  border: 1px solid rgba(200, 255, 53, .3); border-radius: 999px; padding: .35rem .8rem;
}
.hero-kicker svg { width: 15px; height: 15px; flex: none; }
.hero h1 { margin-top: 1.3rem; font-size: clamp(2.3rem, 6.4vw, 4.4rem); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero-lead { margin-top: 1.2rem; max-width: 58ch; color: rgba(248, 247, 244, .78); font-size: clamp(1rem, 1.6vw, 1.13rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero .btn-primary { background: var(--volt); color: var(--ink); }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-ghost { background: transparent; border-color: rgba(248, 247, 244, .28); color: var(--paper); }
.hero .btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.hero-stats {
  list-style: none; padding: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 2.2rem;
  border-top: 1px solid rgba(248, 247, 244, .14); margin-top: 2.6rem;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--mono); font-size: 1.8rem; color: var(--volt); line-height: 1; }
.hero-stats span { font-size: .78rem; color: rgba(248, 247, 244, .6); margin-top: .35rem; }

.band { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.split { display: grid; gap: 2rem; align-items: start; }
.split > div > p { color: var(--ink-soft); margin-bottom: .9rem; }
.metodo-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.metodo-list li {
  display: flex; gap: .7rem; padding: .85rem 1rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; color: var(--ink-soft);
}
.metodo-list b { font-family: var(--mono); color: var(--accent); flex: none; }

.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 5vw, 3rem); }
.page-head .tag { margin-bottom: .8rem; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* --- Ficha --- */
.ficha-top { display: grid; gap: 2rem; padding-block: clamp(1.6rem, 4vw, 2.6rem); }
.gallery-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; }
.gallery-thumbs { display: flex; gap: .55rem; margin-top: .7rem; flex-wrap: wrap; }
.thumb {
  width: 68px; height: 54px; border: 1.5px solid var(--line); border-radius: 9px;
  overflow: hidden; background: var(--surface); padding: .2rem;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--accent); }
.ficha-head h1 { margin-block: .55rem .3rem; }
.ficha-marca { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.ficha-lead { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 60ch; }
.ficha-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.2rem; }
.ficha-cta .compare-add { border: 1.5px solid var(--line); border-radius: 11px; padding: .72rem 1.15rem; background: var(--surface); }
.ficha-cta .compare-add.is-on { border-color: var(--accent); }
.ficha-highlights { margin-top: 1.2rem; }

.disclosure {
  font-size: .78rem; color: var(--muted); line-height: 1.6; max-width: 90ch;
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.4rem;
}
.disclosure strong { color: var(--ink-soft); }

/* --- Footer --- */
.footer { background: var(--ink); color: rgba(248, 247, 244, .74); padding-block: 3rem 2rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-claim { font-size: .88rem; max-width: 34ch; }
.footer-claim strong { color: var(--volt); font-family: var(--serif); font-size: 1.1rem; }
.footer h3 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(248, 247, 244, .45); margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer a { font-size: .87rem; }
.footer a:hover { color: var(--volt); }
.footer-legal { border-top: 1px solid rgba(248, 247, 244, .13); margin-top: 2.4rem; }
.footer-legal .disclosure { border-top: 0; color: rgba(248, 247, 244, .5); margin-top: 1.6rem; }
.footer-legal .disclosure strong { color: rgba(248, 247, 244, .8); }
.footer-copy { font-size: .76rem; color: rgba(248, 247, 244, .4); margin-top: 1rem; }

/* =============================================================
   7. Efectos
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

@view-transition { navigation: auto; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .8rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.4rem;
    display: none;
  }
  .nav.is-open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: .1rem; }
  .nav-links a { padding: .6rem .5rem; font-size: .95rem; }
  .nav-menu a.nav-cta { justify-content: center; }
}

@media (min-width: 540px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-contras { grid-template-columns: 1fr 1fr; }
  .rank-row { grid-template-columns: auto 96px 1fr auto; }
  .rank-cta { grid-column: auto; }
}

@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .resenas { grid-template-columns: 1fr 1fr; }
  .pick { grid-template-columns: 260px 1fr; align-items: start; }
  .pick-media img { height: 190px; }
  .cmp-radar { grid-template-columns: minmax(0, 420px) 1fr; justify-items: start; }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .ficha-top { grid-template-columns: 1.02fr .98fr; gap: 2.8rem; }
  .cat-layout { grid-template-columns: 1fr 300px; gap: 2.5rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
  .radar-figure { position: sticky; top: 96px; }
}

@media (min-width: 1280px) {
  .card-specs, .ficha-highlights { gap: .1rem 1.4rem; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition-duration: .01ms; }
}
