/* ============================================================
   INVITACIÓN VIRTUAL MODERNA - FULLSCREEN LUXURY STYLES
   Colores: Rosa (#df5883) & Dorado (#c5a059), Blanco y Negro
   Pure Vanilla CSS - Mobile First, 3D Envelope, Glassmorphism
   ============================================================ */

:root {
  --primary: #df5883;
  --primary-hover: #c9446e;
  --primary-light: #fff0f4;
  --primary-glow: rgba(223, 88, 131, 0.55);
  
  --secondary: #c5a059;
  --secondary-hover: #b38d45;
  --secondary-light: #faf5ea;
  --secondary-glow: rgba(197, 160, 89, 0.45);

  --bg: #fff8fa;
  --bg-dark: #0f0b12;
  --text: #222222;
  --text-muted: #666666;
  --text-dim: #999999;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(223, 88, 131, 0.15);
  
  --font-title: 'Dancing Script', 'Cherry Swash', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 30px rgba(223, 88, 131, 0.12);
  --shadow-float: 0 12px 35px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

main {
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   INTERACTIVE 3D GALA ENVELOPE (SOBRE VIRTUAL DE BIENVENIDA)
   ============================================================ */
.envelope-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at center, #26162a 0%, #0c0810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.envelope-screen.opened {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
  visibility: hidden;
}

.envelope-ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 88, 131, 0.25) 0%, rgba(197, 160, 89, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: pulseGentle 4s infinite ease-in-out;
}

.envelope-modal-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.envelope-header-hint {
  margin-bottom: 24px;
}

.envelope-crown-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.8));
  animation: bounceHint 2s infinite ease-in-out;
}

.envelope-sub-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.envelope-heading {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 2.7rem);
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(223, 88, 131, 0.7);
}

/* 3D Envelope Container */
.envelope-container {
  position: relative;
  width: clamp(290px, 85vw, 380px);
  height: 230px;
  background: linear-gradient(145deg, #fce9ee 0%, #f6d1dd 100%);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(223, 88, 131, 0.35);
  border: 2px solid #e0c58e;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.envelope-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(223, 88, 131, 0.5);
}

/* The Invitation Card inside pocket */
.envelope-inner-card {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 200px;
  background: #ffffff;
  border-radius: 8px;
  z-index: 1;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.envelope-screen.envelope-animating .envelope-inner-card {
  transform: translateY(-90px);
}

.inner-card-gold-border {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 6px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inner-card-crest {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.inner-card-name {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.inner-card-divider {
  width: 40px;
  height: 1px;
  background: var(--secondary);
  margin-bottom: 6px;
}

.inner-card-date {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 1.5px;
}

.inner-card-place {
  font-size: 0.78rem;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Envelope Bottom Pocket (covers front of the card) */
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 10px;
  overflow: hidden;
}

.envelope-pocket::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 20%, #f7d7e2 100%);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
}

.envelope-pocket::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(145deg, #f6cedb 0%, #edd0da 100%);
  clip-path: polygon(0 100%, 50% 48%, 100% 100%);
  border-bottom: 2px solid #e0c58e;
}

/* Envelope Top Flap (folds open 3D) */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, #fce9ee 0%, #f6d1dd 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  border-top: 2px solid #e0c58e;
}

.envelope-screen.envelope-animating .envelope-flap {
  transform: rotateX(180deg);
  z-index: 0;
}

/* Wax Seal with Monogram */
.wax-seal {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e67396 0%, #df5883 45%, #9e284c 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.envelope-screen.envelope-animating .wax-seal {
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
}

.wax-seal-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 240, 245, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
}

.wax-seal-crown {
  font-size: 0.75rem;
  margin-bottom: 1px;
}

.wax-seal-monogram {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.wax-seal-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  opacity: 0.95;
}

.wax-seal-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulseGentle 1.8s infinite ease-out;
  opacity: 0.6;
}

/* Prompt Button below envelope */
.envelope-footer-prompt {
  margin-top: 30px;
}

.btn-open-envelope-action {
  background: linear-gradient(135deg, var(--primary) 0%, #cb416e 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 25px var(--primary-glow);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.btn-open-envelope-action:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.tap-hand-icon {
  animation: bounceHint 1.6s infinite ease-in-out;
}

/* ============================================================
   BACKGROUND VIDEO & LUMINOUS OVERLAY
   ============================================================ */
.bg-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86; /* Crisply visible background sparkles & bokeh */
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 30%, rgba(223, 88, 131, 0.16) 0%, rgba(18, 10, 24, 0.44) 60%, rgba(12, 6, 16, 0.64) 100%);
  pointer-events: none;
}

/* ============================================================
   STICKY NAVIGATION BAR (TRANSPARENT AT TOP, TINTED ON SCROLL)
   ============================================================ */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.sticky-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(223, 88, 131, 0.15);
  padding: 10px 0;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.sticky-nav.scrolled .nav-brand {
  color: var(--primary) !important;
}

.nav-brand-cursive {
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.sticky-nav.scrolled .nav-brand-cursive {
  text-shadow: none;
}

.nav-brand-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.sticky-nav.scrolled .nav-brand-badge {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(223, 88, 131, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  padding: 4px 0;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--primary-light) !important;
}

.nav-link.active {
  color: #ffffff !important;
  border-bottom-color: #ffffff;
  font-weight: 600;
}

/* Scrolled nav item colors (Screenshot 4) */
.sticky-nav.scrolled .nav-link {
  color: #222222 !important;
  text-shadow: none !important;
}

.sticky-nav.scrolled .nav-link:hover {
  color: var(--primary) !important;
}

.sticky-nav.scrolled .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  font-weight: 600;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sticky-nav.scrolled .hamburger-bar {
  background-color: #222222;
}

@media (max-width: 860px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-brand-cursive {
    font-size: 1.85rem;
  }

  .nav-brand-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
    letter-spacing: 1px;
  }

  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px;
    gap: 22px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
    animation: fadeInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu .nav-link {
    color: #222222 !important;
    text-shadow: none !important;
    font-size: 1.25rem;
    width: 100%;
    padding-bottom: 8px;
  }

  .nav-menu .nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary) !important;
  }

  .mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #222222;
  }
  .mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #222222;
  }
}

/* ============================================================
   FLOATING AUDIO & SCROLL-TO-TOP BUTTONS
   ============================================================ */
.music-floating-widget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Vertical Flyout: Hidden by default, reveals ONLY on hover or active */
.music-volume-flyout {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(20, 14, 26, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 26px;
  padding: 12px 10px 14px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(223, 88, 131, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 44px;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s;
  z-index: 999;
}

/* Invisible bridge so mouse moving from button into flyout doesn't drop hover */
.music-volume-flyout::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 18px;
}

/* Show flyout strictly on hover, focus-within, or when .is-active */
.music-floating-widget:hover .music-volume-flyout,
.music-floating-widget:focus-within .music-volume-flyout,
.music-volume-flyout.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.volume-percent {
  font-size: 0.72rem;
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.volume-slider-track-wrap {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vertical slider */
.volume-slider-vertical {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 8px;
  height: 88px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: var(--secondary);
  transition: opacity 0.2s;
}

.volume-slider-vertical:hover {
  opacity: 1;
}

.flyout-speaker-icon {
  width: 14px;
  height: 14px;
  color: var(--secondary);
  opacity: 0.85;
}

/* Floating button (Resting state: Single elegant glowing circle) */
.music-floating-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #9e234e 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 18px rgba(223, 88, 131, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.music-floating-btn:hover {
  transform: scale(1.1);
  border-color: #f5d78e;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 25px rgba(223, 88, 131, 0.6);
}

.speaker-svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.music-floating-btn .icon-playing {
  display: none;
}
.music-floating-btn .icon-muted {
  display: block;
}

.music-floating-btn.playing .icon-playing {
  display: block;
  animation: pulseGentle 2s infinite ease-in-out;
}
.music-floating-btn.playing .icon-muted {
  display: none;
}

.music-toast {
  position: fixed;
  bottom: 86px;
  left: 28px;
  background: rgba(34, 34, 34, 0.92);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  z-index: 997;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: bounceHint 2s infinite ease-in-out;
  transition: opacity 0.4s, visibility 0.4s;
}

.music-toast.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   1. HERO SECTION (2-COLUMN BALANCED COMPOSITION)
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
  background: transparent;
  color: #ffffff;
}

/* Hero Split Container (Balanced 2-Column Desktop Grid) */
.hero-split-container {
  display: grid;
  grid-template-columns: minmax(350px, 425px) 1.2fr;
  gap: 50px;
  align-items: center;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.hero-col-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-col-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
}

@keyframes royalArchFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Luxury Royal Portrait Frame (Rounded, Full Balloon 15 Visible & Larger) */
.royal-frame-outer {
  position: relative;
  width: 100%;
  max-width: 415px;
  margin: 0 auto;
  border-radius: 36px;
  padding: 5px;
  background: linear-gradient(135deg, #f5d78e 0%, var(--primary) 50%, var(--secondary) 100%);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.72), 0 0 38px rgba(223, 88, 131, 0.45);
  animation: royalArchFloat 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.royal-frame-outer:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.8), 0 0 50px rgba(223, 88, 131, 0.65);
}

.royal-frame-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05 / 1;
  border-radius: 31px;
  overflow: hidden;
  background: #ffffff;
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.royal-frame-outer:hover .hero-portrait-img {
  transform: scale(1.03);
}

.royal-frame-glimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtitle & Hero Name */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-sparkle {
  color: var(--secondary);
  font-size: 0.85rem;
  animation: pulseGentle 2s infinite ease-in-out;
}

.hero-name {
  font-family: var(--font-title);
  font-size: clamp(3.8rem, 6.2vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  padding: 6px 20px;
  margin: 0 auto 10px;
  display: block;
  width: 100%;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75), 0 0 24px rgba(223, 88, 131, 0.65);
  text-align: center;
  overflow: visible !important;
  transform: none !important;
  will-change: auto !important;
  -webkit-transform: none !important;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* ============================================================
   CLEAN DATE DISPLAY (NO BOX, JUST ELEGANT TYPOGRAPHY)
   ============================================================ */
.hero-date-clean {
  margin: 6px auto 22px auto;
  text-align: center;
}

.hero-date-main {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  padding: 4px 16px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 25px rgba(223, 88, 131, 0.4);
  margin-bottom: 6px;
  text-align: center;
  overflow: visible;
}

.hero-date-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

/* Welcome Quote - Refined Size as Requested, Centered & Highly Legible */
.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.8;
  max-width: 620px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.85);
  margin: 0 auto 24px auto;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-scroll-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.hero-scroll-btn span {
  color: #ffffff !important;
  opacity: 1 !important;
}

.hero-scroll-btn:hover,
.hero-scroll-btn:focus,
.hero-scroll-btn:active {
  transform: translateY(3px);
  color: #ffffff !important;
  opacity: 1 !important;
}

.hero-scroll-icon {
  width: 20px;
  height: 20px;
  stroke: #ffffff !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  animation: bounceHint 2s infinite ease-in-out;
}

@media (max-width: 860px) {
  .hero-section {
    min-height: auto;
    padding: 85px 16px 35px;
  }
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .hero-col-portrait {
    justify-content: center;
  }
  .royal-frame-outer {
    max-width: 310px;
    border-radius: 28px;
  }
  .royal-frame-inner {
    border-radius: 24px;
  }
  .hero-col-content {
    align-items: center;
    text-align: center;
  }
  .hero-subtitle {
    justify-content: center;
    font-size: 0.82rem;
    margin-top: 6px;
    margin-bottom: 4px;
  }
  .hero-name {
    font-size: clamp(3.2rem, 13vw, 4.4rem);
    text-align: center;
    margin-bottom: 12px;
    padding: 0 10px;
    display: block;
    width: 100%;
    line-height: 1.2;
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
    -webkit-transform: none !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(223, 88, 131, 0.7);
  }
  .hero-date-clean {
    text-align: center;
    margin: 4px auto 18px;
  }
  .hero-date-main {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .hero-date-sub {
    font-size: 0.88rem;
    letter-spacing: 1.5px;
  }
  .hero-quote {
    text-align: center;
    font-size: clamp(1rem, 3.8vw, 1.18rem);
    line-height: 1.65;
    margin: 0 auto 20px;
    padding: 0 16px;
    max-width: 350px;
    box-sizing: border-box;
  }
  .hero-scroll-btn {
    align-self: center;
    flex-direction: column;
    gap: 6px;
    color: #ffffff !important;
    opacity: 1 !important;
  }
  .hero-scroll-btn span {
    color: #ffffff !important;
    opacity: 1 !important;
  }
  .hero-scroll-icon {
    stroke: #ffffff !important;
  }
}

@media (max-width: 580px) {
  .royal-frame-outer {
    max-width: 275px;
    border-radius: 24px;
  }
  .royal-frame-inner {
    border-radius: 20px;
  }
  .music-floating-widget {
    bottom: 16px;
    left: 16px;
  }
  .music-floating-btn {
    width: 42px;
    height: 42px;
  }
  .music-volume-flyout {
    width: 40px;
    padding: 10px 8px 12px;
  }
  .volume-slider-vertical {
    height: 76px;
  }
  .volume-slider-track-wrap {
    height: 80px;
  }
  .music-toast {
    bottom: 68px;
    left: 16px;
    font-size: 0.78rem;
  }
}

/* ============================================================
   2. COUNTDOWN SECTION
   ============================================================ */
.section-countdown {
  padding: 70px 20px 85px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  z-index: 10;
  transition: background 0.3s ease, color 0.3s ease;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}
.section-divider::after {
  background: linear-gradient(90deg, var(--secondary), transparent);
}

.section-divider-icon {
  color: var(--secondary);
  font-size: 0.9rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.countdown-box {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.countdown-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.countdown-digit {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 6px;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .btn-calendar-cta {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
  .calendar-dropdown {
    width: 100%;
    max-width: 300px;
    min-width: unset;
  }
}

/* ============================================================
   COUNTDOWN CALENDAR ACTION & DROPDOWN (ELEGANT GOLD LUXURY)
   ============================================================ */
.countdown-calendar-wrap {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  position: relative;
}

.calendar-dropdown-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.btn-calendar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, #a98339 100%);
  color: #ffffff;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.btn-calendar-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.5), 0 4px 10px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #d4af5f 0%, var(--secondary) 100%);
}

.cal-btn-icon {
  width: 19px;
  height: 19px;
  stroke: #ffffff;
}

.cal-btn-chevron {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

.btn-calendar-cta[aria-expanded="true"] .cal-btn-chevron {
  transform: rotate(180deg);
}

.calendar-dropdown {
  position: relative;
  margin-top: 0;
  min-width: 280px;
  max-width: 320px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.28);
  padding: 0 8px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease, margin-top 0.25s ease, visibility 0.25s;
}

.calendar-dropdown.open {
  margin-top: 14px;
  max-height: 240px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  padding: 8px;
}

.calendar-option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.calendar-option-item:hover {
  background: var(--bg);
  transform: translateX(3px);
}

.cal-opt-icon {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
  flex-shrink: 0;
}

.cal-opt-texts {
  display: flex;
  flex-direction: column;
}

.cal-opt-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.cal-opt-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
}

/* ============================================================
   3. BOKEH QUOTE BANNER & PADRES (SCREENSHOT 1 TOP)
   ============================================================ */
.section-padres-wrapper {
  width: 100%;
  background: var(--bg);
}

.bokeh-quote-banner {
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 85px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.bokeh-quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(215, 80, 125, 0.72) 0%, rgba(200, 70, 115, 0.78) 100%);
  mix-blend-mode: multiply;
}

.bokeh-quote-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(223, 88, 131, 0.25);
}

.bokeh-quote-container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.bokeh-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.9;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.padres-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 65px;
}

.cards-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.parent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s;
}

.parent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.parent-card-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.parent-names {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #333333;
  line-height: 1.7;
}

/* ============================================================
   4. CEREMONIA Y RECEPCIÓN - 50/50 FULLSCREEN SPLIT (SCREENSHOT 1)
   ============================================================ */
.fullscreen-split-locations {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.split-location-col {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 30px;
  text-align: center;
  color: #ffffff;
  min-height: 440px;
}

.split-location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(223, 88, 131, 0.76) 0%, rgba(197, 160, 89, 0.52) 100%);
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}

.split-location-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(215, 75, 120, 0.28);
}

.split-location-col:hover .split-location-overlay {
  opacity: 0.92;
}

.split-location-inner {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.split-location-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin-bottom: 10px;
}

.split-divider-line {
  width: 70%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  margin: 0 auto 16px;
}

.split-time-tag {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 8px;
}

.split-place-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.split-address-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
  line-height: 1.5;
}

.split-location-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-split-map {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-split-map:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .fullscreen-split-locations {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   5. CÓDIGO DE VESTIMENTA & MESA DE REGALOS (SCREENSHOT 2)
   ============================================================ */
.fullscreen-details-wrapper {
  width: 100%;
}

.details-top-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
}

.details-text-col {
  padding: 55px 35px 45px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.details-heading-cursive {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.details-sub-divider {
  width: 50px;
  height: 1px;
  background: rgba(223, 88, 131, 0.3);
  margin-bottom: 16px;
}

.details-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.details-badge-icon {
  font-size: 1.15rem;
}

.details-badge-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}

.details-note-serif {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.5;
  max-width: 440px;
}

.gift-stores-container {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 530px;
  margin: 0 auto 16px;
  justify-content: center;
  align-items: stretch;
}

.gift-store-card {
  flex: 1 1 200px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gift-store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(223, 88, 131, 0.12);
  border-color: rgba(223, 88, 131, 0.38);
}

.gift-store-card .details-badge-row {
  margin-bottom: 10px;
}

.details-event-number-box {
  margin-bottom: 14px;
}

.details-event-prefix {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-right: 5px;
}

.details-event-digits {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.details-gift-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.btn-gift-action {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-gift-action:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-liverpool-direct {
  background: var(--primary);
  color: #ffffff;
}

.btn-liverpool-direct:hover {
  background: #c9406c;
  border-color: #c9406c;
  color: #ffffff;
}

.btn-amazon-direct {
  background: #232f3e;
  border-color: #232f3e;
  color: #ffffff;
  min-width: 130px;
}

.btn-amazon-direct:hover {
  background: #ff9900;
  border-color: #ff9900;
  color: #111111;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.3);
}

.details-cash-extra {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed rgba(223, 88, 131, 0.2);
  font-size: 0.84rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 530px;
}

.btn-copy-inline {
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Bottom Images Touching Edge-to-Edge */
.details-bottom-photos {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  gap: 0;
}

.details-photo-box {
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.details-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  transition: transform 0.4s ease;
}

.details-photo-box:hover img {
  filter: none;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .details-top-split {
    grid-template-columns: 1fr;
  }
  .details-text-col {
    padding: 42px 18px 36px;
  }
  .details-bottom-photos {
    grid-template-columns: 1fr;
  }
  .details-photo-box {
    height: 260px;
  }
}

@media (max-width: 580px) {
  .gift-stores-container {
    flex-direction: column;
    gap: 12px;
  }
  .gift-store-card {
    width: 100%;
  }
}

/* ============================================================
   6. GALERÍA DE FOTOS (SCREENSHOT 3)
   ============================================================ */
.fullscreen-gallery-section {
  width: 100%;
}

.gallery-header-pattern {
  padding: 55px 20px 45px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.gallery-title-cursive {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 8px;
}

.gallery-quote-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--text);
}

/* Fullwidth Edge-to-Edge Continuous Strip (Option A) */
.gallery-strip-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gallery-strip-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg, #f0f0f0);
}

.gallery-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Original vibrant photo colors, no filter */
  filter: none;
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), filter 0.45s ease;
}

.gallery-strip-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-strip-search-icon {
  font-size: 1.8rem;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover or Active State: subtle zoom & brightness lift */
.gallery-strip-card:hover .gallery-strip-img,
.gallery-strip-card:focus .gallery-strip-img {
  filter: brightness(1.06);
  opacity: 1;
  transform: scale(1.06);
}

.gallery-strip-card:hover .gallery-strip-hover-overlay,
.gallery-strip-card:focus .gallery-strip-hover-overlay {
  opacity: 1;
}

.gallery-strip-card:hover .gallery-strip-search-icon {
  transform: scale(1);
}

@media (max-width: 900px) {
  .gallery-strip-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   AUTOMATIC LUXURY CAROUSEL (Option B: 3 Desktop / 1 Mobile)
   ============================================================ */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  overflow: hidden;
}

.gallery-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-carousel-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  margin-right: 16px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .gallery-carousel-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

.gallery-carousel-slide .gallery-strip-card {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--card-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-carousel-slide .gallery-strip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

/* Carousel Buttons */
.gallery-carousel-btn {
  position: absolute;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg, rgba(255, 255, 255, 0.94));
  color: var(--primary);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-carousel-btn svg {
  width: 22px;
  height: 22px;
}

.gallery-carousel-prev {
  left: 28px;
}

.gallery-carousel-next {
  right: 28px;
}

@media (max-width: 768px) {
  .gallery-carousel-prev { left: 8px; }
  .gallery-carousel-next { right: 8px; }
  .gallery-carousel-btn { width: 40px; height: 40px; }
  .gallery-carousel-btn svg { width: 18px; height: 18px; }
}

/* Pagination Dots */
.gallery-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(223, 88, 131, 0.4);
}

/* ============================================================
   7. CONFIRMA TU ASISTENCIA (SCREENSHOT 4)
   ============================================================ */
.fullscreen-rsvp-section {
  width: 100%;
  background: var(--bg);
  padding-bottom: 70px;
}

.rsvp-header-pattern {
  padding: 55px 20px 30px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--card-border);
}

.rsvp-title-cursive {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 18px;
}

/* Direct WhatsApp Confirmation (Screenshot 4) */
.rsvp-direct-box {
  margin: 10px auto 16px;
  max-width: 500px;
}

.rsvp-direct-label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 12px;
}

.rsvp-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.rsvp-whatsapp-link:hover {
  transform: scale(1.05);
}

.rsvp-wa-svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.rsvp-wa-digits {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.rsvp-form-container {
  max-width: 650px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.rsvp-limit-date {
  text-align: center;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.rsvp-card-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
}

.ticket-token-badge {
  background: var(--primary-light);
  border: 1px solid rgba(223, 88, 131, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: center;
}

.ticket-token-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.ticket-token-subtitle {
  font-size: 0.9rem;
  color: #555555;
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.radio-attendance-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card-content {
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card-bg);
  transition: all 0.3s;
}

.radio-card input:checked + .radio-card-content {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(223, 88, 131, 0.2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-submit-rsvp {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, #d44e78 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px var(--primary-glow);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.btn-submit-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--primary-glow);
}

.btn-submit-rsvp:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Card */
.rsvp-success-card {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.success-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.success-desc {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 12px;
}

.btn-whatsapp-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s;
}

.btn-whatsapp-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================================
   8. FULLWIDTH FOOTER BANNER (BACKGROUND VIDEO SHOWS THROUGH)
   ============================================================ */
.video-footer-banner {
  width: 100%;
  position: relative;
  background: transparent;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.video-footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 11, 18, 0.45) 0%, rgba(15, 11, 18, 0.85) 100%);
  pointer-events: none;
}

.video-footer-container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.video-footer-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  line-height: 1.8;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(223, 88, 131, 0.4);
}

.footer-quote-highlight {
  display: block;
  font-weight: 700;
  margin-top: 8px;
  font-size: 1.15em;
  color: var(--secondary-light);
}

.site-footer {
  background: rgba(12, 8, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(223, 88, 131, 0.2);
  padding: 24px 20px;
  text-align: center;
}

.footer-copy {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

/* ============================================================
   LIGHTBOX MODAL
   ============================================================ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.lightbox-btn-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1000005;
  transition: transform 0.2s;
}

.lightbox-btn-close:hover {
  transform: scale(1.2);
  color: var(--primary);
}

.lightbox-btn-prev,
.lightbox-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1000005;
}

.lightbox-btn-prev {
  left: 20px;
}
.lightbox-btn-next {
  right: 20px;
}

.lightbox-btn-prev:hover,
.lightbox-btn-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Canvas for Confetti */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99998;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS & PARALLAX DEPTH
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  filter: blur(2px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* Directional Reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px) translateY(15px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px) translateY(15px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Background video parallax transition */
.bg-video {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Card Depth Enhancements on Hover */
.hero-interactive-date {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.hero-interactive-date:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(223, 88, 131, 0.35);
}

.split-location-col {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: cover;
  background-position: center;
}
.split-location-col:hover {
  transform: scale(1.01);
}
.split-location-col:hover .split-location-overlay {
  background: rgba(13, 9, 18, 0.68);
}

.details-photo-box img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.details-photo-box:hover img {
  transform: scale(1.05);
}

/* ============================================================
   ELEGANT VECTOR SVG ICONS (NO EMOJIS)
   ============================================================ */
.luxury-crown-svg,
.envelope-crown-icon,
.crest-crown-svg,
.details-crown-svg,
.wax-seal-crown-svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--secondary);
  fill: currentColor;
}

.envelope-crown-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.6));
  animation: pulseGentle 2.5s infinite ease-in-out;
}

.wax-seal-crown-svg {
  width: 22px;
  height: 22px;
  color: #f5d78e;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.crest-crown-svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.details-crown-svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

.sparkle-star-svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  color: var(--secondary);
  fill: currentColor;
}

.sparkle-anim {
  animation: pulseGentle 1.8s infinite ease-in-out;
}

.tap-gesture-svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  stroke: #ffffff;
  animation: bounceHint 1.6s infinite ease-in-out;
}

.toast-note-svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  animation: pulseGentle 2s infinite;
}

.cal-opt-svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.split-btn-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.details-gift-svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  stroke: var(--secondary);
}

.gallery-zoom-svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-strip-card:hover .gallery-zoom-svg {
  transform: scale(1.18);
  stroke: var(--secondary);
}

.rsvp-clock-svg {
  width: 17px;
  height: 17px;
  stroke: var(--secondary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.radio-svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s, stroke 0.25s;
}
.radio-card input:checked + .radio-card-content .radio-svg {
  stroke: var(--secondary);
  transform: scale(1.15);
}

.submit-sparkle-svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  animation: pulseGentle 1.8s infinite ease-in-out;
}

.btn-wa-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
