/* ==========================================================================
   Mis XV - Naomi - Hoja de estilos (Corte de Honor + Cronograma + Hero 3D)
   Paleta re-mapeada a los colores de la invitación principal: azul y dorado
   ========================================================================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-silver: #bcbcbc;
  --color-background: #0a0a0c;
  --foreground: #000000;

  /* Paleta de la fiesta (azul y dorado) — reemplaza los tonos de festival */
  --plata: #bcbcbc;
  --silver: #bcbcbc;
  --copper: #3a5f9e; /* era naranja */
  --ice: #6f8fc4; /* era cian */
  --patina: #e0c284; /* era violeta */
  --gold: #c9a35c; /* dorado principal */
  --bronze: #9d7b3a; /* dorado oscuro */

  /* Typography — misma familia que la invitación principal */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'DotGothic16', 'Silkscreen', monospace;
  --font-script: 'Great Vibes', cursive;

  --tracking-display: -0.03em;
  --tracking-tight: -0.02em;
  --text-pill: 0.875rem;

  /* Spacing */
  --spacing-global: 2rem;
  --spacing-pad-y: 2rem;
  --spacing-cab: 1.25rem;

  --text-day: clamp(3.5rem, 8vw, 7.5rem);
}

@media (min-width: 1024px) {
  :root {
    --spacing-global: 3.5rem;
    --spacing-pad-y: 2.5rem;
  }
}

/* Lenis Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.4;
  background-color: var(--color-background);
}

.dot-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 8px 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   NAVIGATION / FLOATING PILLS
   ========================================================================== */
header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: 95vw;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  animation: nav-drop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes nav-drop {
  0% { transform: translateY(-200%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: var(--text-pill);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  text-decoration: none;
  color: var(--color-silver);
  border-radius: 9999px;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.pill:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.pill.is-active {
  background: var(--ice);
  color: var(--color-black);
  box-shadow: 0 2px 12px rgba(151, 235, 255, 0.3);
}

.pill-logo {
  padding: 0.45rem 0.75rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.pill-logo svg {
  height: 1.15rem;
  width: auto;
  fill: currentColor;
}

.logo-wordmark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo-wordmark em {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--gold);
  font-weight: 400;
  font-size: 1.15rem;
  margin-left: 0.2rem;
}

.music-toggle {
  border: none;
  background: transparent;
  color: var(--color-white);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(201, 163, 92, 0.5);
}

.music-toggle:hover {
  color: var(--gold);
}

.music-toggle.is-pulsing {
  animation: musicPulse 1.8s ease-out infinite;
}

#debug-panel {
  position: fixed;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 9999;
  max-width: 92vw;
  font-family: monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #8aff8a;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  pointer-events: none;
}

#debug-panel:empty { display: none; }

@keyframes musicPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 163, 92, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(201, 163, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 163, 92, 0); }
}

.pill-compact {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 0, 0, 0.12);
  color: #000000;
  border: 1.5px solid #000000;
  font-weight: 800;
  border-radius: 9999px;
}

/* ==========================================================================
   HERO SECTION (#sprlcl) - 3D MEDIA ORBIT & ZOOM-TO-VIDEO FLYTHROUGH
   ========================================================================== */
.hero-story-track {
  position: relative;
  height: var(--hero-h, 500vh);
  background: #08090c;
}

.hero-sky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-sunrise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, rgba(255, 102, 26, 0.18) 0%, rgba(151, 235, 255, 0.12) 38%, rgba(8, 9, 12, 0) 75%);
}

.cloud-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: grab;
  touch-action: pan-y;
}

.cloud-gl:active {
  cursor: grabbing;
}

.cloud-gl canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-statement {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-global);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-swap {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  place-items: center;
  text-align: center;
}

.hero-block {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-block.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-edition {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--plata);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-edition::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--copper);
}

.claim-type {
  font-size: clamp(2.5rem, 5.8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-white);
  max-width: 22ch;
  text-align: center;
  margin: 0 auto;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}

.statement-char {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

/* La fecha (en el claim) y la frase ahora son texto 3D dentro de la nube */
[data-hero-claim] .hero-edition,
.hero-tagline { display: none; }

/* Nombre "Naomi · Mis XV" formado por balones de voley (WebGL) */
.name-cloud {
  width: min(94vw, 1150px);
  height: clamp(180px, 28vh, 340px); /* más chico: acerca la fecha y la frase al centro, junto a Naomi */
  margin: 0 auto;
  pointer-events: none; /* el drag del orbit sigue funcionando; la dispersión escucha en window */
}
.name-cloud canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-body {
  margin-top: 1.2rem;
  max-width: 56ch;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  color: #eeeeee;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  text-align: center;
  margin-inline: auto;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-tagline {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  color: #aaaaaa;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: opacity 0.35s ease;
}

.hero-kicker {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.5rem var(--spacing-global);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.kicker-num {
  color: var(--copper);
}

/* ==========================================================================
   LINEUP SECTION (#lineup)
   ========================================================================== */
#lineup {
  position: relative;
  min-height: 140vh;
  padding: 8rem 0;
  background: #0d0e12;
  overflow: hidden;
}

.lineup-title {
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 3rem;
  color: var(--gold);
  position: relative;
  z-index: 30; /* por encima de la moneda (z-index 20) */
}

.lineup-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-global);
}

/* Corte de honor: 3 columnas (Caballeros · Moneda · Damas) */
.corte-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-global);
}
.corte-col { display: flex; flex-direction: column; gap: 1.1rem; }
.corte-col--left { align-items: flex-end; text-align: right; }
.corte-col--right { align-items: flex-start; text-align: left; }

.coin-wrap {
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .corte-stage { grid-template-columns: 1fr; justify-items: center; gap: 2.8rem; }
  .coin-wrap { order: -1; margin-bottom: 2.4rem; }
  .corte-col--left, .corte-col--right { align-items: center; text-align: center; }
}

.coin-gl {
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: grab;
}

.coin-gl canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.coin-meta {
  position: absolute;
  bottom: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  background: rgba(18, 18, 22, 0.85);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.pill-cta {
  background: var(--copper) !important;
  color: var(--color-white) !important;
  border-color: var(--copper) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 102, 26, 0.4);
}

.lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: -300px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .lineup-grid {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
}

.lineup-colhead {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 30; /* por encima de la moneda */
}

/* Señal de scroll en la portada */
.scroll-hint {
  position: absolute; left: 50%; bottom: 0.6rem; z-index: 11;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 1.1rem 0.55rem 0.8rem; white-space: nowrap;
  background: rgba(8,9,12,0.78); border: 1px solid rgba(201,163,92,0.6); border-radius: 999px;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-hint.is-visible { opacity: 1; transform: translate(-50%, 0); }
/* La portada mide 100vh y en el celular la barra del navegador tapa la parte de abajo:
   la señal se sube esa misma distancia para quedar siempre a la vista. */
@supports (height: 100svh) {
  .scroll-hint { bottom: calc(100vh - 100svh + 0.6rem); }
}
.scroll-hint-arrows {
  width: 1.3rem; height: 1.3rem; flex: none; fill: none; stroke: var(--gold);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: scroll-hint-down 1.4s ease-in-out infinite;
}
.scroll-hint-text { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 1rem; color: #fff6e5; }
.scroll-hint-text--cel { display: none; }
@keyframes scroll-hint-down { 0%, 100% { transform: translateY(-3px); opacity: 0.55; } 50% { transform: translateY(3px); opacity: 1; } }
@keyframes scroll-hint-up { 0%, 100% { transform: rotate(180deg) translateY(-3px); opacity: 0.55; } 50% { transform: rotate(180deg) translateY(3px); opacity: 1; } }
@media (pointer: coarse) {
  .scroll-hint-text--pc { display: none; }
  .scroll-hint-text--cel { display: inline; }
  .scroll-hint-arrows { animation-name: scroll-hint-up; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint-arrows { animation: none; }
}
/* En celular no cabe junto a la barra de abajo: la barra se esconde mientras se ve la señal */
@media (max-width: 720px) {
  .hero-sky.hint-on .hero-kicker { opacity: 0 !important; }
}

/* Madrina: al centro, con su propio color */
.corte-col--madrina { grid-column: 1 / -1; justify-self: center; align-items: center; text-align: center; gap: 0.3rem; margin-top: -1.6rem; }
@media (min-width: 901px) { .corte-stage { margin-top: -2rem; } }
.corte-col--madrina .lineup-colhead { margin-bottom: 0; color: #f2b8c6; }
.corte-col--madrina .lineup-item.is-active { color: #f2b8c6; }
#lineup .corte-col--madrina { transition-delay: 0.56s; }

.lineup-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.4rem;
  text-align: right;
  padding-right: 3rem;
}

.lineup-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  text-align: left;
  padding-left: 3rem;
}

@media (max-width: 768px) {
  .lineup-col-left, .lineup-col-right {
    align-items: center;
    text-align: center;
    padding: 0;
  }
}

.lineup-item {
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  font-weight: 700;
  color: #b2b8c2;                 /* legible por defecto (se aprecia) */
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.3s ease;
  display: inline-block;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.lineup-item:hover, .lineup-item.is-active {
  color: var(--color-white);
  transform: scale(1.08);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.lineup-item.is-active {
  color: var(--gold);
}

/* Entrada de la Corte (IntersectionObserver añade .is-revealed): moneda -> columnas */
#lineup .lineup-title,
#lineup .corte-col,
#lineup .coin-wrap {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#lineup .coin-wrap     { transition-delay: 0s; }
#lineup .lineup-title  { transition-delay: 0.1s; }
#lineup .corte-col--left  { transition-delay: 0.28s; }
#lineup .corte-col--right { transition-delay: 0.42s; }
#lineup.is-revealed .lineup-title,
#lineup.is-revealed .corte-col,
#lineup.is-revealed .coin-wrap {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   DETALLES DEL EVENTO (INVITACIÓN XV) — mobile-first
   ========================================================================== */
#detalles.inv {
  position: relative;
  background: #0a0b0f;
  color: #e9ecf1;
  text-align: center;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
}
.inv-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.inv-title {
  font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--gold), #fff6dc 42%, #7db8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.6rem; line-height: 1.05;
}
.inv-parents { font-size: 1rem; line-height: 1.7; color: #c3c9d2; margin-bottom: 2.6rem; }
.inv-parents strong { color: #fff; font-weight: 700; }
.inv-parents span { color: var(--gold); margin: 0 0.3rem; }

.inv-date {
  font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #9fb3ff; margin-bottom: 1.1rem;
}
.inv-count { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
.inv-count-box {
  min-width: 68px; padding: 0.9rem 0.4rem; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.inv-count-num {
  display: block; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 800; line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.inv-count-label {
  display: block; margin-top: 0.4rem; font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}

.inv-subtitle {
  font-size: 1.4rem; font-weight: 700; margin: 3rem 0 1.4rem; color: #fff; letter-spacing: -0.01em;
}
.inv-subtitle::after {
  content: ''; display: block; width: 48px; height: 2px; margin: 0.7rem auto 0;
  background: linear-gradient(90deg, var(--gold), #7db8ff);
}

.inv-timeline { display: flex; flex-direction: column; gap: 1rem; max-width: 460px; margin: 0 auto; }
.inv-event {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1rem 1.2rem; border-radius: 16px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
}
.inv-event-icon {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; font-size: 1.3rem;
  background: rgba(255,185,72,0.12); border: 1px solid rgba(255,185,72,0.3);
}
.inv-event-name { font-weight: 700; color: #fff; font-size: 1.05rem; }
.inv-event-time { color: var(--gold); font-size: 0.9rem; margin: 0.15rem 0; }
.inv-event-place { color: #aab2bd; font-size: 0.82rem; }

.inv-dress { color: #c3c9d2; font-size: 0.95rem; margin-bottom: 1.1rem; }
.inv-colors { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.inv-color { padding: 0.5rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; }
.inv-color-azul { background: linear-gradient(135deg, #2f6df0, #173a9c); color: #fff; }
.inv-color-oro { background: linear-gradient(135deg, #ffd87a, #c59124); color: #3a2a00; }
.inv-dress-note { color: #8a93a0; font-size: 0.8rem; }

@media (min-width: 720px) {
  .inv-count-box { min-width: 92px; padding: 1.2rem 0.6rem; }
}

/* Contenido de las tarjetas del cronograma = info del evento (panel enmarcado) */
.schedule-body.cro-body {
  flex: 0 1 auto;
  margin: auto;
  width: min(92%, 880px);
  max-height: 78vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem; text-align: center;
  border: 2px solid #000; border-radius: 26px;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.4rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.04);
  position: relative;
}
.schedule-body.cro-body::before,
.schedule-body.cro-body::after { content: '✦'; font-size: 1.15rem; color: #000; opacity: 0.5; }
.cro-icon { font-size: clamp(3.4rem, 11vw, 6rem); line-height: 1; }
.cro-lead { font-size: clamp(1.5rem, 4.2vw, 2.5rem); font-weight: 900; color: #000; letter-spacing: -0.02em; line-height: 1.1; }
.cro-place { font-size: clamp(1.2rem, 3vw, 1.75rem); font-weight: 800; color: #000; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cro-sub { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 600; color: rgba(0, 0, 0, 0.8); max-width: 38ch; line-height: 1.5; }
.cro-count { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; margin: 0.4rem 0; }
.cro-count-box { min-width: 84px; border: 2px solid #000; border-radius: 16px; padding: 1rem 0.6rem; background: rgba(0, 0, 0, 0.06); }
.cro-count-num { display: block; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 900; line-height: 1; color: #000; font-variant-numeric: tabular-nums; }
.cro-count-label { display: block; margin-top: 0.4rem; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: #000; }
.cro-colors { display: flex; gap: 1rem; justify-content: center; }
.cro-color { padding: 0.6rem 1.9rem; border: 2px solid #000; border-radius: 9999px; font-weight: 800; color: #000; font-size: 1.05rem; }
.cro-color:first-child { background: linear-gradient(135deg, #6f8fc4, #3a5f9e); color: #fff; border-color: #3a5f9e; }
.cro-color:last-child { background: linear-gradient(135deg, #e0c284, #c9a35c); color: #3a2a00; border-color: #c9a35c; }

/* ==========================================================================
   SCHEDULE SECTION (#cronograma) - 100% BRIGHT SOLID VIEWPORT STAGE
   ========================================================================== */
.schedule {
  position: relative;
  height: var(--schedule-h, 5400px);
  background: transparent;
  z-index: 30;
}

.schedule-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.schedule-day {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  will-change: transform;
  z-index: calc(10 + var(--i));
  background-color: var(--hue) !important;
  background-image: linear-gradient(180deg, var(--hue) 0%, var(--hue) 70%, var(--hue-next, var(--hue)) 100%) !important;
  color: #000000 !important;
  display: flex;
  flex-direction: column;
  padding-bottom: 2.5rem;
  box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.35);
  border-top: 2px solid #000000;
  overflow-y: auto;
  scrollbar-width: thin;
}

.schedule-day:not(:first-child) {
  transform: translate3d(0, 100vh, 0);
}

.schedule-band {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-cab);
  padding: var(--spacing-pad-y) var(--spacing-global) 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.schedule-topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: #000000 !important;
  border-bottom: 2px solid #000000;
  padding-bottom: 0.5rem;
}

.schedule-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.text-day-live {
  font-size: var(--text-day);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #000000 !important;
}

.dot-matrix-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000000 !important;
  line-height: 0.88;
  text-align: right;
  transition: letter-spacing 0.3s ease;
}

.schedule-day:hover .dot-matrix-title {
  letter-spacing: 0.2em;
}

/* 3-Column Activities Grid */
.schedule-body {
  padding: var(--spacing-cab) var(--spacing-global) var(--spacing-pad-y);
  max-width: 1400px;
  margin: 1.5rem auto 0 auto;
  width: 100%;
  flex: 1;
}

.activities-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-bottom: 2px solid #000000;
}

@media (max-width: 900px) {
  .activities-grid-3col {
    grid-template-columns: 1fr;
  }
}

.act-card-item {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.03);
  transition: background 0.25s ease, transform 0.25s ease;
}

.act-card-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.act-rule {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #000000 !important;
  border-bottom: 2px solid #000000;
  border-top: 2px solid #000000;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.05);
}

.act-box {
  border-right: 2px solid #000000;
  padding: 1.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 901px) {
  .activities-grid-3col .act-card-item:nth-child(3n+1) .act-box {
    border-left: 2px solid #000000;
  }
}

@media (max-width: 900px) {
  .act-card-item .act-box {
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }
}

.act-title {
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #000000 !important;
}

.act-title a {
  color: #000000 !important;
  text-decoration: none;
}

.act-title a:hover {
  text-decoration: underline;
}

.act-speaker {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85) !important;
  letter-spacing: -0.01em;
}

.act-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.act-location {
  font-size: 0.9rem;
  font-weight: 800;
  color: #000000 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.act-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: #000000 !important;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.act-cta-btn:hover {
  transform: scale(1.05);
  background: #222222 !important;
}

.arrow-dot {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.act-cta-btn:hover .arrow-dot {
  animation: arrow-draw 0.4s ease forwards;
}

@keyframes arrow-draw {
  0% { transform: scale(0.6); opacity: 0.3; }
  50% { transform: scale(1.4); opacity: 1; fill: var(--ice); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   SPONSORS SECTION (#sponsors)
   ========================================================================== */
#sponsors {
  position: relative;
  padding: 8rem 0;
  background: #0b0c10;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}

.sponsors-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
  color: var(--color-white);
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track-reverse {
  animation: marquee 30s linear infinite reverse;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sponsor-logo-box {
  padding: 1.2rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-silver);
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.sponsor-logo-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  transform: scale(1.05);
}

/* ==========================================================================
   PACKS & TICKETS SECTION (#experiencias)
   ========================================================================== */
#experiencias {
  position: relative;
  padding: 8rem var(--spacing-global);
  background: #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}

.packs-container {
  max-width: 1400px;
  margin: 0 auto;
}

.packs-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.packs-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.packs-desc {
  font-size: 1.15rem;
  color: var(--color-silver);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.pack-card {
  position: relative;
  background: #121216;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.pack-card.is-featured {
  border-color: var(--copper);
  background: linear-gradient(180deg, rgba(255, 102, 26, 0.08) 0%, #121216 100%);
  box-shadow: 0 10px 40px rgba(255, 102, 26, 0.15);
}

.pack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pack-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--copper);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.pack-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.pack-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pack-currency {
  font-size: 1rem;
  color: #888888;
  font-weight: 600;
}

.pack-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pack-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #cccccc;
}

.pack-feature-item svg {
  color: var(--copper);
  flex-shrink: 0;
}

.pack-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}

.pack-card.is-featured .pack-btn {
  background: var(--copper);
  color: var(--color-white);
}

.pack-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ==========================================================================
   FOOTER (#footer)
   ========================================================================== */
#footer {
  position: relative;
  padding: 6rem var(--spacing-global) 3rem var(--spacing-global);
  background: #070709;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}

.footer-wordmark {
  width: 100%;
  margin-bottom: 4rem;
  color: #222228;
  transition: color 0.4s ease;
}

.footer-wordmark:hover {
  color: #33333d;
}

.footer-content-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #888888;
  max-width: 36ch;
  line-height: 1.5;
}

.footer-links-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-silver);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #888888;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #555555;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   SEGUNDA PARTE (#segunda-parte) — moneda 3D -> esfera orbital -> video -> detalles
   Un solo "stage" sticky dentro del flujo; el progreso lo calcula
   js/segunda-parte.js a partir del scroll de la pista.
   ========================================================================== */
.sp-track {
  position: relative;
  height: 560vh;
  z-index: 35;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.sp-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  /* colores reales de la fiesta */
  --orb-deep: #0a1730;
  --orb-blue: #3a5f9e;
  --orb-gold: #c9a35c;
}

.sp-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--orb-deep) 0%, var(--orb-blue) 55%, var(--orb-gold) 100%);
}

.sp-grain {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: radial-gradient(#000 1px, transparent 1.5px);
  background-size: 20px 20px;
  mix-blend-mode: soft-light;
}

.sp-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}
.sp-canvas:active { cursor: grabbing; }
.sp-canvas canvas { display: block; width: 100%; height: 100%; outline: none; }

.sp-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9vh;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.sp-track.sp-ready .sp-hint { opacity: 1; }

/* ---- Candado ---- */
.sp-lock {
  position: relative;
  height: 100vh;
  z-index: 35;
  overflow: hidden;
  background: #000;
}
.sp-lock[hidden] { display: none; }
.sp-lock video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-lock-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 0 var(--spacing-global);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}
.sp-lock-icon {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Video final (sticky, para que "se quede" un rato) ---- */
.sp-video {
  position: relative;
  height: 180vh;
  z-index: 35;
  background: #000;
}
.sp-video[hidden], .sp-track[hidden], .sp-detalles[hidden] { display: none; }
.sp-video-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
#sp-reveal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1s ease, transform 1.2s ease;
}
#sp-reveal-video.is-on { opacity: 1; transform: scale(1); }

/* ---- Detalles ---- */
.sp-detalles {
  position: relative;
  z-index: 35;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 6rem var(--spacing-global);
  text-align: center;
  background: #0a0a0c;
  overflow: hidden;
}
.sp-detalles-title {
  position: relative;
  z-index: 6;
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: var(--tracking-tight);
  color: #f4f4f7;
}
.sp-detalle {
  position: relative;
  z-index: 6;
  max-width: 34rem;
}
.sp-detalle h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.sp-detalle p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--silver);
}
.sp-detalle .sp-pendiente,
.sp-detalle .sp-mensaje {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--patina);
  opacity: 0.8;
}

/* ==========================================================================
   PANTALLA DE BIENVENIDA (intro-gate): foto a pantalla completa + tarjeta
   ========================================================================== */
html.gate-open, html.gate-open body { overflow: hidden; }

#intro-gate {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; background: #f3e6c8;
  justify-content: flex-start; padding-left: clamp(1.25rem, 7vw, 7rem);
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
#intro-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

#intro-gate .gate-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% 55%;
  animation: gate-zoom 16s ease-out both;
}
#intro-gate::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(8,14,34,0) 30%, rgba(8,14,34,0.45) 100%);
}
@keyframes gate-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.gate-card {
  position: relative; z-index: 1;
  width: min(100%, 25rem);
  padding: 2.6rem 1.8rem 2rem;
  text-align: center; color: #1b2748;
  background: rgba(252, 246, 232, 0.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(252,246,232,0.35), 0 30px 70px rgba(0,0,0,0.35);
  animation: gate-in 1.2s ease 0.2s both;
}
@keyframes gate-in { from { opacity: 0; transform: translateY(24px); } }
.gate-corner { position: absolute; width: 1.4rem; height: 1.4rem; border: 2px solid var(--gold); }
.gate-corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.gate-corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.gate-corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.gate-corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.gate-kicker { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: #6b5a30; }
.gate-xv { font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.12em; font-size: 3rem; line-height: 1.1; color: var(--bronze); margin-top: 0.2rem; }
.gate-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(4.2rem, 17vw, 5.6rem); line-height: 1; color: #2c4a85; margin: -0.2rem 0 0.4rem; }
.gate-date { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #3a3a4a; }
.gate-btn {
  margin-top: 1.7rem; padding: 0.95rem 2.2rem;
  font: 700 0.78rem var(--font-sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, #3a5f9e, #2c4a85);
  border: 1px solid var(--gold); border-radius: 999px; cursor: pointer;
  animation: gate-pulse 2.4s ease-out infinite;
  transition: transform 0.2s ease;
}
.gate-btn:hover { transform: scale(1.05); }
@keyframes gate-pulse { 0% { box-shadow: 0 0 0 0 rgba(58,95,158,0.55); } 70% { box-shadow: 0 0 0 16px rgba(58,95,158,0); } 100% { box-shadow: 0 0 0 0 rgba(58,95,158,0); } }
.gate-hint { margin-top: 0.9rem; font-size: 0.7rem; letter-spacing: 0.14em; color: #6b6b78; }

/* Fotos de la sesión: círculo dorado en las tarjetas, fondo en Detalles, panorámica en el footer */
.cro-photo {
  width: clamp(7rem, 24vh, 12rem); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--gold), 0 14px 34px rgba(0,0,0,0.35);
  flex: none;
}
.cro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-bg {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  opacity: 0.28; filter: blur(1px);
}
.sp-detalles::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, #0a0a0c 0%, rgba(10,10,12,0.55) 40%, #0a0a0c 100%);
}
.sp-detalles > .sp-detalles-title, .sp-detalles > .sp-detalle { z-index: 6; }

.footer-pano {
  position: relative; margin: -6rem calc(var(--spacing-global) * -1) 4rem;
  height: clamp(16rem, 48vw, 30rem); overflow: hidden;
}
.footer-pano img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
.footer-pano::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,9,0.15) 0%, rgba(7,7,9,0) 40%, #070709 100%);
}
.footer-pano-text {
  position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 2; text-align: center;
  font-family: var(--font-script); font-size: clamp(2.6rem, 8vw, 5rem); color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

/* Galería de la sesión */
.galeria { position: relative; z-index: 36; background: #0a0a0c; padding: 6rem var(--spacing-global); text-align: center; }
.galeria-kicker { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.galeria-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(3.4rem, 11vw, 6.5rem); color: #fff; margin-bottom: 2.5rem; }
.galeria-grid { max-width: 1100px; margin: 0 auto; columns: 3; column-gap: 1rem; }
.galeria-grid figure { break-inside: avoid; margin: 0 0 1rem; overflow: hidden; border-radius: 6px; opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.galeria-grid figure.is-in { opacity: 1; transform: none; }
.galeria-grid img { width: 100%; display: block; transition: transform 1.2s ease; }
.galeria-grid figure:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .galeria-grid { columns: 2; column-gap: 0.6rem; } .galeria-grid figure { margin-bottom: 0.6rem; } }

/* En celular la foto se recorta al centro (ahí está Naomi): la tarjeta baja y se compacta */
@media (max-width: 720px) {
  #intro-gate { align-items: flex-end; justify-content: center; padding: 1rem 1rem 1.5rem; }
  .gate-card { padding: 1.6rem 1.2rem 1.3rem; }
  .gate-xv { font-size: 2.2rem; }
  .gate-title { font-size: 4rem; }
  .gate-btn { margin-top: 1.1rem; }
  #intro-gate .gate-photo { background-position: 50% 40%; }
}

/* ==========================================================================
   Tipografía unificada de las tarjetas: Bodoni Moda (títulos) + Manrope (texto)
   ========================================================================== */
.schedule-topbar { font-family: var(--font-sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.28em; }
.text-day-live { font-family: 'Bodoni Moda', serif; font-weight: 500; letter-spacing: -0.02em; }
.dot-matrix-title { font-family: 'Bodoni Moda', serif; font-weight: 500; letter-spacing: 0.2em; font-size: clamp(1.6rem, 4vw, 3rem); }
.schedule-day:hover .dot-matrix-title { letter-spacing: 0.2em; }
.cro-lead { font-family: 'Bodoni Moda', serif; font-weight: 500; letter-spacing: 0; }
.cro-place { font-family: 'Bodoni Moda', serif; font-weight: 500; text-decoration: none; letter-spacing: 0.01em; }
.cro-sub { font-family: var(--font-sans); font-weight: 500; }
.cro-count-num { font-family: 'Bodoni Moda', serif; font-weight: 500; }
.cro-count-label { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.22em; }
.cro-color { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.08em; }

/* Tarjeta con foto: la foto ES el cuadro central */
.schedule-body.cro-body.cro-body--photo {
  width: min(94%, 1000px);
  max-height: none;
  height: clamp(22rem, 68vh, 46rem);
  padding: 0;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  background-color: #0a0f1e; background-position: center 45%; background-size: cover; background-repeat: no-repeat;
  border-color: #000;
}
.schedule-body.cro-body--photo::before { display: none; }
.schedule-body.cro-body--photo::after {
  content: ''; position: absolute; inset: 0; opacity: 1; font-size: 0;
  background: linear-gradient(180deg, rgba(8,12,26,0) 35%, rgba(8,12,26,0.88) 100%);
}
.cro-photo-caption {
  position: relative; z-index: 1;
  padding: 1.2rem 1.4rem 1.6rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.cro-body--photo .cro-place { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.2rem); }
.cro-body--photo .cro-sub { color: rgba(255,255,255,0.88); }
.cro-map {
  display: inline-block; margin-top: 0.3rem; padding: 0.8rem 2rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  color: #1a1408; background: linear-gradient(135deg, var(--gold), #f1dca3);
  border-radius: 999px; transition: transform 0.2s ease;
}
.cro-map:hover { transform: scale(1.05); }

/* Frase de la portada: fondo oscuro suave para leerla sobre las fotos */
.hero-body {
  max-width: min(92vw, 46rem);
  padding: 2.4rem 2.6rem;
  background: radial-gradient(ellipse at center, rgba(8,9,12,0.88) 0%, rgba(8,9,12,0.74) 55%, rgba(8,9,12,0) 100%);
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff6e5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

/* La fecha sobre la frase: misma letra que la fecha en la órbita */
[data-hero-body] .hero-edition {
  margin-bottom: -1.2rem;
  padding: 0.9rem 2.6rem;
  background: radial-gradient(ellipse at center, rgba(8,9,12,0.92) 0%, rgba(8,9,12,0.8) 55%, rgba(8,9,12,0) 100%);
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #f0d9a4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.95);
}
[data-hero-body] .hero-edition::before { display: none; }

/* Logo de Naomi: bienvenida, menú y cierre */
.gate-kicker { text-wrap: balance; }
.gate-seal { margin: 0.9rem 0 0.8rem; line-height: 0; font-size: 0; }
.gate-seal img {
  width: clamp(6.5rem, 30vw, 8rem); height: auto;
  filter: drop-shadow(0 4px 12px rgba(70,50,15,0.28));
}
.logo-seal { display: block; width: 2.1rem; height: 2.1rem; }
.pill-logo:has(.logo-seal) { padding: 0.15rem 0.3rem; }
.footer-seal { margin-bottom: 3.5rem; text-align: center; line-height: 0; }
.footer-seal img { width: clamp(11rem, 34vw, 15rem); height: auto; }

/* Bienvenida en celular: sin tarjeta para no tapar a Naomi. El logo va en el cielo y el botón abajo. */
@media (max-width: 720px) {
  #intro-gate { align-items: stretch; padding: 0; }
  #intro-gate .gate-card {
    width: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 0.9rem 1.2rem 1.1rem;
    background: linear-gradient(to top, rgba(10,14,30,0.85) 0%, rgba(10,14,30,0.62) 18%, rgba(10,14,30,0) 34%);
    border: 0; box-shadow: none;
  }
  .gate-corner { display: none; }
  .gate-seal { order: -1; margin: 0 0 auto; }
  .gate-seal img { width: min(34vw, 18vh); }
  .gate-kicker, .gate-date { color: #fff6e5; text-shadow: 0 1px 8px rgba(0,0,0,0.75); }
  .gate-date { margin-top: 0.35rem; }
  .gate-btn { margin-top: 0.8rem; }
  .gate-hint { margin-top: 0.5rem; color: rgba(255,246,229,0.85); }
}

/* Aviso "Solo adultos" */
.sp-aviso {
  width: 100%; padding: 2.4rem 1.8rem 2.2rem; text-align: center;
  background: rgba(10,10,12,0.72);
  border: 1px solid rgba(201,163,92,0.55);
  box-shadow: inset 0 0 0 5px rgba(10,10,12,0.72), inset 0 0 0 6px rgba(201,163,92,0.3), 0 18px 50px rgba(0,0,0,0.45);
}
.sp-aviso-corner { position: absolute; width: 1.1rem; height: 1.1rem; border: 0 solid var(--gold); }
.sp-aviso-corner--tl { top: 0.9rem; left: 0.9rem; border-top-width: 1px; border-left-width: 1px; }
.sp-aviso-corner--tr { top: 0.9rem; right: 0.9rem; border-top-width: 1px; border-right-width: 1px; }
.sp-aviso-corner--bl { bottom: 0.9rem; left: 0.9rem; border-bottom-width: 1px; border-left-width: 1px; }
.sp-aviso-corner--br { bottom: 0.9rem; right: 0.9rem; border-bottom-width: 1px; border-right-width: 1px; }
.sp-detalle p.sp-aviso-kicker {
  margin-bottom: 0.5rem; font-family: var(--font-sans); font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.sp-detalle h3.sp-aviso-title {
  margin-bottom: 0.7rem; font-family: var(--font-script); font-size: clamp(2.8rem, 8vw, 3.8rem);
  font-weight: 400; line-height: 1.1; letter-spacing: 0; text-transform: none; color: #f4f4f7;
}
.sp-aviso-line {
  position: relative; display: block; width: 7rem; height: 1px; margin: 0 auto 1.1rem; background: var(--gold);
}
.sp-aviso-line::after {
  content: ''; position: absolute; top: -3px; left: calc(50% - 3px); width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
}
.sp-detalle p.sp-aviso-text { font-size: 1.02rem; line-height: 1.65; color: #e9e6df; }
.sp-aviso-icon { display: block; width: 2.6rem; height: auto; margin: 0 auto 0.8rem; fill: none; stroke: var(--gold); stroke-width: 1.3; }

/* Confirmar asistencia por WhatsApp */
.sp-rsvp { width: 100%; }
.sp-rsvp-input {
  display: block; width: 100%; padding: 0.9rem 1.1rem; margin-bottom: 1rem;
  font-family: var(--font-sans); font-size: 1rem; text-align: center; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid var(--gold); border-radius: 999px;
}
.sp-rsvp-input::placeholder { color: var(--silver); opacity: 0.8; }
.sp-rsvp-input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.sp-rsvp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.sp-rsvp-btn { min-height: 44px; margin-top: 0; border: 0; cursor: pointer; }
.sp-rsvp-btn--no {
  padding: 0.8rem 2rem; border-radius: 999px; border: 1px solid var(--silver); background: transparent;
  color: var(--silver); font-family: var(--font-sans); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.sp-detalle p.sp-rsvp-msg { min-height: 1.5em; margin-top: 0.8rem; font-size: 0.95rem; color: var(--gold); }

/* Tarjeta La Fecha: foto B/N de Naomi detrás de la cuenta regresiva */
.cro-body--fecha { background-position: 60% 28% !important; }
.cro-body--fecha::after { background: linear-gradient(180deg, rgba(8,12,26,0.25) 0%, rgba(8,12,26,0.62) 55%, rgba(8,12,26,0.92) 100%) !important; }
.cro-body--photo .cro-lead { color: #fff; }
.cro-body--photo .cro-count { margin: 0.2rem 0; }
.cro-body--photo .cro-count-box { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.cro-body--photo .cro-count-num, .cro-body--photo .cro-count-label { color: #fff; }

/* Tarjeta Recepción: logotipo arriba, texto debajo (sin encimarse) */
.cro-body--logo { background-color: #fef4e6 !important; background-image: none !important; justify-content: flex-start; }
.cro-body--logo::after { display: none !important; }
.cro-logo-img { flex: 1 1 0; min-height: 0; width: 100%; object-fit: contain; display: block; padding-top: 0.5rem; }
.cro-body--logo .cro-photo-caption { flex: none; padding-top: 0.2rem; }
.cro-body--logo .cro-lead, .cro-body--logo .cro-place { color: #5a3a22; }

.cro-svg { display: flex; align-items: center; justify-content: center; padding: 1rem 0 0; }
.cro-svg svg { height: 100%; max-height: 14rem; width: auto; max-width: 70%; }
.cro-body--logo .cro-sub { color: #6b5a44; }

/* Tarjeta Vestimenta: muestras de color grandes */
.cro-swatches { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 6vw, 3.5rem); padding: 1rem 0 0; }
.cro-swatch { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.cro-swatch-dot { width: clamp(5.5rem, 22vw, 10rem); aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #b8924a, 0 14px 30px rgba(60,40,10,0.25); }
.cro-swatch-dot--azul { background: radial-gradient(circle at 35% 30%, #8fb0e0, #3a5f9e 70%); }
.cro-swatch-dot--dorado { background: radial-gradient(circle at 35% 30%, #f3dfa8, #c9a35c 70%); }
.cro-swatch-name { font-family: 'Bodoni Moda', serif; font-size: 1.15rem; letter-spacing: 0.16em; text-transform: uppercase; color: #5a3a22; }

/* Tarjeta Vestimenta: ilustración + muestras de color + texto abajo */
.cro-body--vestimenta { background-color: #fef4e6 !important; background-position: center top !important; }
.cro-body--vestimenta::after { background: linear-gradient(180deg, rgba(254,244,230,0) 52%, rgba(254,244,230,0.94) 74%) !important; }
.cro-body--vestimenta .cro-lead { color: #1b2748; }
.cro-body--vestimenta .cro-sub { color: #4a4a58; max-width: 46ch; }
.cro-swatch-row { display: flex; gap: 1.4rem; justify-content: center; align-items: center; }
.cro-swatch-mini { display: inline-flex; align-items: center; gap: 0.55rem; font-family: 'Bodoni Moda', serif; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; color: #5a3a22; }
.cro-swatch-mini .cro-swatch-dot { display: inline-block; width: 2.4rem; border-width: 2px; box-shadow: 0 0 0 1.5px #b8924a; }
.cro-body--vestimenta .cro-photo-caption { padding-bottom: 1.2rem; gap: 0.5rem; }

/* Tarjeta Mis Padres: tipográfica, azul noche con dorado */
.cro-body--padres {
  justify-content: center !important; align-items: center !important;
  background: radial-gradient(ellipse at 50% 35%, #1d2f5a 0%, #0a0f1e 78%) !important;
  border-color: #000;
}
.cro-body--padres::before {
  content: ''; position: absolute; inset: 14px; display: block; opacity: 1; font-size: 0;
  border: 1px solid rgba(201,163,92,0.7); border-radius: 14px; pointer-events: none;
}
.cro-body--padres::after { background: none !important; }
.cro-padres { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1.6rem; text-align: center; }
.cro-padres-kicker { font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.cro-padres-name { font-family: var(--font-script); font-size: clamp(2.3rem, 7vw, 4.2rem); line-height: 1.15; color: #fff; }
.cro-padres-amp { font-family: 'Bodoni Moda', serif; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.cro-padres-line { width: 5rem; height: 1px; background: var(--gold); margin: 0.9rem 0 0.4rem; }
.cro-body--padres .cro-sub { color: rgba(255,255,255,0.82); }

.cro-kicker-dark { font-family: var(--font-sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: #6b5a30; }
.cro-body--vestimenta .cro-lead { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: 0.04em; }

/* ===== Ajustes celular ===== */
@media (max-width: 720px) {
  /* barra: que quepa completa */
  .nav-bar { gap: 0.1rem; padding: 0.25rem 0.3rem; max-width: 96vw; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18,18,22,0.96); }
  .pill { padding: 0.4rem 0.5rem; font-size: 0.68rem; letter-spacing: 0; }
  .pill-logo { padding: 0.4rem 0.4rem; }
  .logo-wordmark { font-size: 0.78rem; }
  .logo-wordmark em { font-size: 0.95rem; margin-left: 0.1rem; }
  .music-toggle { font-size: 0.9rem; padding: 0.35rem 0.4rem; }
  /* títulos de tarjeta: que no se corten */
  .schedule-head { gap: 0.5rem; }
  .schedule-head > * { min-width: 0; }
  .dot-matrix-title { font-size: clamp(1.05rem, 5.6vw, 1.6rem); letter-spacing: 0.08em; overflow-wrap: anywhere; }
  .schedule-day:hover .dot-matrix-title { letter-spacing: 0.08em; }
  /* bienvenida: tarjeta más transparente y baja, sin tapar a Naomi */
  .gate-card { background: rgba(252,246,232,0.62); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 1.6rem 1.3rem 1.3rem; }
  .gate-xv { font-size: 2.8rem; }
  .gate-title { font-size: clamp(3.4rem, 15vw, 4.4rem); }
}

/* Momentos de la fiesta (muro de invitados) */
.momentos { position: relative; z-index: 36; background: #0a0a0c; padding: 5rem var(--spacing-global); text-align: center; }
.momentos[hidden] { display: none; }
.momentos-grid { max-width: 1100px; margin: 0 auto; columns: 3; column-gap: 1rem; }
.momento { break-inside: avoid; margin: 0 0 1rem; border-radius: 8px; overflow: hidden; background: #14141a; text-align: left; }
.momento img, .momento video { width: 100%; display: block; }
.momento figcaption { padding: 0.7rem 0.9rem 0.9rem; color: #f3ead6; font-size: 0.9rem; line-height: 1.4; }
.momento figcaption b { display: block; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.2rem; }
@media (max-width: 720px) { .momentos-grid { columns: 2; column-gap: 0.6rem; } .momento { margin-bottom: 0.6rem; } }

/* Celular: caballeros y damas lado a lado, para no perder la moneda de vista */
@media (max-width: 768px) {
  #lineup { min-height: 100svh; padding: 5.5rem 0 3rem; }
  .lineup-title { margin-bottom: 1rem; }
  .corte-stage { grid-template-columns: 1fr 1fr; justify-items: stretch; align-items: start; gap: 3.4rem 0.5rem; padding: 0 0.75rem; }
  .coin-wrap { grid-column: 1 / -1; justify-self: center; order: -1; margin-bottom: 0; }
  .corte-col--madrina { order: -1; justify-self: center; margin-top: 0; margin-bottom: -2.2rem; }
  .corte-col { gap: 0.15rem; }
  .corte-col--left, .corte-col--right { align-items: center; text-align: center; }
  .lineup-colhead { font-size: 0.72rem; letter-spacing: 0.2em; margin-bottom: 0.25rem; }
  .lineup-item { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: clamp(0.9rem, 3.9vw, 1.05rem); line-height: 1.15; letter-spacing: 0; }
}
