/* ============================================================
   RED MAESTRA — Design System
   Santuario virtual cálido devocional
   ============================================================ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Base — marrón cálido cósmico */
  --base: #1A0F08;
  --base-deep: #0F0805;
  --surface: #2A1810;
  --surface-elev: #3A2418;

  /* Doros ceremoniales */
  --gold: #D4A744;
  --gold-bright: #F4D88A;
  --gold-deep: #8B6914;
  --gold-soft: rgba(212, 167, 68, 0.15);

  /* Acentos cálidos */
  --amber: #C47A2E;
  --mystic-purple: #5B3D6F;
  --devotional-red: #7C2329;

  /* Textos */
  --text: #F8F0DC;
  --text-soft: #C9B79C;
  --text-mute: #7A6D55;

  /* Estructura */
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombras doradas */
  --shadow-gold: 0 0 40px rgba(212, 167, 68, 0.25);
  --shadow-gold-strong: 0 0 80px rgba(212, 167, 68, 0.45);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.4);

  /* Espacios sagrados (proporciones áureas suaves) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.618rem;
  --space-4: 2.618rem;
  --space-5: 4.236rem;
  --space-6: 6.854rem;

  /* Tipografía */
  --font-display: 'Cinzel', 'Cormorant Garamond', serif;
  --font-ornament: 'Cormorant Garamond', serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions ceremoniales (lentas, no tech) */
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container: 1240px;
  --container-narrow: 880px;
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Eliminar el highlight azul nativo de iOS al tap */
  -webkit-tap-highlight-color: transparent;
}

/* Nada se puede seleccionar ni copiar en todo el sitio */
html, body, * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Excepciones: solo inputs y textareas (donde el usuario escribe) */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

html, body {
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
}

/* Cualquier sección no puede causar scroll horizontal */
section,
header,
footer,
main,
article,
aside {
  max-width: 100vw;
  overflow-x: clip;
}

/* Prevenir overflow horizontal en texto */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

/* Container nunca excede viewport */
.container {
  max-width: min(var(--container), 100vw);
}

.container-narrow {
  max-width: min(var(--container-narrow), 100vw);
}

body {
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top, rgba(212, 167, 68, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(91, 61, 111, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* Bloquear menú nativo de iOS al mantener presionada una imagen */
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Backgrounds atmosféricos también — no se pueden seleccionar ni guardar */
.hero-bg-image,
.page-hero-bg,
.mem-hero-bg,
.audio-cinematic-bg,
.portal-bg,
.cta-bg,
.ritual-bg,
.prima-bg,
.pricing-bg,
.linaje-bg,
.login-bg,
.iniciacion-bg,
.pilar-card-image,
.pilar-extendido-image,
.taller-thumb {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* SVG inline también */
svg {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Excepto los SVGs de botones clickeables — esos sí pasan eventos */
button svg,
a svg {
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  background: none;
  border: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* ─── TIPOGRAFÍA SAGRADA ─── */
.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--space-2);
  display: inline-block;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--text);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--text);
}

h3, .h3 {
  font-family: var(--font-ornament);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1.25;
  color: var(--gold-bright);
}

h4 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  color: var(--text-soft);
  max-width: 65ch;
}

.lead {
  font-family: var(--font-ornament);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

.gold {
  color: var(--gold) !important;
}

.gold-bright {
  color: var(--gold-bright) !important;
}

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-6) 0;
  position: relative;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  margin: var(--space-5) auto;
  max-width: 400px;
}

.center {
  text-align: center;
}

/* ─── BOTONES CEREMONIALES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1rem 2.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: var(--base);
  box-shadow: var(--shadow-gold);
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 0.95rem;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  background: linear-gradient(180deg, rgba(15, 8, 5, 0.85) 0%, rgba(15, 8, 5, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 8, 5, 0.95);
  border-bottom: 1px solid var(--gold-soft);
  padding: 0.8rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand span {
  white-space: nowrap;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 12px rgba(212, 167, 68, 0.6));
  /* Elimina el fondo blanco del PNG y solo deja el dorado visible */
  mix-blend-mode: lighten;
}

.nav-menu {
  display: flex;
  gap: var(--space-3);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: var(--gold-bright);
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-actions .btn {
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   MOBILE MENU TOGGLE (hamburger) — fixed independiente
   ════════════════════════════════════════════════════════════ */
.menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 8, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  cursor: pointer;
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition);
}

.menu-toggle:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.menu-toggle.open .menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════
   MOBILE MENU OVERLAY
   ════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 5, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--space-3) var(--space-4);
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

.mobile-menu-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open .mobile-menu-list li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu-list li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-list a {
  display: block;
  padding: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 167, 68, 0.1);
  transition: all var(--transition);
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
  color: var(--gold-bright);
  background: rgba(212, 167, 68, 0.05);
  letter-spacing: 0.1em;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  align-items: stretch;
  padding-top: var(--space-2);
  border-top: 1px solid var(--gold-soft);
}

.mobile-menu-actions a {
  text-align: center;
  padding: 0.9rem 1.5rem;
}

.mobile-menu-actions .login-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-pill);
  background: transparent;
}

.mobile-menu-actions .btn {
  width: 100%;
}

.mobile-menu-social {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-2);
}

.mobile-menu-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 167, 68, 0.06);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.mobile-menu-social a:hover {
  background: var(--gold);
  color: var(--base);
}

body.menu-open {
  overflow: hidden;
}

/* Mostrar hamburger en mobile, ocultar nav y actions desktop */
@media (max-width: 968px) {
  .menu-toggle { display: flex; }
  .nav-menu { display: none; }
  .header-actions { display: none; }
}

.login-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.5rem 1rem;
}

.login-link:hover {
  color: var(--gold);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-5);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(212, 167, 68, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(91, 61, 111, 0.08) 0%, transparent 40%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 0 var(--space-3);
}

/* HERO emblem wrapper — mismo sistema vivo que esencia */
.hero-emblem-wrap {
  width: 240px;
  height: 240px;
  margin: 0 auto var(--space-3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  cursor: pointer;
}

.hero-emblem {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: sacred-breath 6s ease-in-out infinite;
  mix-blend-mode: lighten;
  transition: filter 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
  margin-bottom: var(--space-3);
}

.hero-subtitle {
  font-family: var(--font-ornament);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-style: italic;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto var(--space-4);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-audio-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-audio-prompt:hover {
  background: var(--gold-soft);
  color: var(--gold-bright);
}

/* HERO MICRO-STATS */
.hero-stats {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero-stat-number sup {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.1em;
  color: var(--gold);
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-stat-divider {
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.6rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: bounce-soft 2.4s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounce-soft {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ─── PATH SELECTOR (4 cards) ─── */
.paths {
  background: linear-gradient(180deg, transparent 0%, var(--base-deep) 100%);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.path-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elev) 100%);
  border: 1px solid rgba(212, 167, 68, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 167, 68, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.path-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.path-card:hover::before {
  opacity: 1;
}

.path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-2);
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(212, 167, 68, 0.55));
  transition: all var(--transition);
}

.path-icon svg {
  width: 100%;
  height: 100%;
}

.path-card:hover .path-icon {
  color: var(--gold-bright);
  transform: scale(1.08);
  filter: drop-shadow(0 0 22px rgba(244, 216, 138, 0.8));
}

/* Las ondas del ícono de música respiran sutilmente */
.path-card .path-icon svg path[d^="M16 24"],
.path-card .path-icon svg path[d^="M32 24"],
.path-card .path-icon svg path[d^="M10 24"],
.path-card .path-icon svg path[d^="M38 24"] {
  transform-origin: center;
  animation: icon-soft-pulse 4s ease-in-out infinite;
}

@keyframes icon-soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.path-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.path-desc {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: var(--space-2);
  max-width: none;
}

.path-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.path-cta::after {
  content: '→';
  transition: transform var(--transition);
}

.path-card:hover .path-cta::after {
  transform: translateX(6px);
}

/* Path featured (la membresía) */
.path-featured {
  border-color: rgba(212, 167, 68, 0.5);
  background: linear-gradient(135deg, var(--surface-elev) 0%, var(--surface) 60%, rgba(212, 167, 68, 0.08) 100%);
  position: relative;
}

.path-featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.path-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 167, 68, 0.18);
  border: 1px solid var(--gold-soft);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  z-index: 2;
}

/* Tag pequeño para las path cards no destacadas */
.path-tag-mini {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(212, 167, 68, 0.06);
  border: 1px solid rgba(212, 167, 68, 0.18);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  z-index: 2;
}

/* Divider ornamental ceremonial */
.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 480px;
  padding: var(--space-4) 0;
}

.ornamental-divider::before,
.ornamental-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.ornamental-divider-symbol {
  color: var(--gold);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(212, 167, 68, 0.4));
}

.path-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: var(--space-2);
  padding: 0.7rem 0;
  border-top: 1px solid rgba(212, 167, 68, 0.12);
  border-bottom: 1px solid rgba(212, 167, 68, 0.12);
  position: relative;
  z-index: 1;
}

.path-format {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.path-price {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* ════════════════════════════════════════════════════════════
   CÓMO FUNCIONA (3 pasos)
   ════════════════════════════════════════════════════════════ */

.como-funciona {
  background: var(--base-deep);
  position: relative;
}

.como-funciona::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
  position: relative;
}

/* Línea conectora entre los pasos */
.pasos-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, var(--gold-soft) 80%, transparent);
  z-index: 0;
}

.paso {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 var(--space-2);
}

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elev) 100%);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-bright);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-gold);
  position: relative;
}

.paso-numero::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(212, 167, 68, 0.2);
  border-radius: 50%;
}

.paso-titulo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.paso-texto {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .pasos-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .pasos-grid::before { display: none; }
  .hero-stats { gap: var(--space-2); }
}

/* ─── ESENCIA SECTION ─── */
.esencia {
  position: relative;
}

.esencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.esencia-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   SISTEMA DE EMBLEMA VIVO — reutilizable
   Funciona en cualquier .living-emblem (hero, esencia, etc)
   ════════════════════════════════════════════════════════════ */

/* Aura base — 2 ondas concéntricas siempre visibles */
.living-emblem::before,
.living-emblem::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 167, 68, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: aura-ripple 6s ease-out infinite;
  transition: border-color 1.2s ease;
}

.living-emblem::after {
  animation-delay: 3s;
}

/* Auras extra (3) — solo en hover */
.aura-extra {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 216, 138, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.living-emblem:hover .aura-extra-1 {
  animation: aura-ripple-strong 2.5s ease-out infinite;
  animation-delay: 0.4s;
}

.living-emblem:hover .aura-extra-2 {
  animation: aura-ripple-strong 2.5s ease-out infinite;
  animation-delay: 1.2s;
}

.living-emblem:hover .aura-extra-3 {
  animation: aura-ripple-strong 2.5s ease-out infinite;
  animation-delay: 2s;
}

/* Hover acelera las auras base también */
.living-emblem:hover::before,
.living-emblem:hover::after {
  animation-duration: 2.5s;
  border-color: rgba(244, 216, 138, 0.65);
}

.living-emblem:hover::after {
  animation-delay: 1.25s;
}

/* Wrapper de crecimiento progresivo — solo el outer scale */
.emblem-grow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

.living-emblem:hover .emblem-grow {
  transform: scale(1.12);
}

/* ════════════════════════════════════════════════════════════
   ANIMACIONES
   ════════════════════════════════════════════════════════════ */

@keyframes aura-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    border-width: 1.5px;
  }
  25% {
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
    border-width: 1px;
  }
}

@keyframes aura-ripple-strong {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    border-width: 1.5px;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
    border-width: 0.5px;
  }
}

/* ════════════════════════════════════════════════════════════
   EMBLEMA — respiración sagrada
   ════════════════════════════════════════════════════════════ */

.esencia-emblem {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: sacred-breath 6s ease-in-out infinite;
  mix-blend-mode: lighten;
  transition: filter 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.living-emblem:hover .esencia-emblem,
.living-emblem:hover .hero-emblem {
  animation: sacred-breath-deep 2.5s ease-in-out infinite;
}

@keyframes sacred-breath {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 40px rgba(212, 167, 68, 0.35));
  }
  50% {
    transform: scale(1.035);
    filter: drop-shadow(0 0 70px rgba(212, 167, 68, 0.6));
  }
}

@keyframes sacred-breath-deep {
  0%, 100% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 60px rgba(244, 216, 138, 0.7));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 100px rgba(244, 216, 138, 0.95));
  }
}

/* ════════════════════════════════════════════════════════════
   PARTÍCULAS DORADAS (creadas por JS en hover)
   ════════════════════════════════════════════════════════════ */

.aura-particle {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #F4D88A 0%, rgba(212, 167, 68, 0.8) 40%, transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(244, 216, 138, 0.9));
  will-change: transform, opacity;
}

/* ════════════════════════════════════════════════════════════
   SCROLL PROGRESS dorado arriba
   ════════════════════════════════════════════════════════════ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  z-index: 200;
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(244, 216, 138, 0.6);
}

/* ════════════════════════════════════════════════════════════
   TOAST ceremonial — reemplaza alert()
   ════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, rgba(26, 15, 8, 0.95), rgba(42, 24, 16, 0.95));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-3);
  min-width: 320px;
  max-width: 420px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(212, 167, 68, 0.25);
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  transform: translateX(400%);
  opacity: 0;
  animation: toast-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.toast.toast-out {
  animation: toast-out 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-in {
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
  to { transform: translateX(400%); opacity: 0; }
}

.toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 167, 68, 0.15);
  border: 1px solid var(--gold-soft);
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(244, 216, 138, 0.4));
}

.toast-body {
  flex: 1;
  padding-top: 4px;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.toast-message {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-mute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.toast-close:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
}

@media (max-width: 640px) {
  .toast-container {
    top: 80px;
    right: 12px;
    left: 12px;
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════
   REVEAL animation VARIATIONS — más ritmo visual
   ════════════════════════════════════════════════════════════ */

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Smooth scroll offset ajustado */
html {
  scroll-padding-top: 100px;
}

/* ════════════════════════════════════════════════════════════
   HOVER ZOOM en imágenes de cards
   ════════════════════════════════════════════════════════════ */

.pilar-card-image {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.pilar-card:hover .pilar-card-image {
  transform: scale(1.08);
}

.taller-thumb {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.taller-card:hover .taller-thumb {
  transform: scale(1.05);
}

.pilar-extendido-image {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pilar-extendido:hover .pilar-extendido-image {
  transform: scale(1.06);
}

/* ════════════════════════════════════════════════════════════
   PARALLAX en backgrounds — notable
   ════════════════════════════════════════════════════════════ */

.parallax-bg {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.25);
  will-change: transform;
}

/* ════════════════════════════════════════════════════════════
   SECCIÓN HELPERS — intros, separadores
   ════════════════════════════════════════════════════════════ */

.section-intro {
  max-width: 720px;
  margin: 0 auto var(--space-5);
}

.section-intro h2 {
  margin-bottom: var(--space-2);
}

.section-intro .lead {
  margin-top: 1.2rem;
}

/* ════════════════════════════════════════════════════════════
   HERO CINEMATOGRÁFICO — con imagen atmosférica de fondo
   ════════════════════════════════════════════════════════════ */

.hero-cinematic {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.55) saturate(1.1);
  animation: hero-image-breath 20s ease-in-out infinite;
}

@keyframes hero-image-breath {
  0%, 100% { filter: brightness(0.55) saturate(1.1); }
  50% { filter: brightness(0.62) saturate(1.2); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(26, 15, 8, 0.4) 0%, rgba(15, 8, 5, 0.85) 70%, var(--base) 100%),
    linear-gradient(180deg, rgba(15, 8, 5, 0.4) 0%, rgba(15, 8, 5, 0.9) 100%);
}

.hero-cinematic .hero-particles {
  z-index: 2;
}

.hero-cinematic .hero-content {
  z-index: 3;
  position: relative;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.hero-cinematic .hero-emblem-wrap {
  margin: 0 auto var(--space-3);
}

/* ════════════════════════════════════════════════════════════
   PILARES VISUALES (sección 2) — cards con imagen
   ════════════════════════════════════════════════════════════ */

.pilares-visual {
  background: var(--base-deep);
  position: relative;
}

.pilares-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 1180px;
  margin: 0 auto;
}

.pilar-card {
  background: var(--surface);
  border: 1px solid rgba(212, 167, 68, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 4;
}

.pilar-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.pilar-card:hover::before {
  opacity: 1;
}

.pilar-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.pilar-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--surface) 100%);
}

.pilar-card-body {
  padding: var(--space-3);
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pilar-card-num {
  position: absolute;
  top: -32px;
  left: var(--space-3);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--base);
  border: 3px solid var(--base-deep);
  box-shadow: var(--shadow-gold);
  z-index: 5;
}

.pilar-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  margin: 1rem 0 0.7rem;
}

.pilar-card-text {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex: 1;
  max-width: none;
}

.pilar-card-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
  align-self: flex-start;
}

.pilar-card-link:hover {
  color: var(--gold-bright);
}

/* ════════════════════════════════════════════════════════════
   AUDIO CINEMATOGRÁFICO (sección 4)
   ════════════════════════════════════════════════════════════ */

.audio-cinematic {
  position: relative;
  padding: var(--space-6) 0;
  overflow: hidden;
}

.audio-cinematic-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.1);
  z-index: 0;
  transform: scale(1.05);
}

.audio-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(26, 15, 8, 0.5) 0%, var(--base-deep) 85%);
}

.audio-cinematic-content {
  position: relative;
  z-index: 2;
}

.audio-card-glass {
  background: rgba(42, 24, 16, 0.65) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 167, 68, 0.3) !important;
  position: relative;
  overflow: visible;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* PLAYING STATE — todo el card cobra vida */
.audio-card-glass.is-playing {
  border-color: var(--gold) !important;
  box-shadow:
    0 0 60px rgba(212, 167, 68, 0.3),
    0 0 120px rgba(212, 167, 68, 0.15),
    inset 0 0 80px rgba(212, 167, 68, 0.05);
}

/* Ondas circulares suaves detrás del card al reproducir */
.audio-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.18) 0%, rgba(212, 167, 68, 0.08) 40%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}

.audio-card-glass.is-playing .audio-ripple-1 {
  animation: audio-card-ripple 4s ease-out infinite;
}

.audio-card-glass.is-playing .audio-ripple-2 {
  animation: audio-card-ripple 4s ease-out infinite;
  animation-delay: 1.3s;
}

.audio-card-glass.is-playing .audio-ripple-3 {
  animation: audio-card-ripple 4s ease-out infinite;
  animation-delay: 2.6s;
}

@keyframes audio-card-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

/* Play button con respiración y glow al reproducir */
.audio-card-glass.is-playing .play-btn {
  animation: play-btn-pulse 1.5s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(244, 216, 138, 0.7),
    0 0 60px rgba(212, 167, 68, 0.4);
}

@keyframes play-btn-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(244, 216, 138, 0.6));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(244, 216, 138, 0.9));
  }
}

/* Título y meta glow when playing */
.audio-card-glass.is-playing .audio-title {
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(244, 216, 138, 0.4);
}

.audio-card-glass.is-playing .audio-badge {
  background: rgba(212, 167, 68, 0.3);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* WaveformFallback — visualizador de barras cuando WaveSurfer no carga */
.waveform-container {
  position: relative;
  min-height: 90px;
}

.waveform-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 0 var(--space-2);
  pointer-events: none;
}

.audio-card-glass.use-fallback .waveform-fallback {
  display: flex;
}

.audio-card-glass.use-fallback #waveform {
  display: none;
}

.waveform-bar {
  flex: 1;
  max-width: 4px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 2px;
  /* La forma del bar NUNCA cambia — height definido inline desde JS */
  opacity: 0.35;
  transition: opacity 0.6s ease;
}

.audio-card-glass.is-playing .waveform-bar {
  opacity: 0.95;
}

/* Barrido de luz horizontal — recorre el waveform sin deformarlo */
.waveform-container {
  position: relative;
  min-height: 90px;
  overflow: hidden;
}

.waveform-scanner {
  position: absolute;
  top: 0;
  left: -10%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244, 216, 138, 0.05) 30%,
    rgba(244, 216, 138, 0.3) 50%,
    rgba(244, 216, 138, 0.05) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: screen;
}

.audio-card-glass.is-playing .waveform-scanner {
  opacity: 1;
  animation: waveform-scan 6s linear infinite;
}

@keyframes waveform-scan {
  0% { left: -20%; }
  100% { left: 110%; }
}

/* Background image se intensifica al reproducir */
.audio-cinematic.audio-active .audio-cinematic-bg {
  filter: brightness(0.6) saturate(1.4);
  transform: scale(1.08);
  transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ════════════════════════════════════════════════════════════
   PORTAL CINEMATOGRÁFICO (sección 6 — Próximo Evento)
   ════════════════════════════════════════════════════════════ */

.portal-cinematic {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
}

.portal-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(1.1);
  z-index: 0;
  animation: hero-image-breath 30s ease-in-out infinite;
}

.portal-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--base-deep) 0%, rgba(15, 8, 5, 0.7) 50%, rgba(15, 8, 5, 0.4) 100%);
}

.portal-content {
  position: relative;
  z-index: 2;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.portal-info h2 {
  margin: 1rem 0;
}

.portal-features {
  list-style: none;
  margin: var(--space-3) 0;
  padding: var(--space-3);
  background: rgba(26, 15, 8, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.portal-features li {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212, 167, 68, 0.12);
}

.portal-features li:last-child {
  border-bottom: none;
}

.portal-visual {
  /* Espacio para que se aprecie la imagen de fondo */
  aspect-ratio: 1;
}

/* ════════════════════════════════════════════════════════════
   RITUAL LIBRE — Lead magnet con CTA a WhatsApp
   ════════════════════════════════════════════════════════════ */

.ritual-libre {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) 0;
}

.ritual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(1.15);
  z-index: 0;
  animation: hero-image-breath 30s ease-in-out infinite;
}

.ritual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(26, 15, 8, 0.5) 0%, rgba(15, 8, 5, 0.85) 70%, var(--base-deep) 100%);
}

.ritual-content {
  position: relative;
  z-index: 2;
}

.ritual-card {
  background: rgba(26, 15, 8, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 167, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4);
  position: relative;
  overflow: hidden;
}

.ritual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% -20%, rgba(212, 167, 68, 0.15), transparent 50%);
  pointer-events: none;
}

/* Badge GRATIS con dot live pulsante */
.ritual-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(125, 211, 102, 0.12);
  border: 1px solid rgba(125, 211, 102, 0.4);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 18px rgba(37, 211, 102, 1); }
}

/* Info pills (cuándo, hora, dónde) */
.ritual-info-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: var(--space-3) 0 var(--space-4);
  position: relative;
  z-index: 1;
}

.ritual-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--text);
  background: rgba(212, 167, 68, 0.1);
  border: 1px solid var(--gold-soft);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
}

.ritual-pill svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Lo que sucede dentro */
.ritual-pasos {
  margin: var(--space-3) 0;
  position: relative;
  z-index: 1;
}

.ritual-pasos-title,
.ritual-como-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--gold);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  font-weight: 500;
}

.ritual-pasos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.ritual-paso {
  background: rgba(212, 167, 68, 0.05);
  border: 1px solid rgba(212, 167, 68, 0.15);
  border-radius: var(--radius);
  padding: var(--space-2);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--transition);
}

.ritual-paso:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: rgba(212, 167, 68, 0.1);
}

.ritual-paso-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(212, 167, 68, 0.4));
}

.ritual-paso-icon svg {
  width: 100%;
  height: 100%;
}

.ritual-paso-time {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.ritual-paso-text {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* Cómo entrar — 3 pasos numerados */
.ritual-como-entrar {
  margin: var(--space-4) 0;
  padding: var(--space-3);
  background: rgba(26, 15, 8, 0.55);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
  z-index: 1;
}

.ritual-como-title {
  text-align: left;
  margin-bottom: var(--space-2);
}

.ritual-como-pasos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ritual-como-pasos li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}

.ritual-como-pasos li em {
  color: var(--text-soft);
  font-size: 0.92em;
}

.ritual-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

/* CTA WhatsApp grande */
.ritual-cta-wrap {
  text-align: center;
  margin-top: var(--space-4);
  position: relative;
  z-index: 1;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, #25D366 0%, #1eb955 50%, #128C7E 100%);
  background-size: 200% 200%;
  color: white;
  padding: 1.3rem 2.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all var(--transition);
  animation: whatsapp-shimmer 6s ease-in-out infinite;
}

@keyframes whatsapp-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 40px rgba(37, 211, 102, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-whatsapp .arrow {
  transition: transform var(--transition);
}

.btn-whatsapp:hover .arrow {
  transform: translateX(6px);
}

.ritual-cta-tiny {
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ritual-cta-tiny strong {
  color: var(--gold-bright);
}

@media (max-width: 720px) {
  .ritual-pasos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ritual-card {
    padding: var(--space-4) var(--space-3);
  }
  .btn-whatsapp {
    width: 100%;
    padding: 1.2rem 1.5rem;
  }
}

/* ════════════════════════════════════════════════════════════
   CTA FINAL — con imagen de fondo del libro
   ════════════════════════════════════════════════════════════ */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(1.1);
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(26, 15, 8, 0.4) 0%, var(--base-deep) 80%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  margin: var(--space-5) auto;
  max-width: 300px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 968px) {
  .pilares-visual-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    max-width: 480px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-visual {
    display: none;
  }
}

.esencia-text h2 {
  margin-bottom: var(--space-3);
}

.esencia-text p + p {
  margin-top: var(--space-2);
}

.esencia-text .btn {
  margin-top: var(--space-3);
}

/* ─── 3 PILARES ─── */
.pilares {
  background: var(--base-deep);
  position: relative;
}

.pilares-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.pilar {
  text-align: center;
  padding: var(--space-3);
  position: relative;
}

.pilar::after {
  content: '';
  position: absolute;
  right: calc(var(--space-4) * -0.5);
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
}

.pilar:last-child::after {
  display: none;
}

.pilar-symbol {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: var(--space-2);
  display: block;
  filter: drop-shadow(0 0 18px rgba(212, 167, 68, 0.4));
}

.pilar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.pilar-text {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: none;
  margin-bottom: var(--space-3);
}

.pilar-ejemplo {
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: rgba(212, 167, 68, 0.06);
  border: 1px solid rgba(212, 167, 68, 0.18);
  border-radius: var(--radius);
  text-align: left;
}

.pilar-ejemplo-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pilar-ejemplo-titulo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.pilar-ejemplo-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════
   MANIFIESTO — 7 versículos
   ════════════════════════════════════════════════════════════ */

.manifiesto {
  background: linear-gradient(180deg, var(--base) 0%, var(--base-deep) 60%, var(--base) 100%);
  position: relative;
  overflow: hidden;
}

.manifiesto::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.06) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.versiculos {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 1;
}

.versiculo {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-left: 1px solid rgba(212, 167, 68, 0.25);
  transition: all var(--transition);
  position: relative;
}

/* Versículo central destacado (IV) */
.versiculos .versiculo:nth-child(4) {
  background: linear-gradient(90deg, rgba(212, 167, 68, 0.1), transparent);
  border-left-color: var(--gold);
  border-left-width: 2px;
}

.versiculos .versiculo:nth-child(4) .versiculo-num {
  color: var(--gold-bright);
  font-size: 1.6rem;
}

.versiculos .versiculo:nth-child(4) .versiculo-texto {
  color: var(--gold-bright);
}

.versiculo::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  width: 1px;
  height: 0;
  background: var(--gold-bright);
  transition: height var(--transition);
}

.versiculo:hover {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(212, 167, 68, 0.06), transparent);
}

.versiculo:hover::before {
  height: 70%;
  top: 15%;
}

.versiculo-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.1em;
  min-width: 50px;
}

.versiculo-texto {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  max-width: none;
}

@media (max-width: 640px) {
  .versiculo {
    padding: var(--space-2) var(--space-2);
    gap: var(--space-2);
  }
  .versiculo-num {
    min-width: 40px;
    font-size: 1.1rem;
  }
}

/* ─── AUDIO PREVIEW ─── */
.audio-preview {
  background: linear-gradient(180deg, var(--base-deep) 0%, var(--base) 100%);
}

.audio-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  position: relative;
}

.audio-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  z-index: -1;
  opacity: 0.4;
}

.audio-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.audio-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.waveform-container {
  background: var(--base-deep);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
}

#waveform {
  cursor: pointer;
}

.audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-gold);
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-gold-strong);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--base);
}

.audio-time {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
}

.audio-cta {
  margin-top: var(--space-3);
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
}

.audio-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 167, 68, 0.18);
  border: 1px solid var(--gold-soft);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════════════════
   BIBLIOTECA PREVIEW (4 audios extra)
   ════════════════════════════════════════════════════════════ */

.biblioteca-preview {
  margin-top: var(--space-5);
}

.biblioteca-header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.biblioteca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  max-width: 1100px;
  margin: 0 auto;
}

.audio-mini {
  background: var(--surface);
  border: 1px solid rgba(212, 167, 68, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.audio-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.audio-mini:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.audio-mini:hover::before {
  opacity: 1;
}

.audio-mini-category {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.audio-mini-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.audio-mini-desc {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.audio-mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(212, 167, 68, 0.12);
}

.audio-mini-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

.audio-mini-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 167, 68, 0.15);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}

.audio-mini-play:hover {
  background: var(--gold);
  color: var(--base);
}

.biblioteca-cta {
  text-align: center;
  margin-top: var(--space-4);
  padding: var(--space-3);
  border-top: 1px solid rgba(212, 167, 68, 0.15);
}

.biblioteca-cta p {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   CÓDIGOS SAGRADOS
   ════════════════════════════════════════════════════════════ */

.codigos {
  background: linear-gradient(180deg, var(--base-deep) 0%, var(--base) 50%, var(--base-deep) 100%);
  position: relative;
  overflow: hidden;
}

.codigos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(91, 61, 111, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212, 167, 68, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.codigos > .container { position: relative; z-index: 1; }

.codigos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  max-width: 1100px;
  margin: 0 auto;
}

.codigo-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--base-deep) 100%);
  border: 1px solid rgba(212, 167, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

/* Códigos más poderosos: ocupan 2 columnas */
.codigo-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(212, 167, 68, 0.12) 50%, var(--base-deep) 100%);
  border-color: var(--gold);
  padding: var(--space-5) var(--space-4);
}

.codigo-card-featured .codigo-numero {
  font-size: clamp(4rem, 8vw, 6rem);
}

.codigo-badge-poder {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--base);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(212, 167, 68, 0.4);
  z-index: 2;
}

@media (max-width: 768px) {
  .codigo-card-featured {
    grid-column: span 1;
    padding: var(--space-4) var(--space-3);
  }
  .codigo-card-featured .codigo-numero {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
}

.codigo-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.15) 0%, transparent 40%);
  transform: translateX(-50%);
  transition: top var(--transition-slow);
  pointer-events: none;
}

.codigo-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.codigo-card:hover::before {
  top: -50%;
}

.codigo-numero {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 0 24px rgba(212, 167, 68, 0.4));
  position: relative;
  z-index: 1;
}

.codigo-titulo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.codigo-desc {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: var(--space-2);
  max-width: none;
  position: relative;
  z-index: 1;
}

.codigo-uso {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 167, 68, 0.1);
  border: 1px solid var(--gold-soft);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 1;
}

/* ─── TESTIMONIOS ─── */
.testimonios {
  position: relative;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.testimonio {
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  position: relative;
}

.testimonio::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: var(--space-2);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}

.testimonio-text {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.testimonio-author {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.testimonio-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(212, 167, 68, 0.12);
  position: relative;
  z-index: 1;
}

.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--base);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: 500;
}

.testimonio-id {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonio-context {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.testimonio-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 167, 68, 0.12);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.testimonio-play:hover {
  background: var(--gold);
  color: var(--base);
  transform: scale(1.08);
}

/* ════════════════════════════════════════════════════════════
   NÚMEROS DE LA RED
   ════════════════════════════════════════════════════════════ */

.numeros {
  background: var(--base-deep);
  position: relative;
  overflow: hidden;
}

.numeros::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 167, 68, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.numero {
  text-align: center;
  padding: var(--space-3) var(--space-2);
  position: relative;
}

.numero::after {
  content: '';
  position: absolute;
  right: calc(var(--space-3) * -0.5);
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
}

.numero:last-child::after {
  display: none;
}

.numero-valor {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 0 20px rgba(212, 167, 68, 0.3));
  margin-bottom: 0.8rem;
}

.numero-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.numeros-cita {
  margin-top: var(--space-5);
  text-align: center;
  font-family: var(--font-ornament);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gold-bright);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 968px) {
  .numeros-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-2);
  }
  .numero::after { display: none; }
}

/* ─── EVENTO ─── */
.evento {
  background: var(--base-deep);
  position: relative;
  overflow: hidden;
}

.evento::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
}

.evento-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-3) 0;
  flex-wrap: wrap;
}

.countdown-unit {
  text-align: center;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold-bright);
  display: block;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(212, 167, 68, 0.4));
}

.countdown-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.5rem;
  display: block;
}

/* ════════════════════════════════════════════════════════════
   EVENTOS (3 portales)
   ════════════════════════════════════════════════════════════ */

.evento-destacado {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: flex-start;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elev) 100%);
  border: 1px solid rgba(212, 167, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.evento-destacado::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 167, 68, 0.18), transparent 60%);
  pointer-events: none;
}

.evento-fecha {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--base-deep);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  min-width: 100px;
  position: relative;
  z-index: 1;
}

.evento-mes {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.evento-dia {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-bright);
  line-height: 1;
}

.evento-info {
  position: relative;
  z-index: 1;
}

.evento-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 167, 68, 0.15);
  border: 1px solid var(--gold-soft);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.evento-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.evento-desc {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  max-width: none;
}

.evento-meta {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  max-width: 900px;
  margin: var(--space-4) auto 0;
  position: relative;
  z-index: 1;
}

.evento-mini {
  display: flex;
  gap: var(--space-2);
  background: var(--surface);
  border: 1px solid rgba(212, 167, 68, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: all var(--transition);
}

.evento-mini:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.evento-mini .evento-fecha {
  min-width: 70px;
  padding: var(--space-2) var(--space-2);
}

.evento-mini .evento-dia {
  font-size: 1.7rem;
}

.evento-mini-info {
  flex: 1;
}

.evento-tag-mini {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.evento-mini-titulo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.evento-mini-desc {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  max-width: none;
}

.evento-meta-mini {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-bottom: 0.8rem;
}

.evento-mini-cta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}

.evento-mini-cta:hover {
  color: var(--gold-bright);
}

@media (max-width: 768px) {
  .evento-destacado {
    grid-template-columns: 1fr;
  }
  .evento-destacado .evento-fecha {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }
  .eventos-grid {
    grid-template-columns: 1fr;
  }
  .evento-mini {
    flex-direction: column;
  }
}

/* ════════════════════════════════════════════════════════════
   FAQ — Acordeón ceremonial
   ════════════════════════════════════════════════════════════ */

.faq {
  background: linear-gradient(180deg, var(--base) 0%, var(--base-deep) 100%);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(212, 167, 68, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item[open] {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(212, 167, 68, 0.06) 100%);
  box-shadow: var(--shadow-gold);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q:hover {
  color: var(--gold-bright);
}

.faq-item[open] .faq-q {
  color: var(--gold-bright);
}

.faq-icon {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--base);
}

.faq-a {
  padding: 0 var(--space-3) var(--space-3);
}

.faq-a p {
  font-family: var(--font-body);
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: none;
  margin: 0;
}

.faq-a p strong {
  color: var(--gold-bright);
}

/* ─── EMAIL CAPTURE ─── */
.capture {
  text-align: center;
}

.capture-form {
  display: flex;
  gap: 0.75rem;
  max-width: 540px;
  margin: var(--space-3) auto 0;
  flex-wrap: wrap;
}

.capture-input {
  flex: 1;
  min-width: 220px;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.capture-input::placeholder {
  color: var(--text-mute);
}

.capture-input:focus {
  border-color: var(--gold);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--base-deep);
  border-top: 1px solid var(--gold-soft);
  padding: var(--space-5) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-brand .brand {
  margin-bottom: var(--space-2);
}

.footer-tagline {
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--text-soft);
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(212, 167, 68, 0.1);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--text-soft);
  transition: fill var(--transition);
}

.social-links a:hover svg {
  fill: var(--gold-bright);
}

/* ─── WHATSAPP FLOTANTE ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
  .nav-menu { display: none; }

  .esencia-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .pilar::after { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  section { padding: var(--space-5) 0; }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .capture-form {
    flex-direction: column;
  }

  .capture-form .btn {
    width: 100%;
  }

  /* Header mobile: ocultar texto del brand, dejar solo logo */
  .brand span {
    display: none;
  }

  /* Reducir padding general */
  section { padding: var(--space-5) 0; }

  /* Hero más compacto */
  .hero-cinematic { min-height: 90vh; }
  .hero-stats { font-size: 0.9em; }

  /* Pilares visual cards */
  .pilar-card-num {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    top: -22px;
  }

  /* Path cards menos altas */
  .path-card {
    padding: var(--space-3) var(--space-2);
  }

  /* Footer bottom */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* WhatsApp flotante más pequeño en mobile */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Auto-hide del WhatsApp flotante al scroll DOWN (más espacio mobile) */
@media (max-width: 768px) {
  .whatsapp-float {
    transition: opacity 0.3s, transform 0.3s;
  }
  body.scrolling-down .whatsapp-float {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
