/* ==========================================================================
   BODA VALERIA & FERNANDO · styles.css
   Haute-Couture Digital Wedding Design System · Dark Marble & Kintsugi Gold
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIABLES DE LUJO --- */
:root {
  /* Paleta Base: Nero Marquina & Obsidiana Profunda */
  --color-bg-base: #060608;
  --color-bg-surface: rgba(14, 14, 18, 0.72);
  --color-bg-card: rgba(18, 18, 24, 0.75);
  --color-bg-glass: rgba(20, 20, 28, 0.65);
  --color-bg-glass-heavy: rgba(12, 12, 16, 0.85);

  /* Paleta Oro Kintsugi Maestro */
  --color-primary: #D4A373;
  --color-primary-bright: #F6E27A;
  --color-primary-light: #FFF8DC;
  --color-primary-dark: #8B6914;
  --color-primary-deep: #5E430B;

  /* Gradientes Líquidos de Oro Fundido */
  --gold-gradient: linear-gradient(135deg, #FFF5C2 0%, #F6E27A 22%, #D4A373 50%, #AA771C 78%, #5E430B 100%);
  --gold-gradient-shine: linear-gradient(90deg, #D4A373 0%, #FFF8DC 50%, #D4A373 100%);
  --gold-border-gradient: linear-gradient(135deg, rgba(246, 226, 122, 0.8) 0%, rgba(212, 163, 115, 0.25) 50%, rgba(246, 226, 122, 0.7) 100%);

  /* Tipografía */
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-serif: 'Cinzel', serif;
  --font-serif-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Great Vibes', cursive;
  --font-haute: 'Italiana', serif;

  /* Textos */
  --color-text-headline: #FCF8F2;
  --color-text-body: #D4D0DC;
  --color-text-muted: #9691A0;

  /* Bordes & Sombras */
  --color-border-gold: rgba(212, 163, 115, 0.4);
  --color-border-soft: rgba(255, 255, 255, 0.1);
  --color-shadow-lux: 0 24px 60px rgba(0, 0, 0, 0.88);
  --color-glow-gold: 0 0 35px rgba(246, 226, 122, 0.35);

  /* Curvas de Animación Apple Fluid */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
}

/* --- 2. RESET & FONDO INMERSIVO DE MÁRMOL --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-base);
  min-height: 100vh;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Capa de fondo fija de mármol acelerada por hardware (Zero repaints al hacer scroll) */
.fixed-bg-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(32, 25, 18, 0.6) 0%, transparent 65%),
    radial-gradient(circle at 20% 45%, rgba(20, 15, 25, 0.65) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(28, 22, 15, 0.6) 0%, transparent 50%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.82) 0%, rgba(8, 8, 12, 0.9) 100%),
    url('assets/background.jpg') center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}

/* Canvas de Polvo de Oro Global Ascendente (Flota sobre toda la página) */
.global-gold-dust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 4;
  opacity: 0.95;
  transform: translateZ(0);
}

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

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

/* --- 3. SEPARADORES ESCULTÓRICOS & ONDAS KINTSUGI --- */
.section-seam-divider {
  position: relative;
  width: 100%;
  height: 60px;
  margin-top: -30px;
  margin-bottom: -30px;
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.section-seam-divider svg {
  width: 100%;
  height: 100%;
}

.section-seam-wave {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -40px;
  margin-bottom: -40px;
  z-index: 6;
  pointer-events: none;
}

.section-seam-wave svg {
  width: 100%;
  height: 100%;
}

/* --- 4. GLASSMORPHISM & PROFUNDIDAD TEATRAL --- */
.glass-luxury {
  background: rgba(16, 16, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 248, 220, 0.12);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux), border-color 0.35s ease;
}

.glass-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 220, 0.08), transparent);
  pointer-events: none;
  transition: left 0.8s ease;
}

.glass-luxury:hover::before {
  left: 100%;
}

.glass-luxury:hover {
  border-color: rgba(246, 226, 122, 0.7);
  box-shadow: var(--color-shadow-lux), var(--color-glow-gold);
}

/* Secciones Translúcidas con Atmósferas Cromáticas */
.section-dark {
  background: radial-gradient(circle at 50% 50%, rgba(20, 18, 25, 0.45) 0%, rgba(8, 8, 12, 0.7) 100%);
  position: relative;
  z-index: 5;
}

.section-obsidian {
  background: radial-gradient(circle at 50% 50%, rgba(28, 20, 16, 0.4) 0%, rgba(6, 6, 9, 0.7) 100%);
  position: relative;
  z-index: 5;
}

.section-velvet {
  background: radial-gradient(circle at 50% 50%, rgba(35, 12, 22, 0.35) 0%, rgba(8, 6, 10, 0.7) 100%);
  position: relative;
  z-index: 5;
}

/* Halos de Iluminación Ambiental Trasera */
.ambient-glow-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 122, 0.08) 0%, rgba(212, 163, 115, 0.03) 50%, transparent 70%);
  filter: blur(40px);
}

.glow-top-right { top: -100px; right: -100px; }
.glow-bottom-left { bottom: -100px; left: -100px; }
.glow-center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; }

/* --- 5. TIPOGRAFÍA Y ENCABEZADOS --- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-gradient);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-text-headline);
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.section-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
  color: var(--color-text-body);
  font-weight: 300;
  font-size: 0.95rem;
}

/* --- 6. BOTONES DE ORO KINTSUGI --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--gold-gradient);
  color: #1A1308;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(170, 119, 28, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-spring);
}

.btn-gold-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gold:hover .btn-gold-shimmer {
  transform: translateX(100%);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 35px rgba(246, 226, 122, 0.45);
}

.btn-gold:active {
  transform: translateY(1px) scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(18, 18, 24, 0.6);
  color: var(--color-text-headline);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-gold);
  cursor: pointer;
  transition: all 0.3s var(--ease-lux);
}

.btn-outline:hover {
  background: rgba(212, 163, 115, 0.18);
  border-color: var(--color-primary-bright);
  color: var(--color-primary-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN 0 · APERTURA CINEMÁTICA DEL SOBRE 3D & SELLO DE CERA
   ========================================================================== */
.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070709;
  padding: 1.5rem;
  transition: opacity 1.1s var(--ease-lux), visibility 1.1s var(--ease-lux);
}

.cover-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #181822 0%, #0A0A0E 60%, #040405 100%);
  pointer-events: none;
}

.cover-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 226, 122, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.7;
  pointer-events: none;
}

.cover-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.envelope-3d-scene {
  perspective: 1400px;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 10;
}

.envelope-3d-container {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-lux);
}

/* Solapa Superior 3D */
.envelope-flap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  transform-origin: top center;
  transform-style: preserve-3d;
  z-index: 5;
  transition: transform 1.2s var(--ease-spring);
  pointer-events: none;
}

.flap-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.8));
}

.cover-overlay.opening .envelope-flap-top {
  transform: rotateX(180deg);
}

/* Cuerpo del Sobre */
.envelope-body-front {
  background: linear-gradient(165deg, #181820 0%, #0F0F14 60%, #09090C 100%);
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem 1.8rem 2.4rem;
  text-align: center;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 163, 115, 0.15);
  position: relative;
}

.ornament {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.ornament-tl { top: 14px; left: 14px; }
.ornament-tr { top: 14px; right: 14px; }

.cover-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* Sello de Cera 3D */
.seal-3d-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.seal-halo-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 122, 0.3) 0%, transparent 70%);
  animation: sealHaloPulse 2.4s ease-in-out infinite;
}

@keyframes sealHaloPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.9; }
}

.seal-orbit-spin {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(246, 226, 122, 0.5);
  animation: sealOrbitSpin 14s linear infinite;
}

@keyframes sealOrbitSpin {
  100% { transform: rotate(360deg); }
}

.seal-disc {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, #5E1928 0%, #2A0910 100%);
  border: 2px solid var(--color-primary-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(246, 226, 122, 0.4);
  transition: transform 0.3s var(--ease-spring);
}

.seal-3d-wrap:hover .seal-disc {
  transform: scale(1.1) rotate(5deg);
}

.wax-seal {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.seal-fallback-badge {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary-bright);
  display: flex;
  gap: 3px;
}

.seal-tap-label {
  position: absolute;
  bottom: -22px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--color-primary-bright);
  font-weight: 700;
  white-space: nowrap;
}

.cover-monogram {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--color-text-headline);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.mono-amp {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-primary-bright);
}

.kintsugi-seam-divider {
  display: flex;
  justify-content: center;
  margin: 0.6rem 0;
}

.cover-date {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 0.2rem;
}

.cover-city {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-bottom: 1.4rem;
}

.guest-card-envelope {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.5rem;
}

.guest-card-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.guest-greeting-text {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text-headline);
}

.btn-open-envelope {
  width: 100%;
}

/* ==========================================================================
   DYNAMIC ISLAND DE AUDIO & NAVEGACIÓN FLOTANTE (APPLE STYLE)
   ========================================================================== */
.dynamic-island {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: auto;
}

.island-pill {
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.8rem 0.5rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 163, 115, 0.2);
  transition: all 0.4s var(--ease-spring);
}

/* Mini Vinilo de Oro */
.mini-vinyl-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  border: 1.5px solid var(--color-primary-bright);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dynamic-island.playing .mini-vinyl-wrap {
  animation: vinylSpin 3.5s linear infinite;
}

@keyframes vinylSpin {
  100% { transform: rotate(360deg); }
}

.mini-vinyl-grooves {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(246, 226, 122, 0.4);
}

.mini-vinyl-center {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-gradient);
  z-index: 2;
}

/* Ondas Ecualizadoras */
.audio-wave-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.audio-wave-visualizer .bar {
  width: 3px;
  height: 4px;
  background: var(--color-primary-bright);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.dynamic-island.playing .audio-wave-visualizer .bar-1 { animation: wavePulse 0.9s ease-in-out infinite; }
.dynamic-island.playing .audio-wave-visualizer .bar-2 { animation: wavePulse 1.2s ease-in-out infinite 0.2s; }
.dynamic-island.playing .audio-wave-visualizer .bar-3 { animation: wavePulse 0.8s ease-in-out infinite 0.4s; }
.dynamic-island.playing .audio-wave-visualizer .bar-4 { animation: wavePulse 1.1s ease-in-out infinite 0.1s; }

@keyframes wavePulse {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.island-track-info {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-headline);
  line-height: 1.1;
}

.track-sub {
  font-size: 0.62rem;
  color: var(--color-primary);
}

.island-play-btn, .island-expand-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-gold);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-bright);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.island-play-btn:hover, .island-expand-btn:hover {
  background: var(--color-primary-bright);
  color: #0A0A0C;
  transform: scale(1.1);
}

/* Menú Desplegable Flotante */
.island-menu-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.92);
  width: 280px;
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--color-shadow-lux);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s var(--ease-spring);
}

.dynamic-island.expanded .island-menu-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.island-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.drawer-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
}

.island-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.island-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--color-text-body);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.island-link i {
  color: var(--color-primary);
  width: 18px;
}

.island-link:hover {
  background: rgba(212, 163, 115, 0.15);
  color: var(--color-primary-bright);
  transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN 1 · HERO MONUMENTAL CON SILUETA CATEDRALICIA
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero-bg-marble {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(35, 35, 48, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(6, 6, 8, 0.9) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-royal-crest-wrap {
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 15px rgba(246, 226, 122, 0.3));
}

.hero-subtitle {
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-names {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--color-text-headline);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.4rem;
}

.ampersand-ornament {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  color: var(--color-primary-bright);
  text-shadow: 0 0 25px rgba(246, 226, 122, 0.6);
}

.hero-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: var(--color-primary-bright);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero-date-pill .dot {
  color: var(--color-primary);
}

.hero-city {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
  margin-bottom: 2.8rem;
}

/* Retrato en Escultura Catedralicia */
.hero-sculpture-frame {
  position: relative;
  width: 290px;
  height: 380px;
  margin: 0 auto 2.5rem;
}

.sculpture-celestial-halo {
  position: absolute;
  inset: -18px;
  border-radius: 40% 40% 50% 50%;
  border: 1px dashed rgba(246, 226, 122, 0.45);
  animation: celestialRotate 30s linear infinite;
}

@keyframes celestialRotate {
  100% { transform: rotate(360deg); }
}

.sculpture-cathedral-arch {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: url(#clipCathedralArch);
  -webkit-clip-path: url(#clipCathedralArch);
  background: #111;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 163, 115, 0.25);
  overflow: hidden;
}

.sculpture-inner-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.sculpture-inner-img img, .hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.8s var(--ease-lux);
}

.hero-sculpture-frame:hover .sculpture-inner-img img {
  transform: scale(1.06);
}

.kintsugi-gold-lightning {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.kintsugi-gold-lightning svg {
  width: 100%;
  height: 100%;
}

.animated-gold-stroke {
  stroke-dasharray: 120;
  stroke-dashoffset: 240;
  animation: lightningDraw 4s ease-in-out infinite alternate;
}

@keyframes lightningDraw {
  0% { stroke-dashoffset: 240; }
  100% { stroke-dashoffset: 0; }
}

.hero-caption {
  max-width: 560px;
  margin: 0 auto 3rem;
}

.hero-caption-main {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--color-text-headline);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.hero-caption-date {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  font-weight: 600;
}

/* Scroll Mouse Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--color-border-gold);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--color-primary-bright);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: mouseWheel 2s ease-in-out infinite;
}

@keyframes mouseWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   SECCIÓN 2 · BIENVENIDA & CUENTA REGRESIVA
   ========================================================================== */
.welcome {
  padding: 6rem 0;
}

.kintsugi-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.kintsugi-divider img {
  max-width: 240px;
}

.welcome-text {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-body);
}

.countdown-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
}

.countdown-badge {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-box {
  width: 82px;
  height: 82px;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-primary-bright);
  font-weight: 700;
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.celebration-banner {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.celebration-banner.hidden {
  display: none;
}

.countdown-today-box {
  padding: 1.25rem 2.5rem;
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6);
}

.countdown-today-text {
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   SECCIÓN 3 · BENDICIÓN DE LOS PADRES
   ========================================================================== */
.parents {
  padding: 6rem 0;
}

.parents-intro {
  text-align: center;
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.25rem;
  max-width: 580px;
  margin: 0 auto 3.5rem;
  color: var(--color-text-headline);
}

.parents-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.parent-card {
  padding: 2.8rem 2rem;
  text-align: center;
}

.parent-role-badge {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.parent-names {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-text-headline);
  line-height: 1.7;
}

.parent-amp {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--color-primary-bright);
}

.parent-centerpiece {
  display: flex;
  align-items: center;
  justify-content: center;
}

.parent-diamond-halo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parent-heart-icon {
  position: absolute;
  color: var(--color-primary-bright);
  font-size: 1.1rem;
  animation: heartGlow 2.4s ease-in-out infinite;
}

@keyframes heartGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px rgba(246,226,122,0.4)); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 10px rgba(246,226,122,0.8)); }
}

/* ==========================================================================
   SECCIÓN 4 · NUESTRA HISTORIA CON SILUETAS ESCULTÓRICAS
   ========================================================================== */
.story {
  padding: 6rem 0;
}

.story-quote {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.35rem;
  max-width: 580px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--color-primary-light);
  line-height: 1.7;
}

.story-sculpture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-sculpture-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Silueta Gema Octogonal */
.shape-octa-wrap {
  width: 220px;
  height: 220px;
  position: relative;
  margin-bottom: 1.5rem;
}

.shape-octa-frame {
  width: 100%;
  height: 100%;
  clip-path: url(#clipOctagonGem);
  -webkit-clip-path: url(#clipOctagonGem);
  background: #111;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85), 0 0 20px rgba(212, 163, 115, 0.2);
  position: relative;
}

/* Silueta Ventanal de Ojiva */
.shape-gothic-wrap {
  width: 220px;
  height: 260px;
  position: relative;
  margin-bottom: 1.5rem;
}

.shape-gothic-frame {
  width: 100%;
  height: 100%;
  clip-path: url(#clipGothicWindow);
  -webkit-clip-path: url(#clipGothicWindow);
  background: #111;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85), 0 0 20px rgba(212, 163, 115, 0.2);
  position: relative;
}

/* Silueta Camafeo Oval */
.shape-cameo-wrap {
  width: 220px;
  height: 220px;
  position: relative;
  margin-bottom: 1.5rem;
}

.shape-cameo-frame {
  width: 100%;
  height: 100%;
  clip-path: url(#clipImperialCameo);
  -webkit-clip-path: url(#clipImperialCameo);
  background: #111;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85), 0 0 20px rgba(212, 163, 115, 0.2);
  position: relative;
}

.story-sculpture-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.7s var(--ease-lux);
}

.story-sculpture-item:hover img {
  transform: scale(1.08);
}

.caption-badge {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.story-sculpture-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-headline);
  margin-bottom: 0.4rem;
}

.story-sculpture-caption p {
  font-size: 0.88rem;
  color: var(--color-text-body);
  font-weight: 300;
}

/* ==========================================================================
   SECCIÓN 5 · EVENTOS CON ICONOGRAFÍA ARTESANAL SVG ANIMADA
   ========================================================================== */
.events {
  padding: 6rem 0;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.event-card {
  padding: 3rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-map-card {
  padding: 1rem;
  min-height: 360px;
}

.event-map-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.35);
  background: #0a0a0e;
}

.event-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.artisan-icon-box {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 226, 122, 0.15) 0%, rgba(14, 14, 18, 0.8) 80%);
  border: 1.5px solid var(--color-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(212, 163, 115, 0.25);
  transition: transform 0.4s var(--ease-spring);
}

.event-card:hover .artisan-icon-box {
  transform: scale(1.1) rotate(4deg);
  border-color: var(--color-primary-bright);
}

/* Animaciones SVG Artesanales */
.rose-window-pulse {
  animation: rosePulse 2s ease-in-out infinite;
}

@keyframes rosePulse {
  0%, 100% { opacity: 0.5; transform-origin: 40px 42px; transform: scale(0.9); }
  50% { opacity: 1; transform-origin: 40px 42px; transform: scale(1.2); }
}

.glass-left-tilt {
  transform-origin: 28px 68px;
  animation: clinkLeft 3s ease-in-out infinite;
}

.glass-right-tilt {
  transform-origin: 52px 68px;
  animation: clinkRight 3s ease-in-out infinite;
}

@keyframes clinkLeft {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

@keyframes clinkRight {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
}

.bubble-anim-1 {
  animation: bubbleRise 2s ease-in infinite;
}

.bubble-anim-2 {
  animation: bubbleRise 2.4s ease-in infinite 0.6s;
}

@keyframes bubbleRise {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-12px); opacity: 0; }
}

.spark-toast-anim {
  animation: sparkFlash 3s ease-in-out infinite;
}

@keyframes sparkFlash {
  0%, 40%, 60%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.3); }
}

.event-badge {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-text-headline);
  margin-bottom: 1.4rem;
}

.event-details {
  margin-bottom: 2rem;
}

.event-time, .event-address {
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.event-time i, .event-address i {
  color: var(--color-primary-bright);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: auto;
}

/* ==========================================================================
   SECCIÓN 6 · ITINERARIO CON MEDALLONES VECTORIALES DE LUJO
   ========================================================================== */
.itinerary {
  padding: 6rem 0;
}

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-track {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-border-gold) 15%, var(--color-border-gold) 85%, transparent);
}

.timeline-item {
  display: flex;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
  position: relative;
}

.timeline-marker-svg {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 1.5px solid var(--color-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 163, 115, 0.25);
  transition: transform 0.3s var(--ease-spring);
}

.timeline-item:hover .timeline-marker-svg {
  transform: scale(1.15);
  border-color: var(--color-primary-bright);
}

.timeline-card {
  flex-grow: 1;
  padding: 1.6rem 1.8rem;
}

.timeline-time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-primary-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-text-headline);
  margin-bottom: 0.4rem;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--color-text-body);
  font-weight: 300;
}

/* ==========================================================================
   SECCIÓN 7 · CÓDIGO DE VESTIMENTA CON SILUETAS HERÁLDICAS
   ========================================================================== */
.dresscode {
  padding: 6rem 0;
}

.dresscode-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.dresscode-style {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-text-headline);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

.dresscode-artisan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.artisan-wardrobe-card {
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
}

.wardrobe-svg-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.artisan-wardrobe-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary-bright);
  margin-bottom: 0.4rem;
}

.artisan-wardrobe-card p {
  font-size: 0.86rem;
  color: var(--color-text-body);
  font-weight: 300;
}

/* Muestras de Color */
.swatches-wrap {
  margin-bottom: 2rem;
}

.swatches-title {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.swatches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.swatch-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--sw);
  border: 1.5px solid var(--color-border-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-spring);
}

.swatch:hover .swatch-circle {
  transform: scale(1.2);
  border-color: var(--color-primary-bright);
}

.swatch-name {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.dresscode-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(94, 25, 40, 0.35);
  border: 1px solid rgba(246, 226, 122, 0.3);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: #FFF5C2;
}

/* ==========================================================================
   SECCIÓN 8 · HOSPEDAJE SUGERIDO
   ========================================================================== */
.hotels {
  padding: 6rem 0;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.hotel-card {
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hotel-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(246, 226, 122, 0.1);
  border: 1px solid var(--color-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-bright);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.hotel-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-headline);
  margin-bottom: 0.6rem;
}

.hotel-address, .hotel-phone {
  font-size: 0.82rem;
  color: var(--color-text-body);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hotel-code-badge {
  margin: 1.2rem 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--color-border-gold);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
}

.hotel-code-badge strong {
  color: var(--color-primary-bright);
  cursor: pointer;
  margin-left: 0.3rem;
}

/* ==========================================================================
   SECCIÓN 9 · MESA DE REGALOS & TARJETAS DE TITANIO VIP CON GIRO 3D
   ========================================================================== */
.gifts {
  padding: 6rem 0;
}

.gift-stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.store-chip {
  padding: 0.8rem 1.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-headline);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-pill);
}

.store-chip:hover {
  border-color: var(--color-primary-bright);
  color: var(--color-primary-bright);
  transform: translateY(-3px);
}

.gift-divider-line-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.gift-line {
  height: 1px;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent);
}

.gift-envelope-badge {
  color: var(--color-primary-bright);
  font-size: 1.4rem;
}

/* Tarjetas Bancarias VIP 3D */
.bank-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  perspective: 1000px;
}

.vip-titanium-card {
  background: linear-gradient(135deg, rgba(28, 28, 36, 0.9) 0%, rgba(14, 14, 20, 0.95) 60%, rgba(8, 8, 12, 0.98) 100%);
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vip-titanium-card:hover {
  border-color: var(--color-primary-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(246, 226, 122, 0.3);
}

.card-chip-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-emv-chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FFF5C2 0%, #D4A373 50%, #8B6914 100%);
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.5);
  position: relative;
}

.card-emv-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 3px;
}

.card-contactless {
  font-size: 1.4rem;
  color: var(--color-primary);
  transform: rotate(90deg);
}

.bank-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text-headline);
  margin-bottom: 0.3rem;
}

.bank-holder {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.bank-currency {
  font-size: 0.74rem;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

.currency-tag {
  background: rgba(246, 226, 122, 0.15);
  color: var(--color-primary-bright);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.68rem;
}

.bank-num-display {
  margin-top: auto;
  margin-bottom: 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bank-number {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--color-primary-bright);
  font-weight: 600;
}

.btn-card-action {
  width: 100%;
  padding: 0.75rem 1.2rem;
  font-size: 0.72rem;
}

.gift-qr-trigger-wrap {
  text-align: center;
}

/* ==========================================================================
   SECCIÓN 10 · AVISO IMPORTANTE (SOLO ADULTOS)
   ========================================================================== */
.notice {
  padding: 4rem 0;
}

.notice-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary-bright);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.notice-text {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ==========================================================================
   SECCIÓN 11 · GALERÍA CON SILUETAS ESCULTÓRICAS ASIMÉTRICAS
   ========================================================================== */
.gallery {
  padding: 6rem 0;
}

.gallery-hashtag {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary-bright);
  letter-spacing: 0.1em;
  margin-top: -0.5rem;
  margin-bottom: 3.5rem;
}

.gallery-sculpture-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-sculpture-card {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 1. Silueta Arco Gótico */
.shape-cut-arch {
  width: 100%;
  height: 320px;
  clip-path: url(#clipCathedralArch);
  -webkit-clip-path: url(#clipCathedralArch);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

/* 2. Silueta Gema Octogonal */
.shape-cut-octa {
  width: 100%;
  height: 320px;
  clip-path: url(#clipOctagonGem);
  -webkit-clip-path: url(#clipOctagonGem);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

/* 3. Silueta Círculo */
.shape-cut-circle {
  width: 100%;
  height: 320px;
  clip-path: url(#clipImperialCameo);
  -webkit-clip-path: url(#clipImperialCameo);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

/* 4. Silueta Escudo Heráldico */
.shape-cut-shield {
  width: 100%;
  height: 320px;
  clip-path: url(#clipRoyalShield);
  -webkit-clip-path: url(#clipRoyalShield);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

/* 5. Silueta Fractura Kintsugi */
.shape-cut-fracture {
  width: 100%;
  height: 320px;
  clip-path: url(#clipKintsugiFracture);
  -webkit-clip-path: url(#clipKintsugiFracture);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

/* 6. Silueta Diamante */
.shape-cut-diamond {
  width: 100%;
  height: 320px;
  clip-path: url(#clipDiamondGem);
  -webkit-clip-path: url(#clipDiamondGem);
  background: #111;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 163, 115, 0.2);
}

.gallery-sculpture-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.7s var(--ease-lux);
}

.gallery-sculpture-card:hover img {
  transform: scale(1.1);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.8);
  border: 1px solid var(--color-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-bright);
  font-size: 0.82rem;
  opacity: 0.7;
  transform: scale(0.9);
  transition: all 0.3s var(--ease-spring);
  z-index: 5;
}

.gallery-sculpture-card:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1.1);
  background: var(--color-primary-bright);
  color: #0A0A0C;
}

.gallery-mobile-indicator {
  display: none;
}

.gallery-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECCIÓN 12 · CONFIRMACIÓN DE ASISTENCIA (RSVP VIA WHATSAPP)
   ========================================================================== */
.rsvp {
  padding: 6rem 0;
}

.rsvp-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.75rem 2.5rem;
}

.rsvp-grid-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}

.rsvp-grid-row .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group-notes {
  margin-bottom: 0;
}

.rsvp-submit-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 163, 115, 0.2);
}

#pass-group {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

#pass-group.is-disabled {
  opacity: 0.38;
  pointer-events: none;
  filter: grayscale(0.4);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary-bright);
  margin-bottom: 0.8rem;
}

.form-group input[type="text"], .form-group textarea {
  width: 100%;
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  color: var(--color-text-headline);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input[type="text"]:focus, .form-group textarea:focus {
  border-color: var(--color-primary-bright);
  box-shadow: 0 0 15px rgba(246, 226, 122, 0.25);
  background: rgba(14, 14, 18, 0.85);
}

.attendance-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  flex: 1;
}

.attendance-option {
  display: flex;
}

.attendance-option input[type="radio"] {
  display: none;
}

.option-box {
  width: 100%;
  background: rgba(10, 10, 14, 0.5);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 1.05rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.option-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
}

.option-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-headline);
}

.attendance-option input[type="radio"]:checked + .option-box {
  background: rgba(212, 163, 115, 0.15);
  border-color: var(--color-primary-bright);
  box-shadow: 0 0 20px rgba(246, 226, 122, 0.2);
  transform: translateY(-2px);
}

.attendance-option input[type="radio"]:checked + .option-box .option-icon {
  color: var(--color-primary-bright);
}

/* Selector de Pases */
.pass-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  flex: 1;
}

.pass-option {
  display: flex;
}

.pass-option input[type="radio"] {
  display: none;
}

.pass-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.5);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pass-option input[type="radio"]:checked + .pass-box {
  background: var(--gold-gradient);
  color: #1A1308;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(246, 226, 122, 0.3);
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   SECCIÓN 13 · PIE DE PÁGINA & AGRADECIMIENTO
   ========================================================================== */
.footer {
  padding: 6rem 0 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(30, 20, 10, 0.6) 0%, #040406 80%);
  border-top: 1px solid var(--color-border-gold);
  position: relative;
  z-index: 5;
}

.footer-crest {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-text-headline);
  margin-bottom: 1.2rem;
}

.footer-amp {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--color-primary-bright);
  margin: 0 0.4rem;
}

.footer-quote {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-primary-light);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.footer-message {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-seal-wrap {
  margin-bottom: 2rem;
}

.footer-seal {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  filter: drop-shadow(0 0 15px rgba(246, 226, 122, 0.4));
}

.footer-date-mark {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

/* ==========================================================================
   MODAL QR TRANSFERENCIA BANCARIA & LIGHTBOX
   ========================================================================== */
.modal-backdrop, .lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-backdrop.active, .lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  max-width: 440px;
  width: 90%;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-spring);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-primary-bright);
}

.modal-icon {
  font-size: 2.2rem;
  color: var(--color-primary-bright);
  margin-bottom: 0.8rem;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text-headline);
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.84rem;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
}

.modal-qr-frame {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border-gold);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-holder-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-headline);
  margin-top: 1rem;
}

.qr-account-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-primary-bright);
  letter-spacing: 0.06em;
}

.btn-modal-copy {
  width: 100%;
}

/* Lightbox de Lujo */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid var(--color-border-gold);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-bright);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s var(--ease-spring);
}

.lightbox-close { top: -24px; right: -24px; }
.lightbox-prev { left: -24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--color-primary-bright);
  color: #0A0A0C;
  transform: scale(1.15) translateY(-50%);
}
.lightbox-close:hover { transform: scale(1.15); }

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text-headline);
}

/* Toast de Notificación Táctil */
.toast-notification {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--gold-gradient);
  color: #1A1308;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 100002;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-spring);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}

.reveal-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVIDAD MÓVIL
   ========================================================================== */
@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr; }
  .story-sculpture-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hotels-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .bank-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 2.5rem; }
  .gallery-sculpture-mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .envelope-body-front { padding: 2.5rem 1.4rem; }
  .countdown-box { width: 68px; height: 68px; }
  .countdown-number { font-size: 1.8rem; }
  .countdown-separator { font-size: 1.5rem; margin-bottom: 1.2rem; }
  .parents-grid { grid-template-columns: 1fr; gap: 2rem; }
  .parent-centerpiece { order: -1; }
  .dresscode-artisan-grid { grid-template-columns: 1fr; }
  .rsvp-form { padding: 1.75rem 1.25rem; }
  .rsvp-grid-row { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
  .form-group { margin-bottom: 1.4rem; }
  .attendance-options { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .pass-options { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .pass-box { font-size: 0.78rem; padding: 0.7rem 0.25rem; }
  .btn-submit { font-size: 0.78rem; letter-spacing: 0.08em; padding: 1rem 0.75rem; }
  .gallery-sculpture-mosaic {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.75rem 11% 1.5rem;
    margin: 0 -1.5rem 1.25rem;
    scrollbar-width: none;
  }
  .gallery-sculpture-mosaic::-webkit-scrollbar {
    display: none;
  }
  .gallery-sculpture-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    background: rgba(16, 16, 22, 0.9);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: 0.65rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 22px rgba(212, 163, 115, 0.16);
    flex-direction: column;
  }
  .gallery-sculpture-card > div[class^="shape-cut-"] {
    width: 100%;
    height: 360px;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    border-radius: 160px 160px 14px 14px;
    border: 1px solid rgba(212, 163, 115, 0.35);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
  }
  .gallery-zoom-badge {
    bottom: 22px;
    right: 22px;
    opacity: 0.92;
    transform: scale(1);
  }
  .gallery-mobile-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .gallery-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(212, 163, 115, 0.3);
    cursor: pointer;
    transition: width 0.3s var(--ease-lux), background 0.3s ease;
  }
  .gallery-dot.active {
    width: 24px;
    background: var(--color-primary-bright);
    box-shadow: 0 0 10px rgba(246, 226, 122, 0.45);
  }
  .gallery-swipe-hint {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: -40px; right: 8px; }
}

/* ==========================================================================
   ACCESIBILIDAD PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
