/* ============================================================
   INVERSIONISTA IMPARABLE — PREMIUM LANDING PAGE STYLES
   Paleta: Bosque Profundo #05130E | Oro Cosecha #DDB534 | Lino #FBF9F5
   ============================================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700;800;900&family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #D6B367;          /* Warm refined champagne gold (zero garish yellow) */
  --accent-light: #ECDEBF;    /* Soft luminous champagne */
  --accent-dark: #AF8838;     /* Antique bronze gold */
  --blue-royal: #1E3A8A;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --black: #040C1E;           /* Midnight royal obsidian */
  --black-2: #061834;         /* Deep sapphire navy */
  --black-3: #092149;         /* Royal midnight blue */
  --black-4: #0D2D62;         /* Elevated surface */
  --white: #FBF9F5;
  --white-dim: rgba(251, 249, 245, 0.78);
  --white-muted: rgba(251, 249, 245, 0.48);
  --glass: rgba(9, 33, 73, 0.65);
  --glass-border: rgba(214, 179, 103, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-accent: 0 0 25px rgba(214, 179, 103, 0.16);
  --shadow-blue: 0 0 45px rgba(30, 58, 138, 0.35);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.85);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: rgba(221, 181, 52, 0.3); color: var(--white); }

.gold-line { width: 50px; height: 2px; background: var(--accent); margin: 0 auto 1.5rem; }
.gold-line.left { margin: 0 0 1.5rem; }

/* NAVBAR (Slim & low-profile, clean editorial information) */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.65rem 2.5rem;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4, 12, 30, 0.92);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: var(--transition);
}
.nav-bar.scrolled {
  background: rgba(4, 12, 30, 0.98);
  border-bottom: 1px solid rgba(221, 181, 52, 0.35);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.3s ease;
}
.nav-logo:hover {
  opacity: 0.85;
}
.nav-logo span { color: var(--white); font-weight: 600; }

/* Clean event metadata in header - NO pills, NO gradients */
.nav-event-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.nav-meta-item {
  color: var(--white-dim);
  transition: var(--transition);
}
.nav-meta-highlight {
  color: var(--accent);
  font-weight: 700;
}
.nav-meta-sep {
  color: rgba(221, 181, 52, 0.45);
  font-size: 0.65rem;
  user-select: none;
}

.nav-cta {
  background: linear-gradient(135deg, #DFC383 0%, #C8A150 100%);
  color: #040C1E;
  padding: 0.52rem 1.35rem;
  border-radius: var(--radius-xl);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid rgba(245, 237, 224, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  -webkit-font-smoothing: antialiased;
}
.nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 161, 80, 0.3);
}

/* HERO — MONUMENTAL THEATRICAL CENTERPIECE */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: -4%;
  background-image: url('../images/backgrounds/hero_bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.90;
  z-index: 0;
  will-change: transform;
}
.hero-glow {
  position: absolute;
  inset: 0;
  /* Keep flanking golden trees radiant while ensuring pristine contrast in center */
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(4, 12, 30, 0.12) 0%, rgba(4, 12, 30, 0.55) 70%, rgba(4, 12, 30, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

/* HERO PARTICLES CANVAS */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* HERO FLOATING GOLDEN LEAVES (Zero Mouse Lag, 60 FPS GSAP) */
.hero-leaves-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-leaf {
  position: absolute;
  top: -30px;
  color: var(--accent);
  opacity: 0.42;
  pointer-events: none;
  will-change: transform;
}

.hero-layout-v3 {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
}
.hero-top-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: clamp(1rem, 4vh, 2.5rem);
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 1040px;
  margin: 0 auto;
  align-items: center;
}
.hero-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-bottom-right {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 960px) {
  .hero-bottom-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-bottom-left, .hero-bottom-right {
    align-items: center;
    text-align: center;
    justify-content: center;
  }
}

/* HERO BRAND LOGO — MONUMENTAL LOGO IDENTIFIER */
.hero-brand-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  perspective: 1000px;
  cursor: default;
}
.hero-brand-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(214, 179, 103, 0.12) 0%, rgba(4, 12, 30, 0) 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}
.hero-brand-title {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 0.94;
  will-change: transform;
}
.hero-logo-top {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #FFFFFF;
  text-transform: uppercase;
  display: block;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 255, 255, 0.15);
}
.hero-logo-main {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.8rem, 10.4vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #E4C25A;
  text-transform: uppercase;
  display: block;
  margin-top: 0.25rem;
  text-shadow: 0 0 45px rgba(228, 194, 90, 0.4), 0 0 15px rgba(228, 194, 90, 0.2), 0 6px 24px rgba(0, 0, 0, 0.95);
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1.4rem;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
  color: var(--white-dim);
  max-width: 680px;
  margin: 0 auto 2.4rem;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* VIP PASS CARD */
.vip-pass-card {
  position: relative;
  background: rgba(1, 8, 29, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 195, 131, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(223, 195, 131, 0.1);
  width: 100%;
  max-width: 420px;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  /* Removed overflow: hidden so branches can stick out */
}
.vip-pass-card::after {
  content: '';
  position: absolute;
  inset: -15px; /* Reduced to lower noise and prevent clashing with title */
  background-image: url('../assets/images/vip-border.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.55; /* Lowered opacity for subtlety */
  z-index: 0;
  pointer-events: none;
  border-radius: calc(var(--radius-lg) + 15px);
}
.vip-pass-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(223, 195, 131, 0.15) 0%, rgba(223, 195, 131, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.vip-pass-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}
.pass-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pass-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.15rem;
  opacity: 0.9;
}
.pass-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.35;
}
.pass-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white-muted);
}
.pass-row.highlight .pass-value {
  color: #DFC383;
  text-shadow: 0 0 10px rgba(223, 195, 131, 0.4);
}
.pass-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 195, 131, 0) 0%, rgba(223, 195, 131, 0.35) 50%, rgba(223, 195, 131, 0) 100%);
}
@media (max-width: 960px) {
  .vip-pass-card {
    padding: 2rem;
    max-width: 360px;
  }
}

/* HERO HIGH-IMPACT MAGNETIC CTA BUTTON */
.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 960px) {
  .hero-cta-wrapper {
    align-items: center;
    margin-bottom: 2rem;
  }
}
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: transparent;
  color: #DFC383;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.25rem 3.4rem;
  border-radius: var(--radius-xl);
  border: 2px solid #DFC383;
  box-shadow: 0 0 25px rgba(223, 195, 131, 0.25), inset 0 0 15px rgba(223, 195, 131, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}
.btn-hero-cta span {
  font-weight: 900;
  letter-spacing: 0.08em;
}
.btn-hero-cta svg {
  stroke-width: 2.8px;
}
.btn-hero-cta {
  position: relative;
  will-change: transform;
}
.btn-hero-cta:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 45px rgba(223, 195, 131, 0.4), inset 0 0 25px rgba(223, 195, 131, 0.2);
}
/* Halo that radiates from the CTA (transform/opacity only: GPU cheap) */
.btn-hero-cta::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(223, 195, 131, 0.65);
  pointer-events: none;
  animation: ctaRing 3s cubic-bezier(0.2, 0.6, 0.3, 1) 3.2s infinite;
}
@keyframes ctaRing {
  0%   { transform: scale(1);        opacity: 0.75; }
  70%  { transform: scale(1.14, 1.5); opacity: 0; }
  100% { transform: scale(1.14, 1.5); opacity: 0; }
}

/* Split text units created by js/animations.js (hero title) */
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }

/* Depth for the pass card tilt */
.hero-bottom-right { perspective: 1100px; }

/* The light behind the title slowly breathes */
.hero-brand-logo::before { animation: haloBreath 7s ease-in-out infinite; }
@keyframes haloBreath {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.96); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-hero-cta::after, .hero-brand-logo::before { animation: none; }
}
.hero-cta-footnote {
  font-size: 0.82rem;
  color: var(--white-muted);
  letter-spacing: 0.04em;
}
.form-header-line {
  text-align: center;
  margin-bottom: 0.4rem;
}
.form-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}
.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.form-subtitle {
  font-size: 0.82rem;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 1.35rem;
  line-height: 1.45;
}
.form-group {
  margin-bottom: 0.85rem;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(251, 249, 245, 0.8);
  margin-bottom: 0.35rem;
}

/* Input Icon Container */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 12px;
  color: rgba(221, 181, 52, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: var(--transition);
}
.input-icon-wrap:focus-within .input-icon {
  color: var(--accent);
}

.form-group input, .form-group select {
  width: 100%;
  background: rgba(3, 14, 35, 0.75);
  border: 1px solid rgba(221, 181, 52, 0.22);
  border-radius: 8px;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form-group input::placeholder {
  color: rgba(251, 249, 245, 0.35);
  font-size: 0.85rem;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
  background: #061834;
  box-shadow: 0 0 0 2px rgba(221, 181, 52, 0.2);
}

/* Clean Custom Select styling */
.select-wrap select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
}
.select-wrap select option {
  background-color: #061834;
  color: var(--white);
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  color: var(--white-muted);
  line-height: 1.35;
  text-align: center;
  margin-top: 0.4rem;
}
.form-privacy span {
  display: flex;
  align-items: center;
  color: rgba(221, 181, 52, 0.6);
}

/* BUTTONS — Elegante, champagne metálico refinado */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: linear-gradient(135deg, #DFC383 0%, #C8A150 100%);
  color: #040C1E;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 1.05rem 1.8rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 237, 224, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 0.4rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  -webkit-font-smoothing: antialiased;
}
.btn-primary:hover {
  filter: brightness(1.1);
  color: #040C1E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 161, 80, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-scarcity {
  text-align: center;
  font-size: 0.74rem;
  color: var(--white-muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.btn-scarcity span {
  color: var(--accent);
  font-weight: 600;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}
.btn-secondary:hover {
  background: var(--accent);
  color: #040C1E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 161, 80, 0.35);
}

/* SECTION COMMON */
section { padding: 6rem 2rem; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); text-align: center; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; text-align: center; line-height: 1.15; margin-bottom: 1rem; }
.section-desc { font-size: 1rem; color: var(--white-dim); text-align: center; max-width: 600px; margin: 0 auto 3rem; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; }

/* COUNTDOWN — HOROLOGERIE DE LUXE & PRECISION PATRIMONIAL */
#countdown {
  position: relative;
  padding: 6.5rem 2rem 7rem;
  background-color: #040C1E;
  background-image: url('../assets/images/para_quien_bg_editorial.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(212, 171, 80, 0.18);
  border-bottom: 1px solid rgba(212, 171, 80, 0.18);
  text-align: center;
  overflow: hidden;
}
.countdown-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(4, 12, 30, 0.76) 0%, rgba(4, 12, 30, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.countdown-botanical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 340px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.countdown-botanical--left {
  left: -20px;
}
.countdown-botanical--right {
  right: -20px;
}
.countdown-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.countdown-header {
  margin-bottom: 2.75rem;
}
.countdown-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D4AB50;
  display: inline-block;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.countdown-headline {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #F5EFE6;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.countdown-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 180px;
  margin: 0 auto;
}
.countdown-gold-divider .divider-line {
  flex: 1;
  height: 1px;
  background: rgba(212, 171, 80, 0.25);
}
.countdown-gold-divider .divider-diamond {
  font-size: 0.55rem;
  color: #D4AB50;
  opacity: 0.7;
}

/* Horological Plates Grid */
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 auto;
}
.countdown-unit {
  position: relative;
  text-align: center;
  background: #050F20;
  border: 1px solid rgba(212, 171, 80, 0.32);
  box-shadow: inset 0 0 0 1px rgba(212, 171, 80, 0.12), 0 12px 28px rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  padding: 2.2rem 2.1rem 1.8rem;
  min-width: 136px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.countdown-unit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(212, 171, 80, 0.08); /* Hairline horizontal division like a luxury horological movement */
  pointer-events: none;
}
.countdown-unit:hover {
  border-color: rgba(212, 171, 80, 0.55);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(212, 171, 80, 0.2), 0 16px 36px rgba(0, 0, 0, 0.75);
}
.countdown-unit:hover .plate-corner {
  color: rgba(212, 171, 80, 0.85);
}

/* Botanical / Classical Corner Engravings */
.plate-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  color: rgba(212, 171, 80, 0.42);
  pointer-events: none;
  transition: color 0.35s ease;
}
.plate-corner--tl {
  top: 6px;
  left: 6px;
}
.plate-corner--tr {
  top: 6px;
  right: 6px;
  transform: scaleX(-1);
}
.plate-corner--bl {
  bottom: 6px;
  left: 6px;
  transform: scaleY(-1);
}
.plate-corner--br {
  bottom: 6px;
  right: 6px;
  transform: scale(-1, -1);
}

/* Large Serif Numerals */
.countdown-number {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(3rem, 4.8vw, 4.1rem);
  font-weight: 400;
  line-height: 1;
  color: #D4AB50;
  display: block;
  letter-spacing: 0.02em;
  text-shadow: none; /* No artificial glow or neon */
}

/* Micro Upper Labels */
.countdown-unit-label {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.62);
  margin-top: 0.85rem;
  display: block;
}

/* Horological Separator */
.countdown-separator {
  font-size: 0.75rem;
  color: rgba(212, 171, 80, 0.45);
  align-self: center;
  line-height: 1;
  user-select: none;
}

/* Editorial Subtitle / Motto */
.countdown-text {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 500;
  color: rgba(245, 239, 230, 0.9);
  margin-top: 2.75rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.countdown-text strong {
  color: #F5EFE6;
}

/* FOR WHOM — EDITORIAL LUXURY SUITE */
#para-quien {
  position: relative;
  background-color: #040C1E;
  background-image: url('../assets/images/para_quien_bg_editorial.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 8rem 0 8.5rem;
  overflow: hidden;
}
#para-quien .container {
  position: relative;
  z-index: 1;
}

/* Editorial Section Header */
.editorial-header {
  margin-bottom: 3.5rem;
}
.editorial-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #D4AB50;
  margin-bottom: 0.85rem;
}
.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.25;
  color: #F5EFE6;
  max-width: 840px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.editorial-gold-divider {
  width: 48px;
  height: 1px;
  background: #D4AB50;
  margin: 1.6rem auto;
  opacity: 0.55;
}
.editorial-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(230, 225, 216, 0.75);
  max-width: 680px;
  margin: 0 auto;
}

/* Editorial Cards Grid */
.checklist-bento.editorial-cards-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

/* Individual Editorial Card */
.editorial-card {
  position: relative;
  background: #041229;
  border: 1px solid rgba(212, 171, 80, 0.22);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 2.25rem 2.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Subtle Inset Stationery Hairline */
.editorial-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 171, 80, 0.08);
  border-radius: 4px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.editorial-card:hover {
  border-color: rgba(212, 171, 80, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transform: translateY(-4px);
}
.editorial-card:hover::before {
  border-color: rgba(212, 171, 80, 0.2);
}

/* Editorial Card Content */
.editorial-card-content {
  position: relative;
  z-index: 2;
  max-width: 68%;
}
.editorial-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #D4AB50;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.editorial-card-content p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 350;
  line-height: 1.55;
  color: #EDE5D8;
  margin: 0;
  letter-spacing: -0.01em;
}
.editorial-card-content .highlight {
  color: #D4AB50;
  font-weight: 500;
}

/* Botanical Engraving Ornament */
.editorial-card-ornament {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 165px;
  height: 165px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: visible;
}
.editorial-engraving {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.editorial-card:hover .editorial-card-ornament {
  opacity: 1;
  transform: scale(1.05) translate(-2px, -2px);
}

/* Card 02: Central Classical Arch Column */
.editorial-arch {
  grid-column: 6 / 9;
  grid-row: 1 / 3;
  border-radius: 70px 70px 8px 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem 2.5rem;
}
.editorial-arch::before {
  border-radius: 64px 64px 4px 4px;
}
.editorial-arch-header {
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}
.editorial-arch .editorial-card-ornament {
  position: relative;
  right: auto;
  bottom: auto;
  width: 165px;
  height: 165px;
  margin: 1rem auto;
  opacity: 0.88;
}
.editorial-arch .editorial-card-content {
  max-width: 100%;
  text-align: center;
}

/* Card 03: Luxury Ivory Piece */
.editorial-card.theme-light {
  background: #F4EFE6;
  border: 1px solid rgba(198, 161, 80, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.editorial-card.theme-light::before {
  border-color: rgba(198, 161, 80, 0.2);
}
.editorial-card.theme-light:hover {
  background: #FAF6EF;
  border-color: rgba(198, 161, 80, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.editorial-card.theme-light:hover::before {
  border-color: rgba(198, 161, 80, 0.35);
}
.editorial-card.theme-light .editorial-card-num {
  color: #997732;
}
.editorial-card.theme-light .editorial-card-content p {
  color: #041126;
}
.editorial-card.theme-light .editorial-card-content .highlight {
  color: #997732;
  font-weight: 600;
}

/* Grid Placements */
.bento-1 {
  grid-column: 1 / 6;
}
.bento-3 {
  grid-column: 9 / 13;
}
.bento-4 {
  grid-column: 1 / 6;
}
.bento-5 {
  grid-column: 9 / 13;
}
.bento-6 {
  grid-column: 3 / 11;
  padding: 2.5rem 3.5rem;
}
.bento-6 .editorial-card-content {
  max-width: 65%;
}
.bento-6 .editorial-card-ornament {
  right: 15px;
  bottom: -15px;
  width: 250px;
  height: 145px;
}

@media (max-width: 1024px) {
  .checklist-bento.editorial-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .editorial-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    border-radius: 8px !important;
    min-height: auto;
    padding: 2rem 2rem !important;
  }
  .editorial-arch {
    border-radius: 8px !important;
    flex-direction: row !important;
    text-align: left !important;
    justify-content: space-between !important;
  }
  .editorial-arch::before {
    border-radius: 4px !important;
  }
  .editorial-arch .editorial-card-content {
    text-align: left !important;
    max-width: 70% !important;
  }
  .bento-2 .editorial-card-ornament {
    position: absolute !important;
    right: -10px !important;
    bottom: -15px !important;
    margin: 0 !important;
    width: 130px !important;
    height: 130px !important;
  }
}

@media (max-width: 640px) {
  #para-quien {
    padding: 5.5rem 0 6rem;
  }
  .editorial-card-content {
    max-width: 78%;
  }
  .editorial-card-ornament {
    width: 110px !important;
    height: 110px !important;
    opacity: 0.65;
  }
  .bento-6 .editorial-card-ornament {
    width: 150px !important;
    height: 95px !important;
  }
}

/* ========================================================
   TRANSICIÓN EDITORIAL ENTRE SECCIONES
   ======================================================== */
.editorial-section-transition {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 0 1rem;
  background: linear-gradient(180deg, #01081D 0%, #040C1E 100%);
  overflow: hidden;
  z-index: 5;
}
.transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 80, 0.28) 40%, rgba(212, 171, 80, 0.45) 100%);
}
.transition-line--right {
  background: linear-gradient(270deg, transparent, rgba(212, 171, 80, 0.28) 40%, rgba(212, 171, 80, 0.45) 100%);
}
.transition-crest {
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.transition-crest svg {
  display: block;
}

/* ========================================================
   EL PROGRAMA — QUE VAS A VIVIR
   Azul noche profundo, grano editorial, grabados botánicos y 
   composición de 4 capítulos de lujo
   ======================================================== */
#sesiones.sesiones-editorial {
  position: relative;
  background: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(19, 44, 89, 0.72) 0%, rgba(9, 26, 59, 0.92) 45%, #03091C 100%), #03091C;
  padding: 5.5rem 0 7.5rem;
  overflow: hidden;
  border-top: none;
}
.sesiones-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 620px at 50% 38%, rgba(25, 63, 127, 0.52) 0%, rgba(212, 171, 80, 0.09) 45%, transparent 75%);
}
.sesiones-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.026;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

/* Medallón central imperial grabado (marca de agua astrolabio) */
.sesiones-bg-medallion {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  width: 680px;
  height: 680px;
  user-select: none;
}
.sesiones-bg-medallion svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ramas botánicas ornamentales framing en extremos */
.sesiones-botanical {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.sesiones-botanical--left {
  top: 8%;
  left: -25px;
  width: 320px;
  height: 680px;
  opacity: 0.48;
}
.sesiones-botanical--right {
  top: 14%;
  right: -25px;
  width: 320px;
  height: 680px;
  opacity: 0.48;
}
.sesiones-botanical svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Encabezado Editorial */
.sesiones-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}
.programa-kicker {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D4AB50;
  margin-bottom: 0.65rem;
}
.programa-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.editorial-gold-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 1.35rem;
  max-width: 220px;
}
.line-diamond-left, .line-diamond-right {
  font-size: 0.5rem;
  color: #D4AB50;
  opacity: 0.75;
}
.editorial-gold-line .line-bar {
  flex: 1;
  height: 1px;
  background: rgba(212, 171, 80, 0.2);
  position: relative;
  overflow: hidden;
}
.editorial-gold-line .line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #D4AB50 50%, transparent);
  transform-origin: center;
}
.programa-desc {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  color: rgba(245, 239, 230, 0.74);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

/* Cuatro Capítulos Editoriales — Grid Asimétrico y Artístico */
.programa-chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 2rem;
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  /* Composición sutilmente asimétrica de programa editorial */
  .chapter-card--01 {
    transform: translateY(0);
  }
  .chapter-card--02 {
    margin-top: 2rem;
  }
  .chapter-card--03 {
    margin-top: -1.5rem;
  }
  .chapter-card--04 {
    margin-top: 0.5rem;
  }
}

/* La Card Editorial de Cada Capítulo */
.chapter-card {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(7, 21, 47, 0.94) 0%, rgba(4, 12, 30, 0.98) 100%);
  overflow: hidden;
  cursor: default;
  will-change: transform;
}

/* Aureola sutil interna de card */
.chapter-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at 85% 85%, rgba(212, 171, 80, 0.16) 0%, rgba(19, 44, 89, 0.08) 50%, transparent 80%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chapter-card:hover .chapter-card-glow {
  opacity: 1;
}

.chapter-card-inner {
  position: relative;
  padding: 2.75rem 2.4rem 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  z-index: 2;
}

/* Borde dorado extremadamente fino y bisel interior */
.chapter-card-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 171, 80, 0.24);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 8px 25px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.chapter-card:hover .chapter-card-border {
  border-color: rgba(212, 171, 80, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(212, 171, 80, 0.16);
}

/* Grabado botánico integrado dentro de la superficie (baja opacidad, no sticker) */
.chapter-engraving {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 195px;
  height: 195px;
  pointer-events: none;
  opacity: 0.24;
  mix-blend-mode: screen;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.chapter-engraving .engraving-svg {
  width: 100%;
  height: 100%;
}

/* Meta del Capítulo: Tag y Numeral Discreto */
.chapter-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 2;
}
.chapter-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #D4AB50;
  opacity: 0.85;
}
.chapter-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.9;
  color: rgba(212, 171, 80, 0.2);
  letter-spacing: -0.02em;
  user-select: none;
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* Cuerpo Editorial */
.chapter-body {
  position: relative;
  z-index: 2;
  flex: 1;
  margin-bottom: 1.8rem;
}
.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.5vw, 1.48rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  transition: color 0.35s ease;
}
.chapter-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: rgba(220, 230, 242, 0.78);
  line-height: 1.65;
  max-width: 90%;
}

/* Firma del Ponente */
.chapter-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 1.25rem;
}
.chapter-sig-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(212, 171, 80, 0.35) 0%, rgba(212, 171, 80, 0.08) 65%, transparent 100%);
  margin-bottom: 0.95rem;
}
.chapter-speaker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chapter-speaker-leaf {
  color: #D4AB50;
  opacity: 0.85;
  flex-shrink: 0;
}
.chapter-speaker-name {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ECDEBF;
  letter-spacing: 0.03em;
}

/* Adaptación responsive */
@media (max-width: 899px) {
  .programa-chapters-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .chapter-card--02,
  .chapter-card--03,
  .chapter-card--04 {
    margin-top: 0 !important;
  }
  .chapter-card-inner {
    padding: 2.25rem 1.8rem 1.85rem;
    min-height: auto;
  }
  .chapter-desc {
    max-width: 100%;
  }
  .chapter-engraving {
    width: 160px;
    height: 160px;
    opacity: 0.2;
  }
  .sesiones-botanical--left,
  .sesiones-botanical--right {
    opacity: 0.22;
    width: 220px;
  }
  .sesiones-bg-medallion {
    opacity: 0.08;
    width: 440px;
    height: 440px;
  }
}

.chapter-card:hover .chapter-num {
  color: rgba(212, 171, 80, 0.42);
  text-shadow: 0 0 16px rgba(212, 171, 80, 0.2);
  transform: translateY(-2px);
}
.chapter-card:hover .chapter-speaker-leaf {
  color: #F5EFE6;
  transform: rotate(10deg) scale(1.15);
  transition: transform 0.4s ease, color 0.4s ease;
}
.chapter-card:hover .chapter-title {
  color: #FFF9EE;
}

/* SPEAKERS */
#ponentes {
  position: relative;
  background-image: url('../assets/images/ponentes_raices_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
#ponentes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 29, 0.88);
  z-index: 0;
}
#ponentes .container {
  position: relative;
  z-index: 1;
}
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

.speaker-card { 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  border: 1px solid var(--glass-border); 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; 
  cursor: default; 
  transform-style: preserve-3d; 
  perspective: 800px; 
  will-change: transform; 
}
.speaker-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; border-bottom: 1px solid var(--glass-border); }
.speaker-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s ease, filter 0.7s ease; }
.speaker-img-overlay { position: absolute; inset: 0; mix-blend-mode: color; opacity: 1; transition: opacity 0.5s ease; pointer-events: none; }
.speaker-card:hover .speaker-img-overlay { opacity: 0.2; }

/* THEME DARK (For Black backgrounds) */
.speaker-card.theme-dark { background: rgba(6, 24, 52, 0.6); }
.speaker-card.theme-dark:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(221, 181, 52, 0.15); }
.speaker-card.theme-dark .speaker-img-wrap { background: linear-gradient(180deg, #01081D 0%, #081E40 100%); }
.speaker-card.theme-dark .speaker-img-wrap img { mix-blend-mode: screen; filter: contrast(1.1); }
.speaker-card.theme-dark .speaker-img-overlay { background: linear-gradient(180deg, rgba(2, 11, 31, 0) 0%, rgba(2, 11, 31, 0.8) 100%), rgba(221, 181, 52, 0.1); }
.speaker-card.theme-dark:hover .speaker-img-wrap img { filter: contrast(1.1) brightness(1.1); transform: scale(1.05); }

/* THEME LIGHT (For White backgrounds) */
.speaker-card.theme-light { background: rgba(245, 237, 224, 0.85); border-color: rgba(221, 181, 52, 0.3); }
.speaker-card.theme-light .speaker-name,
.speaker-card.theme-light .speaker-bio { color: #01081D; }
.speaker-card.theme-light .speaker-role { color: #01081D; font-weight: 700; }
.speaker-card.theme-light:hover { border-color: #DFC383; transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(221, 181, 52, 0.3); }
.speaker-card.theme-light .speaker-img-wrap { background: linear-gradient(180deg, #FDFBF7 0%, #ECDAB7 100%); border-bottom: 1px solid rgba(221, 181, 52, 0.2); }
.speaker-card.theme-light .speaker-img-wrap img { mix-blend-mode: multiply; filter: contrast(1.05); }
.speaker-card.theme-light .speaker-img-overlay { background: linear-gradient(180deg, rgba(245, 237, 224, 0) 0%, rgba(221, 181, 52, 0.15) 100%); }
.speaker-card.theme-light:hover .speaker-img-wrap img { filter: contrast(1.05) brightness(1.05); transform: scale(1.05); }
.speaker-info { padding: 1.25rem 1.5rem; }
.speaker-name { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.speaker-role { font-size: 0.8rem; color: var(--accent); font-weight: 500; margin-bottom: 0.4rem; }
.speaker-bio { font-size: 0.8rem; color: var(--white-muted); line-height: 1.5; }

/* ========================================================
   EL VIAJE — VIAJE DE CRECIMIENTO EDITORIAL BOTÁNICO
   Camino orgánico vertical: Semilla -> Brote -> Crecimiento -> Fruto -> Árbol
   ======================================================== */
#transformacion.viaje-editorial {
  position: relative;
  background: radial-gradient(ellipse 90% 65% at 50% 25%, rgba(16, 42, 87, 0.68) 0%, rgba(7, 22, 49, 0.92) 45%, #03091C 100%), #03091C;
  padding: 6rem 0 8.5rem;
  overflow: hidden;
  border-top: none;
}
.viaje-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 600px at 50% 40%, rgba(23, 59, 123, 0.45) 0%, rgba(212, 171, 80, 0.08) 50%, transparent 75%);
}
.viaje-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.024;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

/* Encabezado Editorial */
.viaje-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}
.viaje-kicker {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #D4AB50;
  margin-bottom: 0.65rem;
}
.viaje-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.25;
}

/* Timeline Asimétrico Orgánico */
.viaje-timeline {
  position: relative;
  max-width: 1040px;
  margin: 3.5rem auto 0;
  z-index: 2;
  padding: 1rem 0;
}

/* Espina Dorsal SVG */
.viaje-spine-desktop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.viaje-spine-mobile {
  display: none;
}

/* Estructura de Cada Etapa */
.viaje-step {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  transition: transform 0.4s ease;
  cursor: default;
}

.viaje-step-inner {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(7, 22, 49, 0.92) 0%, rgba(3, 13, 33, 0.98) 100%);
  border: 1px solid rgba(212, 171, 80, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 12px 32px rgba(0, 0, 0, 0.55);
  padding: 2.35rem 2.5rem;
  overflow: visible; /* Las hojas y ramas pueden sobresalir ligeramente de los contenedores */
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Variaciones Asimétricas de Posición y Ancho */
.viaje-step--left {
  width: 45%;
  margin-left: 2%;
  margin-right: auto;
}
.viaje-step--right {
  width: 45%;
  margin-left: auto;
  margin-right: 2%;
  margin-top: -1.5rem;
}
.viaje-step--center {
  width: 65%;
  max-width: 680px;
  margin: 2.5rem auto 0;
}

/* Estilos de Contenido Editorial */
.viaje-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 2;
}
.viaje-roman {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 171, 80, 0.35);
  letter-spacing: -0.02em;
  user-select: none;
  transition: color 0.4s ease, transform 0.4s ease;
}
.viaje-tag {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #D4AB50;
  opacity: 0.85;
}

.viaje-body {
  position: relative;
  z-index: 2;
}
.viaje-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.45vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
  transition: color 0.35s ease;
}
.viaje-step-desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: rgba(245, 239, 230, 0.86);
  line-height: 1.65;
  max-width: 90%;
}

/* Ilustraciones Botánicas Integradas (Grabados de lujo) */
.viaje-illustration {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 1;
  mix-blend-mode: screen;
}
.viaje-step--left .viaje-illustration {
  right: -25px;
  bottom: -22px;
  width: 165px;
  height: 165px;
}
.viaje-step--right .viaje-illustration {
  right: -24px;
  bottom: -22px;
  width: 165px;
  height: 165px;
}
.viaje-step--center .viaje-illustration {
  right: -28px;
  bottom: -30px;
  width: 300px;
  height: 185px;
  opacity: 0.62;
}
.viaje-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Estados Interactivos al Hover */
.viaje-step:hover {
  transform: translateY(-5px);
}
.viaje-step:hover .viaje-step-inner {
  border-color: rgba(212, 171, 80, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.65), 0 0 26px rgba(212, 171, 80, 0.14);
}
.viaje-step:hover .viaje-roman {
  color: rgba(212, 171, 80, 0.55);
  transform: translateY(-2px);
}
.viaje-step:hover .viaje-step-title {
  color: #FFF8EE;
}
.viaje-step:hover .viaje-illustration {
  opacity: 0.8;
  transform: scale(1.05) translateY(-3px);
}

/* Adaptación Responsive */
@media (max-width: 899px) {
  .viaje-spine-desktop {
    display: none;
  }
  .viaje-spine-mobile {
    display: block;
    position: absolute;
    left: 12px;
    top: 0;
    width: 44px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  .viaje-step--left,
  .viaje-step--right,
  .viaje-step--center {
    width: calc(100% - 50px) !important;
    margin-left: 50px !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 2rem;
  }
  .viaje-step-inner {
    padding: 1.85rem 1.65rem;
  }
  .viaje-illustration {
    width: 110px !important;
    height: 110px !important;
    opacity: 0.3 !important;
    right: -10px !important;
    bottom: -10px !important;
  }
  .viaje-roman {
    font-size: 2.3rem;
  }
}

/* ========================================================
   LO QUE TE LLEVARÁS — HERBARIO DE CONOCIMIENTOS (EDITORIAL ASIMÉTRICO)
   Piezas de archivo de lujo, grabados botánicos integrados,
   jerarquía con pieza principal, y micro-interacciones sutiles.
   ======================================================== */
.herbario-section {
  position: relative;
  background: #050F1E;
  padding: 8.5rem 0 9.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(212, 171, 80, 0.15);
  border-bottom: 1px solid rgba(212, 171, 80, 0.15);
}

.herbario-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(16, 45, 87, 0.4) 0%, rgba(5, 15, 30, 0.95) 75%);
  pointer-events: none;
  z-index: 0;
}

.herbario-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 171, 80, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.herbario-backdrop-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1440px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.herbario-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5.5rem;
}

.herbario-kicker {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D4AB50;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.herbario-title {
  margin: 0;
}

.herbario-title-lead {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  color: #F5EEDB;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.herbario-title-accent {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 500;
  color: #E5C271;
  line-height: 1.15;
  margin-top: 0.4rem;
  text-shadow: 0 0 40px rgba(229, 194, 113, 0.22);
}

.herbario-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.herbario-divider-line {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 80, 0.45), transparent);
}

.herbario-divider-leaf svg {
  display: block;
  opacity: 0.85;
}

/* Grilla Asimétrica Editorial */
.herbario-archive-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.25rem 2rem;
  align-items: stretch;
}

/* Tratamiento Base de cada Pieza Folio */
.folio-piece {
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  cursor: default;
}

.folio-piece-inner {
  position: relative;
  padding: 2.4rem 2.6rem;
  background: rgba(8, 21, 44, 0.55);
  border: 1px solid rgba(212, 171, 80, 0.16);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Etiqueta / Metáfora de Archivo */
.folio-metaphor-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.folio-badge-num {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #D4AB50;
  background: rgba(212, 171, 80, 0.1);
  border: 1px solid rgba(212, 171, 80, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.folio-badge-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E9FB8;
}

/* Tipografía de Contenido */
.folio-content {
  position: relative;
  z-index: 2;
}

.folio-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: #D3DBE7;
  margin: 0;
}

.folio-keyword {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #F5EEDB;
  letter-spacing: 0.03em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Grabados Botánicos Integrados */
.folio-engraving {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* ==================== TRATAMIENTOS ESPECÍFICOS ==================== */

/* ELEMENTO 01 (Tallo / Expresión) */
.folio-piece--01 {
  grid-column: 1 / 7;
}

.folio-piece--01 .folio-piece-inner {
  border-left: 2px solid rgba(212, 171, 80, 0.6);
  background: linear-gradient(135deg, rgba(8, 26, 53, 0.65) 0%, rgba(6, 18, 37, 0.4) 100%);
}

.folio-engraving--stem {
  right: -10px;
  bottom: -20px;
  width: 140px;
  height: 180px;
}

/* ELEMENTO 02 (Follaje / Perspectiva - Marco con Escuadras Abiertas) */
.folio-piece--02 {
  grid-column: 7 / 13;
}

.folio-piece--02 .folio-piece-inner {
  border-color: rgba(212, 171, 80, 0.12);
}

.folio-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 3;
}

.folio-bracket--tl {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid #D4AB50;
  border-left: 1.5px solid #D4AB50;
}

.folio-bracket--br {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid #D4AB50;
  border-right: 1.5px solid #D4AB50;
}

.folio-engraving--leaf {
  right: -15px;
  top: -10px;
  width: 160px;
  height: 150px;
}

/* ==================== ELEMENTO 03 (PIEZA PRINCIPAL / MASTERPIECE) ==================== */
.folio-piece--masterpiece {
  grid-column: 2 / 12;
  margin: 0.8rem 0;
}

.folio-piece--masterpiece .folio-piece-inner {
  padding: 3.2rem 3.8rem;
  background: linear-gradient(180deg, rgba(13, 33, 68, 0.75) 0%, rgba(7, 20, 42, 0.9) 100%);
  border: 1px solid rgba(212, 171, 80, 0.38);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), inset 0 0 50px rgba(212, 171, 80, 0.06);
}

.masterpiece-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(212, 171, 80, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Esquinas Escalonadas de Marco Imperial */
.masterpiece-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 171, 80, 0.15);
  pointer-events: none;
  z-index: 2;
}

.corner-mark {
  position: absolute;
  width: 12px;
  height: 12px;
}

.corner-mark--tl { top: -1px; left: -1px; border-top: 2px solid #E5C271; border-left: 2px solid #E5C271; }
.corner-mark--tr { top: -1px; right: -1px; border-top: 2px solid #E5C271; border-right: 2px solid #E5C271; }
.corner-mark--bl { bottom: -1px; left: -1px; border-bottom: 2px solid #E5C271; border-left: 2px solid #E5C271; }
.corner-mark--br { bottom: -1px; right: -1px; border-bottom: 2px solid #E5C271; border-right: 2px solid #E5C271; }

.masterpiece-seal {
  display: flex;
  align-items: center;
  color: #D4AB50;
}

.folio-heading--masterpiece {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.folio-keyword-dominant {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F7EFE1;
  text-shadow: 0 0 25px rgba(247, 239, 225, 0.25);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.folio-text-follow {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #BAC7DA;
  font-weight: 400;
  line-height: 1.6;
}

.folio-engraving--roots {
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 360px;
  height: 200px;
  opacity: 0.26;
}

/* ELEMENTO 04 (Semilla / Trascendencia) */
.folio-piece--04 {
  grid-column: 1 / 7;
}

.folio-engraving--seed {
  right: 5px;
  bottom: -15px;
  width: 145px;
  height: 145px;
}

/* ELEMENTO 05 (Ramificación / Red Humana) */
.folio-piece--05 {
  grid-column: 7 / 13;
}

.folio-piece--05 .folio-piece-inner {
  border-bottom: 2px solid rgba(212, 171, 80, 0.45);
}

.folio-engraving--branch {
  right: -5px;
  bottom: -15px;
  width: 180px;
  height: 130px;
}

/* ==================== INTERACCIÓN HOVER EDITORIAL ==================== */
@media (hover: hover) and (pointer: fine) {
  /* Cuando el contenedor está en hover, las demás piezas bajan sutilmente el contraste */
  .herbario-archive-grid:hover .folio-piece:not(:hover) {
    opacity: 0.42;
    filter: grayscale(18%);
  }

  .folio-piece:hover {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-4px);
  }

  .folio-piece:hover .folio-piece-inner {
    border-color: rgba(212, 171, 80, 0.65);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 171, 80, 0.12);
    background: rgba(9, 27, 54, 0.75);
  }

  .folio-piece:hover .folio-keyword,
  .folio-piece:hover .folio-keyword-dominant {
    color: #E7D6A5;
    text-shadow: 0 0 22px rgba(231, 214, 165, 0.4);
  }

  .folio-piece:hover .folio-engraving {
    opacity: 0.52;
    transform: translate(4px, -4px);
  }

  .folio-piece--masterpiece:hover .folio-engraving--roots {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ==================== RESPONSIVE MÓVIL Y TABLET ==================== */
@media (max-width: 991px) {
  .herbario-section {
    padding: 5.5rem 0 6.5rem;
  }

  .herbario-header {
    margin-bottom: 3.5rem;
  }

  .herbario-archive-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .folio-piece--masterpiece {
    order: -1; /* En móvil, la pieza principal abre con máximo protagonismo editorial */
    margin: 0;
  }

  .folio-piece--masterpiece .folio-piece-inner {
    padding: 2.4rem 1.8rem;
  }

  .folio-piece-inner {
    padding: 2rem 1.6rem;
  }

  .folio-engraving--roots {
    width: 250px;
    height: 140px;
  }

  .folio-engraving--stem,
  .folio-engraving--leaf,
  .folio-engraving--seed,
  .folio-engraving--branch {
    width: 120px;
    height: 120px;
  }
}

/* AUSPICIADORES */
#auspiciadores { background: var(--black-2); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); padding: 4rem 2rem; }
.sponsors-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4rem; margin-top: 2.5rem; }
.sponsor-logo { display: flex; align-items: center; justify-content: center; max-width: 160px; transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease; opacity: 0.6; filter: grayscale(1) brightness(200%) opacity(0.8); cursor: pointer; }
.sponsor-logo img { width: 100%; height: auto; object-fit: contain; }
.sponsor-logo:hover { opacity: 1; transform: scale(1.05); filter: grayscale(0) brightness(100%) opacity(1); }


/* LOCATION */
#ubicacion { background: var(--black); }
.location-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.location-info { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 2.5rem; }
.location-date { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.location-time { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.location-address { padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.location-address h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.location-address p { font-size: 0.95rem; color: var(--white-dim); line-height: 1.6; }
.location-details { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.location-detail-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--white-dim); }
.location-detail-item .icon { width: 30px; height: 30px; background: rgba(221, 181, 52, 0.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); height: 100%; min-height: 350px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 350px; border: none; }

/* ========================================================
   REGISTRO — CULMINACIÓN EDITORIAL DE DECISIÓN
   Pieza central de cierre, marco imperial con filigranas botánicas integradas,
   inputs sofisticados y botón protagonista de alto contraste champagne.
   ======================================================== */
.registro-culminacion {
  position: relative;
  background: #040C1D;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
  border-top: 1px solid rgba(212, 171, 80, 0.15);
  scroll-margin-top: 80px;
}

.registro-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(16, 45, 87, 0.45) 0%, rgba(4, 12, 29, 0.98) 75%);
  pointer-events: none;
  z-index: 0;
}

.registro-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 171, 80, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.registro-botanical {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  transition: transform 0.6s ease;
}
.registro-botanical--left {
  left: -20px;
  bottom: 0;
}
.registro-botanical--right {
  right: -20px;
  bottom: 0;
}

.registro-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.registro-kicker {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D4AB50;
  margin-bottom: 0.85rem;
  display: inline-block;
}
.registro-headline {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: #F5EEDB;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}
.registro-gold-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto;
}
.reg-line-diamond {
  font-size: 0.55rem;
  color: #D4AB50;
  opacity: 0.75;
}
.reg-line-bar {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 171, 80, 0.5), transparent);
}

/* Contenedor Editorial Premium */
.registro-editorial-plate {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(10, 29, 59, 0.88) 0%, rgba(6, 18, 37, 0.96) 100%);
  border: 1px solid rgba(212, 171, 80, 0.28);
  border-radius: 6px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7), inset 0 0 45px rgba(212, 171, 80, 0.04);
  padding: 3.2rem 3rem 2.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Doble Marco Interior y Muescas Angulares */
.plate-inner-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 171, 80, 0.12);
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
}

.plate-corner {
  position: absolute;
  width: 12px;
  height: 12px;
}
.plate-corner--tl { top: -1px; left: -1px; border-top: 1.5px solid #E5C271; border-left: 1.5px solid #E5C271; }
.plate-corner--tr { top: -1px; right: -1px; border-top: 1.5px solid #E5C271; border-right: 1.5px solid #E5C271; }
.plate-corner--bl { bottom: -1px; left: -1px; border-bottom: 1.5px solid #E5C271; border-left: 1.5px solid #E5C271; }
.plate-corner--br { bottom: -1px; right: -1px; border-bottom: 1.5px solid #E5C271; border-right: 1.5px solid #E5C271; }

/* Grabados Botánicos de Esquina Integrados */
.plate-botanical-engraving {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}
.plate-botanical-engraving--tl {
  top: 12px;
  left: 12px;
}
.plate-botanical-engraving--br {
  bottom: 12px;
  right: 12px;
}

.plate-content {
  position: relative;
  z-index: 2;
}

.plate-header {
  text-align: center;
  margin-bottom: 2.25rem;
}
.plate-header .form-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #F5EEDB;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}
.plate-header .form-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #D4AB50;
  letter-spacing: 0.05em;
  margin: 0;
}

.registro-editorial-plate .form-group {
  margin-bottom: 1.4rem;
}
.registro-editorial-plate label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #BAC7DA;
  margin-bottom: 0.45rem;
}
.registro-editorial-plate .input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(4, 14, 30, 0.65);
  border: 1px solid rgba(212, 171, 80, 0.2);
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.registro-editorial-plate .input-icon {
  position: absolute;
  left: 1.1rem;
  color: #D4AB50;
  opacity: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}
.registro-editorial-plate input,
.registro-editorial-plate select {
  width: 100%;
  height: 52px;
  padding: 0 1rem 0 3rem;
  background: transparent;
  border: none;
  color: #F5EEDB;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
}
.registro-editorial-plate input::placeholder {
  color: #556B88;
}
.registro-editorial-plate select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.registro-editorial-plate select option {
  background: #071934;
  color: #F5EEDB;
}
.registro-editorial-plate .input-icon-wrap:focus-within {
  border-color: #E5C271;
  background: rgba(5, 18, 40, 0.85);
  box-shadow: 0 0 16px rgba(229, 194, 113, 0.18);
}
.registro-editorial-plate .input-icon-wrap:focus-within .input-icon {
  color: #E7D6A5;
  opacity: 1;
  transform: scale(1.1);
}

/* Botón Sólido de Alto Contraste Champagne */
.btn-registro-solid {
  width: 100%;
  height: 54px;
  margin-top: 1.75rem;
  background: linear-gradient(135deg, #DDB534 0%, #EEDCA6 50%, #D4AB50 100%);
  color: #05152A;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 194, 113, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-registro-solid svg {
  transition: transform 0.3s ease;
}
.btn-registro-solid:hover {
  background: linear-gradient(135deg, #E6C35A 0%, #F8E7BC 50%, #DDB534 100%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 32px rgba(229, 194, 113, 0.45);
  transform: translateY(-2px);
}
.btn-registro-solid:hover svg {
  transform: translateX(4px);
}

.registro-editorial-plate .btn-scarcity {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #BAC7DA;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
.registro-editorial-plate .btn-scarcity span {
  color: #E5C271;
  font-weight: 600;
}

.registro-editorial-plate .form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #71849D;
  text-align: center;
  margin-top: 0.5rem;
}
.registro-editorial-plate .form-privacy svg {
  color: #D4AB50;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Consentimiento de datos personales */
.form-consent { margin: 0.25rem 0 1.5rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
}
.consent-label input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}
.consent-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(212, 171, 80, 0.5);
  border-radius: 3px;
  background: rgba(4, 12, 30, 0.6);
  transition: var(--transition);
  position: relative;
}
.consent-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #05130E;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.consent-label input:checked + .consent-box {
  background: #D4AB50;
  border-color: #D4AB50;
}
.consent-label input:checked + .consent-box::after { transform: rotate(45deg) scale(1); }
.consent-label input:focus-visible + .consent-box {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.consent-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #BAC7DA;
}
.consent-text a {
  color: #E5C271;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 194, 113, 0.4);
}
.consent-text a:hover { color: var(--accent-light); }

/* ========================================================
   AUSPICIADORES — FIRMA INSTITUCIONAL DISCRETA
   ======================================================== */
.auspiciadores-endorsement {
  position: relative;
  background: #040C1D;
  padding: 3rem 0 6.5rem;
  text-align: center;
}

.auspiciadores-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(212, 171, 80, 0.16);
}

.auspiciadores-kicker {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #A6B9D4;
  margin-bottom: 3.5rem;
}

.auspiciadores-logos-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.sponsor-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  cursor: pointer;
}

.sponsor-brand img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1) brightness(140%) sepia(20%);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.sponsor-brand:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(100%);
  transform: translateY(-5px) scale(1.06);
}

@media (max-width: 768px) {
  .registro-editorial-plate {
    padding: 2.2rem 1.6rem 2rem;
  }
  .auspiciadores-logos-wrap {
    gap: 3.5rem;
  }
  .sponsor-brand {
    max-width: 250px;
  }
  .sponsor-brand img {
    max-height: 75px;
  }
  .registro-botanical {
    opacity: 0.2;
  }
}

/* FAQ */
#faq { background: var(--black); }
.faq-list { max-width: 750px; margin: 2rem auto 0; }
.faq-item { border: 1px solid var(--glass-border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: var(--accent); box-shadow: 0 0 20px rgba(221, 181, 52, 0.1); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; background: var(--glass); border: none; cursor: pointer; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--white); text-align: left; gap: 1rem; transition: var(--transition); }
.faq-question:hover { background: rgba(221, 181, 52, 0.05); }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1rem; font-weight: 300; transition: var(--transition); }
.faq-item.active .faq-icon { background: var(--accent); color: var(--black); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.5rem; background: var(--black-2); }
.faq-item.active .faq-answer { max-height: 200px; padding: 1.25rem 1.5rem; }
.faq-answer p { font-size: 0.88rem; color: var(--white-dim); line-height: 1.7; }

/* CTA FINAL */
#cta-final { position: relative; overflow: hidden; text-align: center; padding: 8rem 2rem; background: var(--black-2); border-top: 1px solid var(--glass-border); }
.cta-final-event { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.cta-final-headline { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.cta-final-sub { font-size: 1rem; color: var(--white-dim); max-width: 550px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-final-info { margin: 2rem 0; display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--white-dim); }
.cta-final-info span { display: flex; align-items: center; gap: 0.4rem; }
.cta-final-info strong { color: var(--white); }
.cta-btn-wrap { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; }
.cta-btn-wrap .btn-primary { width: auto; min-width: 320px; font-size: 1rem; padding: 1.25rem 3rem; }

/* ========================================================
   CINTA MOVIL — BANNER DE REGISTRO EN MOVIMIENTO CONTINUO
   ======================================================== */
.cinta-movil-section {
  position: relative;
  width: 100%;
  background: #03091C;
  border-top: 1px solid rgba(212, 171, 80, 0.24);
  border-bottom: 1px solid rgba(212, 171, 80, 0.24);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 10;
}
.cinta-movil-link {
  display: block;
  width: 100%;
  padding: 1.8rem 0 1.4rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.cinta-movil-link:hover {
  background-color: rgba(5, 18, 40, 0.95);
}
.cinta-movil-link:hover .cinta-pill {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(212, 171, 80, 0.45);
}
.cinta-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}
.cinta-row--primary {
  margin-bottom: 0.65rem;
}
.cinta-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.cinta-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.cinta-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.92rem, 1.3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #F5EFE6;
  padding: 0 1.25rem;
  text-transform: uppercase;
}
.cinta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #C8A150 0%, #DDB534 50%, #B98D2B 100%);
  color: #040C1E;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 2px;
  margin: 0 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cinta-pill svg {
  transition: transform 0.3s ease;
}
.cinta-movil-link:hover .cinta-pill svg {
  transform: translateX(3px);
}
.cinta-diamond {
  color: #D4AB50;
  font-size: 0.65rem;
  padding: 0 0.85rem;
  opacity: 0.8;
}
.cinta-italic {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: rgba(245, 239, 230, 0.78);
  padding: 0 1.25rem;
  letter-spacing: 0.04em;
}
.cinta-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4AB50;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(212, 171, 80, 0.25);
  border-radius: 2px;
  margin: 0 1rem;
  background: rgba(212, 171, 80, 0.05);
}
.cinta-diamond-sm {
  color: rgba(212, 171, 80, 0.45);
  font-size: 0.5rem;
  padding: 0 0.75rem;
}
.cinta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #D4AB50;
  margin: 0 0.5rem;
  vertical-align: middle;
}
.cinta-icon-wrap svg {
  display: block;
}
.cinta-pill--cta {
  background: linear-gradient(135deg, #DDB534 0%, #C8A150 100%);
  font-weight: 800;
  letter-spacing: 0.16em;
}

@media (max-width: 640px) {
  .cinta-movil-link {
    padding: 1.25rem 0 1rem;
  }
  .cinta-text {
    font-size: 0.85rem;
    padding: 0 0.85rem;
  }
  .cinta-pill {
    font-size: 0.62rem;
    padding: 0.28rem 0.75rem;
    margin: 0 0.65rem;
  }
  .cinta-italic {
    font-size: 0.85rem;
    padding: 0 0.85rem;
  }
  .cinta-tag {
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    margin: 0 0.65rem;
  }
  .cinta-prompt {
    font-size: 0.65rem;
  }
}

/* FOOTER */
footer { background: var(--black); border-top: 1px solid var(--glass-border); padding: 2.5rem 2rem; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.footer-text { font-size: 0.78rem; color: var(--white-muted); }
.footer-legal { margin-top: 0.85rem; font-size: 0.78rem; }
.footer-legal a {
  color: var(--white-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 249, 245, 0.2);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* SECTION DIVIDERS & TOPOGRAPHIC DECORATIONS */
.section-divider { height: 1px; background: var(--glass-border); margin: 0; }

.topo-divider {
  width: 100%;
  height: 50px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  margin: -10px 0;
}
.topo-divider img {
  width: 100%;
  height: 100%;
  display: block;
}

.topo-bg-layer {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  overflow: hidden;
  will-change: transform;
}
.topo-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#sesiones, #transformacion, #cta-final {
  position: relative;
  overflow: hidden;
}
#sesiones .container, #transformacion .container, #cta-final .container {
  position: relative;
  z-index: 2;
}

/* CTA FINAL — BOTANICAL FRAMING BRANCHES */
.cta-botanical {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.38;
}
.cta-botanical--left {
  bottom: 0px;
  left: -20px;
  width: 260px;
  height: 320px;
}
.cta-botanical--right {
  bottom: 0px;
  right: -20px;
  width: 260px;
  height: 320px;
}
.cta-botanical svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 800px) {
  .cta-botanical {
    opacity: 0.18;
    width: 180px;
    height: 220px;
  }
}

/* Progressive enhancement: elements remain visible by default, GSAP handles entrance dynamically */

/* KEYFRAMES */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* RESPONSIVE */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; min-height: auto; }
  .location-content { grid-template-columns: 1fr; }
  .map-embed { min-height: 280px; }
  .nav-event-meta { display: none; }
  .nav-bar { padding: 0.65rem 1.25rem; }
}
@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  #hero { padding: 5rem 1.25rem 2.5rem; }
  .hero-event-name { font-size: 2.3rem; line-height: 1.02; }
  .hero-tagline { font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 1.5rem; }
  .countdown-unit { min-width: 68px; padding: 1.4rem 0.85rem 1.1rem; }
  .countdown-number { font-size: 2.2rem; }
  .countdown-separator { display: none; }
  .countdown-botanical { display: none; }
  .section-title { font-size: 1.6rem; }
  .hero-form-card { padding: 1.75rem 1.25rem; }
  .registro-inner { padding: 1.75rem 1.25rem; }
  .cta-btn-wrap .btn-primary { min-width: 0; width: 100%; }
  .nav-cta { display: none; }
  .speakers-grid { grid-template-columns: 1fr 1fr; }
  .sessions-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HILO CONDUCTOR BOTÁNICO — v4 (Dynamic Living Growth)
   Fixed viewport-height canvases flanking the layout margins.
   Ultra-crisp 60FPS dynamic growth & retraction on scroll.
   ============================================================ */

#vine-canvas-left,
#vine-canvas-right {
  position: fixed;
  top: 0;
  pointer-events: none;
  z-index: 2;
  width: 180px;
  height: 100vh;
}

#vine-canvas-left {
  left: 0;
}

#vine-canvas-right {
  right: 0;
}

/* Hide on narrow viewports */
@media (max-width: 1279px) {
  #vine-canvas-left,
  #vine-canvas-right { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  #vine-canvas-left,
  #vine-canvas-right { display: none !important; }
}

/* POLISH — centrado, ponentes, cinta, auspiciadores y confirmación de registro
   ============================================================ */

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

/* ---- Contador: titular más largo, balanceado ---- */
.countdown-header { text-align: center; }
.countdown-headline { max-width: 820px; margin-left: auto; margin-right: auto; text-wrap: balance; line-height: 1.3; }

/* ---- Pregunta clave: título y cards centrados ---- */
#para-quien .editorial-header { text-align: center; }
#para-quien .editorial-title { text-wrap: balance; }
.editorial-card {
  justify-content: center;
  text-align: center;
}
.editorial-card-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.editorial-card-content p { text-wrap: balance; }
/* Ornament becomes a soft watermark so centered text never collides with it */
.editorial-card-ornament { opacity: 0.32; }
.editorial-card:hover .editorial-card-ornament { opacity: 0.55; }
.bento-6 .editorial-card-content { max-width: 100%; }
.editorial-arch .editorial-card-ornament { opacity: 0.7; }

@media (max-width: 1024px) {
  .editorial-card,
  .editorial-arch { justify-content: center !important; text-align: center !important; }
  .editorial-card-content,
  .editorial-arch .editorial-card-content { max-width: 100% !important; text-align: center !important; }
}
@media (max-width: 640px) {
  .editorial-card-content { max-width: 100%; }
}

/* ---- Programa: texto de las cards centrado ---- */
.chapter-card-inner { text-align: center; align-items: center; }
.chapter-meta {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
}
.chapter-desc { margin-left: auto; margin-right: auto; max-width: 92%; text-wrap: pretty; }
.chapter-footer { width: 100%; }
.chapter-sig-rule { background: linear-gradient(90deg, transparent 0%, rgba(212, 171, 80, 0.4) 50%, transparent 100%); }
.chapter-speaker { justify-content: center; }

/* ---- Lo que te llevarás: contenido centrado ---- */
.folio-piece-inner { text-align: center; align-items: center; }
.folio-metaphor-tag { justify-content: center; flex-wrap: wrap; }
.folio-heading--masterpiece { align-items: center; }
.masterpiece-seal { justify-content: center; }
.herbario-header { text-align: center; }

/* ---- Cinta: sin el relleno global de 6rem que la separaba de todo ---- */
.cinta-movil-section { padding: 0; }
.cinta-movil-link { padding: 0.95rem 0 0.85rem; }
.cinta-row--primary { margin-bottom: 0.45rem; }
/* Secciones pegadas a una cinta no necesitan tanto aire hacia ella */
section:has(+ .cinta-movil-section) { padding-bottom: clamp(3rem, 6vw, 4.5rem) !important; }
.cinta-movil-section + section { padding-top: clamp(3rem, 6vw, 4.5rem) !important; }
@media (max-width: 640px) {
  .cinta-movil-link { padding: 0.75rem 0 0.65rem; }
  .cinta-row--primary { margin-bottom: 0.35rem; }
}

/* ---- Ponentes: mismo fondo para los 4, textos centrados ---- */
#ponentes .speaker-info { text-align: center; }
#ponentes .speaker-card .speaker-img-wrap {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse 65% 55% at 50% 32%, rgba(214, 179, 103, 0.2) 0%, rgba(214, 179, 103, 0) 70%),
    linear-gradient(180deg, #061834 0%, #092149 100%);
}
#ponentes .speaker-card .speaker-img-wrap img {
  mix-blend-mode: normal;
  filter: none;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
#ponentes .speaker-card:hover .speaker-img-wrap img { filter: brightness(1.06); transform: scale(1.04); }
#ponentes .speaker-card .speaker-img-overlay { mix-blend-mode: normal; background: none; }
#ponentes .speaker-name { color: #F5EEDB; }
#ponentes .speaker-role { color: var(--accent); }
#ponentes .speaker-bio { color: rgba(220, 230, 242, 0.7); }

/* ---- Auspiciadores: organizador + 5 logos en champagne ---- */
.auspiciadores-endorsement .auspiciadores-kicker { margin-bottom: 1.75rem; }
.organizer-logo { display: flex; justify-content: center; margin-bottom: 3rem; }
.auspiciadores-line {
  width: 72px; height: 1px; margin: 0 auto 3rem;
  background: rgba(212, 171, 80, 0.4);
}
.sponsor-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--h, 56px);
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.sponsor-img:hover { opacity: 1; transform: translateY(-3px); }
.sponsors-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.sponsor-cell { display: flex; align-items: center; justify-content: center; min-height: 96px; }
@media (max-width: 768px) {
  .sponsors-row { gap: 1.5rem 1.25rem; }
  .sponsor-cell { flex: 0 0 calc(50% - 0.75rem); min-height: 80px; padding: 0 0.5rem; }
  .organizer-logo { margin-bottom: 2.25rem; }
  .auspiciadores-line { margin-bottom: 2.25rem; }
}

/* ---- Registro: error inline y confirmación con grupo de WhatsApp ---- */
.form-error {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(232, 129, 115, 0.5);
  border-radius: 4px;
  background: rgba(120, 30, 20, 0.25);
  color: #F3C4BC;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.form-error[hidden], .registro-exito[hidden], .plate-header[hidden], #form-registro[hidden] { display: none; }

.registro-exito { text-align: center; padding: 1rem 0 0.5rem; outline: none; }
.registro-exito-icon {
  width: 68px; height: 68px;
  margin: 0 auto 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #DFC383;
  color: #05130E;
  box-shadow: 0 0 0 8px rgba(223, 195, 131, 0.14), 0 0 34px rgba(223, 195, 131, 0.3);
}
.registro-exito-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F5EEDB;
  margin-bottom: 0.75rem;
}
.registro-exito-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--white-dim);
  max-width: 420px;
  margin: 0 auto 1.75rem;
}
.registro-exito-text strong { color: #E5C271; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 380px;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  background: #DFC383;
  color: #05152A;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 194, 113, 0.25);
  transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 32px rgba(229, 194, 113, 0.4); }
.registro-exito-note { margin-top: 1.1rem; font-size: 0.78rem; color: #71849D; }
@media (max-width: 480px) {
  .btn-whatsapp { font-size: 0.78rem; letter-spacing: 0.06em; padding: 0.95rem 1rem; }
}

/* La regla global `footer` (fondo negro + padding) no debe aplicarse a la firma de cada capítulo */
footer.chapter-footer { background: none; border-top: 0; padding: 1.25rem 0 0; }

/* Grabados de Pregunta clave: marca de agua más discreta y pequeña, para no cruzar el texto */
.editorial-card-ornament { width: 132px; height: 132px; right: -4px; bottom: -12px; opacity: 0.2; }
.editorial-card:hover .editorial-card-ornament { opacity: 0.42; }
.editorial-arch .editorial-card-ornament { width: 165px; height: 165px; opacity: 0.7; }
.bento-6 .editorial-card-ornament { width: 190px; height: 110px; right: 10px; bottom: -10px; }
@media (max-width: 1024px) {
  .bento-2 .editorial-card-ornament { width: 110px !important; height: 110px !important; opacity: 0.2 !important; }
}
@media (max-width: 640px) {
  .editorial-card-ornament { width: 96px !important; height: 96px !important; opacity: 0.16 !important; }
  .bento-6 .editorial-card-ornament { width: 120px !important; height: 72px !important; }
}

/* ---- Márgenes laterales: estas secciones tienen padding horizontal 0, así que el .container debe dar el gutter ---- */
@media (max-width: 1240px) {
  #para-quien .container,
  #sesiones .container,
  #transformacion .container,
  .herbario-section .container,
  .registro-culminacion .container,
  .auspiciadores-endorsement .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 480px) {
  #para-quien .container,
  #sesiones .container,
  #transformacion .container,
  .herbario-section .container,
  .registro-culminacion .container,
  .auspiciadores-endorsement .container { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ---- Hero en celular: el título con Cinzel es más ancho, se ajusta para no desbordar ---- */
@media (max-width: 600px) {
  .hero-logo-top  { font-size: clamp(1.1rem, 6.6vw, 2rem); letter-spacing: 0.22em; }
  .hero-logo-main { font-size: clamp(2.2rem, 12.4vw, 4.4rem); letter-spacing: 0.04em; }
}

/* ---- Card del arco (N° 02): en pantallas medianas y pequeñas también apilada y centrada ---- */
@media (max-width: 1024px) {
  .editorial-arch { flex-direction: column !important; align-items: center !important; gap: 0.6rem; }
  .editorial-arch .editorial-card-ornament { position: relative !important; right: auto !important; bottom: auto !important; margin: 0.25rem auto !important; opacity: 0.55 !important; width: 110px !important; height: 110px !important; }
}

/* ---- Ponentes en celular: textos más contenidos para 2 columnas ---- */
@media (max-width: 480px) {
  .speaker-info { padding: 1rem 0.65rem; }
  .speaker-name { font-size: 0.82rem; letter-spacing: 0.05em; }
  .speaker-role { font-size: 0.74rem; }
  .speaker-bio { font-size: 0.74rem; }
  .speakers-grid { gap: 0.9rem; }
}

/* ---- CTA del hero en pantallas muy angostas ---- */
@media (max-width: 480px) {
  .btn-hero-cta { width: 100%; max-width: 340px; padding: 1.05rem 1.25rem; font-size: 1rem; letter-spacing: 0.05em; }
  .hero-cta-wrapper { width: 100%; align-items: center; }
  .hero-cta-footnote { text-align: center; }
}

/* Transformación termina en una cinta: menos aire inferior */
#transformacion.viaje-editorial { padding-bottom: 5rem !important; }

/* ============================================================
   RESPONSIVE — ronda 2
   ============================================================ */

/* Capas grandes del hero: sin will-change permanente. Con la emulación de dispositivo (DPR distinto)
   Chrome puede dejar esas capas rasterizadas a baja resolución y el hero se ve borroso;
   GSAP ya promueve las capas mientras anima. */
.hero-bg,
.hero-brand-title,
.split-char,
.vip-pass-card { will-change: auto; }

/* Lo que te llevarás: en celular/tablet las cards siguen el orden 01 → 05 */
@media (max-width: 991px) {
  .folio-piece--masterpiece { order: 0; }
}

/* Botón del hero: proporcionado en tableta y celular */
@media (max-width: 960px) {
  .btn-hero-cta { padding: 0.95rem 2.4rem; font-size: 1rem; }
}
@media (max-width: 480px) {
  .btn-hero-cta { width: auto; max-width: 100%; padding: 0.8rem 1.5rem; font-size: 0.88rem; letter-spacing: 0.06em; gap: 0.55rem; border-width: 1.5px; }
  .btn-hero-cta svg { width: 16px; height: 16px; }
  .hero-cta-footnote { font-size: 0.74rem; }
}

/* Contador: 4 tarjetas iguales en una fila, sin saltos de línea desiguales */
@media (max-width: 640px) {
  #countdown { padding: 4.5rem 1rem 5rem; }
  .countdown-header { margin-bottom: 2rem; }
  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }
  .countdown-separator { display: none; }
  .countdown-unit { min-width: 0; padding: 1.15rem 0.2rem 0.9rem; }
  .countdown-number { font-size: clamp(1.6rem, 8.2vw, 2.4rem); }
  .countdown-unit-label { font-size: 0.52rem; letter-spacing: 0.08em; }
  .countdown-unit .plate-corner { width: 10px; height: 10px; }
}

/* Casilla de consentimiento dentro de la placa de registro: neutraliza los estilos de label/input del formulario */
.registro-editorial-plate .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #BAC7DA;
}
.registro-editorial-plate .consent-label input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.registro-editorial-plate .consent-text { line-height: 1.55; }

/* ---- Header: el botón de registro persiste también en celular ---- */
.nav-cta-short { display: none; }
.nav-cta { transition: var(--transition), opacity 0.3s ease; }
.nav-cta.is-away { opacity: 0; pointer-events: none; transform: translateY(-4px); }
@media (max-width: 480px) {
  .nav-bar { padding: 0.65rem 1rem; gap: 0.6rem; }
  .nav-logo { font-size: 0.74rem; letter-spacing: 0.08em; white-space: nowrap; }
  .nav-cta { display: inline-flex; align-items: center; padding: 0.42rem 0.95rem; font-size: 0.72rem; letter-spacing: 0.05em; flex-shrink: 0; }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
}
@media (max-width: 350px) {
  .nav-logo { font-size: 0.66rem; letter-spacing: 0.05em; }
  .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.66rem; }
}

/* Las animaciones de entrada desplazan elementos en X (p. ej. el mapa arranca a +40px).
   Sin esto, en celular esos 40px ensanchaban toda la página (410px en un móvil de 390px)
   hasta que el elemento se revelaba: zoom/desplazamiento lateral al cargar. `clip` no crea scroll. */
html, body { overflow-x: hidden; overflow-x: clip; }
section { overflow-x: clip; }

/* Campo trampa anti-bots: fuera de pantalla (no display:none, que algunos bots detectan) */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }


/* ---- Título del hero con Poppins (como el flyer): sin serifs ni remates en punta ----
   La línea superior mide siempre ~0.42 de la inferior, así la proporción no cambia con el ancho. */
.hero-logo-top {
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.87vw, 3.95rem);
  letter-spacing: 0.36em;
  margin-right: -0.36em; /* compensa el espacio final del tracking para centrar bien */
}
.hero-logo-main {
  font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 11.6vw, 9.4rem);
  letter-spacing: -0.005em;
  line-height: 1.02;
  margin-top: 0.1em;
}
@media (max-width: 600px) {
  .hero-logo-top  { font-size: clamp(0.95rem, 6.2vw, 1.9rem); letter-spacing: 0.3em; margin-right: -0.3em; }
  .hero-logo-main { font-size: clamp(2.3rem, 14.8vw, 4.6rem); letter-spacing: -0.01em; }
}

/* Confirmación de registro: dos párrafos */
.registro-exito-text { max-width: 460px; }
.registro-exito-text--next { margin-top: -0.75rem; }

/* ---- Azul de marca (como el flyer), solo un poco: resplandor real detrás del hero y de las secciones con foto ---- */
.hero-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 48% at 50% 40%, rgba(0, 72, 150, 0.22) 0%, rgba(0, 72, 150, 0) 72%);
  pointer-events: none;
}
#para-quien::before,
#countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 60, 135, 0.14) 0%, rgba(0, 38, 92, 0.1) 100%);
  pointer-events: none;
  z-index: 0;
}
#countdown .countdown-ambient { z-index: 1; }
