/* =========================================================================
   Combo de POEs ISO 37301 · Sistema de Gestión de Compliance — Valéria Moura
   Identidad "Sello del Compliance": bordeaux/oxblood + oro champán + marfil rosado.
   Literata (display) + Inter (texto), self-hosted. Estrategia de color: Committed.
   ========================================================================= */

/* ---------- Fuentes self-hosted (latin, variable wght, sin opsz) ---------- */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 380 720;
  font-display: swap;
  src: url("/fonts/literata-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+25BA;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 380 720;
  font-display: swap;
  src: url("/fonts/inter-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+25BA;
}

/* ---------- Tokens ---------- */
:root {
  /* Bordeaux / oxblood (marca) */
  --wine:        oklch(0.33 0.108 16);
  --wine-deep:   oklch(0.245 0.085 16);
  --wine-night:  oklch(0.195 0.062 16);
  --wine-700:    oklch(0.41 0.118 18);
  --wine-soft:   oklch(0.955 0.020 18);
  --wine-line:   oklch(0.90 0.018 16);

  /* Oro champán */
  --gold:        oklch(0.80 0.102 84);
  --gold-deep:   oklch(0.715 0.116 78);
  --gold-ink:    oklch(0.515 0.098 74);   /* texto pequeño dorado sobre claro (a11y) */
  --gold-glow:   oklch(0.84 0.10 86);

  /* Neutros (tintados al vino, NO cálido-cream) */
  --bg:          oklch(0.976 0.008 26);
  --surface:     oklch(0.995 0.004 26);
  --surface-2:   oklch(0.985 0.007 24);
  --ink:         oklch(0.235 0.022 22);
  --ink-soft:    oklch(0.415 0.020 20);
  --line:        oklch(0.895 0.012 26);
  --line-soft:   oklch(0.93 0.009 26);

  /* Sobre oscuro */
  --on-dark:       oklch(0.965 0.012 60);
  --on-dark-soft:  oklch(0.835 0.022 50);
  --on-dark-faint: oklch(0.70 0.022 40);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --container: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --shadow-sm: 0 1px 2px oklch(0.30 0.06 18 / 0.06), 0 4px 14px oklch(0.30 0.06 18 / 0.06);
  --shadow-md: 0 8px 24px oklch(0.28 0.06 18 / 0.10), 0 2px 6px oklch(0.28 0.06 18 / 0.06);
  --shadow-lg: 0 30px 70px oklch(0.22 0.06 18 / 0.20);

  /* z-index escala semântica */
  --z-sticky: 100;
  --z-header: 200;
  --z-mobilebar: 300;
  --z-consent: 600;

  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--wine-deep); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4.05rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.9vw, 2.95rem); }
h3 { font-size: clamp(1.18rem, 1rem + 0.7vw, 1.4rem); letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong, b { font-weight: 640; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.2rem); }
.section { padding-block: clamp(3.6rem, 8vw, 6.6rem); position: relative; }
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); color: var(--ink-soft); margin-top: 1rem; max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }

/* marca de "sello": pequeño glifo dorado, usado con intención (no eyebrow en cada sección) */
.seal-mark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 1rem;
}
.seal-mark::before {
  content: ""; width: 17px; height: 17px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold-deep) 0 32%, transparent 33%),
    conic-gradient(from 0deg, var(--gold-deep), var(--gold) 25%, var(--gold-deep) 50%, var(--gold) 75%, var(--gold-deep));
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 46%, transparent 47% 62%, #000 63%);
          mask: radial-gradient(circle at 50% 50%, #000 0 46%, transparent 47% 62%, #000 63%);
}
.on-dark .seal-mark, .seal-mark.on-dark { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--wine); --b-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 0.99rem; letter-spacing: -0.005em;
  padding: 0.82rem 1.5rem; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
  will-change: transform; text-align: center;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  --b-bg: var(--gold-deep); --b-fg: var(--wine-night);
  box-shadow: 0 10px 26px oklch(0.70 0.11 78 / 0.34), inset 0 1px 0 oklch(0.92 0.06 90 / 0.55);
  font-weight: 650;
}
.btn-gold:hover { box-shadow: 0 16px 36px oklch(0.70 0.11 78 / 0.44), inset 0 1px 0 oklch(0.92 0.06 90 / 0.6); }
.btn-outline { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px oklch(0.9 0.02 60 / 0.32); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px oklch(0.9 0.02 60 / 0.6); }
.btn-ghost { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine-line); }
.btn-ghost:hover { background: var(--wine-soft); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn-light { background: var(--bg); color: var(--wine-deep); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.976 0.008 26 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: oklch(0.978 0.008 26 / 0.92); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-badge {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(150deg, var(--wine-700), var(--wine-deep));
  color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.01em; box-shadow: inset 0 0 0 1px oklch(0.85 0.08 84 / 0.25), var(--shadow-sm);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-name small { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav > a:not(.btn) {
  padding: 0.5rem 0.8rem; border-radius: 9px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav > a:not(.btn):hover { color: var(--wine); background: var(--wine-soft); }
.header-cta { margin-left: 0.5rem; padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.nav .header-cta { display: none; }   /* el CTA interno solo aparece en el menú móvil */
.desktop-only { display: inline-flex; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; margin-left: auto; box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (drenched wine) ---------- */
.hero {
  position: relative; color: var(--on-dark);
  background:
    radial-gradient(120% 90% at 88% -10%, var(--wine-700) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 110%, var(--wine-night) 0%, transparent 60%),
    linear-gradient(165deg, var(--wine) 0%, var(--wine-deep) 60%, var(--wine-night) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(oklch(0.85 0.08 84 / 0.10) 1px, transparent 1.4px);
  background-size: 26px 26px; mask-image: radial-gradient(120% 80% at 80% 0%, #000, transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3.2rem, 7vw, 5.6rem);
}
.hero-copy { max-width: 36rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: oklch(0.85 0.08 84 / 0.12); color: var(--gold);
  box-shadow: inset 0 0 0 1px oklch(0.85 0.08 84 / 0.30);
  padding: 0.42rem 0.9rem; border-radius: 999px; font-size: 0.83rem; font-weight: 600; letter-spacing: 0.01em;
}
.badge .spark { font-size: 0.9em; }
.hero h1 { color: var(--on-dark); margin-top: 1.4rem; }
.hero h1 .hl { color: var(--gold); }
.hero-sub { color: var(--on-dark-soft); font-size: clamp(1.05rem, 1rem + 0.45vw, 1.24rem); margin-top: 1.3rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; margin-top: 2rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--on-dark-soft); font-weight: 500; }
.hero-trust svg { color: var(--gold); flex: none; }
.hero-trust.center { justify-content: center; }

/* Hero visual: dossier de compliance + sello dorado */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.dossier {
  position: relative; width: min(100%, 380px);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: var(--radius-lg); padding: 1.5rem 1.45rem 1.65rem;
  box-shadow: var(--shadow-lg); color: var(--ink);
  transform: rotate(-1.4deg);
}
.dossier::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px oklch(0.85 0.08 84 / 0.3); pointer-events: none;
}
.dossier-tab {
  position: absolute; top: -13px; left: 26px; background: var(--wine); color: var(--gold);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.75rem; border-radius: 7px 7px 0 0;
}
.dossier-h { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.dossier-h b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.01em; }
.dossier-h small { font-size: 0.68rem; color: var(--gold-ink); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.doc-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.62rem 0; border-bottom: 1px dashed var(--line-soft); }
.doc-row:last-child { border-bottom: 0; }
.doc-ic { flex: none; width: 30px; height: 36px; border-radius: 5px; display: grid; place-items: center; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.02em; color: #fff; position: relative; }
.doc-ic.w { background: linear-gradient(160deg, #2b6bd4, #1c4f9c); }
.doc-ic.x { background: linear-gradient(160deg, #1f9c63, #137045); }
.doc-row p { font-size: 0.88rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.doc-row span { font-size: 0.74rem; color: var(--ink-soft); }
.dossier-foot { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; color: var(--gold-ink); font-weight: 600; }
.dossier-foot svg { color: var(--gold-deep); }

/* sello de cera/lacre */
.seal {
  position: absolute; right: -18px; bottom: -22px; width: 124px; height: 124px;
  display: grid; place-items: center; color: var(--gold);
  filter: drop-shadow(0 14px 26px oklch(0.30 0.10 30 / 0.4));
  animation: sealIn 0.9s var(--ease) both 0.25s;
}
.seal svg { width: 100%; height: 100%; }
.hero-chip {
  position: absolute; background: var(--wine-deep); color: var(--on-dark);
  box-shadow: var(--shadow-md), inset 0 0 0 1px oklch(0.85 0.08 84 / 0.22);
  border-radius: 15px; padding: 0.7rem 0.9rem; display: flex; align-items: center; gap: 0.6rem; z-index: 2;
}
.hero-chip b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.hero-chip small { font-size: 0.7rem; color: var(--on-dark-soft); line-height: 1.15; }
.chip-1 { top: 6%; left: -4%; }
.chip-2 { bottom: 16%; left: -7%; }

/* franja de logos/normas bajo el hero */
.trust-strip { background: var(--wine-night); color: var(--on-dark-faint); border-top: 1px solid oklch(0.85 0.08 84 / 0.14); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 2.1rem; padding-block: 1.05rem; }
.trust-strip span { font-size: 0.83rem; font-weight: 500; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-strip svg { color: var(--gold); }

/* ---------- Bandas de sección ---------- */
.band-wine { background: linear-gradient(170deg, var(--wine-deep), var(--wine-night)); color: var(--on-dark); }
.band-wine h2, .band-wine h3 { color: var(--on-dark); }
.band-wine .lead { color: var(--on-dark-soft); }
.band-soft { background: var(--wine-soft); }

/* ---------- Dolores ---------- */
.pain-intro { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 2.6rem; }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pain-item { background: var(--surface); padding: 1.5rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: background 0.25s var(--ease); }
.pain-item:hover { background: var(--surface-2); }
.pain-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine-line); }
.pain-item h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.pain-item p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Combo (3 pilares asimétricos) ---------- */
.combo-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.1rem; margin-top: 2.6rem; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.pillar.lead-pillar { grid-row: span 1; background: linear-gradient(160deg, var(--surface), var(--wine-soft)); }
.pillar .p-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--wine); color: var(--gold); margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.95rem; color: var(--ink-soft); }
.combo-banner {
  margin-top: 1.1rem; background: var(--wine); color: var(--on-dark); border-radius: var(--radius);
  padding: 1.4rem 1.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: var(--shadow-md), inset 0 0 0 1px oklch(0.85 0.08 84 / 0.18);
}
.combo-banner .cb-big { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); color: var(--gold); }
.combo-banner p { color: var(--on-dark-soft); font-size: 0.98rem; max-width: 44ch; }

/* ---------- Inventario (dark) ---------- */
.inv-head { max-width: 60ch; }
.inv-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; margin-top: 2.4rem; }
.inv-group h3 { color: var(--on-dark); display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid oklch(0.85 0.08 84 / 0.2); }
.inv-group h3 .ct { font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.inv-list { display: flex; flex-direction: column; gap: 0.15rem; }
.inv-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0.2rem; border-bottom: 1px dashed oklch(0.85 0.08 84 / 0.12); }
.inv-item:last-child { border-bottom: 0; }
.inv-item .ix { flex: none; color: var(--gold); display: grid; place-items: center; width: 22px; height: 22px; }
.inv-item p { font-size: 0.95rem; color: var(--on-dark-soft); }
.inv-note { margin-top: 1.8rem; font-size: 0.9rem; color: var(--on-dark-faint); }
.mod-cta { margin-top: 2.4rem; display: flex; justify-content: center; }

/* ---------- Cómo funciona (4 pasos, secuencia real) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.6rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .s-n { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--wine-night); background: var(--gold); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; box-shadow: 0 4px 12px oklch(0.7 0.11 78 / 0.3); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.45rem; right: -0.7rem; width: 1.1rem; height: 2px;
  background: var(--gold-deep); opacity: 0.5; z-index: 1;
}

/* ---------- Para quién ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.4rem; }
.aud-card { background: var(--surface); padding: 1.5rem; }
.aud-card .a-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); margin-bottom: 0.9rem; box-shadow: inset 0 0 0 1px var(--wine-line); }
.aud-card h3 { font-size: 1.04rem; margin-bottom: 0.3rem; }
.aud-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Autora ---------- */
.author-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.author-card {
  background: linear-gradient(165deg, var(--wine), var(--wine-deep)); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 2.2rem 1.8rem; text-align: center;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px oklch(0.85 0.08 84 / 0.2);
}
.author-mono { width: 92px; height: 92px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--gold); background: var(--wine-night); box-shadow: inset 0 0 0 2px oklch(0.85 0.08 84 / 0.35); }
.a-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--on-dark); }
.a-role { font-size: 0.9rem; color: var(--gold); margin-top: 0.25rem; font-weight: 500; }
.author-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.2rem; }
.author-tags span { font-size: 0.8rem; background: oklch(0.85 0.08 84 / 0.12); color: var(--on-dark-soft); padding: 0.35rem 0.75rem; border-radius: 999px; box-shadow: inset 0 0 0 1px oklch(0.85 0.08 84 / 0.22); }
.author-body p { color: var(--ink-soft); margin-top: 1rem; max-width: 58ch; }
.author-body p:first-of-type { margin-top: 1.3rem; }

/* ---------- Prueba social ---------- */
.proof-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2.2rem auto 0; }
.proof-stat { flex: 1 1 150px; max-width: 220px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1rem; }
.proof-stat .n { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); color: var(--wine); display: inline-flex; align-items: baseline; gap: 0.15rem; }
.proof-stat .n .star { color: var(--gold-deep); font-size: 0.7em; }
.proof-stat small { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.2rem; }
.proof-wall { columns: 3; column-gap: 1.1rem; margin-top: 2.4rem; }
.tcard { break-inside: avoid; margin-bottom: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.2rem; box-shadow: var(--shadow-sm); }
.tcard .stars { color: var(--gold-deep); letter-spacing: 0.08em; font-size: 0.92rem; }
.tcard .quote { font-size: 0.95rem; color: var(--ink); line-height: 1.56; margin: 0.7rem 0 1rem; }
.tcard .quote b { color: var(--wine); }
.who { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.who .avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: var(--gold); background: var(--wine); }
.who .name { font-weight: 650; font-size: 0.9rem; display: block; }
.who .role { font-size: 0.78rem; color: var(--ink-soft); display: block; }
.who .verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--gold-ink); font-weight: 600; margin-left: auto; }
.proof-note { text-align: center; font-size: 0.84rem; color: var(--ink-soft); margin-top: 1.4rem; }

/* ---------- Oferta ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: 2.6rem; align-items: start; }
.value-stack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; }
.vs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.vs-row span { color: var(--ink); }
.vs-row s { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }
.vs-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.95rem; margin-top: 0.3rem; font-weight: 650; }
.vs-total s { color: var(--ink-soft); }
.offer-card {
  position: relative; background: linear-gradient(168deg, var(--wine), var(--wine-deep)); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-lg), inset 0 0 0 1px oklch(0.85 0.08 84 / 0.22);
  overflow: hidden;
}
.offer-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 50% at 80% 0%, oklch(0.85 0.08 84 / 0.12), transparent 60%); pointer-events: none; }
.offer-flag { position: relative; display: inline-block; background: var(--gold-deep); color: var(--wine-night); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; }
.offer-label { position: relative; margin-top: 1rem; font-size: 0.96rem; color: var(--on-dark-soft); }
.offer-from { position: relative; margin-top: 0.4rem; color: var(--on-dark-faint); font-size: 0.95rem; }
.offer-from s { color: var(--on-dark-faint); }
.offer-price { position: relative; display: flex; align-items: baseline; gap: 0.3rem; margin-top: 0.2rem; }
.offer-price .cur { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.offer-price .amt { font-family: var(--font-display); font-size: clamp(3.4rem, 2.6rem + 3vw, 4.6rem); font-weight: 700; color: var(--gold); line-height: 0.95; letter-spacing: -0.03em; }
.offer-price .unit { font-size: 0.95rem; color: var(--on-dark-soft); align-self: flex-end; margin-bottom: 0.5rem; }
.offer-pay { position: relative; font-size: 0.86rem; color: var(--on-dark-faint); margin-top: 0.5rem; }
.offer-feats { position: relative; list-style: none; padding: 0; margin: 1.3rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.offer-feats li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.93rem; color: var(--on-dark-soft); }
.offer-feats svg { color: var(--gold); flex: none; margin-top: 2px; }
.offer-secure { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--on-dark-faint); margin-top: 1rem; }
.offer-secure svg { color: var(--gold); }

/* ---------- Garantía ---------- */
.guarantee-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 2.8rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.seal-badge { width: 128px; height: 128px; flex: none; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--gold); background: radial-gradient(circle at 50% 35%, var(--wine-700), var(--wine-deep)); box-shadow: var(--shadow-md), inset 0 0 0 2px oklch(0.85 0.08 84 / 0.4); }
.seal-badge .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.seal-badge small { display: block; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 0.2rem; }
.guarantee-grid h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.95rem); }
.guarantee-grid p { color: var(--ink-soft); margin-top: 0.8rem; max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.25s var(--ease); }
.faq-item[open] { border-color: var(--wine-line); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-soft); color: var(--wine); transition: transform 0.3s var(--ease), background 0.2s; }
.faq-item[open] .pm { transform: rotate(45deg); background: var(--wine); color: var(--gold); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.faq-cta { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- CTA final ---------- */
.final { background: linear-gradient(170deg, var(--wine-deep), var(--wine-night)); color: var(--on-dark); text-align: center; }
.final .narrow { max-width: 720px; margin-inline: auto; }
.final h2 { color: var(--on-dark); }
.final p { color: var(--on-dark-soft); margin: 1.1rem auto 0; max-width: 56ch; }
.final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-night); color: var(--on-dark-soft); padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.8rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid oklch(0.85 0.08 84 / 0.14); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--on-dark); margin-bottom: 0.8rem; }
.footer-top p { font-size: 0.9rem; color: var(--on-dark-faint); }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--on-dark-soft); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-direction: column; gap: 0.5rem; padding-block: 1.6rem; }
.footer-legal details { border-bottom: 1px solid oklch(0.85 0.08 84 / 0.1); }
.footer-legal summary { cursor: pointer; list-style: none; padding: 0.7rem 0; font-size: 0.88rem; font-weight: 600; color: var(--on-dark); display: flex; justify-content: space-between; }
.footer-legal summary::-webkit-details-marker { display: none; }
.legal-body { padding-bottom: 1rem; }
.legal-body p, .legal-body h4 { font-size: 0.84rem; color: var(--on-dark-faint); margin-top: 0.7rem; }
.legal-body h4 { color: var(--on-dark-soft); font-family: var(--font-body); font-weight: 650; }
.legal-body a { color: var(--gold); }
.warn { font-size: 0.82rem; color: var(--on-dark-faint); background: oklch(0.85 0.08 84 / 0.06); border: 1px solid oklch(0.85 0.08 84 / 0.14); border-radius: var(--radius-sm); padding: 0.8rem 1rem; margin-block: 1.2rem; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; font-size: 0.8rem; color: var(--on-dark-faint); }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
  display: none; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: oklch(0.21 0.07 16 / 0.96); backdrop-filter: blur(10px); color: var(--on-dark);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); border-top: 1px solid oklch(0.85 0.08 84 / 0.2);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.mobile-bar.show { transform: translateY(0); }
.mb-price { display: flex; flex-direction: column; line-height: 1.1; }
.mb-price small { font-size: 0.68rem; color: var(--on-dark-faint); }
.mb-price b { font-size: 0.95rem; color: var(--gold); }
.mobile-bar .btn { padding: 0.7rem 1.15rem; font-size: 0.92rem; }

/* ---------- Banner de consentimiento (LGPD/GDPR) ---------- */
.consent {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%);
  bottom: max(1rem, env(safe-area-inset-bottom)); width: min(960px, calc(100% - 1.6rem)); z-index: var(--z-consent);
  background: oklch(0.22 0.07 16 / 0.98); color: var(--on-dark); border: 1px solid oklch(0.85 0.08 84 / 0.22);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.15rem;
  transition: transform 0.45s var(--ease); backdrop-filter: blur(12px);
}
.consent.show { transform: translateX(-50%) translateY(0); }
.consent-inner { display: flex; align-items: center; gap: 1.1rem; }
.consent-text { flex: 1 1 auto; font-size: 0.88rem; color: var(--on-dark-soft); line-height: 1.5; }
.consent-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; align-items: center; gap: 0.55rem; flex: none; }
.consent-link { font-size: 0.85rem; font-weight: 600; color: var(--on-dark-soft); padding: 0.5rem 0.4rem; }
.consent-link:hover { color: var(--gold); }
.consent-btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.consent-prefs { padding: 0.3rem 0.2rem 0.1rem; }
.cprefs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.cprefs-head strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--on-dark); }
.cprefs-list { display: flex; flex-direction: column; gap: 0.55rem; }
.cpref { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: oklch(0.85 0.08 84 / 0.06); border: 1px solid oklch(0.85 0.08 84 / 0.12); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; }
.cpref-info b { display: block; font-size: 0.9rem; color: var(--on-dark); }
.cpref-info small { display: block; font-size: 0.78rem; color: var(--on-dark-faint); margin-top: 2px; }
.cpref input { width: 42px; height: 24px; flex: none; appearance: none; background: oklch(0.5 0.02 40 / 0.5); border-radius: 999px; position: relative; cursor: pointer; transition: background 0.2s; }
.cpref input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.cpref input:checked { background: var(--gold-deep); }
.cpref input:checked::after { transform: translateX(18px); }
.cpref input:disabled { opacity: 0.6; cursor: not-allowed; }
.cprefs-actions { margin-top: 1rem; display: flex; justify-content: flex-end; }

/* ---------- Reveal (con failsafe en JS; visible por defecto sin JS) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
html.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
html.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@keyframes sealIn { from { opacity: 0; transform: scale(0.6) rotate(-22deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* entrada del hero: SOLO transform en el h1 (LCP no parte de opacity:0) */
.hero-copy > * { animation: heroUp 0.7s var(--ease) both; }
.hero h1 { animation: none; opacity: 1; }
.hero-copy .badge { animation-delay: 0.05s; }
.hero-copy .hero-sub { animation-delay: 0.12s; }
.hero-copy .hero-actions { animation-delay: 0.2s; }
.hero-copy .hero-trust { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-copy > *, .seal { animation: none !important; opacity: 1 !important; }
  .seal { transform: rotate(-8deg); }
  .btn, .pain-item, .faq-item .pm { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-copy { max-width: none; }
  .combo-grid { grid-template-columns: 1fr 1fr; }
  .pillar.lead-pillar { grid-column: span 2; }
  .offer-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; }
  .author-card { max-width: 420px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .proof-wall { columns: 2; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.2rem; background: oklch(0.976 0.008 26 / 0.98); backdrop-filter: blur(14px); padding: 1rem 1.2rem 1.4rem; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform 0.35s var(--ease); box-shadow: var(--shadow-md); margin-left: 0; }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 0.75rem 0.6rem; border-radius: 10px; }
  .nav .header-cta { display: inline-flex; margin: 0.5rem 0 0; }
  .desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
}
@media (max-width: 620px) {
  .pains { grid-template-columns: 1fr; }
  .combo-grid { grid-template-columns: 1fr; }
  .pillar.lead-pillar { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .proof-wall { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .guarantee-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .chip-1, .chip-2 { display: none; }
  .hero-chip { display: none; }
  /* Fix crítico del banner en móvil: el texto no debe estirarse como altura */
  .consent-inner { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .consent-text { flex: 0 0 auto; }
  .consent-actions { flex-direction: column-reverse; align-items: stretch; }
  .consent-actions .consent-btn { width: 100%; }
  .consent-link { padding: 0.6rem; text-align: center; }
}
