/* =============================================================
   VOLTIO · Comparativa de autos eléctricos en Uruguay
   styles.css — un solo archivo, seccionado.
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Componentes · 6. Layout/Nav/Footer · 7. Secciones
   8. Ficha · 9. Comparador · 10. Efectos · 11. Responsive
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Paleta */
  --ink:        #10130e;   /* casi negro verdoso */
  --ink-2:      #1c2119;
  --forest:     #14271b;   /* verde bosque profundo */
  --forest-2:   #1d3826;
  --paper:      #f6f5ef;   /* off-white cálido */
  --paper-2:    #eeece2;
  --card:       #ffffff;
  --line:       #e2e0d4;
  --line-soft:  #ecebe1;
  --text:       #23271f;
  --muted:      #6b7065;
  --muted-2:    #8a8f82;
  --volt:       #bff218;   /* lima eléctrico */
  --volt-deep:  #9bd400;
  --volt-ink:   #16220a;   /* texto sobre lima */
  --sky:        #2f7d5b;   /* verde secundario para datos */
  --danger:     #d1543f;
  --gold:       #d8a53a;

  /* Superficies semánticas */
  --bg:         var(--paper);
  --surface:    var(--card);
  --on-bg:      var(--text);

  /* Tipografía */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radios y sombras */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(16,19,14,.05), 0 2px 8px rgba(16,19,14,.04);
  --shadow-md: 0 4px 14px rgba(16,19,14,.07), 0 14px 40px rgba(16,19,14,.07);
  --shadow-lg: 0 10px 30px rgba(16,19,14,.10), 0 30px 80px rgba(16,19,14,.12);
  --shadow-volt: 0 8px 30px rgba(155,212,0,.28);

  /* Ritmo */
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --maxw: 1240px;
  --nav-h: 72px;

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* =============================================================
   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: calc(var(--nav-h) + 14px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--on-bg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
/* Icono en línea por defecto (evita SVG gigantes sin width/height). Los
   gráficos radar se re-dimensionan más abajo. */
svg { width: 1.15em; height: 1.15em; flex: none; }
.radar-svg, .radar-wrap svg, .cmp-radar-wrap svg { width: 100%; height: 100%; overflow: visible; }
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.06; letter-spacing: -0.02em; font-family: var(--display); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--volt); color: var(--volt-ink); }

:focus-visible {
  outline: 2.5px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }
.container-narrow { max-width: 820px; }

.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: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--volt-deep); border-radius: 2px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-top: .6rem; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: .9rem; max-width: 60ch; }

.text-volt { color: var(--volt-deep); }
.hl { background: linear-gradient(180deg, transparent 62%, rgba(191,242,24,.45) 62%); }

/* =============================================================
   4. TIPOGRAFÍA UTIL
   ============================================================= */
.lead { font-size: 1.16rem; color: var(--muted); line-height: 1.7; }
.mono { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* =============================================================
   5. COMPONENTES
   ============================================================= */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.35em; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s, filter .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-volt { --btn-bg: var(--volt); --btn-fg: var(--volt-ink); box-shadow: var(--shadow-volt); }
.btn-volt:hover { --btn-bg: var(--volt-deep); box-shadow: 0 12px 36px rgba(155,212,0,.4); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); box-shadow: var(--shadow-sm); border-color: var(--ink); }
.btn-lg { padding: 1em 1.7em; font-size: 1.04rem; }
.btn-sm { padding: .58em 1em; font-size: .86rem; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .34em .8em; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: .78rem; letter-spacing: .01em;
  background: var(--paper-2); color: var(--text); border: 1px solid var(--line);
}
.chip svg { width: 1.05em; height: 1.05em; flex: none; }
.chip-volt { background: rgba(191,242,24,.2); border-color: rgba(155,212,0,.5); color: var(--forest); }
.chip-offer { background: var(--danger); color: #fff; border-color: transparent; font-weight: 600; }
.chip-cat { text-transform: capitalize; cursor: pointer; }

.badge {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .4em .75em; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .76rem;
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm);
}
.badge-offer { background: var(--danger); color: #fff; }
.badge-top { background: var(--volt); color: var(--volt-ink); }

/* Estrellas */
.stars { display: inline-flex; align-items: center; gap: .12em; color: var(--gold); }
.stars svg { width: 1.02em; height: 1.02em; flex: none; }
.rating-line { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; color: var(--muted); }
.rating-line strong { color: var(--text); font-family: var(--display); }

/* Precio */
.price { display: inline-flex; align-items: baseline; gap: .5em; flex-wrap: wrap; }
.price-now { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.price-old { font-size: 1rem; color: var(--muted-2); text-decoration: line-through; }
.price-note { font-size: .72rem; color: var(--muted-2); width: 100%; }

/* =============================================================
   PRODUCT CARD
   ============================================================= */
.card-grid {
  display: grid; gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: clip;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-soft); }
.pcard-media {
  position: relative; aspect-ratio: 4/3; background: var(--paper-2);
  overflow: hidden; display: grid; place-items: center;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply;
  transition: transform .6s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard-cat { font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.pcard-title { font-size: 1.12rem; line-height: 1.2; }
.pcard-title a { transition: color .2s; }
.pcard-title a:hover { color: var(--volt-deep); }
.pcard-specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.pcard-spec {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .78rem; color: var(--muted); font-family: var(--display); font-weight: 500;
}
.pcard-spec svg { width: 1em; height: 1em; flex: none; color: var(--sky); }
.pcard-spec b { color: var(--text); font-weight: 600; }
.pcard-foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--line-soft); }
.pcard-actions { display: flex; gap: .5rem; padding: 0 1.25rem 1.25rem; }
.pcard-compare {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .82rem; font-family: var(--display); font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.pcard-compare:hover { color: var(--ink); }
.pcard-compare input { accent-color: var(--volt-deep); width: 16px; height: 16px; }

/* =============================================================
   6. NAV + FOOTER
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(8px)) {
  .nav { -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.nav-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: var(--volt); border-radius: 9px; color: var(--volt-ink); box-shadow: var(--shadow-volt); }
.brand-mark svg { width: 18px; height: 18px; }
.brand span b { color: var(--volt-deep); }

.nav-links { display: none; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a {
  padding: .5rem .8rem; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: .92rem; color: var(--text);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a.is-active { color: var(--volt-deep); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--ink); color: var(--paper); font-weight: 600;
}
.nav-cta .cmp-count {
  display: none; min-width: 18px; height: 18px; padding: 0 5px; margin-left: .1em;
  align-items: center; justify-content: center; border-radius: 999px;
  background: var(--volt); color: var(--volt-ink); font-size: .7rem; font-weight: 700;
}
.nav-cta .cmp-count.show { display: inline-flex; }
.nav-toggle { margin-left: auto; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 899;
  background: var(--paper); padding: 1.4rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: .3rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  overflow-y: auto;
}
.nav-mobile.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-mobile a { padding: .9rem .4rem; font-family: var(--display); font-weight: 500; font-size: 1.25rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.nav-mobile a.nav-cta { margin-top: 1rem; border: 0; }

.footer { background: var(--ink); color: #cfd3c6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: 2rem; }
.footer a { color: #cfd3c6; transition: color .2s; }
.footer a:hover { color: var(--volt); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand .brand { color: var(--paper); }
.footer-brand p { color: var(--muted-2); margin-top: .9rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; font-size: .94rem; }
.footer-disclosure {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; color: var(--muted-2); line-height: 1.6;
}
.footer-disclosure strong { color: #cfd3c6; }
.footer-bottom { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: .82rem; color: var(--muted-2); }

/* Aviso afiliados inline */
.afiliados-note {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .9rem 1.1rem; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px dashed var(--line);
  font-size: .85rem; color: var(--muted); line-height: 1.5;
}
.afiliados-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sky); }

/* =============================================================
   7. HERO + HOME
   ============================================================= */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-halo { position: absolute; inset: -40% -10% auto -10%; height: 90%; z-index: 0;
  background: radial-gradient(50% 60% at 70% 20%, rgba(191,242,24,.35), transparent 70%);
  filter: blur(90px); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.035em; line-height: .98; }
.hero-title em { font-style: normal; color: var(--volt-deep); }
.hero-sub { margin-top: 1.3rem; font-size: 1.14rem; color: var(--muted); max-width: 46ch; }
.hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero-stat b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.hero-stat span { font-size: .82rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-figure {
  position: relative; aspect-ratio: 5/4; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--forest), var(--forest-2));
  overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.hero-figure img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-figure::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(191,242,24,.16), transparent 70%); }
.hero-float {
  position: absolute; z-index: 3; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .7rem .95rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem;
}
.hero-float svg { width: 24px; height: 24px; color: var(--volt-deep); flex: none; }
.hero-float b { font-family: var(--display); font-size: .95rem; display: block; line-height: 1.1; }
.hero-float span { font-size: .72rem; color: var(--muted); }
.hero-float-1 { top: 8%; right: -4%; }
.hero-float-2 { bottom: 9%; left: -5%; }

/* Categoría entry cards */
.cat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.4rem 1.3rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card:hover .cat-ico { background: var(--volt); color: var(--volt-ink); }
.cat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--forest); transition: background .3s, color .3s; }
.cat-ico svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 1.15rem; }
.cat-card p { font-size: .84rem; color: var(--muted); }
.cat-card .cat-count { font-family: var(--display); font-size: .78rem; color: var(--sky); font-weight: 600; margin-top: .1rem; }

/* Cómo elegimos */
.how-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how-item { padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.how-num { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--volt-ink); background: var(--volt); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: .9rem; }
.how-item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.how-item p { font-size: .92rem; color: var(--muted); }

/* Band CTA */
.band {
  background: linear-gradient(150deg, var(--forest), var(--ink));
  color: var(--paper); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(191,242,24,.24), transparent 65%); filter: blur(60px); }
.band-inner { position: relative; z-index: 1; display: grid; gap: 1.4rem; align-items: center; }
.band h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); color: var(--paper); }
.band p { color: #c8ccbe; max-width: 48ch; }

/* Guías / blog cards */
.guide-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: clip; background: var(--surface);
  border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s;
}
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-media { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--forest-2), var(--forest)); position: relative; overflow: hidden; display: grid; place-items: center; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-media .guide-tag { position: absolute; top: 12px; left: 12px; }
.guide-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.guide-body h3 { font-size: 1.22rem; line-height: 1.2; }
.guide-body p { font-size: .92rem; color: var(--muted); flex: 1; }
.guide-meta { font-family: var(--display); font-size: .8rem; color: var(--sky); display: inline-flex; align-items: center; gap: .5em; }

/* =============================================================
   8. FICHA (product page)
   ============================================================= */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .82rem; color: var(--muted); padding-block: 1.2rem; font-family: var(--display); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

.ficha-top { display: grid; gap: 2rem; align-items: start; }
.gallery { position: relative; }
.gallery-main {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
  overflow: hidden; display: grid; place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: .55rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 60px; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--line); background: var(--card); padding: 4px;
  transition: border-color .2s, transform .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--volt-deep); }

.ficha-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing: -.03em; }
.ficha-brand { font-family: var(--display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: .5rem; }
.ficha-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: .9rem; }
.ficha-price-box {
  margin-top: 1.4rem; padding: 1.3rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.ficha-price-box .price-now { font-size: 2rem; }
.ficha-buy { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.ficha-buy .btn { font-size: 1.05rem; padding: 1.05em 1.6em; }
.ficha-quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }

/* Radar panel */
.radar-panel { display: grid; gap: 1.6rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.radar-wrap { position: relative; width: 100%; max-width: 340px; margin-inline: auto; aspect-ratio: 1; padding: 4px 42px; }
.radar-legend { display: flex; flex-direction: column; gap: .7rem; }
.radar-legend li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line-soft); }
.radar-legend .rl-name { font-size: .92rem; color: var(--text); display: flex; align-items: center; gap: .5em; }
.radar-legend .rl-name svg { width: 16px; height: 16px; color: var(--sky); flex: none; }
.radar-legend .rl-bar { flex: 1; height: 7px; border-radius: 99px; background: var(--paper-2); overflow: hidden; max-width: 120px; }
.radar-legend .rl-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--volt-deep), var(--volt)); border-radius: inherit; }
.radar-legend .rl-val { font-family: var(--display); font-weight: 700; font-size: .95rem; min-width: 34px; text-align: right; }
.editor-tag { display: inline-flex; align-items: center; gap: .4em; font-size: .74rem; color: var(--muted-2); font-family: var(--display); }
.editor-tag svg { width: 14px; height: 14px; }

/* Spec table */
.spec-section { margin-top: 1.5rem; }
.spec-group { margin-bottom: 1.6rem; }
.spec-group h3 { font-size: 1rem; font-family: var(--display); letter-spacing: .02em; margin-bottom: .7rem; display: flex; align-items: center; gap: .5em; color: var(--forest); }
.spec-group h3 svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .9rem; padding: .7rem 0; width: 55%; }
.spec-table td { text-align: right; font-family: var(--display); font-weight: 600; color: var(--text); font-size: .95rem; padding: .7rem 0; }
.spec-table td.na { color: var(--muted-2); font-weight: 400; }

/* Editorial */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1rem; color: #34382e; line-height: 1.78; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 .8rem; }
.prose strong { color: var(--ink); }

.proscons { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.6rem 0; }
.pc-col { padding: 1.3rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.pc-col h3 { font-size: 1rem; display: flex; align-items: center; gap: .5em; margin-bottom: .8rem; }
.pc-col h3 svg { width: 1.2em; height: 1.2em; flex: none; }
.pc-pros h3 { color: var(--sky); }
.pc-cons h3 { color: var(--danger); }
.pc-col li { display: flex; gap: .6em; align-items: flex-start; padding: .4rem 0; font-size: .93rem; color: #34382e; }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .28em; }
.pc-pros li svg { color: var(--sky); }
.pc-cons li svg { color: var(--danger); }

.ideal-box {
  display: flex; gap: .9rem; align-items: flex-start; margin: 1.4rem 0;
  padding: 1.2rem 1.4rem; border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(191,242,24,.16), rgba(191,242,24,.05));
  border: 1px solid rgba(155,212,0,.4);
}
.ideal-box svg { width: 26px; height: 26px; color: var(--forest); flex: none; }
.ideal-box b { font-family: var(--display); display: block; margin-bottom: .2rem; color: var(--forest); }
.ideal-box p { color: #34382e; margin: 0; }

/* Reviews */
.reviews-summary { padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); margin-bottom: 1.3rem; display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.reviews-score { text-align: center; padding-right: 1.2rem; border-right: 1px solid var(--line); }
.reviews-score b { font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink); }
.reviews-score span { font-size: .8rem; color: var(--muted); }
.reviews-summary p { flex: 1; min-width: 220px; color: #34382e; font-size: .95rem; }
.review-list { display: grid; gap: 1rem; }
.review {
  padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
}
.review-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; flex-wrap: wrap; }
.review-author { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.review-verified { display: inline-flex; align-items: center; gap: .3em; font-size: .74rem; color: var(--sky); }
.review-verified svg { width: 14px; height: 14px; flex: none; }
.review-title { font-family: var(--display); font-weight: 600; font-size: .98rem; margin-bottom: .3rem; }
.review-text { font-size: .92rem; color: #34382e; line-height: 1.65; }
.review-date { font-size: .76rem; color: var(--muted-2); margin-left: auto; }

.similar-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* =============================================================
   9. COMPARADOR
   ============================================================= */
.cmp-picker { padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 1.8rem; }
.cmp-search { position: relative; }
.cmp-search input {
  width: 100%; padding: .95rem 1rem .95rem 2.8rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font: inherit; color: var(--text);
}
.cmp-search input:focus { outline: none; border-color: var(--volt-deep); }
.cmp-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.cmp-suggest { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.cmp-suggest button {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .85em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-family: var(--display); font-weight: 500; font-size: .84rem;
  transition: background .2s, border-color .2s, color .2s;
}
.cmp-suggest button:hover { border-color: var(--volt-deep); background: rgba(191,242,24,.14); }
.cmp-suggest button[aria-pressed="true"] { background: var(--volt); color: var(--volt-ink); border-color: transparent; }

.cmp-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cmp-empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 1rem; }

/* Selected slots */
.cmp-slots { display: flex; gap: 1rem; padding: .3rem 0 1.4rem; flex-wrap: wrap; }
.cmp-slot { position: relative; width: 140px; }
.cmp-slot-thumb { aspect-ratio: 1; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 8%; }
.cmp-slot-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-slot-name { font-size: .78rem; font-family: var(--display); font-weight: 600; margin-top: .5rem; line-height: 1.2; }
.cmp-remove {
  position: absolute; top: -8px; right: -8px; z-index: 4;
  width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.cmp-remove svg { width: 14px; height: 14px; }
.cmp-slot-add { border: 1.5px dashed var(--line); color: var(--muted); display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-md); }
.cmp-slot-add svg { width: 26px; height: 26px; }

/* Comparison overlay radar */
.cmp-overlay { display: grid; gap: 2rem; margin-bottom: 2rem; align-items: center; }
.cmp-radar-wrap { position: relative; width: 100%; max-width: 420px; margin-inline: auto; aspect-ratio: 1; padding: 6px 48px; }
.cmp-radar-legend { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.cmp-radar-legend li { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-family: var(--display); font-weight: 500; }
.cmp-radar-legend .dot { width: 14px; height: 14px; border-radius: 5px; flex: none; }

/* Comparison table */
.cmp-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
.cmp-table th, .cmp-table td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line-soft); }
.cmp-table thead th { position: sticky; top: 0; background: var(--surface); z-index: 2; }
.cmp-table thead .ct-prod { padding-top: 1rem; }
.cmp-table .ct-prod img { width: 74px; height: 74px; object-fit: contain; margin-inline: auto; mix-blend-mode: multiply; }
.cmp-table .ct-prod-name { font-family: var(--display); font-weight: 600; font-size: .88rem; margin-top: .4rem; display: block; line-height: 1.2; }
.cmp-table .ct-price { font-family: var(--display); font-weight: 700; margin-top: .3rem; color: var(--ink); }
.cmp-table tbody th { text-align: left; font-weight: 500; color: var(--muted); font-size: .88rem; background: var(--paper); position: sticky; left: 0; z-index: 1; }
.cmp-table tbody td { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--text); }
.cmp-table td.na { color: var(--muted-2); font-weight: 400; }
.cmp-table td.best { background: rgba(191,242,24,.2); position: relative; }
.cmp-table td.best::after { content: "★"; color: var(--volt-deep); font-size: .7rem; position: absolute; top: 4px; right: 6px; }
.cmp-table .ct-buy { padding-top: 1rem; }
.cmp-row-group th { background: var(--forest); color: var(--paper); font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* =============================================================
   10. EFECTOS
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.stagger.is-in > * { opacity: 1; transform: none; }
.is-ready .stagger.is-in > *:nth-child(1) { transition-delay: .02s; }
.is-ready .stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.is-ready .stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.is-ready .stagger.is-in > *:nth-child(4) { transition-delay: .2s; }
.is-ready .stagger.is-in > *:nth-child(5) { transition-delay: .26s; }
.is-ready .stagger.is-in > *:nth-child(6) { transition-delay: .32s; }

/* Toast */
.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translate(-50%, 20px); z-index: 1200;
  background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: .9rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .6em; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--volt); }

/* Sticky compare bar (mobile helper) */
.compare-bar {
  position: fixed; left: 50%; bottom: 1.1rem; transform: translate(-50%, 130%); z-index: 1000;
  display: flex; align-items: center; gap: .9rem;
  padding: .6rem .7rem .6rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease-bounce);
}
.compare-bar.show { transform: translate(-50%, 0); }
.compare-bar b { font-family: var(--display); }
.compare-bar .btn { padding: .55em 1.1em; }

/* =============================================================
   11. RESPONSIVE
   ============================================================= */
@media (min-width: 620px) {
  .proscons { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .band-inner { grid-template-columns: 1.5fr auto; }
  .radar-panel { grid-template-columns: 1fr 1fr; }
  .ficha-top { grid-template-columns: 1fr 1fr; }
  .cmp-overlay { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1040px) {
  .ficha-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
  .ficha-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
}

/* Print-friendlyish + motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { transition-duration: .01ms; opacity: 1; transform: none; }
  .pcard:hover, .cat-card:hover, .guide-card:hover { transform: none; }
}

/* =============================================================
   12. AUTOS — las imágenes son ilustraciones SVG con fondo propio
   ============================================================= */
.pcard-media img, .gallery-main img, .cmp-slot-thumb img, .cmp-table .ct-prod img {
  mix-blend-mode: normal; padding: 0; object-fit: cover; width: 100%; height: 100%;
}
.pcard-media, .gallery-main { background: var(--forest); }
.cmp-slot-thumb { padding: 0; }
.cmp-table .ct-prod img { border-radius: 10px; height: 64px; width: auto; }
.hero-figure { background: none; padding: 0; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.hero-figure::after { display: none; }

/* =============================================================
   13. MAPA DE AUTONOMÍA (Leaflet)
   ============================================================= */
.map-section { margin: 2.4rem 0; }
.map-controls { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: .9rem; }
.map-search { position: relative; flex: 1; min-width: 220px; }
.map-search input { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); }
.map-search input:focus { outline: none; border-color: var(--volt-deep); }
.map-search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.seg { display: inline-flex; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; gap: 3px; }
.seg button { padding: .5em 1em; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.map-canvas { width: 100%; height: clamp(320px, 52vh, 480px); border-radius: var(--r-lg); overflow: hidden; background: #0e1512; border: 1px solid var(--line); z-index: 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: .9rem; }
.map-legend li { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 500; font-size: .88rem; color: var(--text); }
.map-legend .dot { width: 14px; height: 14px; border-radius: 5px; flex: none; }
.map-legend .mono { color: var(--muted); font-weight: 400; }
.map-note { font-size: .78rem; color: var(--muted-2); margin-top: .7rem; display: flex; gap: .5em; align-items: flex-start; }
.map-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.map-empty { display: grid; place-items: center; height: 100%; color: var(--muted-2); font-family: var(--display); text-align: center; padding: 1rem; }
/* Leaflet en tema oscuro */
.leaflet-container { font: inherit; background: #0e1512; }
.leaflet-control-attribution { background: rgba(16,19,14,.7) !important; color: #9aa093 !important; }
.leaflet-control-attribution a { color: #c9cdbf !important; }
.leaflet-bar a { background: var(--ink); color: var(--paper); border-color: rgba(255,255,255,.15); }
.leaflet-bar a:hover { background: var(--ink-2); }
