/* ==========================================================================
   TEMA OFICIAL: ESENCIA CONF 2027 (ECOS)
   Visual Identity: Editorial Internacional / Volksans / Textura Táctil / Acentos Iridiscentes
   Dominio Oficial: https://esenciaconf.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FUENTES TIPOGRÁFICAS (VOLKSANS)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-Light.woff2') format('woff2'),
       url('../fonts/volksans-Light.woff') format('woff'),
       url('../fonts/volksans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-Regular.woff2') format('woff2'),
       url('../fonts/volksans-Regular.woff') format('woff'),
       url('../fonts/volksans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-Normal.woff2') format('woff2'),
       url('../fonts/volksans-Normal.woff') format('woff'),
       url('../fonts/volksans-Normal.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-SemiBold.woff2') format('woff2'),
       url('../fonts/volksans-SemiBold.woff') format('woff'),
       url('../fonts/volksans-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-Bold.woff2') format('woff2'),
       url('../fonts/volksans-Bold.woff') format('woff'),
       url('../fonts/volksans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Volksans';
  src: url('../fonts/volksans-Black.woff2') format('woff2'),
       url('../fonts/volksans-Black.woff') format('woff'),
       url('../fonts/volksans-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. SISTEMA DE DISEÑO & VARIABLES CSS
   -------------------------------------------------------------------------- */
:root {
  /* Fondo táctil y superficies */
  --color-bg-base: #f2eee5;
  --color-bg-surface: #eae5d9;
  --color-card-bg: rgba(255, 255, 255, 0.78);
  --color-card-border: rgba(49, 50, 49, 0.08);
  --color-border-subtle: rgba(49, 50, 49, 0.06);
  --color-gray-border: rgba(49, 50, 49, 0.12);

  /* Tipografía & Contrastes */
  --color-text-primary: #313231;
  --color-text-secondary: #575550;
  --color-text-muted: #7d7a73;
  --color-white: #ffffff;
  --color-black: #313231;

  /* Cromatismo Iridiscente / Burbuja Holográfica */
  --color-iridescent-mint: #a8e7bc;
  --color-iridescent-yellow: #ffdd8c;
  --color-iridescent-coral: #ffb68d;
  --color-iridescent-pink: #ffa5e2;
  --color-iridescent-blue: #9cbcfb;

  --gradient-iridescent: linear-gradient(135deg, #a8e7bc 0%, #ffdd8c 25%, #ffb68d 50%, #ffa5e2 75%, #9cbcfb 100%);
  --gradient-iridescent-soft: linear-gradient(135deg, rgba(168, 231, 188, 0.3) 0%, rgba(255, 221, 140, 0.3) 25%, rgba(255, 182, 141, 0.3) 50%, rgba(255, 165, 226, 0.3) 75%, rgba(156, 188, 251, 0.3) 100%);
  --gradient-bubble-sphere: radial-gradient(circle at 35% 30%, #ffffff 0%, #ffdd8c 22%, #ffa5e2 52%, #a8e7bc 78%, #7dd3fc 100%);

  /* Compatibilidad con variables previas */
  --color-baby-pink: #ffa5e2;
  --color-baby-pink-rgb: 255, 165, 226;
  --color-pink-hot: #f43f5e;
  --color-dark-bg: var(--color-bg-base);
  --color-dark-surface: var(--color-bg-surface);
  --color-dark-card: var(--color-card-bg);
  --color-gray-text: var(--color-text-secondary);

  /* Familias tipográficas */
  --font-display: 'Volksans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Volksans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transición fluida */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-editorial: 0 10px 30px rgba(49, 50, 49, 0.06), 0 1px 3px rgba(49, 50, 49, 0.04);
  --shadow-hover: 0 20px 40px rgba(49, 50, 49, 0.12), 0 0 25px rgba(255, 165, 226, 0.22);
}

/* --------------------------------------------------------------------------
   3. RESET & ESTILOS BASE CON TEXTURA TÁCTIL (NO COLOR SÓLIDO)
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-base);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7) 0%, rgba(242, 238, 229, 0) 70%),
    url('../images/grain.svg'),
    url('../images/paper-texture.jpg');
  background-repeat: no-repeat, repeat, repeat;
  background-size: 100% 800px, 300px 300px, 300px 300px;
  background-attachment: scroll, scroll, scroll;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  box-sizing: border-box;
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. CABECERA & NAVBAR OFICIAL (ESENCIA CONF)
   -------------------------------------------------------------------------- */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 238, 229, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-gray-border);
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.site-navbar.scrolled {
  background: rgba(242, 238, 229, 0.96);
  box-shadow: 0 4px 20px rgba(49, 50, 49, 0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text-primary);
  z-index: 1001;
}

.brand-org {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.brand-event {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
}

.brand-event span {
  color: var(--color-text-primary);
}

.brand-badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--gradient-iridescent);
  color: #313231;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(255, 182, 141, 0.3);
}

/* MENÚ DE NAVEGACIÓN DESKTOP */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-menu li a:hover {
  color: var(--color-text-primary);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-text-primary);
  transition: width 0.3s ease;
}

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

.nav-mobile-cta {
  display: none;
}

/* BOTÓN MÓVIL HAMBURGUESA */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(49, 50, 49, 0.04);
  border: 1px solid var(--color-gray-border);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px 8px;
  gap: 5px;
  transition: var(--transition-smooth);
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. BOTONES DE ACCIÓN (ESTILO EDITORIAL INTERNACIONAL)
   -------------------------------------------------------------------------- */
.btn-pink-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-black);
  color: var(--color-white) !important;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--color-black);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(49, 50, 49, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-pink-hero::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-iridescent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 999px;
}

.btn-pink-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(49, 50, 49, 0.22);
  color: var(--color-black) !important;
  border-color: transparent;
}

.btn-pink-hero:hover::before {
  opacity: 1;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--color-gray-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline-hero:hover {
  background: #ffffff;
  border-color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(49, 50, 49, 0.08);
}

/* --------------------------------------------------------------------------
   6. HERO PRINCIPAL: REVERBERACIÓN CINÉTICA & BRANDING
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 6.5rem 0 5rem 0;
  overflow: hidden;
  text-align: center;
}

.hero-atmosphere-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 221, 140, 0.28) 0%, rgba(255, 165, 226, 0.25) 35%, rgba(168, 231, 188, 0.18) 65%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-gray-border);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(49, 50, 49, 0.04);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff5ea8;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 94, 168, 0.6);
  animation: pulseSphere 2s infinite;
}

@keyframes pulseSphere {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 168, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 94, 168, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 168, 0); }
}

.hero-supertitle {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

/* ESCENARIO CINÉTICO INTERACTIVO */
.hero-echo-stage {
  margin: 1rem 0 2.2rem 0;
  width: 100%;
}

.hero-echo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
}

.hero-sub-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0.9;
}

.hero-theme-sub {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  position: relative;
  z-index: 4;
}

.hero-echo-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  pointer-events: none;
  -webkit-text-stroke: 1.5px rgba(49, 50, 49, 0.35);
  color: transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.layer-echo-1 {
  z-index: 3;
  transform: translate(0px, 8px);
  -webkit-text-stroke: 1.5px rgba(255, 165, 226, 0.7);
}

.layer-echo-2 {
  z-index: 2;
  transform: translate(0px, 16px);
  -webkit-text-stroke: 1.5px rgba(255, 221, 140, 0.6);
}

.layer-echo-3 {
  z-index: 1;
  transform: translate(0px, 24px);
  -webkit-text-stroke: 1.5px rgba(168, 231, 188, 0.5);
}

/* MANIFIESTO OFICIAL */
.hero-manifesto {
  max-width: 760px;
  margin: 1.2rem auto 2rem auto;
}

.hero-manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.hero-manifesto p span {
  font-weight: 900;
  text-transform: uppercase;
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.1em;
}

/* STRIP DE LA SEDE */
.hero-venue-strip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gray-border);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-venue-strip strong {
  color: var(--color-text-primary);
}

.hero-venue-strip span:last-child {
  font-weight: 700;
  color: #313231 !important;
}

/* GRUPO DE LLAMADO A LA ACCIÓN */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ONDAS ACÚSTICAS (FRECUENCIA ECOS) */
.soundwave-teaser {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-gray-border);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
}

.soundwave-teaser span:first-child {
  font-weight: 800;
  color: var(--color-text-primary) !important;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--color-text-primary);
  border-radius: 2px;
  animation: soundPulse 1.1s infinite alternate ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; background: #ff5ea8; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; background: #ffaa5e; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; background: #60d394; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; background: #4dabf7; }

@keyframes soundPulse {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* --------------------------------------------------------------------------
   7. MARQUEE TICKER DE ALTO IMPACTO (CONTRASTE EDITORIAL)
   -------------------------------------------------------------------------- */
.marquee-strip {
  border-top: 1px solid var(--color-text-primary);
  border-bottom: 1px solid var(--color-text-primary);
  background: var(--color-text-primary);
  padding: 1.15rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 26s linear infinite;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fbf9f5;
}

.marquee-track span.dot {
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. SECCIONES DE CONTENIDO & TITULARES
   -------------------------------------------------------------------------- */
.content-section {
  padding: 6.5rem 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-iridescent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-secondary);
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 3.5rem;
}

/* --------------------------------------------------------------------------
   9. TARJETAS DE PROPÓSITO / MANIFIESTO
   -------------------------------------------------------------------------- */
.purpose-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-gray-border);
  padding: 2.5rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-editorial);
  position: relative;
  overflow: hidden;
}

.purpose-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-hover);
  background: #ffffff;
}

.purpose-card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.purpose-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.purpose-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. BLOQUE DE INVITADOS / SPEAKERS (NUEVO DISEÑO CON BURBUJA IRIDISCENTE)
   -------------------------------------------------------------------------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.speaker-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-gray-border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem 2.5rem 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-editorial);
}

.speaker-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-hover);
  background: #ffffff;
}

/* ENVOLTORIO DE LA FOTO EN ESFERA / BURBUJA HOLOGRÁFICA */
.speaker-photo-wrap {
  width: 250px;
  height: 250px;
  position: relative;
  margin: 0 auto 1.8rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anillo iridiscente con halo cromático */
.speaker-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--gradient-iridescent);
  z-index: 1;
  filter: blur(6px);
  opacity: 0.85;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.speaker-card:hover .speaker-photo-wrap::before {
  opacity: 1;
  filter: blur(10px);
}

/* Borde nítido de la esfera */
.speaker-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-iridescent);
  z-index: 2;
}

/* Satélite / esfera secundaria como en el poster oficial (con bandera y brillo 3D) */
.speaker-bubble-satellite {
  position: absolute;
  bottom: 10px;
  right: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-bubble-sphere);
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatOrb 4s ease-in-out infinite alternate;
}

.speaker-bubble-satellite .satellite-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.speaker-bubble-satellite .satellite-glass-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.25) 35%, rgba(255, 255, 255, 0) 65%),
              linear-gradient(140deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.12) 100%);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.95), inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.05); }
}

.speaker-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  border: 4px solid #ffffff;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.speaker-card:hover .speaker-photo-wrap img {
  transform: scale(1.03);
}

.speaker-top-badges {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 5;
}

.badge-role {
  background: #313231;
  color: #ffffff;
  font-size: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.speaker-details-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 4;
}

.speaker-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

/* Rótulo "speaker" en minúsculas bold como el poster oficial */
.speaker-title-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-text-primary);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.speaker-origin {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

/* Identidad oficial Esencia 2027 ECOS: Sello tipográfico centrado de 3 líneas */
.speaker-ecos-brand {
  width: 100%;
  border-top: 1px solid var(--color-gray-border);
  padding-top: 1.1rem;
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.15;
  user-select: none;
  text-align: center;
}

.speaker-ecos-brand .brand-word-top {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  line-height: 1.1;
}

.speaker-ecos-brand .brand-waves-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.2rem 0;
  line-height: 1.1;
}

.speaker-ecos-brand .brand-waves-row .brand-year {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.speaker-ecos-brand .brand-waves-row .brand-waves {
  font-family: var(--font-display), monospace, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
  transform: translateY(-1px);
}

.speaker-ecos-brand .brand-word-bottom {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  line-height: 1.1;
}

/* Compatibilidad retrospectiva */
.speaker-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-gray-border);
  padding-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN: LA SEDE — SALÓN JUMBO DEL COUNTRY CLUB
   -------------------------------------------------------------------------- */
.venue-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2.2rem;
  align-items: stretch;
}

.venue-box-main {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-gray-border);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-editorial);
}

.venue-badge-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient-iridescent);
  color: #313231;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}

.venue-title-sub {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 1.2rem;
}

.venue-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-border);
}

.v-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.v-stat-txt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.venue-box-side {
  background: var(--color-text-primary);
  color: #ffffff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(49, 50, 49, 0.18);
}

.venue-box-side .section-tag {
  color: var(--color-iridescent-pink);
}

.venue-box-side p {
  color: #d1cfc7 !important;
}

.venue-box-side .btn-outline-hero {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.venue-box-side .btn-outline-hero:hover {
  background: #ffffff;
  color: #313231;
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   12. SECCIÓN: APORTES & ENTRADAS (TICKETS EVENTIN)
   -------------------------------------------------------------------------- */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
}

.ticket-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-gray-border);
  border-radius: 20px;
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-editorial);
  position: relative;
}

.ticket-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-hover);
  background: #ffffff;
}

.ticket-card.featured {
  border: 2px solid var(--color-text-primary);
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(49, 50, 49, 0.12);
}

.ticket-card.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-iridescent);
  color: #313231;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.ticket-card-header {
  margin-bottom: 2rem;
}

.ticket-phase {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.ticket-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.ticket-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ticket-price span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   13. FORMULARIOS, NEWSLETTER & FAQ
   -------------------------------------------------------------------------- */
.newsletter-box-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-gray-border);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-editorial);
}

.esencia-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--color-gray-border);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.esencia-input:focus {
  outline: none;
  border-color: var(--color-text-primary);
  box-shadow: 0 0 0 3px rgba(49, 50, 49, 0.08);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gray-border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  background: #ffffff;
  border-color: var(--color-text-primary);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.faq-answer {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. MODAL DE CHECKOUT UNIFICADO
   -------------------------------------------------------------------------- */
.esencia-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(49, 50, 49, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.esencia-modal-backdrop.is-open,
.esencia-modal-backdrop.is-active {
  display: flex;
}

.esencia-modal-card {
  background: #fbf9f5;
  background-image: url('../images/grain.svg'), url('../images/paper-texture.jpg');
  border: 1.5px solid var(--color-gray-border);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.esencia-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-border);
  background: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.esencia-modal-close:hover {
  background: var(--color-text-primary);
  color: #ffffff;
}

.modal-badge-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient-iridescent);
  color: #313231;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.checkout-qty-selector {
  background: #ffffff;
  border: 1px solid var(--color-gray-border);
  border-radius: 12px;
  padding: 1.1rem;
}

.qty-control-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-qty {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f2eee5;
  border: 1px solid var(--color-gray-border);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.input-qty {
  width: 50px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  background: transparent;
}

.qty-total-preview {
  text-align: right;
}

.qty-total-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.qty-total-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-text-primary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.form-row-2 > div {
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.form-label .req {
  color: #ea384d;
  font-weight: 700;
  margin-left: 2px;
}

.modal-ticket-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0.3rem 0 0.6rem 0;
}

.modal-ticket-desc {
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.modal-form-row {
  margin-top: 1rem;
}

.modal-submit-wrap {
  margin-top: 1.5rem;
}

.modal-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.95rem;
}

.modal-footer-note {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. PIE DE PÁGINA (FOOTER OFICIAL)
   -------------------------------------------------------------------------- */
footer {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 5rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

footer .brand-org {
  color: #a8a59d;
}

footer .brand-event {
  color: #ffffff;
  font-size: 1.6rem;
}

footer .brand-event span {
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-size: 0.82rem;
  color: #949188;
}

.footer-copy strong {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE DESIGN (TABLETS & MÓVILES)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-menu-wrapper {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: #f2eee5;
    background-image: url('../images/grain.svg'), url('../images/paper-texture.jpg');
    border-bottom: 1.5px solid var(--color-gray-border);
    padding: 2.5rem 2rem;
    flex-direction: column;
    gap: 1.8rem;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .nav-menu-wrapper.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
    text-align: center;
  }

  .nav-mobile-cta {
    display: block;
    width: 100%;
  }

  .nav-action {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

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

@media (max-width: 640px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem 0;
  }

  /* 1. BADGE DE APERTURA: 1 SOLA LÍNEA ELEGANTE */
  .hero-meta-badge {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    gap: 0.45rem;
    max-width: 94%;
    margin-bottom: 1.1rem;
    white-space: nowrap;
  }

  .pulse-dot {
    width: 6px;
    height: 6px;
  }

  /* 2. SEDE OFICIAL: TARJETA COMPACTA ELEGANTE */
  .hero-venue-strip {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    font-size: 0.82rem;
    width: auto;
    max-width: 90%;
    margin-bottom: 1.5rem;
  }

  .hero-venue-strip .venue-bullet {
    display: none;
  }

  .hero-venue-strip .venue-place {
    font-size: 0.88rem;
    color: var(--color-text-primary);
  }

  .hero-venue-strip .venue-city {
    font-size: 0.78rem;
    color: var(--color-text-muted);
  }

  .hero-venue-strip .venue-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-primary);
  }

  /* 3. MODAL DE PAGO RÁPIDO ADAPTADO A MÓVIL */
  .esencia-modal-backdrop {
    padding: 0.6rem;
    align-items: center;
  }

  .esencia-modal-card {
    padding: 1.35rem 1.1rem;
    border-radius: 20px;
    max-height: 94vh;
  }

  .esencia-modal-close {
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .modal-badge-tag {
    font-size: 0.62rem;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.25rem;
  }

  .modal-ticket-title,
  #modalSelectedTicketTitle {
    font-size: 1.15rem !important;
    margin: 0.2rem 0 0.35rem 0 !important;
  }

  .modal-ticket-desc {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.75rem !important;
  }

  .checkout-qty-selector {
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
  }

  .btn-qty {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    border-radius: 6px;
  }

  .input-qty {
    width: 38px;
    font-size: 1rem;
  }

  .qty-total-label {
    font-size: 0.58rem;
  }

  .qty-total-val {
    font-size: 1.05rem;
  }

  /* MANTENER 2 COLUMNAS COMPACTAS EN EL MODAL PARA QUE NO SE DESBORDE NI EXIJA SCROLL */
  .esencia-modal-card .form-row-2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.55rem !important;
  }

  .esencia-modal-card .form-label {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.03em;
  }

  .esencia-modal-card .esencia-input {
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .modal-submit-wrap {
    margin-top: 0.9rem !important;
  }

  .modal-submit-btn,
  .esencia-modal-card .btn-pink-hero {
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 12px;
  }

  .modal-footer-note {
    font-size: 0.68rem !important;
    margin-top: 0.55rem !important;
  }

  .venue-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .speaker-photo-wrap {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 360px) {
  .hero-meta-badge {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
  }
}

/* --------------------------------------------------------------------------
   ESTILOS DE CUPÓN Y BOTÓN GOOGLE WALLET
   -------------------------------------------------------------------------- */
.checkout-coupon-section .btn-action-dark:hover {
  background: #111111 !important;
}

.btn-google-wallet {
  height: 50px;
  width: 100%;
  border-radius: 999px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  transition: var(--transition-smooth, all 0.25s ease);
  cursor: pointer;
  padding: 0 1.2rem;
  white-space: nowrap;
  background: #1f1f1f;
  color: #ffffff !important;
  border: 1.5px solid #1f1f1f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-google-wallet:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
