/* ========== A11Y HELPERS ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: #2717DC;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ========== FONTS ========== */
@font-face {
  font-family: 'Bw Modelica';
  src: url('assets/Fuentes/Bw modelica/BwModelica-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Interphases Pro';
  src: url('assets/Fuentes/TT Interphases Pro Trl/TT Interphases Pro Trial Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Interphases Pro';
  src: url('assets/Fuentes/TT Interphases Pro Trl/TT Interphases Pro Trial ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Interphases Pro';
  src: url('assets/Fuentes/TT Interphases Pro Trl/TT Interphases Pro Trial Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Interphases Pro';
  src: url('assets/Fuentes/TT Interphases Pro Trl/TT Interphases Pro Trial Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Interphases Pro';
  src: url('assets/Fuentes/TT Interphases Pro Trl/TT Interphases Pro Trial Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f1724;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --accent: #1c2bff;
  --accent-light: #5c77ff;
  --accent-glow: rgba(28,43,255,0.15);
  --text-primary: #ffffff;
  --text-secondary: #a9afbc;
  --text-muted: #6b7280;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

html {
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  background-color: #0e0e12;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 var(--site-padding, 40px);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========== NAV (Dynamic Island) ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 100;
  pointer-events: none;
}

/* Logo izquierda */
.nav__logo {
  position: absolute;
  left: var(--site-padding, 40px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav__logo:hover .nav__logo-img {
  opacity: 0.8;
}

/* CTA derecha — glass pill con animacion */
.nav__cta {
  position: absolute;
  right: var(--site-padding, 40px);
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 8px 24px rgba(39,23,220,0.60),
    0 20px 60px rgba(39,23,220,0.40),
    0 40px 90px rgba(0,0,0,0.65);
  font-size: 14px;
  font-weight: 500;
  color: white;
  font-family: var(--font);
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  transform-origin: center center;
  transform-style: preserve-3d;
  perspective: 800px;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}
.nav__cta:hover {
  transform: translateY(-50%) translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 12px 32px rgba(39,23,220,0.70),
    0 24px 70px rgba(39,23,220,0.50),
    0 48px 100px rgba(0,0,0,0.70);
}

/* Flip animation on click */
.nav__cta.is-flipping {
  animation: nav-cta-flip 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}
@keyframes nav-cta-flip {
  0%   {
    transform: translateY(-50%) translateY(0px) rotateX(0deg) scale(1);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.30),
      0 8px 24px rgba(39,23,220,0.60), 0 20px 60px rgba(39,23,220,0.40), 0 40px 90px rgba(0,0,0,0.65);
  }
  12%  {
    transform: translateY(-50%) translateY(-14px) rotateX(0deg) scale(1.04);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.30),
      0 14px 40px rgba(39,23,220,0.75), 0 24px 60px rgba(39,23,220,0.45), 0 36px 80px rgba(0,0,0,0.65);
  }
  78%  {
    transform: translateY(-50%) translateY(-14px) rotateX(720deg) scale(1.04);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.30),
      0 14px 40px rgba(39,23,220,0.75), 0 24px 60px rgba(39,23,220,0.45), 0 36px 80px rgba(0,0,0,0.65);
  }
  88%  {
    transform: translateY(-50%) translateY(3px) rotateX(720deg) scale(0.98) scaleY(0.95);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.30),
      0 3px 8px rgba(39,23,220,0.80), 0 6px 16px rgba(39,23,220,0.55);
  }
  94%  { transform: translateY(-50%) translateY(-1px) rotateX(720deg) scale(1.01); }
  100% {
    transform: translateY(-50%) translateY(0px) rotateX(720deg) scale(1);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.30),
      0 8px 24px rgba(39,23,220,0.60), 0 20px 60px rgba(39,23,220,0.40), 0 40px 90px rgba(0,0,0,0.65);
  }
}

/* Pildora central — oculta por defecto */
.nav__pill {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 20px 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  border-top-color: rgba(255,255,255,0.35);
  background: rgba(8, 7, 24, 0.60);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 8px 32px rgba(0,0,0,0.5),
    0 2px 12px rgba(39,23,220,0.25),
    0 0 0 1px rgba(144,131,241,0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22,1,0.36,1),
    transform 0.45s cubic-bezier(0.22,1,0.36,1);
  white-space: nowrap;
  z-index: 101;
  text-decoration: none;
}
.nav__pill.nav__pill--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav__pill-logo {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.88;
  filter: brightness(0) invert(1);
}
.nav__pill-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.nav__pill-cta {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__pill-cta:hover { color: white; }

/* Ocultar logo y CTA al scrollear */
.nav--scrolled .nav__logo {
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
  pointer-events: none;
}
.nav--scrolled .nav__cta {
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav__pill {
    padding: 6px 14px 6px 12px;
    gap: 10px;
    max-width: calc(100vw - 28px);
  }
  .nav__pill-logo {
    height: 13px;
    flex-shrink: 0;
  }
  .nav__pill-sep {
    height: 14px;
    flex-shrink: 0;
  }
  .nav__pill-cta {
    font-size: 10px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }
  .nav__logo {
    left: 14px;
    max-width: calc(100vw - 150px);
    overflow: hidden;
  }
  .nav__logo-img { height: 20px; }
  .nav__cta {
    right: 14px;
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 0.04em;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .nav__logo { left: 10px; }
  .nav__logo-img { height: 18px; }
  .nav__cta {
    right: 10px;
    padding: 6px 12px;
    font-size: 10px;
  }
  .nav__pill {
    padding: 5px 12px 5px 10px;
    gap: 8px;
    max-width: calc(100vw - 20px);
  }
  .nav__pill-logo { height: 11px; }
  .nav__pill-sep { height: 12px; }
  .nav__pill-cta { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__logo, .nav__cta, .nav__pill { transition: none; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: #080a1a;
}

/* Blue glow lights */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(50, 60, 255, 0.5) 0%, rgba(30, 40, 220, 0.3) 30%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(80, 100, 255, 0.4) 0%, transparent 70%);
  bottom: 0;
  left: 50%;
  transform: translateX(-40%);
  filter: blur(80px);
  animation: glowPulse 8s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(100, 120, 255, 0.25) 0%, transparent 70%);
  top: 30%;
  left: 10%;
  filter: blur(70px);
  animation: glowDrift 10s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes glowDrift {
  0%, 100% { opacity: 0.6; transform: translate(0, 0); }
  33% { opacity: 0.8; transform: translate(30px, -20px); }
  66% { opacity: 0.5; transform: translate(-20px, 15px); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hero-title-wave {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: clamp(56px, 18vw, 480px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: white;
  opacity: 0;
  animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  justify-content: center;
  max-width: 96vw;
  padding: 0 16px;
  box-sizing: border-box;
}
.hero-title-wave .the {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 0.15em;
}
.hero-title-wave .wave {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
}
.hero-title-wave .ave {
  font-weight: 900;
}
.wave-w {
  height: 0.78em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: 0.04em;
  margin: 0 -0.04em;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(50px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero bottom bar */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 32px 0;
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
.hero-bottom-left,
.hero-bottom-center {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.45) 25%,
    rgba(255,255,255,1) 45%,
    rgba(255,255,255,1) 55%,
    rgba(255,255,255,0.45) 75%,
    rgba(255,255,255,0.45) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s ease-in-out infinite;
}
.hero-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-bottom-center {
  margin-left: auto;
  text-align: right;
}
.hero-bottom-right {
  width: 0;
}

@keyframes shimmerText {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Buttons (used in other sections) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.2);
}

/* ========== SECTION COMMON ========== */
section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-family: var(--font);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}
.section-title .gradient-word {
  background: linear-gradient(135deg, #5a4fd4 0%, #7c6cf0 50%, #9083F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 0;
}

/* ========== SECTION SPLIT LAYOUT ========== */
.section-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 768px) {
  .section-split { grid-template-columns: 1fr; }
}

.media-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1724 0%, #151326 50%, #0f1724 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-placeholder__glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(144,131,241,0.3) 0%, transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.media-placeholder__logo {
  position: relative;
  z-index: 1;
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.3;
}
.media-placeholder__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== ABOUT / INTRO ========== */
.about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.stat-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}
.about-visual {
  position: relative;
}
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-secondary), #151326);
  border: 1px solid var(--border);
}
.about-image-wrapper .glow-effect {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.about-image-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
}
.about-image-inner .ai-icon {
  font-size: 100px;
  opacity: 0.15;
}
.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  z-index: 3;
}
.about-floating-card .card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.about-floating-card .card-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========== SPEAKERS / PONENTES (glass cards) ========== */
.speakers {
  background: var(--bg-primary);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.speakers-glass-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.speaker-glass-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}
.speaker-glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.speaker-glass-name {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
  text-align: center;
}
.speaker-glass-card:hover .speaker-glass-name {
  color: rgba(255, 255, 255, 0.75);
}

.speaker-glass-logo {
  height: clamp(28px, 3vw, 40px);
  width: auto;
  max-width: 85%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.4s;
}
.speaker-glass-card:hover .speaker-glass-logo {
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .speakers-glass-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .speakers-glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .speaker-glass-card {
    padding: 28px 14px;
  }
  .speaker-glass-logo {
    height: 26px;
  }
  .speaker-glass-name {
    font-size: 15px;
  }
}

/* ========== AGENDA ========== */
.agenda-section {
  background: transparent;
  padding: clamp(60px, 8vw, 100px) 0;
}

.agenda-v3 {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* Header de día — sticky igual que las cards */
.agenda-day-header {
  position: sticky;
  top: var(--header-top, 72px);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  background: #0e0e12;
  margin-top: 16px;
}

.agenda-day-header:first-child {
  margin-top: 0;
}

.date-pill {
  background: rgba(39,23,220,0.12);
  border: 1px solid rgba(39,23,220,0.30);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  color: #9083F1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.date-num {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display, system-ui);
  line-height: 1;
  letter-spacing: -0.04em;
}

.date-month {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.20);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.agenda-event {
  position: sticky;
  top: var(--card-top, 88px);
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  gap: 0;
  background: linear-gradient(180deg, rgba(20,20,28,0.72) 0%, rgba(13,13,18,0.82) 100%);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border: 1.5px solid rgba(144,131,241,0.35);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 18px;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(144,131,241,0.08),
    0 24px 48px -24px rgba(0,0,0,0.55),
    0 0 16px rgba(144,131,241,0.06);
}

.agenda-event:hover {
  border-color: rgba(144,131,241,0.85);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(144,131,241,0.30),
    0 28px 56px -20px rgba(0,0,0,0.6),
    0 0 32px rgba(144,131,241,0.22),
    0 0 64px rgba(39,23,220,0.14);
}

/* Preview media (izquierda) */
.agenda-event__media {
  position: relative;
  overflow: hidden;
  background: #0a0a10;
  min-height: 360px;
}
.agenda-event__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(1.05);
}
.agenda-event:hover .agenda-event__video {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.15);
}
.agenda-event__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 20% 20%, rgba(39,23,220,0.25) 0%, transparent 60%),
    linear-gradient(90deg, transparent 55%, rgba(13,13,18,0.9) 100%);
  pointer-events: none;
}
/* Botón descargar presentación (top-right de la card) */
.agenda-event__download {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  background: rgba(20,20,28,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(144,131,241,0.4);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.agenda-event__download:hover {
  background: rgba(39,23,220,0.4);
  border-color: rgba(144,131,241,0.85);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(39,23,220,0.5);
}
.agenda-event__download:active {
  transform: translateY(0);
}
.agenda-event__download svg { flex-shrink: 0; }

/* Tablet: reducir ligeramente */
@media (max-width: 1024px) {
  .agenda-event__download {
    top: 14px;
    right: 14px;
    font-size: 11px;
    padding: 8px 12px 8px 10px;
  }
}

/* Móvil: icono circular, sin texto, no tapa el vídeo */
@media (max-width: 768px) {
  .agenda-event__download {
    top: 10px;
    right: 10px;
    gap: 0;
    padding: 9px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .agenda-event__download span {
    display: none;
  }
  .agenda-event__download svg {
    width: 16px;
    height: 16px;
  }
}

/* Mesa redonda estática (sin vídeo, sin link) */
.agenda-event--static {
  cursor: default;
}
.agenda-event__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) saturate(1.05);
  transition: transform 0.6s ease;
}
.agenda-event--static:hover .agenda-event__photo {
  transform: scale(1.03);
}
.agenda-event__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.agenda-event__badge svg { flex-shrink: 0; }

/* Cuerpo (derecha) */
.agenda-event__body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.agenda-event__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.agenda-event__tag {
  font-size: 14px;
  font-weight: 600;
  color: rgba(144,131,241,0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border: 1px solid rgba(144,131,241,0.30);
  border-radius: 999px;
}

.agenda-event__title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  font-family: var(--font-display, system-ui);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.agenda-event__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
  font-family: var(--font-body, system-ui);
  max-width: 680px;
}

.agenda-event__speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.agenda-speaker__img,
.agenda-speaker__img--placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(144,131,241,0.30);
  flex-shrink: 0;
}

.agenda-speaker__img--placeholder {
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agenda-speaker__name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  font-family: var(--font-body, system-ui);
}

.agenda-speaker__role {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-body, system-ui);
  margin-top: 3px;
}

.agenda-speaker--text {
  align-items: flex-start;
  padding: 4px 0 4px 14px;
  border-left: 2px solid rgba(144,131,241,0.35);
}
.agenda-speaker--text .agenda-speaker__info {
  display: flex;
  flex-direction: column;
}

/* Tablet: reduce media ratio */
@media (max-width: 1024px) {
  .agenda-event {
    grid-template-columns: minmax(260px, 40%) 1fr;
    min-height: 320px;
  }
  .agenda-event__media { min-height: 320px; }
  .agenda-event__body { padding: 28px 30px; }
  .agenda-event__title { font-size: 22px; }
}

/* Mobile: stack vertical */
@media (max-width: 768px) {
  .date-num { font-size: 40px; }

  .agenda-event {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 16px;
  }
  .agenda-event__media {
    min-height: 200px;
    aspect-ratio: 16/9;
  }
  .agenda-event__media::after {
    background:
      radial-gradient(120% 80% at 20% 20%, rgba(39,23,220,0.25) 0%, transparent 60%),
      linear-gradient(180deg, transparent 50%, rgba(13,13,18,0.95) 100%);
  }
  .agenda-event__body { padding: 22px 20px; }
  .agenda-event__header {
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
  }
  .agenda-event__tag {
    font-size: 12px;
    padding: 5px 12px;
    letter-spacing: 0.08em;
    line-height: 1.4;
    white-space: normal;
    max-width: 100%;
  }
  .agenda-event__title {
    font-size: 19px;
    line-height: 1.25;
  }
  .agenda-event__desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .agenda-speaker__name { font-size: 13px; }
  .agenda-speaker__role { font-size: 11px; }

  .date-pill {
    font-size: 9px;
    padding: 4px 10px;
    letter-spacing: 0.08em;
  }
  .date-month {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agenda-day-header,
  .agenda-event {
    position: relative !important;
    top: auto !important;
    transition: none;
  }
}

/* ========== EXPERIENCE (What to expect) ========== */
.experience {
  background: var(--bg-primary);
}
.experience-header {
  text-align: center;
  margin-bottom: 64px;
}
.experience-header .section-desc {
  margin: 0 auto;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.exp-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.exp-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-6px);
}
.exp-card:hover::after { opacity: 1; }
.exp-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(28, 43, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}
.exp-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.exp-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== PONENTES (grid cards) ========== */
.ponentes-section {
  background: transparent;
  padding: 120px 0;
}
.ponentes-panels {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ponentes-row {
  display: contents;
}
.ponente-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0a2e;
  border: 1px solid rgba(144,131,241,0.12);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  will-change: transform;
}
.ponente-card:hover {
  transform: translateY(-8px);
  border-color: rgba(144,131,241,0.45);
  box-shadow:
    0 18px 42px rgba(28, 43, 255, 0.28),
    0 0 0 1px rgba(144,131,241,0.25);
}
.ponente-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.ponente-card:hover .ponente-card__bg {
  transform: scale(1.06);
}
.ponente-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,5,40,0) 0%,
    rgba(10,5,40,0) 42%,
    rgba(10,5,40,0.78) 62%,
    rgba(10,5,40,0.97) 88%,
    rgba(10,5,40,1) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.ponente-card__label {
  display: none;
}
.ponente-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 24px 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ponente-card__name {
  font-size: 26px;
  font-weight: 800;
  color: white;
  font-family: 'TT Interphases Pro', var(--font);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ponente-card__role {
  font-size: 11px;
  font-weight: 700;
  color: #9083F1;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 4px;
}
.ponente-card__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
  margin-top: 10px;
}

@media (max-width: 960px) {
  .ponentes-panels {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .ponentes-panels {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .ponente-card {
    aspect-ratio: 3 / 4;
  }
  .ponente-card__bg {
    background-position: center 18%;
  }
  .ponente-card__overlay {
    background: linear-gradient(
      180deg,
      rgba(10,5,40,0) 0%,
      rgba(10,5,40,0) 48%,
      rgba(10,5,40,0.85) 68%,
      rgba(10,5,40,1) 84%,
      rgba(10,5,40,1) 100%
    );
  }
  .ponente-card__body {
    padding: 20px 20px 22px;
    gap: 4px;
  }
  .ponente-card__name {
    font-size: 22px;
  }
  .ponente-card__role {
    font-size: 10px;
  }
  .ponente-card__desc {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
  }
}

/* ========== ¿DÓNDE NOS ENCONTRARÁS? ========== */
.encuentro {
  background: linear-gradient(105deg, #080718 0%, #0d0a2e 20%, #2717DC 50%, #6C5CE7 75%, #9083F1 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.encuentro .section-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.encuentro .container {
  position: relative;
  z-index: 1;
}
.encuentro .section-title,
.encuentro .section-label,
.encuentro .section-desc,
.encuentro .encuentro-cta {
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.encuentro .section-title {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
}
.encuentro .section-title .gradient-word {
  -webkit-text-fill-color: #ffffff;
  background: none;
}
.encuentro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "left right";
  gap: 64px;
  align-items: center;
}
.encuentro-left { grid-area: left; }
.encuentro-right { grid-area: right; }
.encuentro-bottom { display: none; }
.encuentro-left .section-desc {
  margin-bottom: 32px;
}
.encuentro-left .section-desc strong {
  color: white;
}
.encuentro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  transition: all 0.3s;
}
.encuentro-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.encuentro-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.encuentro-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

@media (max-width: 768px) {
  .encuentro-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "bottom";
    gap: 32px;
  }
  .encuentro-bottom {
    display: block;
    grid-area: bottom;
  }
  .encuentro-photo img {
    aspect-ratio: 16/10;
  }
}

/* ========== MOMENTOS QUE NOS LLEVAMOS ========== */
.momentos-section {
  background: transparent;
  padding: 120px 0;
  position: relative;
}
.momentos-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 56px;
}
.momento {
  position: relative;
  margin: 0;
  perspective: 1100px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(70px);
  transition:
    opacity 0.9s cubic-bezier(0.22,1,0.36,1),
    transform 0.9s cubic-bezier(0.22,1,0.36,1);
  will-change: transform, opacity;
}
.momento.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.momento__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(144,131,241,0.28);
  background: rgba(20,20,28,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 28px -14px rgba(0,0,0,0.45);
  transform-style: preserve-3d;
  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--py, 0px))
    translateZ(0);
  transition:
    transform 0.45s cubic-bezier(0.22,1,0.36,1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  will-change: transform;
}
.momento.is-hovering .momento__inner {
  transition:
    transform 0.12s cubic-bezier(0.22,1,0.36,1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
}
.momento:hover .momento__inner {
  border-color: rgba(144,131,241,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 32px 64px -16px rgba(0,0,0,0.6),
    0 0 40px rgba(144,131,241,0.32),
    0 0 80px rgba(39,23,220,0.22);
}
.momento__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  filter: saturate(0.92) brightness(0.96);
  animation: kenBurns 16s ease-in-out infinite alternate;
  transition: filter 0.5s ease;
}
.momento:nth-child(2n) .momento__img { animation-duration: 18s; animation-direction: alternate-reverse; }
.momento:nth-child(3n) .momento__img { animation-duration: 14s; animation-delay: -3s; }
.momento:hover .momento__img {
  filter: saturate(1.1) brightness(1.05);
}
.momento__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
      rgba(144,131,241,0.22) 0%,
      rgba(144,131,241,0) 55%),
    linear-gradient(135deg, rgba(39,23,220,0) 55%, rgba(39,23,220,0.3) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
.momento:hover .momento__inner::after { opacity: 1; }

@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* Layout asimétrico: 1 grande, 2 medianas a la derecha, 4 pequeñas abajo, 1 hero final */
.momento--1 { grid-column: 1 / 8;  grid-row: 1 / 3; }
.momento--2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.momento--3 { grid-column: 8 / 13; grid-row: 2 / 3; }
.momento--4 { grid-column: 1 / 4;  grid-row: 3 / 4; }
.momento--5 { grid-column: 4 / 7;  grid-row: 3 / 4; }
.momento--6 { grid-column: 7 / 10; grid-row: 3 / 4; }
.momento--7 { grid-column: 10 / 13; grid-row: 3 / 4; }
.momento--8 { grid-column: 1 / 13; grid-row: 4 / 7; }

/* Overrides per-foto para que las personas se vean bien en cada slot */
.momento--1 .momento__img { object-position: center 75%; }
.momento--3 .momento__img { object-position: center 35%; }
.momento--6 .momento__img { object-position: center 60%; }
.momento--8 .momento__img { object-position: center 50%; }

@media (max-width: 900px) {
  .momentos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
    margin-top: 36px;
  }
  .momento--1 { grid-column: 1 / 3; grid-row: auto; }
  .momento--2,
  .momento--3,
  .momento--4,
  .momento--5,
  .momento--6,
  .momento--7 { grid-column: auto; grid-row: auto; }
  .momento--8 { grid-column: 1 / 3; grid-row: span 3; }
}

@media (max-width: 520px) {
  .momentos-grid { grid-auto-rows: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .momento__img { animation: none; }
  .momento__inner { transition: none; }
}

/* ========== REGISTRO ========== */
.registro {
  background: transparent;
  padding: 120px 0;
}
.registro-header {
  margin-bottom: 48px;
}
.registro-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 3 / 2;
}
.registro-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.registro-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 36px;
}
.registro-card-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.registro-card-title {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.registro-card-price {
  font-family: 'TT Interphases Pro', var(--font);
  font-size: 40px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
}
.registro-card-type {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.registro-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
  margin-top: auto;
}
.registro-card-btn:hover {
  background: rgba(28, 43, 255, 0.6);
  border-color: rgba(92, 119, 255, 0.5);
  box-shadow: 0 0 24px rgba(28, 43, 255, 0.4), 0 8px 32px rgba(28, 43, 255, 0.25);
}

/* ========== SPONSORS ========== */
.sponsors {
  background: var(--bg-secondary);
  padding: 80px 0;
}
.sponsors-inner {
  text-align: center;
}
.sponsors-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 40px;
}
.sponsors-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.sponsor-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo-link {
  display: inline-block;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s;
}
.footer-logo-img:hover {
  opacity: 1;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-social-label {
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

/* ========== MARQUEE ========== */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  flex-shrink: 0;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.04);
  padding: 0 40px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }

  .hero { min-height: 100vh; }
  .hero-content { padding: 0 20px; }
  .hero-bottom { padding: 20px 20px; }

  .hero-title-wave {
    font-size: clamp(76px, 22vw, 180px);
    flex-wrap: nowrap;
    padding: 0 8px;
    max-width: 100vw;
  }
  .hero-title-wave .the {
    margin-right: 0.1em;
  }
  .wave-w {
    height: 0.72em;
    top: 0.06em;
    margin: 0 -0.03em;
  }

  .hero__robot-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -115%);
    width: 160px;
    height: 150px;
    animation: robot-float-mobile 4s ease-in-out infinite;
  }

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

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

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-box { padding: 48px 24px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 36px; }
  .hero-title-wave {
    font-size: clamp(64px, 20vw, 120px);
    padding: 0 6px;
  }
  .hero__robot-wrap {
    width: 95vw !important;
    max-width: 440px !important;
    aspect-ratio: 1.294 / 1;
    height: auto !important;
    top: 50%;
    clip-path: inset(0 0 17% 0);
  }
  .hero__robot-wrap spline-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    margin: 0;
  }
  .hero-bottom-left span,
  .hero-bottom-center span {
    font-size: 14px;
  }
}

/* ========== MESH GRADIENT (pure CSS) ========== */
.mesh-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080718;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
}
.mesh-orb-1 {
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(144, 131, 241, 0.7) 0%, transparent 65%);
  top: 10%;
  left: 20%;
  animation: mesh-drift-1 12s ease-in-out infinite;
}
.mesh-orb-2 {
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(160, 140, 255, 0.6) 0%, transparent 65%);
  bottom: -10%;
  right: 5%;
  animation: mesh-drift-2 15s ease-in-out infinite;
}
.mesh-orb-3 {
  width: 50%;
  height: 55%;
  background: radial-gradient(circle, rgba(39, 23, 220, 0.7) 0%, transparent 65%);
  top: 30%;
  left: -5%;
  animation: mesh-drift-3 17s ease-in-out infinite;
}
.mesh-orb-4 {
  width: 45%;
  height: 50%;
  background: radial-gradient(circle, rgba(120, 100, 240, 0.55) 0%, transparent 65%);
  top: -10%;
  right: 15%;
  animation: mesh-drift-4 13s ease-in-out infinite;
}

@keyframes mesh-drift-1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  20%  { transform: translate(18%, 12%) scale(1.15); opacity: 1; }
  40%  { transform: translate(-12%, 20%) scale(0.9); opacity: 0.6; }
  60%  { transform: translate(8%, -15%) scale(1.1); opacity: 0.9; }
  80%  { transform: translate(-5%, 5%) scale(1.05); opacity: 0.8; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}
@keyframes mesh-drift-2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  20%  { transform: translate(-20%, -10%) scale(1.12); opacity: 1; }
  40%  { transform: translate(15%, -18%) scale(0.88); opacity: 0.5; }
  60%  { transform: translate(-8%, 15%) scale(1.08); opacity: 0.9; }
  80%  { transform: translate(10%, 5%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}
@keyframes mesh-drift-3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
  20%  { transform: translate(20%, -15%) scale(1.1); opacity: 0.6; }
  40%  { transform: translate(-15%, 18%) scale(0.92); opacity: 1; }
  60%  { transform: translate(12%, 8%) scale(1.06); opacity: 0.7; }
  80%  { transform: translate(-8%, -10%) scale(1.12); opacity: 0.9; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}
@keyframes mesh-drift-4 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  20%  { transform: translate(-15%, 20%) scale(1.18); opacity: 0.9; }
  40%  { transform: translate(18%, -12%) scale(0.85); opacity: 0.5; }
  60%  { transform: translate(-10%, -8%) scale(1.12); opacity: 1; }
  80%  { transform: translate(5%, 12%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-orb { animation: none !important; }
}

/* ========== SPLINE 3D ROBOT ========== */
.hero__robot-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 440px;
  height: 340px;
  z-index: 5;
  animation: robot-float 4s ease-in-out infinite;
}

.hero__robot-wrap spline-viewer {
  width: 100%;
  height: calc(100% + 50px);
  display: block;
  --spline-viewer-bg: transparent;
  filter: brightness(1.4) contrast(0.9);
}

.hero__robot-wrap {
  overflow: hidden;
  clip-path: inset(0 0 20px 0);
}

@keyframes robot-float {
  0%, 100% { transform: translate(-50%, -100%) translateY(0px); }
  50%      { transform: translate(-50%, -100%) translateY(-10px); }
}


@keyframes robot-float-mobile {
  0%, 100% { transform: translate(-50%, -100%) translateY(0px); }
  50%      { transform: translate(-50%, -100%) translateY(-10px); }
}

@media (max-width: 768px) {
  .hero__robot-wrap {
    width: 95vw !important;
    max-width: 560px !important;
    aspect-ratio: 1.294 / 1;
    height: auto !important;
    top: 50%;
    transform: translate(-50%, -100%);
    animation: robot-float-mobile 4s ease-in-out infinite;
    clip-path: inset(0 0 17% 0);
  }
  .hero__robot-wrap spline-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hero__robot-wrap {
    width: 130px !important;
    height: 120px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__robot-wrap { animation: none !important; }
}

.footer-wave {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #080718;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-wave__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.footer-orb-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,23,220,0.35) 0%, transparent 65%);
  filter: blur(60px);
  top: -100px; left: -80px;
  animation: footer-orb-drift-1 14s ease-in-out infinite;
}

.footer-orb-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,131,241,0.25) 0%, transparent 65%);
  filter: blur(50px);
  bottom: -80px; right: -60px;
  animation: footer-orb-drift-2 18s ease-in-out infinite;
}

.footer-orb-3 {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.20) 0%, transparent 65%);
  filter: blur(40px);
  top: 30%; left: 50%;
  transform: translateX(-50%);
  animation: footer-orb-drift-3 10s ease-in-out infinite;
}

@keyframes footer-orb-drift-1 {
  0%, 100% { transform: translate(0px, 0px); }
  33%      { transform: translate(40px, -30px); }
  66%      { transform: translate(-20px, 20px); }
}

@keyframes footer-orb-drift-2 {
  0%, 100% { transform: translate(0px, 0px); }
  33%      { transform: translate(-35px, 25px); }
  66%      { transform: translate(20px, -30px); }
}

@keyframes footer-orb-drift-3 {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-orb-1, .footer-orb-2, .footer-orb-3 { animation: none; }
}

.footer-wave__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 80px clamp(24px, 5vw, 64px) 56px;
}

.footer-wave__logo {
  height: clamp(80px, 14vw, 160px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  display: block;
}

@media (max-width: 768px) {
  .footer-wave__logo {
    height: auto;
    width: auto;
    max-width: min(280px, 70vw);
    max-height: clamp(80px, 14vw, 160px);
    object-fit: contain;
  }
}

.footer-wave__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body, system-ui);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-social__link {
  color: rgba(255,255,255,0.35);
  transition: filter 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  animation: footerSocialShimmer 3s ease-in-out infinite;
}

.footer-social__link:nth-child(1) { animation-delay: 0s; }
.footer-social__link:nth-child(2) { animation-delay: 0.5s; }
.footer-social__link:nth-child(3) { animation-delay: 1s; }

@keyframes footerSocialShimmer {
  0%, 100% { color: rgba(255,255,255,0.35); }
  50%      { color: rgba(255,255,255,1); }
}

.footer-social__link:hover {
  animation: none;
  color: rgba(255,255,255,1);
  transform: translateY(-3px);
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.9))
    drop-shadow(0 0 14px rgba(144,131,241,0.7))
    drop-shadow(0 0 28px rgba(39,23,220,0.5));
}

@media (prefers-reduced-motion: reduce) {
  .footer-social__link { animation: none; }
}
