:root {
  --color-blush: #f4dcd6;
  --color-dusty-rose: #d8a4a1;
  --color-rose-gold: #c58f7e;
  --color-gold-metallic: #d4af37;
  --color-cream: #faf7f2;
  --color-cream-card: #ffffff;
  --color-sage: #96a793;
  --color-sage-light: #e5ede3;
  --color-dark-slate: #2d2a2a;
  --color-text-muted: #6e6462;
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
  --shadow-soft: 0 10px 30px rgba(197, 143, 126, 0.15);
  --shadow-card: 0 15px 35px rgba(45, 42, 42, 0.07);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #171415;
  background-image: radial-gradient(circle at 50% 25%, #2b2223 0%, #120f10 100%);
  font-family: var(--font-sans);
  color: var(--color-dark-slate);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Ambient Canvas for Floating Petals */
#petals-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* Smartphone Simulator Frame for Desktop / Centers gracefully */
.mobile-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background-color: var(--color-cream);
  position: relative;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.65), 0 0 25px rgba(216, 164, 161, 0.25);
  overflow: hidden;
  margin: 0 auto;
}

/* Floating Audio Player Widget */
.audio-floating-pill {
  position: fixed;
  top: 18px;
  right: calc(50% - 200px);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 164, 161, 0.45);
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-20px);
}
@media (max-width: 450px) {
  .audio-floating-pill {
    right: 16px;
  }
}
.audio-floating-pill.visible {
  opacity: 1;
  transform: translateY(0);
}
.audio-floating-pill:hover {
  transform: scale(1.05);
  border-color: var(--color-rose-gold);
}
.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.bar {
  width: 3px;
  height: 6px;
  background: var(--color-rose-gold);
  border-radius: 3px;
  transition: height 0.2s ease;
}
.bar.playing:nth-child(1) { animation: soundBar 1.1s ease-in-out infinite alternate; }
.bar.playing:nth-child(2) { animation: soundBar 0.8s ease-in-out infinite 0.2s alternate; }
.bar.playing:nth-child(3) { animation: soundBar 1.3s ease-in-out infinite 0.4s alternate; }
.bar.playing:nth-child(4) { animation: soundBar 0.9s ease-in-out infinite 0.1s alternate; }

@keyframes soundBar {
  0% { height: 4px; }
  100% { height: 16px; }
}
.audio-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--color-rose-gold);
}

/* ========================================================
   MODAL DE APERTURA: SOBRE DE LUJO Y ALTA PAPELERÍA
   ======================================================== */
.envelope-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(circle at center, #261f20 0%, #0d0a0b 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  transition: opacity 1.1s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.1s ease;
}
.envelope-screen.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-header-box {
  text-align: center;
  margin-bottom: 34px;
}
.envelope-badge-eyebrow {
  display: inline-block;
  font-family: var(--font-cinzel);
  color: #dfbf9f;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.95;
}
.envelope-main-title {
  font-family: var(--font-script);
  font-size: 38px;
  color: #fffaf7;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(229, 185, 172, 0.3);
}
.envelope-subheading {
  color: var(--color-blush);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 6px;
  opacity: 0.85;
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

/* Contenedor del Sobre Fino */
.envelope-wrapper {
  position: relative;
  width: 330px;
  height: 230px;
  perspective: 1200px;
  cursor: pointer;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.65)) drop-shadow(0 8px 16px rgba(197, 143, 126, 0.2));
  transition: transform 0.4s ease;
}
.envelope-wrapper:hover {
  transform: translateY(-4px);
}

.envelope-box {
  width: 100%;
  height: 100%;
  background: #edd5cf;
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 0 30px rgba(185, 124, 108, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: visible;
}

/* Fondo Interior del Sobre (Envelope Liner Botánico / Foil Oro Suave) */
.envelope-liner {
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 30%, #fff7f4 0%, #f4e3dd 100%);
  background-image: radial-gradient(#d8a4a1 0.75px, transparent 0.75px), radial-gradient(#c58f7e 0.75px, #fff7f4 0.75px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  border: 1px solid #e7ceca;
  z-index: 1;
}

/* Solapa triangular superior */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 165px solid transparent;
  border-right: 165px solid transparent;
  border-top: 130px solid #e2c0b8;
  transform-origin: top center;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.15, 1);
  z-index: 10;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
}
.envelope-wrapper.open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 2;
}

/* Bolsillo frontal y laterales */
.envelope-pocket {
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  border-left: 165px solid #ecd5d0;
  border-right: 165px solid #ecd5d0;
  border-bottom: 125px solid #f6e6e2;
  border-top: 105px solid transparent;
  border-radius: 0 0 8px 8px;
  z-index: 8;
  pointer-events: none;
  filter: drop-shadow(0 -2px 6px rgba(180, 130, 120, 0.18));
}

/* Lujoso Sello de Cera Esculpido con Borde Orgánico Irregular */
.wax-seal-wrapper {
  position: absolute;
  top: 118px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}
.wax-seal {
  width: 66px;
  height: 66px;
  background: radial-gradient(circle at 35% 30%, #e8bc9e 0%, #b87763 45%, #8c4736 90%);
  border-radius: 48% 52% 49% 51% / 51% 47% 53% 49%;
  box-shadow: 
    0 8px 22px rgba(0, 0, 0, 0.45), 
    inset 0 2px 4px rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(60, 20, 15, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255, 230, 220, 0.4);
}
.wax-seal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 235, 220, 0.5);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
}
.wax-seal-inner {
  font-family: var(--font-cinzel);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff6f0;
  text-shadow: 1px 1px 2px rgba(60, 20, 10, 0.8), -1px -1px 1px rgba(255, 255, 255, 0.4);
  z-index: 2;
}
.envelope-wrapper.open .wax-seal-wrapper {
  transform: translate(-50%, -120%) scale(0.5);
  opacity: 0;
}

/* Tarjeta interior de alta papelería de bodas & XV */
.envelope-letter {
  position: absolute;
  top: 15px;
  left: 18px;
  width: 294px;
  height: 200px;
  background: #fffefb;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid #ebdcd7;
  z-index: 5;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 1.25s cubic-bezier(0.2, 0.85, 0.2, 1) 0.35s;
}
.envelope-letter-inner-border {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 143, 126, 0.45);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.envelope-wrapper.open .envelope-letter {
  transform: translateY(-138px) scale(1.06);
  z-index: 15;
}

.letter-monogram {
  font-family: var(--font-cinzel);
  font-size: 20px;
  color: var(--color-rose-gold);
  letter-spacing: 4px;
  border-bottom: 1px solid var(--color-blush);
  padding-bottom: 3px;
  margin-bottom: 6px;
  font-weight: 600;
}
.letter-title {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--color-dark-slate);
  line-height: 1;
  margin-bottom: 4px;
}
.letter-text {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.envelope-instruction {
  margin-top: 48px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 35px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(216, 164, 161, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.envelope-instruction:hover {
  background: rgba(216, 164, 161, 0.35);
  border-color: var(--color-dusty-rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 164, 161, 0.4);
}

/* ========================================================
   SECCIONES DE LA INVITACIÓN
   ======================================================== */
section {
  position: relative;
  padding: 55px 24px;
  width: 100%;
}

/* Títulos de sección ornamentados */
.section-header {
  text-align: center;
  margin-bottom: 35px;
}
.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-rose-gold);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-dark-slate);
  line-height: 1.2;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.section-divider::before, .section-divider::after {
  content: "";
  width: 45px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-rose-gold), transparent);
}
.section-divider i {
  color: var(--color-rose-gold);
  font-size: 11px;
}

/* ---------------- HERO SECTION CON DISTRIBUCIÓN REFINADA ---------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 26px 40px;
  position: relative;
  background: #0d0a0b;
  color: #fff;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.88;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}
.hero-section:hover .hero-bg-img {
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(18, 14, 15, 0.6) 0%, 
    rgba(26, 18, 20, 0.28) 32%, 
    rgba(20, 15, 16, 0.55) 60%, 
    rgba(15, 12, 13, 0.92) 88%,
    rgba(15, 12, 13, 1) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  flex: 1;
}

/* 1. Bloque Superior: Monograma y Rótulo */
.hero-top-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.hero-monogram {
  font-family: var(--font-cinzel);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.45);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(216,164,161,0.08) 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), inset 0 0 10px rgba(255,255,255,0.2);
}
.hero-tagline {
  font-family: var(--font-cinzel);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--color-blush);
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* 2. Bloque Central: Nombre y Apellidos con Presencia */
.hero-center-block {
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-name {
  font-family: var(--font-script);
  font-size: 66px;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0,0,0,0.7), 0 0 30px rgba(216, 164, 161, 0.35);
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.hero-surname {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #f0c5be;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* 3. Bloque Frase Emotiva: Caja Refinada con Respiro */
.hero-quote-block {
  background: rgba(25, 20, 22, 0.42);
  border: 1px solid rgba(244, 220, 214, 0.22);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 320px;
  margin: 0 auto 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.hero-quote {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 14.5px;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin: 0;
}

/* 4. Bloque Inferior: Fecha, Botón CTA e Indicador de Scroll */
.hero-bottom-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px;
  border-radius: 30px;
  border: 1px solid rgba(244, 220, 214, 0.45);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 2.5px;
  font-weight: 500;
  margin-bottom: 22px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.hero-date-badge i {
  color: var(--color-dusty-rose);
  font-size: 14px;
}
.hero-cta {
  background: linear-gradient(135deg, #d69888 0%, #a46453 100%);
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 35px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(197, 143, 126, 0.45), 0 0 0 1px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(197, 143, 126, 0.65);
}
.hero-scroll-indicator {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  gap: 6px;
}
.scroll-arrow {
  animation: bounceArrow 2s infinite ease-in-out;
  font-size: 13px;
  color: var(--color-blush);
}
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------------- 2. CUENTA REGRESIVA ELEGANTE Y SEPARADA ---------------- */
.countdown-wrapper {
  padding: 42px 20px 25px;
  background: linear-gradient(180deg, #faf7f2 0%, #f4eee9 100%);
  position: relative;
}
/* Ornamento Floral Superior que separa y da aire */
.countdown-ornament-header {
  text-align: center;
  margin-bottom: 22px;
}
.ornament-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.flourish-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-rose-gold), transparent);
}
.ornament-flourish i {
  color: var(--color-rose-gold);
  font-size: 13px;
  filter: drop-shadow(0 2px 4px rgba(197,143,126,0.3));
}
.countdown-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--color-rose-gold);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}
.countdown-main-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-dark-slate);
  font-weight: 400;
}

.countdown-card-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: 0 16px 36px rgba(45, 42, 42, 0.08), 0 2px 10px rgba(197, 143, 126, 0.1);
  border: 1px solid rgba(216, 164, 161, 0.35);
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.countdown-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f5 100%);
  border-radius: var(--radius-md);
  padding: 14px 6px;
  text-align: center;
  border: 1px solid rgba(216, 164, 161, 0.28);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.8), 0 4px 12px rgba(197, 143, 126, 0.08);
  position: relative;
}
.countdown-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-dusty-rose), transparent);
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  color: var(--color-rose-gold);
  display: block;
  line-height: 1;
}
.countdown-lbl {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------------- PALABRAS DE LA QUINCEAÑERA (CARTA) ---------------- */
.letter-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.3);
  position: relative;
  overflow: hidden;
}
.letter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-blush), var(--color-rose-gold), var(--color-sage));
}
.portrait-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #fff;
  box-shadow: 0 8px 25px rgba(197, 143, 126, 0.3);
}
.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.letter-body {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.8;
  color: #4a4443;
  text-align: center;
  font-style: italic;
}
.letter-signature {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--color-rose-gold);
  text-align: center;
  margin-top: 15px;
}

/* ---------------- UBICACIONES: IGLESIA Y RECEPCIÓN ---------------- */
.venue-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 25px;
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.venue-image-wrap {
  height: 180px;
  width: 100%;
  position: relative;
}
.venue-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.venue-tag {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-rose-gold);
}
.venue-details {
  padding: 24px 20px;
  text-align: center;
}
.venue-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-dark-slate);
  margin-bottom: 6px;
}
.venue-meta {
  font-size: 13px;
  color: var(--color-rose-gold);
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.venue-address {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cream);
  color: var(--color-dark-slate);
  border: 1px solid rgba(216, 164, 161, 0.4);
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-maps:hover {
  background: var(--color-rose-gold);
  color: #fff;
}

/* ---------------- ITINERARIO / LÍNEA DEL TIEMPO ---------------- */
.timeline-wrap {
  position: relative;
  padding: 10px 0;
}
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-blush), var(--color-rose-gold), var(--color-sage));
}
.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}
.timeline-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-rose-gold);
  box-shadow: 0 4px 12px rgba(197, 143, 126, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rose-gold);
  font-size: 18px;
  flex-shrink: 0;
  z-index: 2;
}
.timeline-content-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  flex-grow: 1;
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.timeline-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-rose-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.timeline-event-title {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-dark-slate);
  margin: 3px 0;
}
.timeline-desc {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ---------------- CÓDIGO DE VESTIMENTA ---------------- */
.dress-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.25);
}
.dress-badge {
  display: inline-block;
  font-size: 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-rose-gold);
  background: var(--color-cream);
  padding: 8px 24px;
  border-radius: 30px;
  border: 1px dashed var(--color-dusty-rose);
  margin-bottom: 12px;
}
.palette-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 22px 0;
}
.color-swatch-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.color-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 2px solid #fff;
}
.color-label {
  font-size: 9px;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}
.dress-note {
  font-size: 12px;
  color: #9c4c47;
  background: #fdf2f2;
  padding: 10px;
  border-radius: 8px;
  margin-top: 14px;
}

/* ---------------- GALERÍA INTERACTIVA (LIGHTBOX) ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(45, 42, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
}

/* Modal Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 8, 0.95);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.2);
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* ---------------- PADRES Y PADRINOS ---------------- */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.vip-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.vip-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-blush);
  color: var(--color-rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 10px;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.vip-role {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-rose-gold);
  font-weight: 600;
}
.vip-names {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-dark-slate);
  margin-top: 4px;
  line-height: 1.3;
}

/* ---------------- MESA DE REGALOS ---------------- */
.gift-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.gift-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gift-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-rose-gold);
}
.gift-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-slate);
}
.gift-sub {
  font-size: 11px;
  color: var(--color-text-muted);
}
.gift-btn {
  background: var(--color-rose-gold);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

/* ---------------- RSVP / CONFIRMACIÓN ASISTENCIA ---------------- */
.rsvp-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.3);
}
.form-group {
  margin-bottom: 16px;
  text-align: left;
}
.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-dark-slate);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2d7d4;
  background: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-dark-slate);
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--color-rose-gold);
  background: #fff;
}
.radio-pill-group {
  display: flex;
  gap: 10px;
}
.radio-pill {
  flex: 1;
  text-align: center;
  position: relative;
}
.radio-pill input {
  display: none;
}
.radio-pill label {
  display: block;
  padding: 10px;
  background: var(--color-cream);
  border: 1px solid #e2d7d4;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.radio-pill input:checked + label {
  background: var(--color-rose-gold);
  color: #fff;
  border-color: var(--color-rose-gold);
}
.btn-submit-rsvp {
  width: 100%;
  background: linear-gradient(135deg, var(--color-rose-gold) 0%, #a46755 100%);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(197, 143, 126, 0.4);
  transition: transform 0.2s;
}
.btn-submit-rsvp:hover {
  transform: translateY(-2px);
}
.rsvp-success-msg {
  display: none;
  background: #eef6ed;
  border: 1px solid var(--color-sage);
  color: #3b5f33;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
  animation: fadeIn 0.4s ease;
}

/* ---------------- LIBRO DE MENSAJES ---------------- */
.guestbook-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.guestbook-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 5px;
}
.guest-msg-item {
  background: var(--color-cream);
  padding: 14px;
  border-radius: 12px;
  border-left: 3px solid var(--color-rose-gold);
}
.guest-msg-author {
  font-weight: 600;
  font-size: 12px;
  color: var(--color-dark-slate);
  display: flex;
  justify-content: space-between;
}
.guest-msg-date {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 400;
}
.guest-msg-body {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
  font-style: italic;
}

/* ---------------- PREGUNTAS FRECUENTES (FAQ ACORDEÓN) ---------------- */
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 164, 161, 0.2);
  overflow: hidden;
}
.faq-header {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-slate);
}
.faq-header i {
  color: var(--color-rose-gold);
  transition: transform 0.3s;
}
.faq-item.active .faq-header i {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--color-cream);
  padding: 0 18px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.faq-item.active .faq-content {
  padding: 14px 18px;
  max-height: 160px;
}

/* ---------------- HOSPEDAJE RECOMENDADO ---------------- */
.hotel-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 164, 161, 0.2);
}
.hotel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-slate);
}
.hotel-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ---------------- HASHTAG & SOCIAL ---------------- */
.hashtag-box {
  background: linear-gradient(135deg, #f6e6e3 0%, #faede8 100%);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  border: 1px dashed var(--color-rose-gold);
}
.hashtag-tag {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-rose-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
.social-share-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.btn-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: all 0.3s;
}
.btn-social:hover {
  background: var(--color-rose-gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------- FOOTER ---------------- */
footer {
  background: #231b1c;
  color: #fff;
  text-align: center;
  padding: 45px 24px 35px;
  border-top: 2px solid var(--color-rose-gold);
}
.footer-names {
  font-family: var(--font-script);
  font-size: 42px;
  color: var(--color-blush);
}
.footer-date {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-dusty-rose);
  margin: 8px 0 16px;
}
.footer-thanks {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
  font-style: italic;
}
.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 25px;
  letter-spacing: 1px;
}

/* Animaciones auxiliares */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}