/* =============================================================
   VOLTIX — Comparador de patinetes eléctricos
   Hoja de estilos única, organizada por secciones.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #0a0d13;
  --bg-alt: #0d1119;
  --bg-elevated: #121722;
  --bg-card: #151b28;
  --bg-card-hover: #1a2231;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f7;
  --text-dim: #9aa5ba;
  --text-faint: #6b7488;

  --accent: #c6ff3d;
  --accent-ink: #0e1408;
  --accent-soft: rgba(198, 255, 61, 0.12);

  --teal: #5ee6c8;
  --blue: #7aa2ff;
  --orange: #ff9f5e;
  --pink: #ff7ab8;

  --star: #ffce54;
  --danger: #ff6b6b;
  --success: #4ade80;

  --cream: #0e1408;

  --serif: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.45);

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --container: 1280px;
  --nav-h: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 600; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--accent); color: var(--accent-ink);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* Safety net: any inline icon SVG not covered by a context rule below still gets sized */
svg[data-icon] { width: 1.2em; height: 1.2em; flex: none; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; max-width: 56ch; }
.muted { color: var(--text-dim); }
.center { text-align: center; margin-inline: auto; }
.divider { height: 1px; background: var(--border); border: 0; margin-block: 0; }
.badge-sample {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  background: rgba(255, 159, 94, 0.14); color: var(--orange);
  border: 1px solid rgba(255, 159, 94, 0.35);
  padding: 0.3em 0.7em; border-radius: var(--radius-pill);
}
.badge-sample::before { content: "🔧"; font-size: 0.9em; }

/* =============================================================
   4. Buttons & form controls
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.9em 1.5em; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(198,255,61,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198,255,61,0.28); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }

.btn-buy {
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: 1em 1.7em; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 0.6em;
  box-shadow: 0 10px 30px rgba(198,255,61,0.18);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-buy:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 40px rgba(198,255,61,0.3); }
.btn-buy svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-buy .buy-note { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.75; }

.field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.field select, .field input {
  background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text);
  padding: 0.7em 1em; border-radius: var(--radius-sm); font-size: 0.95rem;
}
.field select:focus, .field input:focus { border-color: var(--accent); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.45em 0.9em; border-radius: var(--radius-pill);
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  font-size: 0.85rem; font-weight: 600; color: var(--text-dim);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* =============================================================
   5. Nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 13, 19, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(10, 13, 19, 0.97); }
}
.nav {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.nav-brand .bolt { color: var(--accent); font-size: 1.3em; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); position: relative; padding-block: 0.3rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--accent-ink); background: var(--accent); padding: 0.55em 1.1em; border-radius: var(--radius-pill); font-weight: 700;
}
.nav-right { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
.nav-mobile {
  display: none; flex-direction: column; gap: 0.2rem; padding: 0.5rem var(--gutter) 1.4rem;
  border-bottom: 1px solid var(--border); background: var(--bg-alt);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 0.8rem 0.2rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: 0; }
@media (min-width: 960px) { .nav-mobile { display: none !important; } }

/* =============================================================
   6. Hero
   ============================================================= */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4rem); overflow: clip; position: relative; }
.hero-halo {
  position: absolute; inset: -30% -10% -60% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 40% at 30% 20%, rgba(198,255,61,0.16), transparent 70%),
              radial-gradient(35% 35% at 85% 15%, rgba(122,162,255,0.14), transparent 70%);
  filter: blur(60px);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 3.9rem); max-width: 16ch; }
.hero-title .accent-word { color: var(--accent); }
.hero-lead { margin-top: 1.1rem; font-size: 1.1rem; color: var(--text-dim); max-width: 52ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-stats { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.hero-stat span { font-size: 0.82rem; color: var(--text-dim); }

.hero-visual {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-visual .scooter-illustration { width: 68%; }
.hero-visual .glow { position: absolute; inset: -40% -20% -20% -20%; background: radial-gradient(50% 50% at 50% 55%, rgba(198,255,61,0.22), transparent 70%); filter: blur(10px); }
.hero-visual .float-chip {
  position: absolute; padding: 0.55em 0.9em; border-radius: var(--radius-pill);
  background: rgba(10,13,19,0.85); border: 1px solid var(--border-strong); font-size: 0.78rem; font-weight: 700;
  backdrop-filter: blur(6px); display: flex; align-items: center; gap: 0.4em;
}
.hero-visual .chip-1 { top: 10%; left: 6%; color: var(--teal); }
.hero-visual .chip-2 { bottom: 12%; right: 7%; color: var(--blue); }

/* =============================================================
   7. Trust block ("cómo elegimos")
   ============================================================= */
.trust-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.trust-card .ico { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.trust-card .ico svg { width: 22px; height: 22px; }
.trust-card h3 { font-size: 1.05rem; }
.trust-card p { color: var(--text-dim); font-size: 0.92rem; }

/* =============================================================
   8. Product cards
   ============================================================= */
.grid-products {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-card-hover); }
.product-card .pc-media {
  position: relative; aspect-ratio: 16/11; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card .pc-media svg { width: 62%; height: 62%; }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.product-card:hover .pc-media img { transform: scale(1.04); }
.product-card .pc-badges { position: absolute; top: 0.7rem; left: 0.7rem; right: 0.7rem; display: flex; justify-content: space-between; gap: 0.4rem; }
.product-card .pc-cat {
  font-size: 0.72rem; font-weight: 700; padding: 0.3em 0.7em; border-radius: var(--radius-pill);
  background: rgba(10,13,19,0.7); backdrop-filter: blur(4px);
}
.product-card .pc-body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.product-card .pc-brand { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.product-card h3 { font-size: 1.08rem; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .pc-rating { display: flex; align-items: center; gap: 0.4em; font-size: 0.85rem; color: var(--text-dim); }
.product-card .pc-rating .stars { color: var(--star); letter-spacing: 1px; }
.product-card .pc-specs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.1rem; }
.product-card .pc-spec-chip {
  font-size: 0.74rem; font-weight: 600; color: var(--text-dim); background: var(--bg-elevated);
  border: 1px solid var(--border); padding: 0.3em 0.6em; border-radius: var(--radius-sm);
}
.product-card .pc-footer { margin-top: auto; padding-top: 0.85rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; position: relative; }
.product-card .pc-price { display: flex; flex-direction: column; }
.product-card .pc-price .now { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.product-card .pc-price .before { font-size: 0.78rem; color: var(--text-faint); text-decoration: line-through; }
.product-card .pc-compare-toggle {
  position: relative; z-index: 2;
  font-size: 0.72rem; font-weight: 700; color: var(--text-dim);
  border: 1px solid var(--border-strong); padding: 0.4em 0.7em; border-radius: var(--radius-pill);
}
.product-card .pc-compare-toggle.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* =============================================================
   9. Category cards + strips
   ============================================================= */
.grid-categories { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 1.6rem;
  min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem;
  border: 1px solid var(--border); background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--cat-color, var(--accent)); }
.cat-card .cat-ico { position: absolute; top: 1.3rem; right: 1.3rem; width: 40px; height: 40px; opacity: 0.9; color: var(--cat-color, var(--accent)); }
.cat-card h3 { font-size: 1.2rem; }
.cat-card p { font-size: 0.82rem; color: var(--text-dim); }
.cat-card .cat-count { font-size: 0.75rem; color: var(--cat-color, var(--accent)); font-weight: 700; }
.cat-card::before {
  content: ""; position: absolute; inset: -50% -20% auto -20%; height: 140%;
  background: radial-gradient(45% 45% at 50% 0%, color-mix(in srgb, var(--cat-color, var(--accent)) 22%, transparent), transparent 70%);
  pointer-events: none;
}

/* =============================================================
   10. Ficha (producto)
   ============================================================= */
.ficha-top { display: grid; gap: 2.2rem; padding-block: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 960px) { .ficha-top { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.ficha-galeria { display: flex; flex-direction: column; gap: 0.8rem; }
.ficha-img-main {
  aspect-ratio: 4/3; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.ficha-img-main svg { width: 56%; height: 56%; }
.ficha-img-main img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumbs { display: flex; gap: 0.6rem; overflow-x: auto; overflow-y: visible; padding-block: 0.2rem 0.5rem; }
.ficha-thumbs li {
  flex: none; width: 76px; height: 76px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.2s var(--ease-out);
}
.ficha-thumbs li svg { width: 60%; height: 60%; }
.ficha-thumbs li img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ficha-thumbs li.is-active, .ficha-thumbs li:hover { border-color: var(--accent); }

.ficha-head { display: flex; flex-direction: column; gap: 0.5rem; }
.ficha-marca { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.ficha-nombre { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.ficha-rating { display: flex; align-items: center; gap: 0.5em; font-size: 0.92rem; color: var(--text-dim); }
.ficha-rating .stars { color: var(--star); }
.ficha-precio { margin-top: 0.6rem; padding: 1.1rem 1.3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 0.3rem; }
.ficha-precio .precio-row { display: flex; align-items: baseline; gap: 0.7rem; }
.ficha-precio .precio-actual { font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.ficha-precio .precio-antes { font-size: 1rem; color: var(--text-faint); text-decoration: line-through; }
.ficha-precio .precio-nota { font-size: 0.78rem; color: var(--text-faint); }
.ficha-head .btn-buy { margin-top: 0.9rem; }
.ficha-head-actions { display: flex; gap: 0.7rem; margin-top: 0.4rem; flex-wrap: wrap; }

/* =============================================================
   11. Radar chart
   ============================================================= */
.radar-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2.2rem); }
.radar-block h2 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.radar-block .nota { font-size: 0.8rem; color: var(--text-faint); margin-top: 0.6rem; }
.radar-figure { display: flex; justify-content: center; }
.radar-figure svg { width: 100%; max-width: 420px; overflow: visible; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; justify-content: center; margin-top: 0.9rem; }
.radar-legend .leg-item { display: flex; align-items: center; gap: 0.45em; font-size: 0.82rem; color: var(--text-dim); }
.radar-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

/* =============================================================
   12. Spec table
   ============================================================= */
.ficha-specs { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.specs-group { margin-bottom: 1.6rem; }
.specs-group h3 { font-size: 1rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; margin-bottom: 0.7rem; }
.specs-table { width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table tr:nth-child(odd) { background: var(--bg-card); }
.specs-table tr:nth-child(even) { background: var(--bg-elevated); }
.specs-table th, .specs-table td { text-align: left; padding: 0.75em 1em; font-size: 0.92rem; }
.specs-table th { font-weight: 500; color: var(--text-dim); width: 55%; }
.specs-table td { font-weight: 700; }
.specs-extra summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 0.6rem 0; }
.specs-extra[open] summary { margin-bottom: 0.4rem; }
.specs-extra-list dt { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.5rem; }
.specs-extra-list dd { font-weight: 600; }

/* =============================================================
   13. Editorial, pros/contras, reseñas
   ============================================================= */
.ficha-editorial { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.editorial-cuerpo { color: var(--text); font-size: 1.02rem; max-width: 74ch; }
.editorial-cuerpo p + p { margin-top: 1rem; }
.pros-contras { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
@media (min-width: 640px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pc-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.pc-col h3 { display: flex; align-items: center; gap: 0.5em; font-size: 1rem; margin-bottom: 0.7rem; }
.pc-col.pros h3 { color: var(--success); }
.pc-col.contras h3 { color: var(--danger); }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col li { display: flex; gap: 0.55em; font-size: 0.92rem; padding-block: 0.3rem; color: var(--text-dim); }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: 0.15em; }
.pc-col.pros li svg { color: var(--success); }
.pc-col.contras li svg { color: var(--danger); }
.ideal-para { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid rgba(198,255,61,0.3); font-size: 0.96rem; }
.ideal-para strong { color: var(--accent); }

.ficha-resenas { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.resenas-resumen { font-size: 1rem; color: var(--text-dim); max-width: 70ch; margin-bottom: 1.3rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 0.8rem; }
.review-card .review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; gap: 0.6rem; }
.review-card .review-author { font-weight: 700; font-size: 0.9rem; }
.review-card .stars { color: var(--star); font-size: 0.85rem; }
.review-card p { font-size: 0.9rem; color: var(--text-dim); }
.review-verified { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.72rem; color: var(--success); }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }

/* =============================================================
   14. Comparar + similares
   ============================================================= */
.ficha-comparar { padding-block: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.6rem; }
.similares { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* =============================================================
   15. Aviso de afiliados
   ============================================================= */
.aviso-afiliados {
  font-size: 0.82rem; color: var(--text-faint); max-width: 74ch; padding: 1rem 1.2rem;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
}
.aviso-afiliados-footer { font-size: 0.78rem; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 1.2rem; margin-top: 2rem; max-width: 90ch; }

/* =============================================================
   16. Comparador
   ============================================================= */
.comparador-picker { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 2.2rem; }
.comparador-picker .picker-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.picker-search { position: relative; margin-bottom: 1rem; }
.picker-search input {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text);
  padding: 0.85em 1.1em 0.85em 2.6em; border-radius: var(--radius-pill); font-size: 0.95rem;
}
.picker-search svg { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint); }
.picker-results { display: flex; flex-wrap: wrap; gap: 0.6rem; max-height: 220px; overflow-y: auto; }
.picker-slots { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.1rem; }
.picker-slot {
  position: relative; width: 130px; padding: 0.8rem 0.7rem 0.7rem; border-radius: var(--radius);
  background: var(--bg-elevated); border: 1px dashed var(--border-strong); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; overflow: visible;
}
.picker-slot.is-filled { border-style: solid; border-color: var(--accent); }
.picker-slot .slot-thumb { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.picker-slot .slot-thumb svg { width: 100%; height: 100%; }
.picker-slot .slot-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.picker-slot .slot-name { font-size: 0.72rem; font-weight: 700; line-height: 1.25; }
.picker-slot .slot-remove {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--danger); color: #fff; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-card);
}
.picker-slot.is-empty { color: var(--text-faint); font-size: 0.78rem; }

.comparador-empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-dim); }

.comparador-radar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2.2rem); margin-bottom: 2.2rem; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: 0.85em 1.1em; border-bottom: 1px solid var(--border); font-size: 0.9rem; vertical-align: top; }
.compare-table thead th { background: var(--bg-elevated); position: sticky; top: 0; }
.compare-table tbody tr:nth-child(odd) { background: var(--bg-card); }
.compare-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare-table .row-label { color: var(--text-dim); font-weight: 500; white-space: nowrap; position: sticky; left: 0; background: inherit; }
.compare-table td.is-best { color: var(--accent); font-weight: 700; }
.compare-table .col-product { min-width: 170px; }
.compare-col-head { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.compare-col-head .thumb { width: 64px; height: 64px; }
.compare-col-head .thumb svg { width: 100%; height: 100%; }
.compare-col-head .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.compare-col-head .name { font-weight: 700; font-size: 0.92rem; }

/* =============================================================
   17. Filtros de categoría / ofertas
   ============================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: flex-end; margin-bottom: 2rem; }
.filter-bar .field { min-width: 170px; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; color: var(--text-dim); background: var(--bg-card); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* =============================================================
   18. Guías / blog
   ============================================================= */
.guia-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.guia-article { max-width: 76ch; font-size: 1.03rem; }
.guia-article h2 { font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: 0.8rem; }
.guia-article p { margin-bottom: 1rem; color: var(--text-dim); }
.guia-article p strong { color: var(--text); }
.guia-shortlist { display: grid; gap: 1.3rem; margin-block: 1.5rem 2.5rem; }
.guia-pick {
  display: grid; gap: 1rem; grid-template-columns: 110px 1fr; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem;
}
.guia-pick .thumb { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--bg-elevated); border-radius: var(--radius); }
.guia-pick .thumb svg { width: 70%; height: 70%; }
.guia-pick .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.guia-pick .rank { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.guia-pick h3 { font-size: 1.05rem; margin-block: 0.15rem 0.3rem; }
.guia-pick .why { font-size: 0.88rem; color: var(--text-dim); }
.faq-item { border-bottom: 1px solid var(--border); padding-block: 1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
.faq-item p { margin-top: 0.6rem; color: var(--text-dim); }

/* =============================================================
   19. Ofertas
   ============================================================= */
.discount-badge {
  background: var(--danger); color: #fff; font-weight: 800; font-size: 0.76rem;
  padding: 0.3em 0.65em; border-radius: var(--radius-pill);
}

/* =============================================================
   20. Footer
   ============================================================= */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-block: 3rem 2rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-brand .nav-brand { font-size: 1.15rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin-bottom: 0.9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-faint); }

/* =============================================================
   21. Legal pages
   ============================================================= */
.legal-page { max-width: 78ch; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.7rem; }
.legal-page p, .legal-page li { color: var(--text-dim); margin-bottom: 0.8rem; }
.legal-page li { padding-left: 1.2rem; position: relative; }
.legal-page li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* =============================================================
   22. Reveal / effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   23. Breadcrumb
   ============================================================= */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4em; font-size: 0.82rem; color: var(--text-faint); padding-block: 1.2rem 0; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { color: var(--text-faint); }
.breadcrumb .current { color: var(--text-dim); }

/* =============================================================
   24. Backdrop-filter fallback pattern (glass surfaces reused above)
   ============================================================= */

/* =============================================================
   25. Ad placeholders — mockup slots only, no real ad network
   ============================================================= */
.ad-slot {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--bg-elevated), var(--bg-elevated) 12px, var(--bg-card) 12px, var(--bg-card) 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  text-align: center; color: var(--text-faint);
}
.ad-slot .ad-label { font-weight: 800; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--text-dim); }
.ad-slot .ad-caption { font-size: 0.7rem; color: var(--text-faint); }

.ad-banner { width: 100%; min-height: 100px; }
.ad-mid-content { width: 100%; min-height: 220px; max-width: 620px; margin-inline: auto; }

.ad-corner {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 150;
  width: 230px; min-height: 96px; padding: 0.5rem;
  box-shadow: var(--shadow-lg); background: var(--bg-card);
  animation: adCornerIn 0.5s var(--ease-out) 1.2s both;
}
.ad-corner.is-closed { display: none; }
@keyframes adCornerIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 539px) { .ad-corner { left: 0.6rem; right: 0.6rem; width: auto; bottom: 0.6rem; } }

.ad-close {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.ad-close svg { width: 13px; height: 13px; flex: none; }
.ad-close:hover { color: var(--text); border-color: var(--accent); }
.ad-corner, .ad-popup { position: relative; }

.ad-popup-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(5, 6, 9, 0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-out);
  padding: var(--gutter);
}
.ad-popup-overlay.is-open { opacity: 1; pointer-events: auto; }
.ad-popup {
  width: min(420px, 100%); min-height: 280px; background: var(--bg-card);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  transform: scale(0.94); transition: transform 0.3s var(--ease-out);
}
.ad-popup-overlay.is-open .ad-popup { transform: scale(1); }

/* =============================================================
   26. Responsive helpers
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions .btn { width: 100%; }
  .guia-pick { grid-template-columns: 84px 1fr; }
}
