/* =============================================================
   GearScore — hoja de estilos única
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* --- surfaces --- */
  --bg:          #08080d;
  --bg-raise:    #101018;
  --bg-card:     #14141e;
  --bg-card-hi:  #1b1b28;
  --line:        #26263a;
  --line-soft:   #1c1c2a;

  /* --- text --- */
  --text:        #eef0fb;
  --text-dim:    #a4a6c4;
  --text-mute:   #6b6d8c;

  /* --- brand accents --- */
  --accent:       #8b5cf6;   /* violeta neón — primario */
  --accent-ink:   #0a0714;
  --accent-2:     #00e5c7;   /* cian/menta neón — secundario */
  --accent-2-ink: #00201c;
  --accent-3:     #ff3fa0;   /* magenta — ofertas/badges */
  --warn:         #ffb020;
  --danger:       #ff5470;
  --ok:           #2fe88f;

  /* --- gradients --- */
  --grad-brand: linear-gradient(135deg, var(--accent), #5b8cff 55%, var(--accent-2));
  --grad-line:  linear-gradient(90deg, transparent, var(--accent), transparent);

  /* --- typography --- */
  --display: "Rajdhani", "Space Grotesk", sans-serif;
  --sans:    "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* --- radii / shadow / gutter --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --shadow-card: 0 10px 30px -12px rgba(0,0,0,.55);
  --shadow-glow: 0 0 0 1px rgba(139,92,246,.25), 0 0 40px -8px rgba(139,92,246,.45);

  /* --- easings --- */
  --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);

  color-scheme: dark;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background-image:
    radial-gradient(1100px 620px at 85% -10%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(900px 520px at 0% 0%, rgba(0,229,199,.10), transparent 55%);
  background-attachment: fixed;
}
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; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--display); font-weight: 700; }
::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent-2); color: var(--accent-2-ink);
  z-index: 9999; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: 1480px; 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; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-xs { gap: .5rem; } .gap-sm { gap: .8rem; } .gap-md { gap: 1.4rem; } .gap-lg { gap: 2.4rem; }
.grid { display: grid; gap: 1.4rem; }
.mt-xl { margin-top: 3.2rem; }
.section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: .7rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 2.4rem; }
.text-dim { color: var(--text-dim); }
.text-mute { color: var(--text-mute); }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
.h-display { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: .98; }
.h-xl { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-lg { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-md { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); max-width: 60ch; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 100px; font-weight: 700; font-size: .95rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(139,92,246,.4), 0 0 55px -6px rgba(139,92,246,.65); }
.btn-buy { background: var(--accent-2); color: var(--accent-2-ink); box-shadow: 0 0 0 1px rgba(0,229,199,.3), 0 10px 30px -10px rgba(0,229,199,.55); }
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-buy .ico { width: 1.1em; height: 1.1em; flex: none; }
.btn-ghost { background: var(--bg-card); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--text-dim); }
.btn-outline:hover { border-color: var(--accent-2); color: var(--text); }
.btn-sm { padding: .55rem 1.05rem; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- badges / chips --- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 100px; font-size: .72rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; font-family: var(--mono);
}
.badge-accent { background: rgba(139,92,246,.16); color: #c4b0ff; border: 1px solid rgba(139,92,246,.35); }
.badge-mint   { background: rgba(0,229,199,.14); color: var(--accent-2); border: 1px solid rgba(0,229,199,.35); }
.badge-offer  { background: rgba(255,63,160,.16); color: #ff8cc6; border: 1px solid rgba(255,63,160,.4); }
.badge-editorial { background: rgba(255,176,32,.14); color: var(--warn); border: 1px solid rgba(255,176,32,.35); }
.chip {
  padding: .5rem 1rem; border-radius: 100px; border: 1px solid var(--line); background: var(--bg-card);
  color: var(--text-dim); font-size: .85rem; font-weight: 600; transition: all .2s var(--ease-out);
}
.chip:hover { border-color: var(--accent-2); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --- nav --- */
.site-nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(8,8,13,.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
@supports not (backdrop-filter: blur(1px)) { .site-nav { background: #0a0a10; } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .95rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--grad-brand); position: relative; box-shadow: 0 0 22px -4px rgba(139,92,246,.7);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 3px;
  background: var(--bg); clip-path: polygon(0 0, 60% 0, 100% 100%, 40% 100%);
}
.nav-links { display: none; align-items: center; gap: 1.7rem; font-weight: 600; font-size: .92rem; color: var(--text-dim); }
.nav-links a { transition: color .2s var(--ease-out); position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--accent-2); color: var(--accent-2-ink); padding: .5rem 1rem; border-radius: 100px;
}
.nav-actions { display: flex; align-items: center; gap: .7rem; }

/* Mobile nav: native <details>/<summary> — works with zero JS. */
.nav-mobile { position: relative; }
.nav-mobile > summary {
  list-style: none; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); cursor: pointer;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary svg { width: 18px; height: 18px; }
.nav-mobile[open] > summary { border-color: var(--accent-2); color: var(--accent-2); }
.mobile-menu {
  position: absolute; right: 0; top: calc(100% + .7rem); z-index: 600;
  width: min(86vw, 320px); background: var(--bg-card-hi); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: .6rem;
}
.mobile-menu a { display: block; padding: .85rem 1rem; font-family: var(--display); font-size: 1.15rem; font-weight: 700; border-radius: var(--r-sm); }
.mobile-menu a:hover { background: var(--bg-raise); color: var(--accent-2); }
.mobile-menu .nav-cta { color: var(--accent-2-ink); background: var(--accent-2); margin-top: .4rem; text-align: center; }

/* --- footer --- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 3.4rem 2rem; margin-top: 5rem; background: var(--bg-raise); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin-bottom: 1rem; font-family: var(--mono); }
.footer-col a { display: block; padding-block: .35rem; color: var(--text-dim); font-size: .92rem; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: .82rem; color: var(--text-mute); }
.aviso-afiliados { font-size: .82rem; color: var(--text-mute); max-width: 78ch; line-height: 1.6; }

/* --- cards --- */
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.5); box-shadow: var(--shadow-card); }

/* --- product card --- */
.p-card { display: flex; flex-direction: column; height: 100%; }
.p-card-media { position: relative; aspect-ratio: 4/3; background: var(--bg-raise); overflow: hidden; }
.p-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; transition: transform .4s var(--ease-out); }
.card:hover .p-card-media img { transform: scale(1.06); }
.p-card-badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.p-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.p-card-cat { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); }
.p-card-title { font-size: 1.02rem; font-weight: 700; font-family: var(--sans); line-height: 1.35; }
.p-card-rating { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text-dim); }
.p-card-price { margin-top: auto; display: flex; align-items: baseline; gap: .55rem; padding-top: .5rem; }
.p-card-price .now { font-family: var(--mono); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.p-card-price .before { font-family: var(--mono); font-size: .85rem; color: var(--text-mute); text-decoration: line-through; }
.p-card-actions { display: flex; gap: .6rem; margin-top: .7rem; }
.p-card-actions .btn { flex: 1; }
.p-card-compare-add {
  position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10,10,16,.72); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease-out); backdrop-filter: blur(6px);
}
.p-card-compare-add svg { width: 16px; height: 16px; }
.p-card-compare-add:hover, .p-card-compare-add.is-active { background: var(--accent); border-color: var(--accent); }

/* --- stars --- */
.stars { display: inline-flex; gap: .12rem; }
.stars svg { width: 15px; height: 15px; }
.stars .on { fill: var(--warn); }
.stars .off { fill: var(--line); }

/* --- category card --- */
.cat-card { padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.cat-card-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.3); }
.cat-card-icon svg { width: 24px; height: 24px; color: var(--accent-2); }
.cat-card h3 { font-size: 1.1rem; }
.cat-card p { color: var(--text-dim); font-size: .88rem; }
.cat-card .count { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); }

/* --- tabs / filter bar --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.sort-select {
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text); border-radius: 100px;
  padding: .5rem 1rem; font-size: .85rem; font-family: var(--sans); font-weight: 600;
}

/* --- spec table --- */
.spec-table { width: 100%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.spec-table h4 { padding: .9rem 1.2rem; background: var(--bg-raise); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-2); border-top: 1px solid var(--line); }
.spec-table h4:first-child { border-top: 0; }
.spec-table table { font-size: .92rem; }
.spec-table tr { border-top: 1px solid var(--line-soft); }
.spec-table tr:first-child { border-top: 0; }
.spec-table th, .spec-table td { padding: .7rem 1.2rem; text-align: left; font-weight: 500; }
.spec-table th { color: var(--text-dim); width: 45%; font-weight: 600; }
.spec-table td { font-family: var(--mono); }
.spec-table td.best { color: var(--ok); font-weight: 700; }
.spec-table td.worst { color: var(--text-mute); }

/* --- radar --- */
.radar-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.radar-wrap svg { width: 100%; max-width: 380px; height: auto; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; justify-content: center; }
.radar-legend-item { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-dim); }
.radar-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }

/* --- gallery --- */
.gallery { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.gallery-main { position: relative; aspect-ratio: 1/1; background: var(--bg-card); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.6rem; }
.gallery-thumbs { display: flex; gap: .6rem; overflow-x: auto; overflow-y: visible; padding-block: .2rem .4rem; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 64px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; background: var(--bg-card); transition: border-color .2s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; padding: .3rem; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--accent-2); }

/* --- ficha layout --- */
.ficha-top { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: start; }
.ficha-head .p-card-cat { margin-bottom: .5rem; }
.ficha-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .6rem; }
.ficha-rating { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; font-size: .92rem; color: var(--text-dim); }
.ficha-precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem; margin-bottom: .4rem; }
.ficha-precio .now { font-family: var(--mono); font-size: 2.1rem; font-weight: 700; }
.ficha-precio .before { font-family: var(--mono); font-size: 1.1rem; color: var(--text-mute); text-decoration: line-through; }
.ficha-precio-nota { font-size: .8rem; color: var(--text-mute); margin-bottom: 1.4rem; }
.ficha-head .btn-buy { width: 100%; padding-block: 1.05rem; font-size: 1.02rem; margin-bottom: .8rem; }
.ficha-head .btn-comparar { width: 100%; }

.ficha-section { padding-block: 2.6rem; border-top: 1px solid var(--line-soft); }
.ficha-section h2 { font-size: 1.5rem; margin-bottom: 1.3rem; }
.editorial-cuerpo { color: var(--text-dim); font-size: 1.02rem; line-height: 1.75; max-width: 74ch; }
.editorial-cuerpo p + p { margin-top: 1rem; }
.pros-contras { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.pc-col { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .9rem; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col.pros h3 { color: var(--ok); }
.pc-col.contras h3 { color: var(--danger); }
.pc-col li { display: flex; gap: .6rem; padding-block: .4rem; font-size: .92rem; color: var(--text-dim); align-items: flex-start; }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.pc-col.pros li svg { color: var(--ok); }
.pc-col.contras li svg { color: var(--danger); }
.ideal-para { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.3); font-size: .95rem; }
.ideal-para strong { color: var(--accent-2); }

.resenas-resumen { color: var(--text-dim); max-width: 70ch; margin-bottom: 1.4rem; }
.review-item { padding: 1.1rem 0; border-top: 1px solid var(--line-soft); }
.review-item:first-child { border-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; flex-wrap: wrap; align-items: center; }
.review-author { font-weight: 700; font-size: .92rem; }
.review-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--ok); font-family: var(--mono); }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }
.review-text { color: var(--text-dim); font-size: .93rem; line-height: 1.6; }

.similares-grid { margin-top: 1.6rem; }
.specs-extra summary { cursor: pointer; padding: 1rem 1.2rem; font-size: .88rem; color: var(--text-dim); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); }
.specs-extra[open] summary { border-radius: var(--r-md) var(--r-md) 0 0; }
.specs-extra-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); padding: 1rem 1.2rem; font-size: .88rem; }
.specs-extra-body dt { color: var(--text-dim); font-size: .8rem; }
.specs-extra-body dd { font-family: var(--mono); margin-bottom: .6rem; }

/* --- comparator --- */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  background: rgba(12,12,20,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding: .8rem var(--gutter); transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.compare-bar.is-visible { transform: none; }
.compare-bar-inner { display: flex; align-items: center; gap: 1rem; max-width: 1280px; margin-inline: auto; flex-wrap: wrap; }
.compare-bar-slots { display: flex; gap: .6rem; flex: 1; flex-wrap: wrap; }
.compare-slot { display: flex; align-items: center; gap: .5rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: 100px; padding: .35rem .5rem .35rem .35rem; font-size: .8rem; }
.compare-slot img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; background: var(--bg-raise); }
.compare-slot button { color: var(--text-mute); font-size: 1rem; line-height: 1; }
.compare-slot button:hover { color: var(--danger); }

.compare-controls { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; align-items: center; }
.compare-picker { position: relative; flex: 1; min-width: 240px; }
.compare-picker input { width: 100%; padding: .8rem 1.1rem; border-radius: 100px; border: 1px solid var(--line); background: var(--bg-card); color: var(--text); font-size: .92rem; }
.compare-picker-results { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; background: var(--bg-card-hi); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); z-index: 40; max-height: 320px; overflow-y: auto; display: none; }
.compare-picker-results.is-open { display: block; }
.compare-picker-item { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft); }
.compare-picker-item:hover { background: var(--bg-raise); }
.compare-picker-item img { width: 36px; height: 36px; object-fit: contain; background: var(--bg-raise); border-radius: 8px; }
.compare-table-wrap { overflow-x: auto; overflow-y: visible; border: 1px solid var(--line); border-radius: var(--r-lg); padding-block: 1rem; }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .8rem 1.1rem; border-top: 1px solid var(--line-soft); text-align: left; }
.compare-table thead th { border-top: 0; vertical-align: bottom; }
.compare-col-head { display: flex; flex-direction: column; gap: .6rem; min-width: 160px; }
.compare-col-head img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--bg-card); border-radius: var(--r-sm); padding: .5rem; }
.compare-row-label { color: var(--text-dim); font-weight: 600; white-space: nowrap; }
.compare-table td { font-family: var(--mono); font-size: .9rem; }
.compare-table td.best { color: var(--ok); font-weight: 700; }
.compare-empty { text-align: center; padding: 3.5rem 1.5rem; color: var(--text-dim); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* --- offers --- */
.offer-strip { display: flex; align-items: center; gap: .5rem; background: rgba(255,63,160,.12); border: 1px solid rgba(255,63,160,.35); color: #ff8cc6; padding: .7rem 1.1rem; border-radius: var(--r-md); font-size: .85rem; margin-bottom: 2rem; }

/* --- forms (newsletter, filters) --- */
.newsletter-box { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.newsletter-form { display: flex; gap: .6rem; flex: 1; min-width: 260px; }
.newsletter-form input { flex: 1; padding: .8rem 1.1rem; border-radius: 100px; border: 1px solid var(--line); background: var(--bg-raise); color: var(--text); }

/* --- how-we-choose / trust --- */
.trust-grid { display: grid; gap: 1.4rem; }
.trust-card { padding: 1.5rem; }
.trust-card .num { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); margin-bottom: .6rem; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--line-soft); padding-block: 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { font-family: var(--mono); color: var(--accent-2); transition: transform .2s var(--ease-out); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { margin-top: .8rem; color: var(--text-dim); font-size: .93rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- hero --- */
.hero { padding-block: clamp(3.4rem, 9vw, 7rem) clamp(2.6rem, 6vw, 4rem); position: relative; overflow: clip; }
.hero-halo { position: absolute; inset: -40% -10% -60% -10%; background: radial-gradient(45% 45% at 50% 30%, rgba(139,92,246,.35), transparent 70%); filter: blur(90px); pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero-stat b { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--accent-2); }
.hero-stat span { font-size: .8rem; color: var(--text-mute); }

/* --- generic grids --- */
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-cat { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* --- category page header --- */
.cat-hero { padding-block: 2.4rem 1rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 2.4rem; }
.cat-hero-intro { max-width: 68ch; color: var(--text-dim); }
.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-mute); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--accent-2); }

/* --- guide / blog page --- */
.guide-body { max-width: 74ch; color: var(--text-dim); font-size: 1.02rem; line-height: 1.8; }
.guide-body h2 { color: var(--text); font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: .8rem; }
.guide-body p + p { margin-top: 1rem; }
.guide-pick { display: flex; gap: 1.2rem; align-items: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; margin-block: 1.4rem; flex-wrap: wrap; }
.guide-pick img { width: 92px; height: 92px; object-fit: contain; background: var(--bg-raise); border-radius: var(--r-md); padding: .5rem; }
.guide-pick-body { flex: 1; min-width: 200px; }
.guide-pick-why { font-size: .88rem; color: var(--text-dim); margin-top: .3rem; }

/* --- legal / about --- */
.legal-body { max-width: 74ch; color: var(--text-dim); line-height: 1.8; }
.legal-body h2 { color: var(--text); font-size: 1.25rem; margin-top: 2rem; margin-bottom: .7rem; }
.legal-body p + p { margin-top: .9rem; }

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.brand-mark { animation: floaty 5s var(--ease-soft) infinite; }
@keyframes pulseDot { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.eyebrow::before { animation: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .pros-contras { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .ficha-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
}
@media (min-width: 960px) {
  .nav-mobile { display: none; }
  .nav-links { display: flex; }
  .hero-inner { max-width: 800px; }
}
@media (min-width: 1280px) {
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* =============================================================
   9. Reduced-motion — only the truly intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-mark { animation: none; }
  .reveal { transition-duration: .01s; }
}
