/* ============================================================
   Semilla Sonora · v3 "Frecuencia × Eclipse" sobre paleta v1
   ------------------------------------------------------------
   Sistema dual-skin: contenido/estructura de v1 + lenguaje
   editorial de v2. Dos paletas conmutables vía [data-skin].
   ============================================================ */

/* ============================================================
   Fonts self-hosted — alineadas al brochure brand de Semilla Sonora.
   ------------------------------------------------------------
   · Noto Serif Display (variable wdth+wght, normal + italic)
     → reemplaza Instrument Serif. Coincide con el SemiCondensed
       del brochure brand.
   · Barlow (7 pesos estáticos 200-700, + italic)
     → reemplaza Manrope como sans body/UI.
   · JetBrains Mono (mantiene su lugar para labels técnicos).
   · Manrope + Instrument Serif quedan declaradas como FALLBACK
     adicional por si decidimos restaurar — los .woff2 siguen en disco.
   ============================================================ */

/* ---- NOTO SERIF DISPLAY (variable: wdth 62.5-100 · wght 100-900) ---- */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url('../fonts/noto-serif-display-variable.woff2') format('woff2-variations'),
       url('../fonts/noto-serif-display-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url('../fonts/noto-serif-display-italic-variable.woff2') format('woff2-variations'),
       url('../fonts/noto-serif-display-italic-variable.woff2') format('woff2');
}

/* ---- BARLOW (estáticos: 200 ExtraLight, 300 Light, 400 + italic, 500, 600, 700) ---- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/barlow-extralight.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/barlow-light.woff2')       format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-regular.woff2')     format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/barlow-italic.woff2')      format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-medium.woff2')      format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-semibold.woff2')    format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-bold.woff2')        format('woff2'); }

/* ---- JETBRAINS MONO (variable, mantiene su lugar) ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-variable.woff2') format('woff2-variations'),
       url('../fonts/jetbrains-mono-variable.woff2') format('woff2');
}

/* ---- FALLBACKS legacy (quedan disponibles pero NO en uso por default) ---- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
}

/* ============================================================
   TOKENS — paleta y tipografía
   El skin LIGHT (default) usa la paleta v1 aprobada por Gerardo.
   El skin DARK usa la paleta v2 "Nocturno Editorial".
   ============================================================ */

:root {
  /* Tipografía — alineada al brochure brand de Semilla Sonora.
     Si quieres restaurar las anteriores, swap a:
       --f-sans-alt:  'Manrope', system-ui, sans-serif;
       --f-serif-alt: 'Instrument Serif', Georgia, serif;
  */
  --f-sans:  'Barlow', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --f-serif: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --f-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --pad-x: clamp(20px, 4vw, 64px);
  --section-py: clamp(72px, 12vw, 140px);
  --maxw: 1440px;

  /* Radios y formas (estilo editorial cuadrado) */
  --r-pill: 999px;
  --r-card: 0;

  /* Transiciones */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
}

/* ============================================================
   SKIN LIGHT — paleta v1 (arena clara · olivo · dorado)
   Es el default (sin atributo data-skin o data-skin="light").
   ============================================================ */
:root,
[data-skin="light"] {
  --arena:       #F4EBD5;
  --arena-soft:  #FAF3E1;
  --arena-deep:  #E8DBC0;
  --dorado:      #B89A52;
  --dorado-soft: #D4B97A;
  --dorado-deep: #6E5825;   /* Text-accent: WCAG AA compliant sobre arena/arena-soft/arena-deep (5.5:1+) */
  --olivo:       #4A6051;
  --olivo-deep:  #38493D;
  --petroleo:    #3D6680;
  --marino:      #1D3A4F;
  --tierra:      #8B7355;

  /* Roles semánticos */
  --bg:         var(--arena);
  --bg-deep:    var(--arena-deep);
  --bg-alt:     var(--arena-soft);
  --panel:      #ffffff;
  --panel-2:    var(--arena-soft);
  --fg:         var(--marino);
  --fg-soft:    color-mix(in oklch, var(--marino) 75%, transparent);
  --fg-mute:    color-mix(in oklch, var(--marino) 55%, transparent);
  --accent:     var(--dorado);
  --accent-bright: var(--dorado-soft);
  --accent-text: var(--dorado-deep);   /* Para labels/tags/mono-tag pequeños sobre fondos claros */
  --line:       color-mix(in oklch, var(--olivo) 18%, transparent);
  --line-soft:  color-mix(in oklch, var(--olivo) 10%, transparent);
  --ok:         #4A8C5F;

  /* CTA verde "Semilla / WhatsApp" — shared en ambos skins */
  --cta:        #7BC79A;
  --cta-bright: #9DD6B2;
  --cta-deep:   #5FAE82;
  --cta-fg:     #0C2415; /* texto sobre verde — forest deep */

  /* Texto oscuro sobre dorado (secondary buttons) — warm-near-black */
  --gold-fg:    #1A1308;

  /* Sección "destacada" — invierte para contraste */
  --feature-bg: var(--olivo);
  --feature-fg: var(--arena-soft);
  --feature-accent: var(--dorado-soft);
}

/* ============================================================
   SKIN DARK — paleta v2 "Nocturno Editorial" (forest · crema · mostaza)
   Aplicar con <html data-skin="dark"> o toggle Alpine.
   ============================================================ */
[data-skin="dark"],
.is-forest {
  --bg:         #13201B;
  --bg-deep:    #0C1714;
  --bg-alt:     #0F1B17;
  --panel:      #1E2C25;
  --panel-2:    #243228;
  --fg:         #ECE2C9;
  --fg-soft:    #D4CAB1;
  --fg-mute:    #B0A78D;   /* Bumped desde #867F6E para pasar WCAG AA sobre panel #1E2C25 (4.5:1+) */
  --accent:     #E0B87D;   /* Bumped desde #C9A465 para pasar WCAG AA sobre bg dark */
  --accent-bright: #E2BE7A;
  --line:       #2E3A33;
  --line-soft:  #22322B;
  --ok:         #7BC79A;

  --feature-bg: var(--bg-deep);
  --feature-fg: var(--fg);
  --feature-accent: var(--accent-bright);
}

/* .is-forest aplica la paleta forest a CUALQUIER sección sin importar el skin global.
   Útil para footer + biblioteca preview que siempre quieren tono cinematográfico. */
.is-forest {
  background: var(--bg);
  color: var(--fg);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  font-feature-settings: 'ss01', 'ss02';
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Skip link a11y */
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--bg-deep); padding: 8px 16px; z-index: 9999; }
.skip:focus { left: 8px; top: 8px; }

/* ============================================================
   TIPOGRAFÍA — escala monumental editorial
   ============================================================ */
.display {
  font-family: var(--f-sans);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h1 { margin: 0; font-size: clamp(48px, 10vw, 144px); font-weight: 200; line-height: 0.86; letter-spacing: -0.04em; }
.h2 { margin: 0; font-size: clamp(36px, 6.5vw, 88px); font-weight: 200; line-height: 0.95; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { margin: 0; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; line-height: 1.05; letter-spacing: -0.015em; }
.h4 { margin: 0; font-size: clamp(18px, 2vw, 24px); font-weight: 400; line-height: 1.2; }

.serif    { font-family: var(--f-serif); font-style: normal; }
.serif-it { font-family: var(--f-serif); font-style: italic; }
.mono     { font-family: var(--f-mono); font-weight: 400; }

.mono-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.mono-tag--mute { color: var(--fg-mute); }

.lede {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 56ch;
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-py); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--feature {
  background: var(--feature-bg);
  color: var(--feature-fg);
  /* Override token semantic --fg-mute para que contraste correcto en fondos dark:
     por defecto es color-mix(marino,..) — inservible sobre marino. */
  --fg-mute: color-mix(in oklch, var(--feature-fg) 65%, transparent);
  --fg-soft: color-mix(in oklch, var(--feature-fg) 82%, transparent);
}

/* Sobre Gerardo — fondo marino fijo (Yayo eligió marino en round 3, 3/7/2026 tarde) */
.section--gerardo {
  --feature-bg: var(--marino);
  --feature-fg: var(--arena-soft);
  --feature-accent: var(--dorado-soft);
}

.gerardo-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.5);
  display: block;
}

.section--feature .mono-tag { color: var(--feature-fg); font-weight: 600; }
.section--feature .lede { color: color-mix(in oklch, var(--feature-fg) 92%, transparent); }

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   SECTION KICKER — título tradicional (eyebrow) arriba del h2
   Alternativa NO-editorial a .ss-rule (sin línea, sin § ni numeración).
   ============================================================ */
.section-kicker {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 4px;
}
.section-kicker--center { text-align: center; }
.section--feature .section-kicker { color: var(--feature-fg); font-weight: 600; }
.is-forest .section-kicker,
[data-skin="dark"] .section-kicker { color: var(--fg); font-weight: 600; }
.is-forest .mono-tag,
[data-skin="dark"] .mono-tag { color: var(--fg-soft); font-weight: 600; }
/* .dorado en secciones dark: swap del --dorado-deep oscuro al --accent (dorado claro) para pasar contraste sobre fondos dark */
.is-forest .dorado,
[data-skin="dark"] .dorado { color: var(--accent); }

/* ============================================================
   SECTION RULE — separador editorial § 0X — TITULO  · subtítulo
   ============================================================ */
.ss-rule {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
}
.ss-rule__l { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); }
.ss-rule__r { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { font-family: var(--f-mono); font-weight: 500; transition: transform var(--t-base); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--cta); color: var(--cta-fg); font-weight: 600; }
.btn--primary:hover { background: var(--cta-bright); color: var(--cta-fg); }
/* "Ghost" semánticamente es secundario; visualmente es dorado sólido con texto cuasi-negro. */
.btn--ghost { background: var(--accent); color: var(--gold-fg); border-color: transparent; font-weight: 600; }
.btn--ghost:hover { background: var(--accent-bright); color: var(--gold-fg); }
.btn--invert { background: var(--fg); color: var(--bg); }
.btn--invert:hover { background: var(--accent); color: var(--gold-fg); }
/* Hero btn: fuerza colores para que Lighthouse no lea el overlay como bg. */
.hero .btn--primary, .hero__ctas .btn--primary { background-color: var(--cta); color: var(--cta-fg); }
.hero .btn--ghost, .hero__ctas .btn--ghost { background-color: var(--accent); color: var(--gold-fg); }

/* ============================================================
   NAV (sticky top + backdrop-blur)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 76px; width: auto; }
.nav__brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__brand-text strong { font-weight: 500; letter-spacing: -0.01em; font-size: 15px; }
.nav__brand-text span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-mute); margin-top: 4px; }

.nav__links { display: none; align-items: center; gap: 32px; }
.nav__links a {
  font-family: var(--nav-font, var(--f-sans));
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--fg);
  position: relative;
  padding-block: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-base);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--accent); }
@media (min-width: 1024px) { .nav__links { display: flex; } }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Skin toggle widget (sun/moon) */
.skin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.skin-toggle:hover { border-color: var(--accent); color: var(--accent); }
.skin-toggle__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 30%, transparent);
}

/* Mobile nav hamburger */
.nav__burger {
  display: inline-flex; flex-direction: column; gap: 4px;
  padding: 10px;
}
@media (min-width: 1024px) { .nav__burger { display: none; } }
.nav__burger span { width: 22px; height: 1.5px; background: var(--fg); transition: transform var(--t-fast), opacity var(--t-fast); }

.nav__drawer {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px var(--pad-x) 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.nav__drawer a { font-family: var(--nav-font, var(--f-sans)); font-weight: 500; font-size: 17px; letter-spacing: -0.005em; color: var(--fg); padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.nav__drawer.is-open { display: flex; }
@media (min-width: 1024px) { .nav__drawer { display: none !important; } }

/* ============================================================
   HERO — slider con 2 slides
   ============================================================ */
/* El hero siempre vive en su propio universo "cinematográfico oscuro"
   independientemente del skin — convención editorial. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 72vh, 720px);
  overflow: hidden;
  background: #0C1714;
  --hero-cream: #F4EBD5;
  --hero-gold:  #D4B97A;
  --hero-deep:  #0C1714;
}
/* Slides stacked en grid (no absolute) → el hero crece con el contenido del slide. */
.hero__slides {
  display: grid;
  grid-template-areas: "slide";
  position: relative;
  z-index: 0;
}
.hero__slide {
  grid-area: slide;
  display: grid;
  opacity: 1;
  transition: opacity 1.2s ease;
  pointer-events: auto;
  min-height: inherit;
  z-index: 1;
}
/* Invert: slides render visible por defecto (LCP no espera Alpine).
   Alpine añade .is-inactive a los no-activos para hacer el fade-out. */
.hero__slide.is-inactive { opacity: 0; pointer-events: none; z-index: 0; }

.hero__bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__bg img, .hero__bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(12, 23, 20, 0.30) 0%,
      rgba(12, 23, 20, 0.50) 60%,
      rgba(12, 23, 20, 0.75) 100%),
    linear-gradient(90deg,
      rgba(12, 23, 20, 0.55) 0%,
      rgba(12, 23, 20, 0.10) 55%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 8vw, 96px);
  color: var(--hero-cream);
  width: 100%;
  align-self: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px); }
}

.hero__text { max-width: 720px; }
.hero__pre { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.hero__pre .mono-tag { color: #D4B97A; }
.hero__pre .mono-tag--mute { color: rgba(244, 235, 213, 0.55); }
.hero__h1 {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--hero-cream);
}
.hero__h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 128px);
  letter-spacing: -0.015em;
  color: var(--hero-gold);
  display: inline-block;
  line-height: 0.88;
  vertical-align: baseline;
  margin-inline: 0.06em;
}
.hero__lede {
  margin-top: 22px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: rgba(244, 235, 213, 0.85);
  max-width: 48ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__meta {
  display: grid; gap: 12px;
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  max-width: 520px;
}
.hero__meta-block {
  border-top: 1px solid rgba(244, 235, 213, 0.18);
  padding-top: 10px;
}
.hero__meta-block dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(244, 235, 213, 0.5); margin-bottom: 4px; }
.hero__meta-block dd { margin: 0; font-size: 14px; color: rgba(244, 235, 213, 0.92); }

/* Slide controls */
.hero__nav {
  position: absolute;
  bottom: 24px;
  right: var(--pad-x);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244, 235, 213, 0.35);
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero__nav-dot.is-active { background: #D4B97A; transform: scale(1.4); }
.hero__nav-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 235, 213, 0.55); }

/* ============================================================
   ECLIPSE — foto circular + anillos animados
   ============================================================ */
.eclipse {
  position: relative;
  aspect-ratio: 1 / 1;
  width: clamp(280px, 38vw, 460px);
  margin-inline: auto;
  isolation: isolate;
}
.eclipse__photo {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 4px rgba(244, 235, 213, 0.08),
    inset 0 0 0 5px rgba(184, 154, 82, 0.35),
    0 30px 80px -30px rgba(0,0,0,0.6);
}
.eclipse__photo img, .eclipse__photo video {
  width: 100%; height: 100%; object-fit: cover;
}
.eclipse__rings {
  position: absolute; inset: -8%;
  pointer-events: none;
  z-index: 1;
}
.eclipse__rings svg { width: 100%; height: 100%; display: block; animation: ss-rotate 240s linear infinite; }
.eclipse__rings circle, .eclipse__rings line { fill: none; stroke: rgba(212, 185, 122, 0.45); stroke-width: 0.5; }
.eclipse__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 185, 122, 0.3);
  animation: ss-pulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.eclipse__pulse--2 { animation: ss-pulse-soft 9s ease-in-out infinite alternate; inset: -6%; border-color: rgba(212, 185, 122, 0.18); }
.eclipse__compass {
  position: absolute; inset: 0;
  pointer-events: none;
}
.eclipse__compass span {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(244, 235, 213, 0.6);
}
.eclipse__compass span:nth-child(1) { top: -22px; left: 50%; transform: translateX(-50%); }
.eclipse__compass span:nth-child(2) { right: -34px; top: 50%; transform: translateY(-50%); }
.eclipse__compass span:nth-child(3) { bottom: -22px; left: 50%; transform: translateX(-50%); }
.eclipse__compass span:nth-child(4) { left: -34px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   MARQUEE · banda navy con composición tipográfica variada por frase.
   Mimica el ritmo del hero (Barlow ExtraLight + serif italic dorado).
   ============================================================ */
.marquee {
  background: #1B2620;
  padding-block: 26px;
  overflow: hidden;
  border: 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: ss-marquee 80s linear infinite;
  will-change: transform;
}
.marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1;
}
.mq-w { letter-spacing: -0.01em; }
.mq-w--thin   { font-family: 'Barlow', sans-serif; font-weight: 200; color: #F4EBD5; }
.mq-w--bold   { font-family: 'Barlow', sans-serif; font-weight: 700; color: #F4EBD5; letter-spacing: -0.02em; }
.mq-w--gold   { font-family: 'Barlow', sans-serif; font-weight: 200; color: #D4B97A; }
.mq-w--bgold  { font-family: 'Barlow', sans-serif; font-weight: 700; color: #D4B97A; letter-spacing: -0.02em; }
.mq-w--sgold  { font-family: 'Noto Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: #D4B97A; letter-spacing: -0.005em; }
.mq-w--sgreen { font-family: 'Noto Serif Display', Georgia, serif; font-style: italic; font-weight: 400; color: var(--cta, #7BC79A); letter-spacing: -0.005em; }
.mq-sep {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-style: italic;
  color: rgba(244, 235, 213, 0.28);
  margin-inline: 0.4em 0;
  font-size: 0.85em;
}

/* ============================================================
   SERVICE ROW — card editorial sobre fondo feature
   imagen | copy+cta · cada row con tono arena distinto
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--arena);
  color: var(--marino);
  margin-top: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 0 color-mix(in oklch, #000 6%, transparent),
              0 18px 40px -28px color-mix(in oklch, #000 60%, transparent);
}
.service-row + .service-row { margin-top: clamp(20px, 2.5vw, 32px); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1.1fr 1.4fr; align-items: stretch; }
}
.service-row__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  align-self: stretch;
}

/* Variantes de altura — togglable con [data-cards] en la sección padre.
   compact (default): foto más panorámica + padding reducido.
   medium: tamaño anterior, espacioso. */
[data-cards="compact"] .service-row__img { aspect-ratio: 16 / 9; }
[data-cards="compact"] .service-row__copy { padding: clamp(18px, 2.2vw, 28px); gap: 8px; }
[data-cards="compact"] .service-row__copy h3 { font-size: clamp(20px, 2vw, 26px); }
[data-cards="compact"] .service-row__copy p { font-size: 14px; line-height: 1.5; }
[data-cards="compact"] .service-row + .service-row { margin-top: clamp(14px, 1.6vw, 22px); }
@media (min-width: 900px) {
  [data-cards="compact"] .service-row { grid-template-columns: 0.9fr 1.5fr; }
  [data-cards="compact"] .service-row__img { aspect-ratio: auto; }
}

[data-cards="medium"] .service-row__copy { padding: clamp(22px, 2.8vw, 36px); gap: 12px; }
[data-cards="medium"] .service-row__copy h3 { font-size: clamp(22px, 2.2vw, 28px); }
@media (min-width: 900px) {
  [data-cards="medium"] .service-row__img { aspect-ratio: auto; }
}
.service-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-row__copy {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.service-row__copy h3 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; margin: 0; letter-spacing: -0.015em; color: var(--marino); }
.service-row__copy h3 em { font-family: var(--f-serif); font-style: italic; color: var(--olivo); }
.service-row__copy p { margin: 0; color: color-mix(in oklch, var(--marino) 78%, transparent); line-height: 1.6; }
.service-row__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.15em; color: color-mix(in oklch, var(--marino) 75%, transparent); text-transform: uppercase; font-weight: 500; }
.service-row__cta { margin-top: 6px; }

/* variaciones de tono por fila — rítmo visual */
.service-row:nth-child(odd)  { background: var(--arena-soft); }
.service-row:nth-child(even) { background: var(--arena); }
.service-row:nth-child(3n)   { background: var(--arena-deep); }

/* ============================================================
   BENEFIT — 3 cards cuerpo/mente/emoción, tonos distintos
   ============================================================ */
.benefit {
  padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 36px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--arena-soft);
}
.benefit:nth-child(1) { background: color-mix(in oklch, var(--olivo) 10%, var(--arena)); }
.benefit:nth-child(2) { background: color-mix(in oklch, var(--marino) 8%, var(--arena)); }
.benefit:nth-child(3) { background: color-mix(in oklch, var(--dorado) 16%, var(--arena)); }
.benefit__icon {
  margin-bottom: 10px;
  width: clamp(110px, 11vw, 150px);
  height: clamp(110px, 11vw, 150px);
  color: var(--accent);
  overflow: visible;
}

/* Ripple — ondas concéntricas tipo gota de agua */
.ripple .ripple__drop { fill: currentColor; stroke: none; }
.ripple .ripple__wave {
  transform-origin: 28px 28px;
  transform-box: fill-box;
  animation: ripple-wave 3.9s linear infinite;
  opacity: 0;
}
@keyframes ripple-wave {
  0%   { r: 3;  opacity: 0; stroke-width: 1.6; }
  8%   { opacity: 0.9; }
  100% { r: 26; opacity: 0; stroke-width: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .ripple .ripple__wave { animation: none; opacity: 0.55; }
  .ripple .ripple__wave:nth-of-type(2) { r: 10; }
  .ripple .ripple__wave:nth-of-type(3) { r: 18; }
  .ripple .ripple__wave:nth-of-type(4) { r: 25; }
}
.benefit h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3vw, 38px); margin: 0 0 14px; color: var(--accent); }
.benefit p { margin: 0 0 18px; color: var(--fg-soft); }
.benefit ul { list-style: none; padding: 0; margin: 0; }
.benefit ul li { padding-block: 6px; font-size: 14px; color: var(--fg-soft); display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.benefit ul li::before { content: "—"; color: var(--accent); font-family: var(--f-mono); }

/* Variante DARK · cards marino con ícono+título en dorado, texto y bullets en blanco.
   Inspirado en la propuesta v2 "Frecuencia × Eclipse". */
.benefit--dark {
  background: var(--marino) !important;
  color: var(--arena-soft);
  text-align: left;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.6vw, 32px);
  border-radius: 12px;
}
.benefit--dark .benefit__icon {
  width: clamp(48px, 4.5vw, 64px);
  height: clamp(48px, 4.5vw, 64px);
  color: var(--dorado-soft);
  margin-bottom: 18px;
}
.benefit--dark .benefit__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--arena-soft) 78%, transparent);
  margin: 0 0 8px;
}
.benefit--dark h3 {
  color: var(--dorado-soft);
  font-family: var(--f-sans);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.benefit--dark h3 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--dorado-soft);
}
.benefit--dark ul { display: grid; gap: 6px; }
.benefit--dark ul li {
  font-size: 14px;
  color: rgba(244, 235, 213, 0.88);
  justify-content: flex-start;
  padding-block: 4px;
}
.benefit--dark ul li::before { content: "·"; color: var(--dorado-soft); font-size: 18px; line-height: 0.6; }

/* Cancela el tinte rítmico (nth-child) cuando estamos en variante dark. */
.benefits--dark .benefit:nth-child(1),
.benefits--dark .benefit:nth-child(2),
.benefits--dark .benefit:nth-child(3) { background: var(--marino); }

/* ============================================================
   CARTEL GERARDO · imagen rectangular (sin mascarilla circular)
   ============================================================ */
.cartel-gerardo {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.45),
              0 1px 0 rgba(0,0,0,0.08);
}
.cartel-gerardo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   QUOTE CARD — testimonios
   ============================================================ */
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
}
.quote__mark { font-family: var(--f-serif); font-style: italic; font-size: 56px; line-height: 0.6; color: var(--accent); margin-bottom: -16px; }
.quote__text { font-family: var(--f-serif); font-style: italic; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; color: var(--fg); margin: 0; }
.quote__meta { display: flex; flex-direction: column; gap: 4px; }
.quote__meta strong { font-family: var(--f-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; }
.quote__meta span { font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--fg-mute); }

/* TESTIMONIOS · carrusel auto-rotante slide lateral, paleta v1 arena+serif (v3.2.0) */
/* Restructura Yayo 3 jul 2026: aside ornamento sale del container → hijo directo de <section> → flex-row a nivel section para stretch full height */
.testimonios-section {
  background: var(--arena-soft);
  padding-block: 0; /* anular el padding-block heredado de .section — se mueve al .testimonios-body */
}

.testimonios-body {
  padding-block: var(--section-py);
}

.testimonios-carousel {
  max-width: 760px;
  margin: 32px auto 0;
  width: 100%;
  text-align: center;
}

.testimonios-ornament { display: none; }
@media (min-width: 900px) {
  .testimonios-section {
    display: flex;
    align-items: stretch;
  }
  .testimonios-body {
    flex: 1;
    min-width: 0;
  }
  .testimonios-ornament {
    display: flex;
    flex: 0 0 520px;
    justify-content: center;
    align-items: stretch;
  }
  .testimonios-ornament img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
  }
}

.testimonios-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.testimonios-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonios-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
}

.testimonios-carousel__slide blockquote {
  margin: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--marino, var(--fg));
  text-wrap: balance;
  position: relative;
}

.testimonios-carousel__slide blockquote::before {
  content: '\201C';
  display: block;
  font-style: normal;
  font-family: var(--f-serif);
  font-size: 5em;
  line-height: 0.25;
  color: var(--accent);
  margin-bottom: 0.25em;
}

.testimonios-carousel__slide figcaption {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.testimonios-carousel__slide figcaption strong {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marino, var(--fg));
}

.testimonios-carousel__slide figcaption span {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  color: color-mix(in oklch, var(--marino) 78%, transparent);
}

.testimonios-carousel__dots {
  display: flex; gap: 10px; justify-content: center; margin-top: 24px;
}
.testimonios-carousel__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--marino) 30%, transparent);
  background: transparent;
  padding: 0; cursor: pointer;
  transition: background 250ms ease, transform 250ms ease, border-color 250ms ease;
}
.testimonios-carousel__dot:hover { transform: scale(1.25); }
.testimonios-carousel__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   TRACK CARD — biblioteca de audios
   ============================================================ */
.track {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: border-color var(--t-fast);
}
.track:hover { border-color: var(--accent); }
.track__n { font-family: var(--f-mono); font-size: 12px; color: var(--fg-mute); letter-spacing: 0.15em; }
.track__info h3 { font-family: var(--f-sans); font-weight: 400; font-size: 15px; margin: 0 0 4px; }
.track__info .mono-tag { letter-spacing: 0.2em; font-size: 10px; color: var(--fg-mute); }
.track__wave { grid-column: 1 / -1; margin-top: 12px; height: 32px; display: flex; align-items: end; gap: 2px; opacity: 0.7; }
.track__wave span { flex: 1; background: var(--accent); }
.track__play {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background var(--t-fast), color var(--t-fast);
}
.track__play:hover { background: var(--accent); color: var(--bg-deep); }

/* ============================================================
   RETREAT FEATURE
   ============================================================ */
.retreat-f {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.retreat-f__icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 18px; }
.retreat-f h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 28px); margin: 0 0 12px; color: var(--accent-text); }
.retreat-f ul li { padding-block: 5px; font-size: 14px; color: var(--fg-soft); }
.retreat-f ul li::before { content: "·  "; color: var(--accent); }

/* ============================================================
   CTA FINAL — rings concéntricos
   ============================================================ */
.cta-final {
  position: relative;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
  isolation: isolate;
  background: var(--bg-alt);
  overflow: hidden;
}
.cta-final__rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  align-content: center;
  z-index: -1;
  pointer-events: none;
}
.cta-final__rings svg { width: min(900px, 130%); height: auto; opacity: 0.42; overflow: visible; transform: translateY(-6%); }
.cta-final__rings circle { fill: none; stroke: var(--accent); stroke-width: 1; }
.cta-final__drop { fill: var(--accent); stroke: none; opacity: 0.7; }
.cta-final__wave {
  opacity: 0;
  animation: cta-ripple 11.2s linear infinite;
  transform-origin: 300px 300px;
}
@keyframes cta-ripple {
  0%   { r: 24;  opacity: 0;   stroke-width: 1.6; }
  6%   { opacity: 0.38; }
  100% { r: 400; opacity: 0;   stroke-width: 0.15; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-final__wave { animation: none; opacity: 0.3; }
}
.cta-final h2 { font-family: var(--f-sans); font-weight: 200; font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 auto 24px; max-width: 18ch; }
.cta-final h2 em { font-family: var(--f-serif); font-style: italic; color: var(--accent-text); }
.cta-final p { max-width: 56ch; margin: 0 auto 36px; color: var(--fg-soft); }
.cta-final__ctas { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   FOOTER — 4 cols editorial
   ============================================================ */
.site-footer {
  background: var(--bg-deep);
  color: color-mix(in oklch, var(--fg) 80%, transparent);
  padding-block: clamp(56px, 7vw, 96px) 32px;
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--accent); margin: 0 0 16px; max-width: 30ch; }
.site-footer__brand .mono-tag { color: var(--fg-mute); }

.site-footer__col h2 { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dorado-soft); margin: 0 0 18px; }
.site-footer__col ul li { padding-block: 5px; font-size: 14px; }
.site-footer__col ul li a { color: color-mix(in oklch, var(--fg) 78%, transparent); }
.site-footer__col ul li a:hover { color: var(--accent); }

.site-footer__bottom {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.site-footer__bottom small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  width: 56px; height: 56px;
  background: var(--cta);
  color: var(--cta-fg);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
  transition: transform var(--t-fast), background var(--t-fast);
}
.fab-wa:hover { background: var(--cta-bright); color: var(--cta-fg); transform: translateY(-2px); }
.fab-wa svg { width: 26px; height: 26px; }

/* ============================================================
   ANIMACIONES (todas respetan prefers-reduced-motion abajo)
   ============================================================ */
@keyframes ss-pulse {
  from { transform: scale(1);    opacity: 0.35; }
  to   { transform: scale(1.08); opacity: 0;    }
}
@keyframes ss-pulse-soft {
  from { transform: scale(1);    opacity: 0.22; }
  to   { transform: scale(1.05); opacity: 0;    }
}
@keyframes ss-rotate     { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ss-rotate-rev { from { transform: rotate(360deg); } to { transform: rotate(0); } }
@keyframes ss-marquee    { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}

/* ============================================================
   UTILS
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.muted { color: var(--fg-mute); }
.dorado { color: var(--accent-text); }
