/* ============================================================
   NEYMUK® · PEAK BRAIN — Sistema de diseño
   Fondo #090909 · Acento único azul petróleo #3B759A
   Display: Sary Soft (fuente del logo) · Texto: Inter
   ============================================================ */

/* Sary Soft — tipografía del logotipo Neymuk */
@font-face {
  font-family: 'Sary Soft';
  src: url('assets/fonts/sary-soft.soft-thin.otf') format('opentype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sary Soft';
  src: url('assets/fonts/sary-soft.soft-extralight.otf') format('opentype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sary Soft';
  src: url('assets/fonts/sary-soft.soft-light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sary Soft';
  src: url('assets/fonts/sary-soft.soft-regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sary Soft';
  src: url('assets/fonts/sary-soft.soft-semibold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --font-display: 'Sary Soft', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --bg:            #090909;
  --bg-elevated:   #111111;
  --surface:       #161616;
  --surface-2:     #1a1a1a;

  --text:          #F0EDE8;
  --text-2:        #888780;
  --muted:         #444441;

  --accent:        #3B759A;
  --accent-bg:     #0d1e2a;
  --accent-line:   #1a3a4a;

  --divider:       #1e1e1e;
  --divider-2:     #2a2a2a;

  --maxw:          1180px;
  --pad:           clamp(1.25rem, 5vw, 4rem);
  --section-y:     clamp(4rem, 11vw, 9rem);
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.011em;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
sup { font-size: 0.55em; vertical-align: super; }
em { font-style: italic; color: var(--text); }
strong { color: var(--text); font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Tipografía compartida ---------- */
.section-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 2.3rem;
  padding-bottom: 0.2rem;
}
.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 3rem;
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }

/* Manifiesto / intro (debajo del hero) */
.intro { padding-top: clamp(2.6rem, 6vw, 4.5rem); padding-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.intro__inner { max-width: 900px; }
.intro__text {
  font-size: clamp(1.12rem, 1.9vw, 1.5rem);
  line-height: 1.62; letter-spacing: -0.01em;
  color: rgba(240, 237, 232, 0.84); font-weight: 400;
}
.intro__text strong { color: var(--text); font-weight: 700; }

/* Frase de cierre del Estado de Sesión */
.estado__close {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.32; max-width: 44ch;
}
.estado__close span { color: var(--accent); }

/* Resaltado en azul dentro de un título */
.hl-accent { color: var(--accent); }

/* Frase madre: una sola línea grande en negro, mucho aire (premium) */
.statement { padding: clamp(4.5rem, 13vw, 10rem) 0; text-align: center; }
.statement__text {
  font-size: clamp(2rem, 6vw, 4.2rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.06;
  max-width: 20ch; margin: 0 auto;
}

/* ============================================================
   SCROLLYTELLING DEL BOTE
   Por defecto (sin JS / reduce-motion): bloque sencillo, bote + 3 frases.
   Con JS (.scrolly--active): el bote se fija y crece mientras pasan las frases.
   ============================================================ */
.scrolly { position: relative; background: var(--bg); }
.scrolly__stage {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding: clamp(3rem, 9vw, 6.5rem) var(--pad); text-align: center;
}
.scrolly__captions { display: flex; flex-direction: column; gap: 1.2rem; }
.scrolly__cap {
  font-size: clamp(1.7rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--text);
}
.scrolly__line { display: block; font-weight: inherit; }
.scrolly__cap b { color: var(--accent); font-weight: inherit; }

/* --- Modo activo (con JS): frases fijadas que pasan con zoom --- */
.scrolly--active { height: 165vh; }
.scrolly--active .scrolly__stage {
  position: sticky; top: 0; height: 100vh; min-height: 540px;
  justify-content: center; align-items: center; gap: 0; padding: 0; overflow: hidden;
}
.scrolly--active .scrolly__captions { position: absolute; inset: 0; pointer-events: none; }
.scrolly--active .scrolly__cap {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--pad);
  font-size: clamp(2.2rem, 6.5vw, 5rem); line-height: 1.05;
  will-change: opacity, transform;
}
@media (max-width: 920px) {
  .scrolly--active { height: 168vh; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--amazon {
  background: var(--text);
  color: #0a0a0a;
}
.btn--amazon:hover { background: #fff; box-shadow: 0 10px 40px -12px rgba(240,237,232,0.4); transform: translateY(-2px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #4789b3; box-shadow: 0 10px 40px -14px rgba(59,117,154,0.7); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--divider-2);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }

.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

/* ============================================================
   NAV
   ============================================================ */
.top-bar {
  height: 3px; width: 100%;
  background: var(--accent);
  position: fixed; top: 0; left: 0; z-index: 60;
}
.nav {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem var(--pad);
  background: rgba(9,9,9,0);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9,9,9,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--divider);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.nav__brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0; }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  font-size: 0.88rem; color: var(--text-2); font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 0.5rem; }

.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad) 4rem;
  position: relative; overflow: hidden;
  /* Profundidad azul-petróleo + viñeta: el bote queda "sumergido" en la oscuridad */
  background:
    radial-gradient(65% 60% at 62% 44%, rgba(18,44,64,0.48) 0%, rgba(11,24,34,0.24) 38%, transparent 66%),
    radial-gradient(150% 130% at 50% 26%, transparent 46%, rgba(0,0,0,0.74) 100%);
}
.hero__halo {
  position: absolute; top: 38%; right: 8%;
  width: 70vmax; height: 70vmax; transform: translate(20%, -50%);
  background: radial-gradient(circle, rgba(59,117,154,0.22) 0%, rgba(59,117,154,0.06) 35%, transparent 62%);
  pointer-events: none; z-index: 0;
  animation: haloFloat 14s ease-in-out infinite;
}
@keyframes haloFloat {
  0%, 100% { transform: translate(20%, -50%) scale(1); }
  50%      { transform: translate(18%, -47%) scale(1.06); }
}
.hero__grid {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero__eyebrow {
  font-size: clamp(0.95rem, 1.7vw, 1.12rem); color: var(--text); font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 1.6rem;
}
.hero__eyebrow sup { color: var(--accent); }
.hero__wordmark {
  display: flex; flex-direction: column; line-height: 0.92;
  font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(3.6rem, 12vw, 7.5rem);
}
.hero__peak { color: var(--text); }
.hero__brain { color: var(--accent); }
.hero__rule { width: 64px; height: 3px; background: var(--accent); margin: 1.6rem 0; }
.hero__tagline { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; max-width: 24ch; }
.hero__sub { color: var(--text-2); font-size: 1.05rem; margin-top: 0.7rem; }
.hero__claim {
  margin-top: 1.8rem; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.32em; color: var(--text-2);
}
.hero__actions { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero__product { position: relative; display: flex; justify-content: center; }
/* Charco de NEGRO PURO (#000) detrás del vídeo, del mismo color exacto que
   su fondo, así sus bordes no se distinguen; se difumina en radial hacia la
   página (sin rectángulo). El vídeo va opaco para conservar el bote ENTERO
   —tapa y base incluidas— que la mezcla "screen" volvía transparentes. */
.hero__product::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: 150%; height: 142%;
  background:
    radial-gradient(closest-side, rgba(59,117,154,0.10), rgba(59,117,154,0) 70%),
    radial-gradient(closest-side, #000 0%, #000 80%, rgba(0,0,0,0) 100%);
}
.hero__bottle {
  width: auto; max-width: 100%;
  height: auto; max-height: clamp(380px, 52vh, 580px);
  object-fit: contain;
  filter:
    drop-shadow(0 34px 60px rgba(0,0,0,0.75))
    drop-shadow(0 0 46px rgba(59,117,154,0.20));
  animation: bottleFloat 6s ease-in-out infinite;
}
@keyframes bottleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* El bote en vídeo: emerge de la oscuridad. Es un rectángulo negro con el
   bote centrado; lo recortamos al bote y fundimos los bordes en el negro de
   la página con una máscara radial, para que no se vea el borde del vídeo. */
.hero__bottle--video {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  height: clamp(420px, 62vh, 620px);
  max-height: none;
  object-fit: cover;
  object-position: 50% 46%;
  filter: none;
  animation: none;
  /* Opaco (sin "screen": eso volvía transparente la tapa y la base oscuras).
     Máscara que DIFUMINA los bordes del vídeo: el glow de estudio que rodea
     al bote ya no se corta en seco contra la página. Elipse generosa en
     vertical para no recortar ni la tapa ni la base; fuerte en horizontal
     porque ahí es donde más se notaba el borde de la caja. */
  -webkit-mask-image: radial-gradient(50% 66% at 50% 47%, #000 64%, transparent 100%);
          mask-image: radial-gradient(50% 66% at 50% 47%, #000 64%, transparent 100%);
}
.hero__bottle--img { display: none; }
/* Sin movimiento: mostramos el render nítido fijo en vez del vídeo. */
@media (prefers-reduced-motion: reduce) {
  .hero__bottle--video { display: none; }
  .hero__bottle--img { display: block; }
}

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 1;
}
.hero__scroll span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); }

/* ===== Hero elegante v2 · luz que cruza (1) + bruma de suelo (4) ===== */
.hero__mist {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  z-index: 0; pointer-events: none;
  background: radial-gradient(135% 95% at 50% 118%, rgba(59,117,154,0.18), rgba(59,117,154,0.05) 46%, transparent 72%);
  filter: blur(30px);
  animation: heroMist 18s ease-in-out infinite alternate;
}
@keyframes heroMist {
  0%   { opacity: 0.5; transform: translateX(-3%) scale(1); }
  100% { opacity: 1;   transform: translateX(3%)  scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mist { animation: none; }
}

/* ============================================================
   KPIs
   ============================================================ */
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider);
}
.kpi {
  padding: 2.4rem var(--pad); text-align: center;
  border-right: 1px solid var(--divider);
}
.kpi:last-child { border-right: 0; }
.kpi__num { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.kpi__num small { font-size: 0.5em; color: var(--accent); font-weight: 700; }
.kpi__accent { color: var(--accent); } /* "–90'" en azul y al mismo tamaño que el número */
.kpi__label { display: block; font-size: 0.82rem; color: var(--text-2); margin-top: 0.5rem; }

/* ============================================================
   CARDS genéricas
   ============================================================ */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 1.8rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }

/* ============================================================
   ENEMIGO
   ============================================================ */
.big-quote {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 700; line-height: 1.22; letter-spacing: -0.025em;
  max-width: 22ch; margin-bottom: 3.5rem;
  border-left: 2px solid var(--accent); padding-left: clamp(1rem, 3vw, 2rem);
}
.enemigo__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.enemigo__copy p { color: var(--text-2); margin-bottom: 1rem; font-size: 1.05rem; }
.enemigo__copy p:first-child { color: var(--text); font-size: 1.15rem; font-weight: 500; }
.enemigo__card { background: #0a0a0a; border-color: var(--accent-line); text-align: center; padding: 2.6rem 2rem; }
.card__kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-2); margin-bottom: 1rem; }
.card__big { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 700; line-height: 1.25; }
.card__sep { color: var(--accent); font-weight: 700; margin: 0.6rem 0; }
.card__foot { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--divider); font-size: 0.9rem; color: var(--text-2); }

/* Dos fricciones */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.dual__card { position: relative; padding: 2rem 1.9rem; }
.dual__n { display: block; font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.dual__card h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.dual__card p { color: var(--text-2); font-size: 1rem; }

/* Firma de marca */
.signature { margin: 2.5rem 0 2rem; padding: 2.2rem clamp(1.2rem, 4vw, 2.5rem); border-left: 2px solid var(--accent); background: linear-gradient(90deg, var(--accent-bg), transparent 80%); border-radius: 0 6px 6px 0; }
.signature p { font-size: clamp(1.4rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.signature span { color: var(--accent); }
.enemigo__close { color: var(--text-2); font-size: 1.1rem; max-width: 60ch; }

/* ============================================================
   ESTADO — characteristics
   ============================================================ */
.estado__chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.char { position: relative; }
.char__n { display: block; font-size: 1.6rem; font-weight: 800; color: var(--divider-2); margin-bottom: 1rem; }
.char h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.char p { font-size: 0.92rem; color: var(--text-2); }

/* ============================================================
   FÓRMULA
   ============================================================ */
/* Por defecto las tarjetas se apilan/rejilla (funciona sin JS). En escritorio,
   con JS, .formula__gallery--active las convierte en una pista horizontal. */
.formula__track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.ingrediente { display: flex; flex-direction: column; }
.ingrediente--wide { grid-column: 1 / -1; }
.formula__hint { display: none; }

.formula__gallery--active { overflow: hidden; }
.formula__gallery--active .formula__track {
  display: flex; grid-template-columns: none; gap: 1.6rem; width: max-content;
  will-change: transform;
}
.formula__gallery--active .ingrediente {
  flex: 0 0 clamp(320px, 30vw, 400px); grid-column: auto;
}
.formula__gallery--active .formula__hint {
  display: block; margin-top: 1.4rem;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
}
.ingrediente__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.ingrediente__head h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.ingrediente__head h3 small { font-size: 0.6em; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.ingrediente__dose {
  font-size: 0.95rem; font-weight: 700; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--accent-line);
  padding: 0.25rem 0.7rem; border-radius: 100px; white-space: nowrap;
}
.ingrediente__role { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 0.9rem; }
.ingrediente p:last-child { color: var(--text-2); font-size: 0.96rem; }

.formula__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem;
}
.formula__badges li {
  font-size: 0.82rem; color: var(--text-2);
  border: 1px solid var(--divider-2); border-radius: 100px;
  padding: 0.4rem 1rem;
}
.formula__note { margin-top: 1.6rem; font-size: 0.8rem; color: var(--muted); max-width: 70ch; }

/* ============================================================
   RITUAL / TIMELINE
   ============================================================ */
.timeline { list-style: none; position: relative; max-width: 720px; margin-top: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 7.5rem; top: 0.5rem; bottom: 0.5rem;
  width: 1px; background: var(--divider-2);
}
.timeline__item { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.9rem; padding: 1.5rem 0; position: relative; }
.timeline__t {
  font-size: 0.82rem; font-weight: 700; color: var(--text-2);
  text-align: right; padding-top: 0.15rem; padding-right: 1rem;
  white-space: nowrap;
}
.timeline__t--accent { color: var(--accent); }
.timeline__body { position: relative; padding-left: 1.8rem; }
.timeline__body::before {
  content: ""; position: absolute; left: -1.85rem; top: 0.35rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--divider-2);
  transform: translateX(-50%);
}
.timeline__item:nth-child(3) .timeline__body::before { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(59,117,154,0.15); }
.timeline__body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.timeline__body p { color: var(--text-2); font-size: 0.96rem; }

/* ============================================================
   PARA QUIÉN
   ============================================================ */
.para-quien__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.para-col__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.3rem; letter-spacing: -0.02em; }
.para-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.para-list li { position: relative; padding-left: 1.9rem; color: var(--text-2); font-size: 0.98rem; }
.para-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.para-list--yes li::before { content: "✓"; color: var(--accent); }
.para-list--no li::before { content: "✕"; color: var(--muted); }

/* ============================================================
   FUNDADORA
   ============================================================ */
.fundadora { background: linear-gradient(180deg, var(--bg) 0%, #0b0d0f 50%, var(--bg) 100%); }
.fundadora__inner { max-width: 800px; }
.fundadora__lead {
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.3;
  letter-spacing: -0.025em; margin-bottom: 2.2rem; color: var(--text);
}
.fundadora__body p { color: var(--text-2); font-size: 1.08rem; margin-bottom: 1.2rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonio blockquote { font-size: 1.05rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.testimonio figcaption { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--divider); font-size: 0.82rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.testimonios__note { margin-top: 1.8rem; font-size: 0.8rem; color: var(--muted); max-width: 72ch; }

/* ============================================================
   REGLA
   ============================================================ */
.regla { background: var(--bg-elevated); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.regla__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.2rem; }
.regla__item { display: flex; gap: 1rem; align-items: flex-start; }
.regla__n {
  flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid var(--accent-line); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem;
}
.regla__item p { color: var(--text-2); font-size: 1rem; }

/* ============================================================
   CTA AMAZON
   ============================================================ */
.cta-amazon { text-align: center; }
.cta-amazon__inner { position: relative; max-width: 760px; overflow: hidden; padding: clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,5vw,4rem); border: 1px solid var(--accent-line); border-radius: 10px; background: radial-gradient(120% 120% at 50% 0%, #0d1e2a 0%, #0a0a0a 60%); }
.cta-amazon__halo { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(59,117,154,0.25), transparent 70%); pointer-events: none; }
.cta-amazon__title { position: relative; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.1rem; }
.cta-amazon__price { position: relative; color: var(--text-2); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 2rem; }
.cta-amazon__ship { position: relative; margin-top: 1.4rem; font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   COMUNIDAD / EMAIL
   ============================================================ */
.comunidad__inner { max-width: 720px; }
.email-form { margin-top: 0.5rem; }
.email-form__row { display: flex; gap: 0.7rem; }
.email-form input[type="email"] {
  flex: 1; background: var(--bg-elevated); border: 1px solid var(--divider-2);
  border-radius: 4px; padding: 0.95rem 1.1rem; color: var(--text); font-size: 1rem;
  font-family: inherit; transition: border-color 0.25s var(--ease);
}
.email-form input[type="email"]::placeholder { color: var(--muted); }
.email-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.email-form__legal { font-size: 0.78rem; color: var(--muted); margin-top: 0.9rem; }
.email-form__msg { font-size: 0.92rem; margin-top: 0.9rem; min-height: 1.2em; }
.email-form__msg.is-ok { color: var(--accent); }
.email-form__msg.is-err { color: #c98a8a; }

/* ============================================================
   REDES
   ============================================================ */
.redes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.2rem; max-width: 620px; }
.red {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1.5rem; border: 1px solid var(--divider); border-radius: 6px;
  background: var(--bg-elevated); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.red:hover { border-color: var(--accent); transform: translateY(-3px); }
.red__name { font-weight: 700; font-size: 1.05rem; }
.red__handle { font-size: 0.86rem; color: var(--text-2); }
.red__icon { width: 34px; height: 34px; color: var(--text); margin-bottom: 0.5rem; transition: color 0.3s var(--ease); }
.red:hover .red__icon { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--divider); padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--divider); }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__symbol { width: 46px; height: auto; opacity: 0.95; }
.footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer__tag { font-size: 0.82rem; color: var(--text-2); }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a { font-size: 0.88rem; color: var(--text-2); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__legal { padding-top: 2rem; }
.footer__legal p { font-size: 0.76rem; color: var(--muted); line-height: 1.7; max-width: 90ch; }
.footer__credit { margin-top: 1rem; }

/* ============================================================
   REVEAL — fade-in en scroll (suave, 300-600ms)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.95s var(--ease),
    filter 0.9s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__halo, .hero__bottle { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .hero__scroll { display: none; }
  .hero__product { order: -1; max-width: 240px; margin: 0 auto; }
  .hero__bottle { max-width: 210px; }
  /* En movil el bote mas pequeno y centrado. */
  .hero__bottle--video { max-width: 240px; height: clamp(240px, 36vh, 300px); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid var(--divider); }
  .enemigo__grid { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .estado__chars { grid-template-columns: repeat(2, 1fr); }
  .formula__track { grid-template-columns: 1fr; }
  .para-quien__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .regla__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .redes__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 0 1.5rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-mobile-open {
    background: rgba(9,9,9,0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--divider);
  }
  .nav.is-mobile-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    order: 3; width: 100%; margin: 0.6rem 0 0;
  }
  .nav.is-mobile-open .nav__links a {
    padding: 0.95rem 0; border-top: 1px solid var(--divider);
    font-size: 1rem; color: var(--text);
  }
  .nav.is-mobile-open .nav__cta {
    display: inline-flex; order: 4; width: 100%;
    justify-content: center; margin: 0.9rem 0 0.2rem;
  }
}

@media (max-width: 460px) {
  .estado__chars { grid-template-columns: 1fr; }
  .redes__grid { grid-template-columns: 1fr; }
  .email-form__row { flex-direction: column; }
  .timeline::before { left: 5.6rem; }
  .timeline__progress { left: 5.6rem; }
  .timeline__item { grid-template-columns: 5.4rem 1fr; gap: 1.5rem; }
  .timeline__t { font-size: 0.66rem; white-space: nowrap; padding-right: 0.55rem; }
  .timeline__body { padding-left: 0; }
  .timeline__body::before { left: -1.3rem; }
}

/* ============================================================
   CAPA PREMIUM · interacciones elegantes (mejora progresiva)
   Todo es decorativo: si el JS no corre, la web se ve perfecta.
   ============================================================ */

/* --- Kicker con guion editorial: "— EL ESTADO" --- */
.section-header { display: flex; align-items: center; gap: 0.7rem; }
.section-header::before {
  content: ""; width: 1.7rem; height: 1px;
  background: currentColor; opacity: 0.55; flex: 0 0 auto;
}

/* --- Tarjetas: foco de luz que sigue al cursor + elevacion suave --- */
.card { position: relative; isolation: isolate; overflow: hidden; }
.card > * { position: relative; z-index: 1; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
              rgba(59,117,154,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover::after { opacity: 1; }
.card:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: 0 22px 50px -28px rgba(0,0,0,0.9),
              0 0 0 1px rgba(59,117,154,0.10);
}

/* --- Botones: barrido de brillo al pasar + base para efecto magnetico --- */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%; z-index: 0; pointer-events: none;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent,
              rgba(255,255,255,0.28), transparent);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.btn--accent::after, .btn--ghost::after {
  background: linear-gradient(90deg, transparent,
              rgba(255,255,255,0.16), transparent);
}
.btn:hover::after { opacity: 1; animation: btnSheen 0.85s var(--ease); }
@keyframes btnSheen {
  from { left: -60%; }
  to   { left: 130%; }
}

/* --- Nav: subrayado que se dibuja + enlace activo de la seccion --- */
.nav__links a { position: relative; padding-bottom: 3px; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }

/* --- Timeline: la linea se dibuja segun bajas + nodo alcanzado --- */
.timeline__progress {
  position: absolute; left: 7.5rem; top: 0.5rem;
  width: 1px; height: calc(100% - 1rem);
  background: linear-gradient(var(--accent), rgba(59,117,154,0.25));
  transform: scaleY(0); transform-origin: top center;
  z-index: 1; pointer-events: none;
}
.timeline__item .timeline__body::before {
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease);
}
.timeline__item.is-reached .timeline__body::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(59,117,154,0.14);
}

/* --- Social: leve resplandor azul al pasar --- */
.red { position: relative; overflow: hidden; }
.red::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(59,117,154,0.18), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.red:hover::after { opacity: 1; }

/* --- KPIs: numeros sin salto de ancho al contar --- */
.kpi__num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .card::after, .btn::after, .red::after { display: none; }
  .nav__links a::after { transition: none; }
  .timeline__progress { transform: scaleY(1); }
}

/* --- Barra de progreso de lectura (fina, arriba del todo) --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--divider-2); /* track gris fijo (contraste para ver el avance) */
  pointer-events: none;
}
.scroll-progress__fill {
  height: 100%; width: 100%;
  background: var(--accent); /* progreso en azul */
  transform: scaleX(0); transform-origin: left center;
  box-shadow: 0 0 10px rgba(59,117,154,0.6);
}

/* --- Línea que se dibuja bajo cada título al revelarse --- */
.section-title { position: relative; }
.section-title::after {
  content: ""; display: block;
  width: 56px; height: 2px; margin-top: 1.1rem;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s var(--ease) 0.25s;
}
.section-title.is-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .section-title::after { transform: scaleX(1); transition: none; }
}

/* --- Títulos que se montan línea a línea (máscara + subida) --- */
.section-title.lines-ready {
  opacity: 1 !important; filter: none !important; transform: none !important;
}
.tl-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.tl-line__in { display: block; will-change: transform; }

/* --- Halo de cursor: punto de luz que sigue al ratón --- */
.cursor-halo {
  position: fixed; top: 0; left: 0; width: 24px; height: 24px;
  border-radius: 50%; pointer-events: none; z-index: 300;
  background: radial-gradient(circle, rgba(59,117,154,0.55), rgba(59,117,154,0) 68%);
  mix-blend-mode: screen;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s var(--ease);
  will-change: transform;
}
.cursor-halo.is-lg { width: 78px; height: 78px; }
@media (hover: none), (pointer: coarse) { .cursor-halo { display: none; } }

/* Alinear la línea de progreso del timeline con el track en móvil.
   (Su regla base —left:7.5rem— está en este bloque al final del CSS y pisaba
   el override de la media query de arriba; por eso se veía una raya paralela.) */
@media (max-width: 920px) { .timeline__progress { left: 7.5rem; } }
@media (max-width: 460px) { .timeline__progress { left: 5.6rem; } }


/* ============================================================
   TITULARES EN PLAYFAIR DISPLAY (brandbook NEYMUK)
   Serif, caja baja, peso 500. Cuerpo/kickers/etiquetas siguen en Inter.
   EXCEPCIÓN: el wordmark "PEAK BRAIN" del hero NO cambia (queda en Inter).
   ============================================================ */
.section-title,
.scrolly__cap,
.kpi__num,
.hero__tagline,
.big-quote,
.cta-amazon__title,
.fundadora__lead {
  font-family: var(--font-headline);
  font-weight: 500;
  letter-spacing: -0.005em;
}
/* La palabra-acento dentro de un titular mantiene la fuente del titular */
.scrolly__cap b { font-family: inherit; }
