/* ==========================================================================
   ESTILOS PRINCIPALES: INVITACIÓN DE BODA - LUIS CARLOS & DIANA MARCELA
   ========================================================================== */

:root {
  --color-bg-primary: #FAF7F2;
  --color-bg-secondary: #F4ECE0;
  --color-bg-card: rgba(255, 255, 255, 0.96);
  --color-gold-primary: #C89B4E;
  --color-gold-light: #ECC77D;
  --color-gold-dark: #9B7328;
  --color-gold-gradient: linear-gradient(135deg, #E5C378 0%, #C89B4E 50%, #A97A2C 100%);
  --color-gold-subtle: rgba(200, 155, 78, 0.12);
  --color-green-primary: #2D4B3E;
  --color-green-light: #3D6151;
  --color-text-main: #2E2A25;
  --color-text-muted: #6E685E;
  --color-border-gold: rgba(200, 155, 78, 0.35);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Alex Brush', 'Pinyon Script', cursive;
  --font-display: 'Cinzel', serif;

  --shadow-soft: 0 10px 30px rgba(45, 75, 62, 0.07);
  --shadow-card: 0 15px 35px rgba(200, 155, 78, 0.14);
  --shadow-hover: 0 20px 45px rgba(200, 155, 78, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #EFE9DE;
  background-image: radial-gradient(rgba(200, 155, 78, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Wrapper central */
.main-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background-color: #FAF7F2;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

body.envelope-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

/* ==========================================================================
   ANIMACIÓN DE INTRO: SOBRE / CARTA DE BODA 3D
   ========================================================================== */
.envelope-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1f372c 0%, #13241d 60%, #09120e 100%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  opacity: 1;
  visibility: visible;
  padding: 20px;
  overflow: hidden;
}

.envelope-intro-overlay.fade-out {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

/* Fondo con destellos ambientales sutiles */
.envelope-intro-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(200, 155, 78, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(200, 155, 78, 0.14) 0%, transparent 45%);
  pointer-events: none;
  animation: ambientGlow 8s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.1) rotate(2deg); opacity: 1; }
}

.envelope-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 420px;
  width: 100%;
}

/* Títulos sobre el sobre */
.envelope-header-text {
  text-align: center;
  color: #FAF7F2;
}

.envelope-subtitle {
  display: block;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--color-gold-light);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.envelope-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* El Sobre 3D */
.envelope-3d {
  position: relative;
  width: 320px;
  height: 210px;
  background: linear-gradient(135deg, #e9dfd1 0%, #dbcebc 100%);
  border-radius: 8px;
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(200, 155, 78, 0.35),
    0 0 25px rgba(200, 155, 78, 0.15);
  cursor: pointer;
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.envelope-3d:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 30px 60px -10px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(200, 155, 78, 0.5),
    0 0 35px rgba(200, 155, 78, 0.3);
}

/* Carta interior que sale hacia arriba */
.envelope-card-inside {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 296px;
  height: 190px;
  background: #FAF7F2;
  border-radius: 6px;
  border: 1px solid rgba(200, 155, 78, 0.45);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.35s, box-shadow 0.85s ease;
}

.inside-card-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(200, 155, 78, 0.3));
}

.inside-card-phrase {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--color-gold-dark);
  line-height: 1.2;
}

.inside-card-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-green-primary);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Solapa superior (Flap) que se dobla en 3D */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-top: 115px solid #d9ccb9;
  transform-origin: top center;
  z-index: 6;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

/* Pestañas frontales del sobre */
.envelope-body {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  pointer-events: none;
}

.envelope-pocket-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 105px solid transparent;
  border-bottom: 105px solid transparent;
  border-left: 160px solid #e5d9c9;
  z-index: 3;
}

.envelope-pocket-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 105px solid transparent;
  border-bottom: 105px solid transparent;
  border-right: 160px solid #dfd2c1;
  z-index: 3;
}

.envelope-pocket-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-bottom: 120px solid #d4c4b0;
  z-index: 5;
  filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.08));
}

/* Sello de Lacre Dorado */
.wax-seal {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 35% 35%, #f2d08a 0%, #c89b4e 50%, #8c631b 100%);
  border-radius: 50%;
  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);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.wax-seal-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
}

.wax-seal-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.wax-seal-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(236, 199, 125, 0.6);
  animation: sealPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes sealPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Estado de apertura del sobre */
.envelope-3d.open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope-3d.open .wax-seal {
  transform: translate(-50%, -50%) scale(0) rotate(20deg);
  opacity: 0;
  pointer-events: none;
}

.envelope-3d.open .envelope-card-inside {
  transform: translateY(-135px);
  z-index: 7;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Botón CTA debajo del sobre */
.envelope-cta {
  margin-top: 10px;
}

.btn-open-invitation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-gold-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(200, 155, 78, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-open-invitation:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(200, 155, 78, 0.6);
}

.btn-open-invitation.pulse-animation {
  animation: btnPulse 2s infinite;
}

.btn-open-invitation.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(200, 155, 78, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 12px 35px rgba(200, 155, 78, 0.65); }
}

@media (max-width: 480px) {
  .envelope-3d {
    width: 280px;
    height: 185px;
  }

  .envelope-card-inside {
    width: 258px;
    height: 168px;
  }

  .envelope-flap {
    border-left-width: 140px;
    border-right-width: 140px;
    border-top-width: 100px;
  }

  .envelope-pocket-left,
  .envelope-pocket-right {
    border-top-width: 92px;
    border-bottom-width: 92px;
    border-left-width: 140px;
    border-right-width: 140px;
  }

  .envelope-pocket-bottom {
    border-left-width: 140px;
    border-right-width: 140px;
    border-bottom-width: 105px;
  }

  .wax-seal {
    top: 90px;
    width: 52px;
    height: 52px;
  }

  .envelope-3d.open .envelope-card-inside {
    transform: translateY(-115px);
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE AUDIO
   ========================================================================== */
.audio-control-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--color-gold-primary);
  border-radius: var(--radius-pill);
  padding: 8px 14px 8px 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(8px);
}

.audio-control-container:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(200, 155, 78, 0.4);
}

.audio-disc-icon {
  width: 38px;
  height: 38px;
  background: var(--color-gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.music-note-icon {
  width: 20px;
  height: 20px;
}

.audio-control-container.playing .audio-disc-icon {
  animation: spinDisc 4s linear infinite;
}

.audio-tooltip {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-green-primary);
}

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

/* ==========================================================================
   SECCIÓN: HERO / PORTADA
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 24px 70px 24px;
  text-align: center;
  background: linear-gradient(180deg, #FDFBF7 0%, #F6EEE2 100%);
  border-bottom: 2px solid var(--color-border-gold);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.monogram-wrapper {
  margin: 0 auto 20px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monogram-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(200, 155, 78, 0.25));
}

.hero-spiritual-quote {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-spiritual-quote span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-green-primary);
}

.gold-wedding-rings {
  margin: 10px auto 14px;
  width: 65px;
}

.rings-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(200, 155, 78, 0.35));
}

.hero-announcement {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--color-gold-primary);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.couple-names-wrapper {
  margin-bottom: 18px;
}

.groom-name, .bride-name {
  font-family: var(--font-script);
  font-size: 3.6rem;
  font-weight: 400;
  color: var(--color-gold-primary);
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(200, 155, 78, 0.2);
}

.groom-surname, .bride-surname {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 2.5px;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin-top: -4px;
}

.ampersand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
}

.leaf-line {
  height: 1.5px;
  width: 55px;
  background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
}

.ampersand-symbol {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--color-gold-primary);
}

.hero-heart-divider {
  margin: 12px auto;
  opacity: 0.85;
}

.hero-subphrase {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 26px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-gold-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(200, 155, 78, 0.18);
  margin-bottom: 22px;
}

.badge-date-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-green-primary);
  text-transform: uppercase;
}

/* ==========================================================================
   BOTONES ESTILIZADOS
   ========================================================================== */
.btn-gold-solid, .btn-gold-outline, .btn-gold-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-gold-solid {
  background: var(--color-gold-gradient);
  color: #FFFFFF;
  border: none;
}

.btn-gold-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(200, 155, 78, 0.4);
  color: #FFFFFF;
}

.btn-gold-outline {
  background: #FFFFFF;
  color: var(--color-gold-dark);
  border: 1.5px solid var(--color-gold-primary);
}

.btn-gold-outline:hover {
  background: var(--color-gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 155, 78, 0.3);
}

.btn-gold-large {
  background: var(--color-gold-gradient);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 16px 36px;
  border: none;
  box-shadow: 0 8px 25px rgba(200, 155, 78, 0.35);
}

.btn-gold-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(200, 155, 78, 0.5);
  color: #FFFFFF;
}

.pulse-animation {
  animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
  0% { transform: scale(1); box-shadow: 0 8px 25px rgba(200, 155, 78, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 12px 30px rgba(200, 155, 78, 0.5); }
  100% { transform: scale(1); box-shadow: 0 8px 25px rgba(200, 155, 78, 0.3); }
}

/* ==========================================================================
   BANNERS DE FOTOS
   ========================================================================== */
.photo-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.banner-img-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s ease-out;
}

.banner-img:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   SECCIONES Y CONTENEDORES
   ========================================================================== */
.section-padding {
  padding: 60px 20px;
  position: relative;
}

.section-container {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-green-primary);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.section-title.italic-cursive {
  font-family: var(--font-script);
  font-size: 3.4rem;
  color: var(--color-gold-primary);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* ==========================================================================
   SECCIÓN: CUENTA REGRESIVA
   ========================================================================== */
.countdown-section {
  background-color: var(--color-bg-primary);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.countdown-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  min-width: 76px;
  box-shadow: 0 8px 20px rgba(200, 155, 78, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.countdown-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-primary);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-green-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.countdown-colon {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold-primary);
  margin-top: -10px;
}

/* ==========================================================================
   SECCIÓN: CEREMONIA Y RECEPCIÓN
   ========================================================================== */
.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.location-card {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.loc-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 155, 78, 0.08);
  border-radius: 50%;
  border: 1.5px dashed var(--color-gold-primary);
}

.loc-svg-icon {
  width: 44px;
  height: 44px;
}

.loc-cursive-badge {
  display: block;
  font-family: var(--font-script);
  font-size: 2.7rem;
  color: var(--color-gold-primary);
  margin-bottom: -5px;
  line-height: 1;
}

.loc-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 15px;
}

.loc-info-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.loc-date-tag, .loc-time-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-main);
  background: var(--color-gold-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.loc-place-address {
  font-weight: 600;
  color: var(--color-green-primary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.loc-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   SECCIÓN: ITINERARIO
   ========================================================================== */
.itinerary-section {
  background-color: var(--color-bg-secondary);
}

.itinerary-timeline {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 0;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 35px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-primary), var(--color-gold-light));
}

.itinerary-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  text-align: left;
}

.itinerary-item:last-child {
  margin-bottom: 0;
}

.itinerary-icon-box {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: #FFFFFF;
  border: 2px solid var(--color-gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(200, 155, 78, 0.2);
  z-index: 2;
  transition: transform 0.3s ease;
}

.itinerary-item:hover .itinerary-icon-box {
  transform: scale(1.1);
  background: var(--color-gold-subtle);
}

.itinerary-details {
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-gold);
  flex-grow: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.itinerary-time {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green-primary);
  display: block;
  margin-bottom: 2px;
}

.itinerary-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* ==========================================================================
   SECCIÓN: RSVP / CONFIRMACIÓN
   ========================================================================== */
.rsvp-card {
  background: #FFFFFF;
  border: 2px solid var(--color-gold-primary);
  border-radius: var(--radius-lg);
  padding: 45px 24px;
  box-shadow: 0 20px 50px rgba(200, 155, 78, 0.2);
}

.rsvp-reminder-badge {
  display: inline-block;
  background: var(--color-gold-gradient);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 15px;
}

.rsvp-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 15px;
}

.rsvp-subtext {
  font-size: 1.1rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 12px;
}

.rsvp-subtext strong {
  color: var(--color-gold-dark);
  font-size: 1.25rem;
  display: inline-block;
  margin-top: 4px;
}

.rsvp-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   SECCIÓN: DRESS CODE
   ========================================================================== */
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.dresscode-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: 30px 16px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease;
}

.dresscode-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-primary);
}

.dc-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-subtle);
  border-radius: 50%;
}

.dc-svg-icon {
  width: 36px;
  height: 36px;
}

.dc-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 8px;
}

.dc-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.important-notice-card {
  background: rgba(45, 75, 62, 0.04);
  border: 1.5px dashed var(--color-gold-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.notice-icon {
  min-width: 32px;
}

.notice-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 4px;
}

.notice-text {
  font-size: 0.88rem;
  color: var(--color-text-main);
}

/* ==========================================================================
   SECCIÓN: DETALLES (LLUVIA DE SOBRES / NO NIÑOS)
   ========================================================================== */
.details-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.detail-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 35px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.detail-icon-circle {
  width: 65px;
  height: 65px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-subtle);
  border-radius: 50%;
}

.detail-svg {
  width: 40px;
  height: 40px;
}

.detail-badge {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 8px;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 12px;
}

.detail-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* ==========================================================================
   SECCIÓN: TE TENEMOS UNA SORPRESA HAZ CLIC AQUÍ (ORIGINAL EXACTO)
   ========================================================================== */
.surprise-original-section {
  width: 100%;
  background: transparent;
  padding: 20px 0;
  text-align: center;
}

.surprise-image-wrapper {
  display: block;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.surprise-image-wrapper:hover {
  transform: scale(1.02);
}

.surprise-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.surprise-interactive-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.surprise-click-badge {
  background: var(--color-gold-gradient);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(200, 155, 78, 0.4);
  animation: pulseButton 2.5s infinite;
}

/* ==========================================================================
   SECCIÓN: GALERÍA DE FOTOS
   ========================================================================== */
.gallery-section {
  background-color: #FFFFFF;
}

.gallery-intro {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-top: -15px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item.item-large {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery-item.item-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 75, 62, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-zoom-icon {
  font-size: 1.8rem;
  color: #FFFFFF;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* ==========================================================================
   SECCIÓN: ÁLBUM COMPARTIDO DE FOTOS
   ========================================================================== */
.album-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: 45px 24px;
  box-shadow: var(--shadow-card);
}

.album-badge {
  display: block;
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-gold-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.album-qr-wrapper {
  margin: 0 auto 25px;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF8F5;
  border: 3px solid var(--color-green-primary);
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(45, 75, 62, 0.18);
}

.qr-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.album-headline {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 12px;
}

.album-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  position: relative;
  background: linear-gradient(180deg, #FAF7F2 0%, #EFE4D4 100%);
  padding: 70px 24px 80px;
  text-align: center;
  border-top: 2px solid var(--color-border-gold);
}

.footer-content {
  position: relative;
  z-index: 3;
}

.footer-monogram {
  width: 95px;
  height: 95px;
  margin: 0 auto 15px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(200, 155, 78, 0.2));
}

.footer-couple-names {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--color-gold-primary);
  font-weight: 400;
  margin-bottom: 4px;
}

.footer-date {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--color-green-primary);
  margin-bottom: 20px;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-divider span {
  width: 45px;
  height: 1.5px;
  background: var(--color-gold-primary);
}

.footer-thanks {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto;
}

/* ==========================================================================
   MODALES (LIGHTBOX FOTOS & VIDEO)
   ========================================================================== */
.lightbox-modal, .video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active, .video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop, .video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 20, 0.92);
  backdrop-filter: blur(5px);
}

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

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

.lightbox-close, .lightbox-prev, .lightbox-next, .video-modal-close {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover, .video-modal-close:hover {
  background: var(--color-gold-primary);
  transform: scale(1.1);
}

.lightbox-close { top: 20px; right: 20px; font-size: 2rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.video-modal-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 700px;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.video-modal-close {
  top: 15px;
  right: 15px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 480px) {
  .groom-name, .bride-name {
    font-size: 2.9rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title.italic-cursive {
    font-size: 2.8rem;
  }

  .countdown-card {
    min-width: 65px;
    padding: 12px 8px;
  }

  .countdown-num {
    font-size: 1.6rem;
  }

  .countdown-colon {
    font-size: 1.2rem;
  }

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

  .btn-gold-large, .btn-gold-solid, .btn-gold-outline {
    width: 100%;
  }

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