/* =============================================================
   ALTAMONTURA — hoja de estilos única
   Diseño premium ecuestre contemporáneo: cuero, madera, naturaleza,
   guarnicionería tradicional, tipografía elegante, grandes espacios.
   Secciones:
   1. Tokens  2. Reset  3. Utilidades  4. Tipografía  5. Componentes
   6. Secciones  7. Efectos  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Paleta — cuero curtido, madera, crema pergamino, verde campo */
  --cream:      #f8f3ea;
  --cream-2:    #efe6d5;
  --paper:      #fffdf8;
  --ink:        #241c14;
  --ink-soft:   #4a3d2e;
  --leather:    #6b3f2a;
  --leather-2:  #8a5335;
  --leather-dk: #47281a;
  --saddle-tan: #c08a4e;
  --brass:      #b08d4f;
  --green:      #3c4a35;
  --green-2:    #55684a;
  --line:       #ddd0ba;
  --line-soft:  #e8ddc9;

  --bg:         var(--cream);
  --surface:    var(--paper);
  --text:       var(--ink);
  --text-soft:  var(--ink-soft);
  --accent:     var(--leather);
  --accent-2:   var(--saddle-tan);

  --ok:         #3c6b46;
  --warn:       #a8631f;
  --bad:        #9c3b2e;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(36,28,20,.08);
  --shadow:    0 8px 28px rgba(36,28,20,.10);
  --shadow-lg: 0 18px 48px rgba(36,28,20,.16);

  --gutter: 1.25rem;
  --container: 1240px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

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

[data-theme="dark"] {
  --bg:        #1c1712;
  --surface:   #241d16;
  --text:      #f2ead9;
  --text-soft: #cdbfa6;
  --line:      #3a3021;
  --line-soft: #2c2519;
  --cream-2:   #2c2519;
}

@property --grad-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 45deg;
}

/* =============================================================
   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;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-2); color: var(--ink); }

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

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

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2); display: inline-block; }
.grid { display: grid; gap: 1.5rem; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.stack { display: flex; flex-direction: column; }
.muted { color: var(--text-soft); }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 2.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; background: var(--cream-2); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.badge-demo { background: #eef2e6; color: var(--green); border-color: #c9d6bd; }
.badge-pending { background: #f4e6d6; color: var(--warn); border-color: #e3c79c; }
.badge-offer { background: var(--leather); color: var(--cream); border-color: var(--leather); }
.skip-link:focus-visible { outline: none; }

/* =============================================================
   4. Tipografía
   ============================================================= */
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 62ch; }
.prose { max-width: 72ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1em 0; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--accent-2); text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--accent-2); padding-left: 1.2em; font-style: italic; color: var(--text-soft); margin: 1.4em 0;
}

/* Respuesta directa AEO */
.respuesta-directa {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-block: 1.5rem 2rem;
}
.respuesta-directa p { font-size: 1.05rem; }
.respuesta-directa .eyebrow { margin-bottom: .5rem; }

/* =============================================================
   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: .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(--leather); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--leather-dk); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { background: var(--cream-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-buy { background: var(--accent-2); color: var(--ink); }
.btn-buy:hover { background: var(--leather); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.nav-brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: none; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .93rem; }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent-2);
  transition: right .28s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-cta.btn-primary, .nav-cta.btn-primary:hover { color: var(--cream); }
.nav-toggle { display: inline-flex; padding: .5rem; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-mobile {
  display: none; flex-direction: column; gap: .2rem; padding: .5rem var(--gutter) 1.2rem;
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: .7rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: .8rem; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .82rem; color: var(--text-soft); padding-block: 1rem; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }

/* Cards de producto */
.card-producto {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  height: 100%;
}
.card-producto:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--cream-2), var(--line-soft));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.card-media svg { width: 42%; height: 42%; color: var(--leather-2); opacity: .55; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-cats { display: flex; flex-wrap: wrap; gap: .35rem; }
.card-title { font-size: 1.05rem; line-height: 1.25; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-desc { font-size: .88rem; color: var(--text-soft); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .3rem; }
.card-price { font-weight: 800; font-family: var(--serif); font-size: 1.1rem; }
.card-price .old { font-weight: 500; font-size: .8rem; color: var(--text-soft); text-decoration: line-through; margin-left: .35rem; }
.card-actions { display: flex; gap: .5rem; position: relative; z-index: 1; }
.card-scores { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .74rem; color: var(--text-soft); }

/* Chips / filtros */
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .84rem; font-weight: 600; transition: all .2s var(--ease-out);
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Tabla ficha técnica */
.tabla-specs { width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tabla-specs tr { border-top: 1px solid var(--line-soft); }
.tabla-specs tr:first-child { border-top: 0; }
.tabla-specs th, .tabla-specs td { text-align: left; padding: .7rem 1rem; font-size: .92rem; }
.tabla-specs th { font-weight: 600; color: var(--text-soft); width: 44%; background: var(--cream-2); }
.tabla-specs tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--surface) 100%, transparent); }
.specs-group-title { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 1.6rem 0 .6rem; }

/* Radar chart (SVG dibujado a mano, sin librería) */
.radar-wrap { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.radar-svg { width: min(340px, 100%); height: auto; flex: none; }
.radar-legend { display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; }
.radar-legend li { display: flex; align-items: center; gap: .55rem; }
.radar-swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.radar-empty { color: var(--text-soft); font-style: italic; }

/* Pros / contras */
.pc-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.pc-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin-bottom: .7rem; }
.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(--bad); }
.pc-col li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; padding-block: .3rem; }
.pc-col li svg { width: 1.05em; height: 1.05em; flex: none; margin-top: .18em; }
.pc-col.pros li svg { color: var(--ok); }
.pc-col.contras li svg { color: var(--bad); }

.no-elegirias { background: var(--cream-2); border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 1px dashed var(--line); }
.no-elegirias h3 { font-size: 1rem; margin-bottom: .6rem; }
.no-elegirias li { font-size: .9rem; padding-block: .25rem; display: flex; gap: .5rem; }
.no-elegirias li::before { content: "→"; color: var(--accent); flex: none; }

.ideal-para { background: var(--leather); color: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .98rem; }
.ideal-para strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .25rem; }

/* Aviso afiliados / disclosure */
.aviso-afiliados {
  font-size: .82rem; color: var(--text-soft); background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; line-height: 1.55;
}

/* Reseñas */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.review-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--ok); font-weight: 700; }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }
.stars { color: var(--accent-2); letter-spacing: .1em; font-size: .9rem; }

/* Comparador */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; background: var(--ink); color: var(--cream);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
}
.compare-bar.is-visible { transform: translateY(0); }
.compare-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: .8rem var(--gutter); }
.compare-bar-items { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; }
.compare-bar-chip {
  display: flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12); border-radius: 999px;
  padding: .35rem .5rem .35rem .8rem; font-size: .82rem;
}
.compare-bar-chip button { display: flex; padding: .2rem; opacity: .75; }
.compare-bar-chip button:hover { opacity: 1; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: .9rem; vertical-align: top; }
.compare-table thead th { background: var(--cream-2); position: sticky; top: 0; }
.compare-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--text-soft); white-space: nowrap; background: var(--surface); position: sticky; left: 0; }
.compare-table td.best { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); font-weight: 700; }
.compare-col-head { display: flex; flex-direction: column; gap: .5rem; min-width: 160px; }
.compare-empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-soft); }
.compare-diferencias { background: var(--cream-2); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-top: 2rem; }
.compare-diferencias li { padding-block: .4rem; display: flex; gap: .6rem; }
.compare-diferencias li::before { content: "•"; color: var(--accent); }
.compare-escenarios { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.escenario-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--surface); }
.escenario-card h4 { font-size: .95rem; font-family: var(--sans); font-weight: 700; margin-bottom: .3rem; }
.escenario-card p { font-size: .86rem; color: var(--text-soft); }

/* Selector "Encuentra tu silla" */
.selector-quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.selector-step { display: none; }
.selector-step.is-active { display: block; animation: fadeIn .4s var(--ease-out); }
.selector-progress { height: 6px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-bottom: 2rem; }
.selector-progress-bar { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s var(--ease-out); width: 0%; }
.selector-options { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-block: 1.4rem 1.8rem; }
.selector-option {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius); text-align: left;
  transition: border-color .2s, background .2s;
}
.selector-option:hover { border-color: var(--accent-2); }
.selector-option[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.selector-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.selector-results-list { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.selector-why { font-size: .85rem; color: var(--text-soft); margin-top: .4rem; }
.aviso-ajuste {
  display: flex; gap: .8rem; background: #f4ede0; border: 1px solid #e3d3ad; border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: .88rem; margin-top: 1.5rem;
}
.aviso-ajuste svg { width: 1.4em; height: 1.4em; flex: none; color: var(--warn); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-weight: 700; text-align: left; font-family: var(--serif); font-size: 1.05rem;
}
.faq-q svg { flex: none; width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding-bottom: 1.2rem; color: var(--text-soft); font-size: .95rem; max-width: 68ch; }

/* Tabla comparativa de guía (markdown-style) */
.tabla-guia { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabla-guia th { background: var(--cream-2); text-align: left; }
.tabla-guia th, .tabla-guia td { padding: .7rem .9rem; font-size: .88rem; border-bottom: 1px solid var(--line-soft); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); margin-top: 4rem; }
.footer a:hover { color: var(--accent-2); }
.footer-top { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin-bottom: .7rem; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .8rem; }
.footer-col li { padding-block: .35rem; font-size: .88rem; color: color-mix(in srgb, var(--cream) 78%, transparent); }
.footer-disclosure { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem; font-size: .78rem; color: color-mix(in srgb, var(--cream) 65%, transparent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.1rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between; font-size: .78rem; color: color-mix(in srgb, var(--cream) 65%, transparent);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }

/* Buscador */
.search-box { display: flex; gap: .6rem; }
.search-input {
  flex: 1; padding: .85rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
}
.search-input:focus { border-color: var(--accent); }
.search-results { margin-top: 1.5rem; display: grid; gap: 1rem; }
.search-empty { color: var(--text-soft); padding: 2rem 0; text-align: center; }

/* =============================================================
   6. Secciones
   ============================================================= */
.hero {
  position: relative; overflow: clip; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(60% 55% at 82% 8%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 100%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 1px 1px, rgba(36,28,20,.06) 1px, transparent 0);
  background-size: 3px 3px;
}
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-title { max-width: 15ch; }
.hero-lede { margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.4rem; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.5rem; }
.hero-stat span { font-size: .8rem; color: var(--text-soft); }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--leather) 0%, var(--leather-dk) 60%, var(--ink) 130%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.hero-visual svg { width: 62%; height: 62%; color: var(--accent-2); opacity: .9; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 20% 15%, rgba(255,255,255,.12), transparent 60%);
}

.trust-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.trust-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1.4rem; }
.trust-item { display: flex; gap: .9rem; }
.trust-item svg { width: 1.6em; height: 1.6em; flex: none; color: var(--accent); }
.trust-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.trust-item p { font-size: .88rem; color: var(--text-soft); }

.category-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.category-card {
  position: relative; border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-2) 100%); color: var(--cream);
  overflow: hidden; transition: transform .3s var(--ease-out);
}
.category-card:hover { transform: translateY(-3px); }
.category-card svg { position: absolute; top: 1.2rem; right: 1.2rem; width: 34px; height: 34px; opacity: .5; }
.category-card span { font-size: .78rem; opacity: .85; }
.category-card.tone-leather { background: linear-gradient(150deg, var(--leather) 0%, var(--leather-dk) 100%); }
.category-card.tone-tan { background: linear-gradient(150deg, var(--saddle-tan) 0%, #8f6430 100%); }
.category-card.tone-ink { background: linear-gradient(150deg, #3a3126 0%, var(--ink) 100%); }

.price-range-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.price-range-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.price-range-card b { font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: .3rem; }

.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; height: 100%; }
.guide-card .eyebrow { margin-bottom: .5rem; }
.guide-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.guide-card p { font-size: .88rem; color: var(--text-soft); }

.cta-banner {
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.2rem); text-align: center;
  background: linear-gradient(140deg, var(--ink) 0%, var(--leather-dk) 130%); color: var(--cream);
}
.cta-banner h2 { max-width: 22ch; margin-inline: auto; }
.cta-banner p { margin-top: .8rem; }
.cta-banner .btn-primary { background: var(--accent-2); color: var(--ink); margin-top: 1.6rem; }
.cta-banner .btn-primary:hover { background: var(--cream); }

.pending-strip { background: var(--cream-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.pending-strip svg { width: 1.6em; height: 1.6em; flex: none; color: var(--warn); }

/* =============================================================
   7. Efectos
   ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); 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; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .selector-options { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .hero-title { max-width: 17ch; }
  .compare-escenarios { grid-template-columns: 1fr 1fr; }
  .pc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .compare-escenarios { grid-template-columns: repeat(3, 1fr); }
  .selector-results-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tabla comparativa: en móvil hacemos scroll horizontal + cabecera pegajosa (arriba);
   añadimos un modo "acordeón" por producto cuando hay ≥3 columnas y el viewport es estrecho. */
@media (max-width: 719px) {
  .compare-table-wrap { -webkit-overflow-scrolling: touch; }
  .compare-table th[scope="row"] { min-width: 130px; }
}

/* =============================================================
   9. Reduced motion — solo gatea lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-grain { display: none; }
}
