/* ============================================
   MIS 30 AÑOS — Premium Cinematic Invitation
   Mobile-first · Black & Champagne Gold
   ============================================ */

:root {
  --black: #060606;
  --black-deep: #0a0a0b;
  --carbon: #131315;
  --carbon-2: #1b1b1e;
  --gold: #d4af37;
  --gold-bright: #f1d273;
  --gold-champagne: #e9d8a6;
  --gold-dark: #8a6d1f;
  --warm-white: #f6f1e7;
  --warm-white-soft: rgba(246, 241, 231, 0.72);
  --red-accent: #7a1220;
  --metal: linear-gradient(135deg, #f6e7b0 0%, #d4af37 28%, #8a6d1f 50%, #d4af37 72%, #f1d273 100%);
  --font-display: "Georgia", "Times New Roman", "Playfair Display", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-elegant: 0 24px 60px rgba(0, 0, 0, 0.55);
  --border-gold: 1px solid rgba(212, 175, 55, 0.28);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--warm-white);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

/* Texturas sutiles: malla de arena + líneas diagonales */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 9px);
  opacity: 0.5;
}

/* ---------- Tipografía de sección ---------- */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.title-underline {
  width: 84px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

.section-lead {
  max-width: 560px;
  margin: 26px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  color: var(--warm-white-soft);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 38px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-color 0.4s;
  will-change: transform;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 130%;
}

.btn-gold {
  color: #141005;
  background: var(--metal);
  background-size: 200% auto;
  border: 1px solid rgba(241, 210, 115, 0.6);
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 16px 44px rgba(212, 175, 55, 0.42);
}

.btn-outline {
  color: var(--gold-champagne);
  background: rgba(10, 10, 11, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 14px 38px rgba(212, 175, 55, 0.22);
}

.btn-whatsapp {
  color: #f2ffe9;
  background: linear-gradient(135deg, #1d7a35, #14572a);
  border: 1px solid rgba(120, 220, 140, 0.4);
  box-shadow: 0 12px 34px rgba(20, 120, 50, 0.3);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(20, 140, 60, 0.42);
}

/* ============================================
   INTRO · SOBRE / CARTA CON SELLO
   ============================================ */
body.pre-enter {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.intro.opening {
  pointer-events: none;
}

.intro.done {
  display: none;
}

.intro-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 9px),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(212, 175, 55, 0.09), transparent 62%),
    linear-gradient(160deg, #16161a 0%, #0a0a0b 58%, #0d0a06 100%);
  transition: transform 1.15s var(--ease-out) 0.3s;
  will-change: transform;
}

.intro-half--top {
  top: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 34px rgba(212, 175, 55, 0.16);
}

.intro-half--bottom {
  bottom: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 -8px 34px rgba(212, 175, 55, 0.16);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 9px),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(122, 18, 32, 0.1), transparent 62%),
    linear-gradient(340deg, #16161a 0%, #0a0a0b 58%, #0d0a06 100%);
}

.intro-half--top::before,
.intro-half--top::after,
.intro-half--bottom::before,
.intro-half--bottom::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  transform: scale(0);
  animation: cornerIn 0.8s var(--ease-out) 0.6s forwards;
}

.intro-half--top::before {
  top: 16px;
  left: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.65);
  border-left: 1px solid rgba(212, 175, 55, 0.65);
  transform-origin: top left;
}

.intro-half--top::after {
  top: 16px;
  right: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.65);
  border-right: 1px solid rgba(212, 175, 55, 0.65);
  transform-origin: top right;
}

.intro-half--bottom::before {
  bottom: 16px;
  left: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.65);
  border-left: 1px solid rgba(212, 175, 55, 0.65);
  transform-origin: bottom left;
}

.intro-half--bottom::after {
  bottom: 16px;
  right: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.65);
  border-right: 1px solid rgba(212, 175, 55, 0.65);
  transform-origin: bottom right;
}

@keyframes cornerIn {
  to {
    transform: scale(1);
  }
}

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

.intro::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(241, 210, 115, 0.07) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: introSweep 6.5s ease-in-out 1.5s infinite;
}

@keyframes introSweep {
  0% {
    transform: translateX(-60%);
  }
  55%, 100% {
    transform: translateX(60%);
  }
}

.intro.opening .intro-half--top {
  transform: translateY(-101%);
}

.intro.opening .intro-half--bottom {
  transform: translateY(101%);
}

.intro-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.intro.opening .intro-center {
  opacity: 0;
  transform: scale(1.07);
  pointer-events: none;
}

.intro-eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  text-indent: 0.46em;
}

.intro-eyebrow,
.intro-emblem-wrap,
.intro-title,
.intro-name,
.intro-date,
.intro-seal,
.intro-hint {
  opacity: 0;
  animation: introItem 0.9s var(--ease-out) forwards;
}

.intro-eyebrow {
  animation-delay: 0.15s;
}

.intro-emblem-wrap {
  animation-delay: 0.3s;
}

.intro-title {
  animation-delay: 0.5s;
}

.intro-name {
  animation-delay: 0.65s;
}

.intro-date {
  animation-delay: 0.8s;
}

.intro-seal {
  animation-delay: 1s;
}

.intro-hint {
  animation-delay: 1.25s;
}

@keyframes introItem {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.intro-emblem-wrap {
  position: relative;
  display: grid;
  place-items: center;
  animation: introItem 0.9s var(--ease-out) 0.3s forwards,
    floatY 5.5s ease-in-out 1.6s infinite alternate;
}

.intro-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 152px;
  height: 152px;
  margin: -76px 0 0 -76px;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: linear-gradient(150deg, rgba(241, 210, 115, 0.55), rgba(212, 175, 55, 0.15), rgba(241, 210, 115, 0.55));
  opacity: 0.55;
  animation: ringSpin 36s linear infinite;
}

.intro-ring::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: #0b0b0c;
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatY {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9px);
  }
}

.intro-emblem {
  position: relative;
  width: 122px;
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: var(--metal);
  filter: drop-shadow(0 0 26px rgba(212, 175, 55, 0.35));
}

.intro-emblem::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: #0b0b0c;
}

.intro-emblem span {
  position: relative;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 2px 4px;
  display: inline-block;
  overflow: visible;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.intro-title {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 3.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--warm-white);
}

.intro-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.intro-date {
  font-size: clamp(0.72rem, 2.8vw, 0.86rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.intro-seal {
  position: relative;
  margin-top: 20px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #141005;
  background: var(--metal);
  background-size: 200% auto;
  box-shadow: 0 12px 34px rgba(212, 175, 55, 0.35);
  animation: introItem 0.9s var(--ease-out) 1s forwards,
    sealPulse 2.4s ease-out 2.2s infinite,
    floatY 4.6s ease-in-out 2.2s infinite alternate-reverse;
  transition: transform 0.3s var(--ease-out), background-position 0.5s;
  overflow: hidden;
}

.intro-seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(20, 16, 5, 0.5);
  animation: ringSpin 16s linear infinite;
}

.intro-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: sealShine 3.4s ease-in-out 2s infinite;
}

@keyframes sealShine {
  0% {
    transform: translateX(-130%);
  }
  45%, 100% {
    transform: translateX(130%);
  }
}

.intro-seal:hover,
.intro-seal:focus-visible {
  transform: scale(1.07);
  background-position: right center;
}

.intro-seal-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
}

@keyframes sealPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5), 0 12px 34px rgba(212, 175, 55, 0.35);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(212, 175, 55, 0), 0 12px 34px rgba(212, 175, 55, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 12px 34px rgba(212, 175, 55, 0.35);
  }
}

.intro-hint {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(233, 216, 166, 0.6);
}

/* El hero espera cerrado detrás del sobre */
body:not(.entered) .hero-number,
body:not(.entered) .hero-line,
body:not(.entered) .hero-meta,
body:not(.entered) .hero-phrase,
body:not(.entered) .hero-cta,
body:not(.entered) .scroll-hint,
body:not(.entered) .hero-content::before,
body:not(.entered) .hero-content::after {
  animation-play-state: paused;
}

/* ============================================
   BARRA DE PROGRESO DE SCROLL
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 70;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), var(--gold-dark));
  box-shadow: 0 0 12px rgba(241, 210, 115, 0.5);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ============================================
   CONFETI DORADO AL ABRIR EL SELLO
   ============================================ */
.burst-p {
  position: fixed;
  z-index: 120;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #f6e7b0 0%, rgba(212, 175, 55, 0) 70%);
  animation: burstFly 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes burstFly {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--bx), var(--by)) scale(0.15);
  }
}

/* ============================================
   MICRO-ANIMACIONES DE PÁGINA
   ============================================ */
.cd-num.tick {
  animation: cdTick 0.45s var(--ease-out);
}

@keyframes cdTick {
  0% {
    transform: translateY(-10px);
    opacity: 0.15;
    filter: blur(3px);
  }
  100% {
    transform: none;
    opacity: 1;
    filter: none;
  }
}

.title-underline.in-view::after {
  animation: diamondPop 1s var(--ease-out) 0.45s both;
}

@keyframes diamondPop {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
  }
  60% {
    transform: translate(-50%, -50%) rotate(225deg) scale(1.4);
  }
  100% {
    transform: translate(-50%, -50%) rotate(405deg) scale(1);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.09);
  }
}

@media (max-width: 767px) {
  .fam-card.in-view .fam-frame img.loaded {
    animation: kenBurns 22s ease-in-out infinite alternate;
  }
}

.final-media img.loaded {
  animation: kenBurns 30s ease-in-out infinite alternate;
}

.location-icon {
  position: relative;
}

.location-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.55);
  animation: ping 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  80%, 100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.btn-whatsapp {
  animation: waPulse 3.2s ease-out 1.5s infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 200, 110, 0.35), 0 12px 34px rgba(20, 120, 50, 0.3);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(60, 200, 110, 0), 0 12px 34px rgba(20, 120, 50, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 200, 110, 0), 0 12px 34px rgba(20, 120, 50, 0.3);
  }
}

/* ============================================
   PARTÍCULAS DORADAS GLOBALES
   ============================================ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 210, 115, 0.9), rgba(212, 175, 55, 0));
  animation: floatUp linear infinite, twinkle 2.6s ease-in-out infinite alternate;
  opacity: 0;
}

@keyframes twinkle {
  from {
    filter: brightness(0.65);
  }
  to {
    filter: brightness(1.7);
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: var(--p-opacity, 0.6);
  }
  85% {
    opacity: var(--p-opacity, 0.6);
  }
  100% {
    transform: translateY(-105vh) translateX(var(--p-drift, 30px));
    opacity: 0;
  }
}

/* ============================================
   BOTÓN FLOTANTE DE MÚSICA
   ============================================ */
.music-btn {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  background: rgba(12, 12, 14, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  animation: musicIn 0.6s var(--ease-out) both;
}

@keyframes musicIn {
  from {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.music-btn[hidden] {
  display: none;
}

.music-btn:hover {
  transform: scale(1.08);
}

.music-btn .music-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.music-btn.playing {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45), 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: musicIn 0.6s var(--ease-out) both, musicPulse 2.2s ease-out infinite;
}

@keyframes musicPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

.music-btn.paused .music-icon {
  opacity: 0.55;
}

/* ============================================
   HERO / PORTADA
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  opacity: 0.65;
  filter: contrast(1.1) brightness(0.82);
  transform: scale(1.02);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  opacity: 1;
  transform: scale(1.04);
}

.hero-img.loaded {
  opacity: 1;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.4%, -1.2%, 0);
  }
}

/* Placeholder elegante cuando no hay foto */
.hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 65% at 50% 18%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 55% at 78% 85%, rgba(122, 18, 32, 0.16), transparent 65%),
    linear-gradient(160deg, #101014 0%, #070708 55%, #0c0a06 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(6, 6, 6, 0.52) 0%, rgba(6, 6, 6, 0.88) 78%, rgba(6, 6, 6, 0.98) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.72) 0%, rgba(6, 6, 6, 0.38) 38%, rgba(6, 6, 6, 0.82) 78%, rgba(6, 6, 6, 0.98) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 110px 24px 90px;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  margin-bottom: 26px;
  text-indent: 0.5em;
}

.hero-eyebrow span {
  display: inline-block;
  padding: 8px 18px;
  border: var(--border-gold);
  background: rgba(10, 10, 11, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-number-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  overflow: visible;
}

.hero-number {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 18vw, 8.5rem);
  font-weight: 700;
  line-height: 1.15;
  padding: 0.06em 0.12em;
  display: inline-block;
  overflow: visible;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(212, 175, 55, 0.35));
  opacity: 0;
  transform: scale(0.7);
  animation: numberIn 1.6s var(--ease-out) 0.3s forwards, shimmer 6s linear 2s infinite;
}

@keyframes numberIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0)) blur(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 26px rgba(212, 175, 55, 0.35)) blur(0);
  }
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeUp 1.1s var(--ease-out) forwards;
}

.hero-line--1 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-indent: 0.55em;
  animation-delay: 1s;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
  animation-delay: 1.25s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  opacity: 0;
  animation: heroFadeUp 1.1s var(--ease-out) 1.55s forwards;
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.hero-phrase {
  max-width: 480px;
  margin: 24px auto 38px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 3.6vw, 1.22rem);
  color: var(--warm-white-soft);
  opacity: 0;
  animation: heroFadeUp 1.1s var(--ease-out) 1.8s forwards;
}

.hero-cta {
  opacity: 0;
  animation: heroFadeUp 1.1s var(--ease-out) 2.05s forwards;
}

/* Líneas doradas decorativas del hero */
.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  opacity: 0;
  animation: lineIn 1.4s ease 2.2s forwards;
}

.hero-content::before {
  left: 4px;
}

.hero-content::after {
  right: 4px;
}

@keyframes lineIn {
  to {
    opacity: 1;
  }
}

/* Indicador de scroll */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 1s ease 2.6s forwards;
}

.scroll-hint-text {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(233, 216, 166, 0.75);
  text-indent: 0.42em;
}

.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.8), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold-bright);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% {
    top: -40%;
  }
  60%, 100% {
    top: 110%;
  }
}

/* ============================================
   CUENTA REGRESIVA
   ============================================ */
.countdown-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.07), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, var(--carbon) 100%);
}

.countdown {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.cd-box {
  flex: 1;
  max-width: 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 8px;
  background: linear-gradient(160deg, rgba(27, 27, 30, 0.9), rgba(10, 10, 11, 0.92));
  border: var(--border-gold);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: inset 0 1px 0 rgba(241, 210, 115, 0.12), 0 14px 34px rgba(0, 0, 0, 0.45);
}

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.cd-label {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--warm-white-soft);
  text-indent: 0.34em;
}

.cd-sep {
  align-self: center;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
  flex-shrink: 0;
}

.cd-done {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  letter-spacing: 0.1em;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ============================================
   SECCIÓN 30
   ============================================ */
.thirty-section {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 175, 55, 0.08), transparent 70%),
    linear-gradient(180deg, var(--carbon) 0%, var(--black-deep) 100%);
}

.thirty-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.thirty-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: contrast(1.15) brightness(0.85);
  pointer-events: none;
}

.thirty-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(10, 10, 11, 0.42) 0%, rgba(10, 10, 11, 0.88) 85%, var(--black-deep) 100%),
    linear-gradient(180deg, var(--carbon) 0%, transparent 20%, transparent 80%, var(--black-deep) 100%);
  pointer-events: none;
}

.octagon {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.22);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.octagon--outer {
  width: min(78vw, 560px);
  aspect-ratio: 1;
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.06), rgba(122, 18, 32, 0.05));
  box-shadow: 0 0 90px rgba(212, 175, 55, 0.08);
  animation: octaSpin 90s linear infinite;
}

.octagon--inner {
  width: min(56vw, 400px);
  aspect-ratio: 1;
  border-color: rgba(212, 175, 55, 0.14);
  animation: octaSpin 70s linear infinite reverse;
}

@keyframes octaSpin {
  to {
    transform: rotate(360deg);
  }
}

.arena-glow {
  position: absolute;
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 210, 115, 0.1), transparent 62%);
  filter: blur(18px);
}

.thirty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.thirty-number {
  font-family: var(--font-display);
  font-size: clamp(7.5rem, 30vw, 15rem);
  font-weight: 700;
  line-height: 1.12;
  padding: 0.08em 0.12em;
  display: inline-block;
  overflow: visible;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
}

.thirty-round {
  font-size: 0.8rem;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--gold);
  text-indent: 0.6em;
  margin-top: 10px;
}

.thirty-phrase {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  color: var(--warm-white-soft);
  margin-top: 14px;
}

/* ============================================
   FAMILIA — Composición editorial
   ============================================ */
.family-section {
  background: linear-gradient(180deg, var(--black-deep) 0%, #0d0c0a 50%, var(--black-deep) 100%);
  padding-bottom: 110px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.fam-card {
  position: relative;
  grid-column: span 12;
}

.fam-frame {
  position: relative;
  overflow: hidden;
  border: var(--border-gold);
  box-shadow: var(--shadow-elegant);
  background: var(--carbon);
}

.fam-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  pointer-events: none;
  z-index: 2;
}

.fam-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 1.4s var(--ease-out);
}

.fam-frame img.loaded {
  opacity: 1;
}

.fam-card.in-view .fam-frame img.loaded {
  transform: scale(1);
}

.fam-frame:hover img.loaded {
  transform: scale(1.03);
}

/* Placeholder elegante para fotos ausentes */
.img-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212, 175, 55, 0.1), transparent 65%),
    linear-gradient(155deg, #17161a 0%, #0b0b0d 60%, #12100a 100%);
}

.img-placeholder::before {
  content: "30";
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.16);
  letter-spacing: 0.08em;
}

.fam-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 22px 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: var(--warm-white);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 6, 0.85));
}

/* Alturas por defecto (mobile) */
.fam-card--tall .fam-frame {
  aspect-ratio: 2 / 3;
}

.fam-card--wide .fam-frame {
  aspect-ratio: 4 / 3;
}

.fam-card--mid .fam-frame {
  aspect-ratio: 2 / 3;
}

.fam-card--mid .fam-frame img {
  object-position: center 20%;
}

/* ============================================
   SHOW — MICHAEL JACKSON
   ============================================ */
.show-section {
  background: #040404;
  padding: 130px 0 150px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.show-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.show-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.2) brightness(0.7) saturate(1.1);
  pointer-events: none;
}

.show-stage-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(4, 4, 4, 0.45) 0%, rgba(4, 4, 4, 0.9) 85%, #040404 100%),
    linear-gradient(180deg, #040404 0%, transparent 15%, transparent 85%, #040404 100%);
  pointer-events: none;
}

.spotlight {
  position: absolute;
  top: -18%;
  width: 42vmax;
  height: 130%;
  background: linear-gradient(180deg, rgba(255, 244, 214, 0.16) 0%, rgba(255, 240, 200, 0.05) 45%, transparent 75%);
  filter: blur(14px);
  transform-origin: top center;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.show-section.in-view .spotlight {
  opacity: 1;
}

.spotlight--left {
  left: 6%;
  transform: rotate(16deg);
  animation: spotSwayL 9s ease-in-out infinite alternate;
}

.spotlight--right {
  right: 6%;
  transform: rotate(-16deg);
  background: linear-gradient(180deg, rgba(241, 210, 115, 0.14) 0%, rgba(241, 210, 115, 0.04) 45%, transparent 75%);
  animation: spotSwayR 11s ease-in-out infinite alternate;
}

@keyframes spotSwayL {
  from {
    transform: rotate(13deg);
  }
  to {
    transform: rotate(20deg);
  }
}

@keyframes spotSwayR {
  from {
    transform: rotate(-13deg);
  }
  to {
    transform: rotate(-21deg);
  }
}

.smoke {
  position: absolute;
  bottom: -20%;
  width: 90vmax;
  height: 55vmax;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(180, 175, 165, 0.09), transparent 62%);
  filter: blur(28px);
}

.smoke--1 {
  left: -25vmax;
  animation: smokeDrift 24s ease-in-out infinite alternate;
}

.smoke--2 {
  right: -25vmax;
  animation: smokeDrift 30s ease-in-out infinite alternate-reverse;
}

@keyframes smokeDrift {
  from {
    transform: translateX(-4%) translateY(0) scale(1);
  }
  to {
    transform: translateX(6%) translateY(-4%) scale(1.12);
  }
}

.show-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.show-particles .particle {
  background: radial-gradient(circle, rgba(255, 250, 235, 0.85), rgba(241, 210, 115, 0));
}

.show-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.show-mainevent {
  font-size: 0.66rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #c2273a;
  text-indent: 0.5em;
  margin-bottom: 12px;
  font-weight: 700;
}

.show-coming {
  font-size: 0.68rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(233, 216, 166, 0.8);
  text-indent: 0.55em;
  margin-bottom: 40px;
}

.show-figure {
  position: relative;
  width: min(64vw, 300px);
  margin-bottom: 44px;
}

.show-live {
  position: absolute;
  top: 6%;
  right: -6%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: #fff;
  background: linear-gradient(135deg, #8f1626, #5c0d18);
  border: 1px solid rgba(255, 120, 130, 0.45);
  box-shadow: 0 8px 24px rgba(122, 18, 32, 0.5);
}

.show-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d5e;
  box-shadow: 0 0 10px #ff4d5e;
  animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.show-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: #000;
}

.show-img-wrap img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% top;
  z-index: 1;
  opacity: 0;
  filter: contrast(1.08) brightness(0.98);
  transition: opacity 1.4s ease, transform 0.8s var(--ease-out);
}

.show-img-wrap img.loaded {
  opacity: 1;
}

.show-img-wrap:hover img.loaded {
  transform: scale(1.04);
}

.show-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 28%, transparent 58%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.42) 100%);
}

/* Silueta elegante de respaldo (CSS puro) */
.michael-silhouette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 34% at 50% 100%, rgba(241, 210, 115, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 244, 214, 0.08), transparent 70%),
    #000;
}

.michael-silhouette::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52%;
  height: 74%;
  background: linear-gradient(180deg, #0c0c0e 0%, #050505 100%);
  clip-path: polygon(38% 0%, 62% 0%, 66% 8%, 58% 10%, 70% 16%, 78% 34%, 74% 62%, 84% 100%, 16% 100%, 26% 62%, 22% 34%, 30% 16%, 42% 10%, 34% 8%);
  box-shadow: 0 0 44px rgba(241, 210, 115, 0.14);
}

.michael-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50% 50% 46% 46%;
  background: #0c0c0e;
  box-shadow: 0 -6px 0 -2px #0c0c0e, 0 0 40px rgba(255, 244, 214, 0.1);
}

.figure-glow {
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, rgba(241, 210, 115, 0.16), transparent 62%);
  filter: blur(20px);
  animation: glowPulse 5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

.show-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.show-title span {
  background: linear-gradient(180deg, var(--warm-white) 30%, var(--gold-champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.show-text {
  margin-top: 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  color: var(--warm-white-soft);
  line-height: 1.8;
}

.show-tribute {
  margin-top: 22px;
  padding: 10px 26px;
  font-size: clamp(0.72rem, 2.8vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-shadow: 0 0 18px rgba(241, 210, 115, 0.4);
}

/* Tale of the tape — guiño UFC elegante */
.show-card {
  margin-top: 40px;
  width: min(100%, 420px);
  border: var(--border-gold);
  background: linear-gradient(160deg, rgba(20, 20, 23, 0.85), rgba(8, 8, 9, 0.9));
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
}

.show-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
}

.show-card-row + .show-card-row {
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.show-card-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
}

.show-card-value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  text-align: right;
}

/* Ticker estilo Fight Night */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(90deg, #0a0a0b, #17130a 50%, #0a0a0b);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0b, transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0b, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(233, 216, 166, 0.75);
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   FECHA
   ============================================ */
.date-section {
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(122, 18, 32, 0.1), transparent 70%),
    linear-gradient(180deg, var(--black-deep), var(--carbon));
  padding: 120px 0;
  text-align: center;
}

.date-bignum {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(16rem, 52vw, 34rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.12);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.date-content {
  position: relative;
  z-index: 1;
}

.date-day {
  font-size: clamp(1rem, 4vw, 1.4rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  text-indent: 0.6em;
}

.date-month {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin: 8px 0;
}

.date-year {
  font-size: clamp(1.1rem, 4.4vw, 1.6rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--warm-white-soft);
  text-indent: 0.5em;
}

.date-time {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 34px;
  border: var(--border-gold);
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-indent: 0.34em;
  background: rgba(10, 10, 11, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ============================================
   UBICACIÓN
   ============================================ */
.location-section {
  background: linear-gradient(180deg, var(--carbon), var(--black-deep));
}

.location-card {
  max-width: 560px;
  margin: 52px auto 0;
  padding: 52px 30px 46px;
  text-align: center;
  background: linear-gradient(160deg, rgba(27, 27, 30, 0.85), rgba(10, 10, 11, 0.9));
  border: var(--border-gold);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: var(--shadow-elegant);
}

.location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: radial-gradient(circle at 35% 30%, rgba(241, 210, 115, 0.18), rgba(10, 10, 11, 0.6));
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
  margin-bottom: 24px;
}

.location-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--warm-white);
}

.location-address {
  margin-top: 12px;
  font-size: clamp(0.98rem, 3.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--warm-white-soft);
  word-break: break-word;
}

.location-btn {
  margin-top: 34px;
  width: 100%;
  max-width: 320px;
}

/* ============================================
   CONFIRMACIÓN
   ============================================ */
.rsvp-section {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 175, 55, 0.08), transparent 65%),
    var(--black-deep);
  padding: 110px 0;
}

.rsvp-section .btn-whatsapp {
  margin-top: 40px;
  width: 100%;
  max-width: 360px;
}

/* ============================================
   CIERRE FINAL
   ============================================ */
.final-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  background: var(--black);
}

.final-media {
  position: absolute;
  inset: 0;
}

.final-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.final-media img.loaded {
  opacity: 1;
}

.final-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.7) 45%, rgba(6, 6, 6, 0.95) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
}

.final-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--metal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.final-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: clamp(0.9rem, 3.4vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.final-phrase {
  max-width: 540px;
  margin-top: 34px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  line-height: 1.8;
  color: var(--warm-white-soft);
}

.final-teespero {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.5vw, 2.2rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  text-indent: 0.5em;
  color: var(--warm-white);
  text-shadow: 0 0 30px rgba(241, 210, 115, 0.35);
}

.final-content .btn-outline {
  margin-top: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 22px 46px;
  text-align: center;
  background: #040404;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.footer p {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(233, 216, 166, 0.65);
  text-indent: 0.4em;
}

.footer-small {
  margin-top: 8px;
  color: rgba(246, 241, 231, 0.3) !important;
  font-size: 0.6rem !important;
}

/* ============================================
   ANIMACIONES DE REVELADO (IntersectionObserver)
   ============================================ */
.reveal,
.reveal-img,
.reveal-zoom,
.reveal-line span {
  opacity: 0;
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out),
    filter 1s var(--ease-out);
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(30px);
}

.reveal-img {
  transform: translateY(32px);
}

.reveal-zoom {
  transform: scale(0.86);
  filter: blur(6px);
}

.reveal-line span {
  display: inline-block;
  transform: translateY(14px);
}

.reveal.in-view,
.reveal-img.in-view,
.reveal-zoom.in-view,
.reveal-line.in-view span {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Parallax sutil */
[data-parallax] .fam-frame img {
  will-change: transform;
}

/* ============================================
   RESPONSIVE — TABLET (≥ 640px)
   ============================================ */
@media (min-width: 640px) {
  .section {
    padding: 110px 0;
  }

  .fam-card--tall {
    grid-column: span 7;
  }

  .fam-card--wide {
    grid-column: span 5;
    align-self: center;
  }

  .fam-card--mid {
    grid-column: span 6;
  }

  .fam-card--tall .fam-frame {
    aspect-ratio: 3 / 4.2;
  }

  .countdown {
    gap: 16px;
  }

  .cd-box {
    padding: 30px 12px;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (≥ 960px)
   ============================================ */
@media (min-width: 960px) {
  .container {
    padding-inline: 40px;
  }

  .family-grid {
    gap: 26px;
    margin-top: 76px;
    grid-auto-rows: auto;
  }

  .fam-card--tall {
    grid-column: 1 / span 5;
    grid-row: 1 / span 2;
  }

  .fam-card--tall .fam-frame {
    aspect-ratio: 3 / 4.6;
    height: 100%;
  }

  .fam-card--wide {
    grid-column: 6 / span 7;
    grid-row: 1;
    align-self: start;
    margin-top: 40px;
  }

  .fam-card--wide .fam-frame {
    aspect-ratio: 4 / 3;
  }

  .fam-card--mid:nth-of-type(3) {
    grid-column: 6 / span 3;
    grid-row: 2;
  }

  .fam-card--mid:nth-of-type(4) {
    grid-column: 9 / span 4;
    grid-row: 2;
    align-self: end;
  }

  .fam-card--mid .fam-frame {
    aspect-ratio: 2 / 3;
  }

  .show-figure {
    width: min(38vw, 330px);
  }

  .date-bignum {
    font-size: 30rem;
  }
}

/* ============================================
   PANTALLAS MUY PEQUEÑAS (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
  .hero-content {
    padding-inline: 14px;
  }

  .hero-line--1 {
    letter-spacing: 0.4em;
    text-indent: 0.4em;
  }

  .countdown {
    gap: 6px;
  }

  .cd-box {
    padding: 18px 4px;
  }

  .cd-label {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    font-size: 0.55rem;
  }

  .cd-sep {
    width: 4px;
    height: 4px;
  }

  .btn {
    padding: 15px 24px;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
  }

  .hero-meta {
    letter-spacing: 0.2em;
    gap: 10px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-img {
    transform: scale(1.02);
  }

  .reveal,
  .reveal-img,
  .reveal-zoom,
  .reveal-line span,
  .hero-line,
  .hero-meta,
  .hero-phrase,
  .hero-cta,
  .hero-number,
  .scroll-hint {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .reveal-img .fam-frame {
    clip-path: none;
  }

  .particles,
  .show-particles,
  .intro-particles {
    display: none;
  }

  .hero-video,
  .thirty-video,
  .show-stage-video {
    opacity: 0.15;
  }
}
