/* =============================================================
   TechVertice — hoja de estilos única
   1. Tokens  2. Reset  3. Utilidades  4. Tipografía  5. Componentes
   6. Secciones  7. Efectos  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0a0a;
  --bg-alt:    #101214;
  --surface:   #151719;
  --surface-2: #1c1f22;
  --border:    #2a2d31;
  --text:      #eef1f8;
  --text-dim:  #a7b0c2;
  --text-mute: #6b7386;

  --accent:      #00b4d8;
  --accent-soft: #48cae4;
  --accent-ink:  #052027;
  --accent-2:    #48cae4;
  --good:        #34d399;
  --bad:         #fb7185;
  --warn:        #fbbf24;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --maxw: 1280px;

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

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.55);
}

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* =============================================================
   2. Reset
   ============================================================= */
*, *::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;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; font-family: var(--display); }
ul { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::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: #06121a; z-index: 9999;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.muted { color: var(--text-dim); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; perspective: 1200px; }
.grid-auto .card-producto[hidden] { display: none; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-dim); max-width: 62ch; }

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

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .96rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(0,180,216,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(0,180,216,.7); }
.btn-ghost {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-buy {
  background: linear-gradient(135deg, var(--good), #22c1a0);
  color: #06231b; box-shadow: 0 8px 24px -8px rgba(52,211,153,.55);
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(52,211,153,.7); }
.btn-sm { padding: .55rem 1.05rem; font-size: .86rem; }
.btn-block { width: 100%; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,12,17,.82); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: none; align-items: center; gap: 1.7rem; font-size: .93rem; font-weight: 600; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--accent-ink); background: var(--accent); padding: .55rem 1.1rem; border-radius: 999px;
}
.nav-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-mobile {
  display: none; flex-direction: column; gap: .2rem; padding: .6rem var(--gutter) 1.2rem;
  border-top: 1px solid var(--border);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: .7rem .2rem; font-weight: 600; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: 0; }

/* --- Tarjeta de producto --- */
.card-producto {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.card-producto:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.45); }
.card-thumb { position: relative; aspect-ratio: 4/3; background: #f4f6fb; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; }
.card-badge {
  position: absolute; top: .7rem; left: .7rem; background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px;
}
.card-badge.oferta { background: var(--bad); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 700; }
.card-rating { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-dim); }
.stars { color: var(--warn); letter-spacing: 1px; }
.card-specs-mini { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.chip {
  font-size: .74rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
}
.card-price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.price-now { font-size: 1.3rem; font-weight: 800; font-family: var(--display); }
.price-before { font-size: .9rem; color: var(--text-mute); text-decoration: line-through; }
.card-actions { display: flex; gap: .6rem; margin-top: .4rem; }

/* --- Chips de comparador en tarjeta --- */
.compare-toggle {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600;
  padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim);
  transition: all .2s;
}
.compare-toggle[data-active="true"] {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

/* --- Hero --- */
.hero {
  position: relative; padding-block: clamp(3.4rem, 8vw, 6rem);
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(0,180,216,.22), transparent 70%),
    radial-gradient(40% 50% at 90% 20%, rgba(72,202,228,.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0,180,216,.06) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(0,180,216,.06) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(3, 16, 26, 0.18);
}
.hero-grid { display: grid; gap: 2.6rem; align-items: center; position: relative; }
.hero-title { max-width: 16ch; }
.hero-title .accent-text {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; font-size: .85rem; color: var(--text-mute); }
.hero-trust span { display: flex; align-items: center; gap: .4rem; }
.hero-visual {
  position: relative; border-radius: var(--radius-l); overflow: visible;
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border); padding: 1.6rem; box-shadow: var(--shadow-card);
}
.hero-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hero-mini-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-s);
  padding: .8rem; font-size: .78rem; color: var(--text-dim);
}
.hero-mini-card strong { display: block; color: var(--text); font-size: .98rem; margin-bottom: .2rem; }

/* --- Cómo elegimos / trust --- */
.trust-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem;
}
.trust-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,180,216,.25), rgba(72,202,228,.2)); color: var(--accent-2);
}
.trust-icon svg { width: 22px; height: 22px; }

/* --- Ficha de producto --- */
.ficha-top { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
.ficha-galeria { display: flex; flex-direction: column; gap: .7rem; }
.ficha-img-main {
  width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: var(--radius-m);
  background: #f4f6fb; border: 1px solid var(--border); padding: 1.4rem; box-sizing: border-box;
}
.ficha-thumbs { display: flex; gap: .6rem; }
.ficha-thumbs li {
  width: 70px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer;
  background: #f4f6fb;
}
.ficha-thumbs li.is-active { border-color: var(--accent-2); }
.ficha-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: .3rem; box-sizing: border-box; }

.ficha-marca { color: var(--accent-2); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.ficha-nombre { margin-top: .3rem; }
.ficha-rating { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .92rem; color: var(--text-dim); }
.ficha-precio { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; }
.ficha-precio .precio-actual { font-size: 2rem; font-weight: 800; font-family: var(--display); }
.ficha-precio .precio-antes { font-size: 1.1rem; color: var(--text-mute); text-decoration: line-through; }
.precio-nota { display: block; width: 100%; font-size: .82rem; color: var(--text-mute); margin-top: .2rem; }
.ficha-cta { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.ficha-radar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 1.4rem; text-align: center;
}
.ficha-radar figure { margin-inline: auto; max-width: 340px; }
.ficha-radar .nota { font-size: .8rem; color: var(--text-mute); margin-top: .5rem; }

.spec-groups { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spec-group {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 1.1rem 1.2rem 1.2rem;
}
.spec-group h3 {
  display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: .9rem;
}
.spec-group h3 svg { width: 1.1em; height: 1.1em; flex: none; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; }
.spec-tile {
  display: flex; flex-direction: column; gap: .15rem; padding-block: .55rem;
  border-bottom: 1px dashed var(--border);
}
.spec-tile:nth-last-child(-n+2) { border-bottom: 0; }
.spec-label { font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; }
.spec-value { font-size: .95rem; font-weight: 700; }
.specs-extra { margin-top: 1rem; }
.specs-extra summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.specs-extra .spec-grid { margin-top: .8rem; }

.editorial-cuerpo p { margin-bottom: .9rem; color: var(--text-dim); }
.pros-contras { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1rem; }
.pc-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .7rem; }
.pc-col.pros h3 { color: var(--good); }
.pc-col.contras h3 { color: var(--bad); }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col li { display: flex; gap: .5rem; font-size: .92rem; color: var(--text-dim); padding-block: .3rem; }
.pc-col li svg { width: 1.05em; height: 1.05em; flex: none; margin-top: .15em; }
.ideal-para {
  margin-top: 1.1rem; padding: 1rem 1.2rem; border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(0,180,216,.14), rgba(72,202,228,.1));
  border: 1px solid rgba(0,180,216,.3); font-size: .95rem;
}

.ficha-resenas { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 1.3rem 1.4rem; }
.resenas-resumen { color: var(--text-dim); }

.ficha-comparar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.similares { display: flex; gap: .8rem; flex-wrap: wrap; }
.similar-mini { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: .5rem .8rem; font-size: .84rem; }
.similar-mini img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; background: #f4f6fb; padding: 3px; box-sizing: border-box; }

.aviso-afiliados { font-size: .82rem; color: var(--text-mute); border-top: 1px solid var(--border); padding-top: 1.2rem; margin-top: 2rem; }

/* --- Comparador --- */
.compare-picker {
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-m); padding: 1rem 1.2rem;
}
.compare-picker select, .compare-picker input[type="search"] {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: .6rem .9rem; border-radius: 999px; font-size: .9rem; min-width: 220px;
}
.compare-slots { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.compare-slot {
  position: relative; display: flex; align-items: center; gap: .6rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-s); padding: .55rem .9rem .55rem .55rem;
}
.compare-slot img { width: 36px; height: 36px; object-fit: contain; border-radius: 7px; background: #f4f6fb; padding: 3px; box-sizing: border-box; }
.compare-slot span { font-size: .84rem; font-weight: 600; max-width: 160px; }
.remove-badge {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bad); color: #fff; font-size: .8rem; display: grid; place-items: center;
  line-height: 1; font-weight: 700;
}
.compare-empty { color: var(--text-mute); font-size: .92rem; padding: 2rem; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-m); }

.compare-radar-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 1.6rem; text-align: center; margin-block: 1.6rem; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1rem; font-size: .85rem; }
.compare-legend span { display: flex; align-items: center; gap: .4rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--border); }
.compare-table { min-width: 640px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.compare-table thead th { background: var(--surface-2); position: sticky; top: 0; }
.compare-table td.is-best { color: var(--good); font-weight: 700; }
.compare-table tbody tr:nth-child(odd) { background: rgba(255,255,255,.015); }
.compare-col-head { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; min-width: 170px; }
.compare-col-head img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px; background: #f4f6fb; padding: .6rem; box-sizing: border-box; }

/* --- Guías / listados --- */
.guide-body p, .guide-body li { color: var(--text-dim); margin-bottom: .8rem; }
.guide-body h2 { margin-top: 2.2rem; margin-bottom: .8rem; }
.guide-body ul { list-style: disc; padding-left: 1.3rem; }
.ranking-item {
  display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); padding: 1rem 1.2rem; margin-bottom: .9rem;
}
.ranking-num { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--accent-2); width: 2.2ch; flex: none; }
.ranking-item img { width: 74px; height: 56px; object-fit: contain; border-radius: 8px; flex: none; background: #f4f6fb; padding: 4px; box-sizing: border-box; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-info strong { display: block; }

/* --- Filtros de categoría --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }
.filter-bar select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: .55rem .9rem; border-radius: 999px; font-size: .88rem;
}

/* --- Todos los monitores: layout + filtros --- */
.todos-layout { display: grid; gap: 2rem; align-items: start; }
.filters-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 1.3rem; position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.filters-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filters-panel-head h3 { font-size: 1rem; }
.filters-clear { font-size: .8rem; color: var(--accent); font-weight: 700; }
.filter-group { margin-bottom: 1.2rem; }
.filter-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); margin-bottom: .6rem; }
.filter-chips { display: flex; flex-direction: column; gap: .4rem; }
.filter-chip { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--text-dim); cursor: pointer; }
.filter-chip input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.filter-chip:has(input:checked) { color: var(--text); font-weight: 600; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.2rem; font-size: .9rem; color: var(--text-dim); }
.results-bar select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: .5rem .9rem; border-radius: 999px; font-size: .85rem;
}
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head-row .section-head { margin-bottom: 0; }

/* --- Estadísticas del hero --- */
.stats-row {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: clamp(2rem, 5vw, 3.2rem); background: var(--border); border-radius: var(--radius-m); overflow: hidden;
  border: 1px solid var(--border);
}
.stat-tile { background: var(--bg-alt); padding: 1.2rem 1rem; text-align: center; }
.stat-tile strong { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--accent); }
.stat-tile span { font-size: .78rem; color: var(--text-mute); }

/* --- Monitores decorativos (hero) --- */
.hero-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.decor-monitor { position: absolute; color: var(--accent); opacity: .16; }
.decor-1 { width: 130px; top: 8%; right: 6%; transform: rotate(-8deg); animation: floatY 7s ease-in-out infinite; }
.decor-2 { width: 90px; bottom: 12%; right: 22%; transform: rotate(6deg); animation: floatY 9s ease-in-out infinite reverse; color: var(--accent-soft); }
.decor-3 { width: 70px; top: 40%; right: 2%; transform: rotate(-4deg); animation: floatY 8s ease-in-out infinite 1s; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.6rem 2rem; background: var(--bg-alt); }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 1.6rem; }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute); margin-bottom: .8rem; }
.footer-grid a { display: block; font-size: .9rem; color: var(--text-dim); padding-block: .28rem; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; font-size: .8rem; color: var(--text-mute); }
.footer-disclosure { max-width: 80ch; margin-bottom: .8rem; }

/* --- Legal pages --- */
.legal-body h2 { margin-top: 1.8rem; margin-bottom: .6rem; }
.legal-body p, .legal-body li { color: var(--text-dim); margin-bottom: .7rem; }
.legal-body ul { list-style: disc; padding-left: 1.3rem; }

/* --- Ofertas --- */
.oferta-pct { position: absolute; top: .7rem; right: .7rem; background: var(--bad); color: #fff; font-weight: 800; font-size: .78rem; padding: .3rem .55rem; border-radius: 8px; }

/* =============================================================
   6. Secciones generales
   ============================================================= */
.section-cta {
  text-align: center; background: linear-gradient(135deg, rgba(0,180,216,.14), rgba(72,202,228,.1));
  border: 1px solid rgba(0,180,216,.3); border-radius: var(--radius-l); padding: clamp(2rem, 5vw, 3.2rem);
}

/* =============================================================
   7. Efectos
   ============================================================= */
.reveal { opacity: 0; transform: translateY(18px); 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; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-visual-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .ficha-top { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .todos-layout { grid-template-columns: 260px 1fr; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 959px) {
  .filters-panel { position: static; max-height: none; }
}
@media (min-width: 1280px) {
  .grid-auto { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   9. Reduced-motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .decor-monitor { animation: none; }
}
