/* ==========================================================================
   INVITATION.CSS - ESTILOS PRINCIPALES DE LA INVITACIÓN (STITCH AI)
   BODA LUCÍA & PEDRO - PALETA MARSALA, CREMA Y DORADO
   ========================================================================== */

/* Contenedor Marco Principal */
.main-invitation-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--wedding-cream);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--wedding-text-dark);
}

/* ==========================================================================
   1. PORTADA / HERO SECTION (MARSALA GRADIENT + FOTO ANCHO COMPLETO CON ONDAS)
   ========================================================================== */
.hero-marsala-section {
  position: relative;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 0 2.25rem 0;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.hero-top-content,
.hero-bottom-content {
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-monogram-wrap {
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-laurel-box {
  position: relative;
  width: 7.2rem;
  height: 6.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-laurel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.hero-monogram-letters {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #faebd7;
  font-weight: 300;
  letter-spacing: 0.05em;
  padding-bottom: 0.35rem;
}

.hero-monogram-slash {
  font-size: 1.3rem;
  color: rgba(230, 207, 156, 0.9);
  font-style: italic;
  font-weight: 300;
}

.hero-pretitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--wedding-gold-light);
  font-weight: 500;
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

.hero-couple-name {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  margin: 0.15rem 0;
}

.hero-couple-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--wedding-gold-light);
  margin: 0.1rem 0;
  line-height: 1.15;
}

.hero-date-badge {
  width: 100%;
  max-width: 280px;
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  padding: 0.65rem 0;
  margin: 1rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-date-numbers {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: #f5eee6;
  font-weight: 400;
}

.hero-date-day {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--wedding-gold-light);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Fotografía Principal a Ancho Completo con Ondas Arriba y Abajo */
.hero-photo-container {
  position: relative;
  width: 100%;
  margin: 1rem 0 0.5rem 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-wave-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.3;
  background-color: #1c1917;
  overflow: hidden;
}

.hero-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-wave-frame:hover .hero-arch-img {
  transform: scale(1.035);
}

.hero-wave-top-svg {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 54px;
  z-index: 5;
  pointer-events: none;
}

.hero-wave-bottom-svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 58px;
  z-index: 5;
  pointer-events: none;
}

.hero-arch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(99, 45, 48, 0.22) 0%,
      transparent 22%,
      transparent 72%,
      rgba(82, 36, 39, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Frase Romántica en Portada */
.hero-quote-box {
  margin: 1.5rem 0 1.75rem 0;
  padding: 0 1rem;
  max-width: 330px;
}

.hero-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: #f3eae0;
  font-weight: 300;
  line-height: 1.55;
}

/* Reproductor de Música Integrado */
.hero-audio-player {
  width: 100%;
  max-width: 340px;
  background-color: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(197, 160, 89, 0.32);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 5;
}

.player-song-info {
  text-align: center;
  margin-bottom: 0.75rem;
}

.player-song-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.player-song-artist {
  font-size: 0.75rem;
  color: #e8d7c1;
  font-weight: 300;
}

.player-progress-wrap {
  width: 100%;
  margin-bottom: 0.5rem;
}

.player-progress-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  height: 5px;
  border-radius: 9999px;
  overflow: visible;
  position: relative;
  cursor: pointer;
}

.player-progress-fill {
  background-color: var(--wedding-gold-light);
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  position: relative;
  transition: width 0.15s linear;
}

.player-progress-thumb {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.player-times-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #d6d3d1;
  font-family: var(--font-sans);
  margin-top: 0.35rem;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  margin: 0.45rem 0;
  color: #d6d3d1;
}

.player-ctrl-btn {
  color: #d6d3d1;
  font-size: 0.85rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-ctrl-btn:hover,
.player-ctrl-btn.active {
  color: var(--wedding-gold-light);
}

.player-ctrl-btn:active {
  transform: scale(0.92);
}

.player-play-main-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  background-color: var(--wedding-gold);
  color: var(--wedding-marsala-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.player-play-main-btn:hover {
  background-color: var(--wedding-gold-light);
}

.player-play-main-btn:active {
  transform: scale(0.94);
}

.player-footnote {
  margin-top: 0.85rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.player-footnote-text {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--wedding-gold-light);
  font-weight: 500;
}

.hero-botanical-accent {
  position: absolute;
  bottom: 0.35rem;
  left: -0.35rem;
  width: 5.5rem;
  height: auto;
  opacity: 0.42;
  pointer-events: none;
  z-index: 2;
}

.hero-botanical-top-right {
  position: absolute;
  top: 0.85rem;
  right: -0.45rem;
  width: 4.8rem;
  height: auto;
  opacity: 0.28;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   2. SECCIÓN BIENVENIDOS, CUENTA REGRESIVA Y FAMILIA
   ========================================================================== */
.welcome-paper-section {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #e5dcd0;
}

.welcome-heading {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wedding-text-dark);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.leaf-divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 12rem;
  margin-bottom: 1.5rem;
}

.leaf-divider-line {
  height: 1px;
  background-color: rgba(197, 160, 89, 0.6);
  flex: 1;
}

.welcome-lead-text {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--wedding-text-dark);
  max-width: 20rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Tarjeta Doble: Fecha y Cuenta Regresiva */
.date-countdown-card {
  width: 100%;
  max-width: 340px;
  border-top: 1px solid var(--wedding-border);
  border-bottom: 1px solid var(--wedding-border);
  padding: 1.25rem 0;
  margin: 0.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.date-col-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
  border-right: 1px solid var(--wedding-border);
}

.countdown-col-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
}

.col-gold-icon {
  font-size: 1.5rem;
  color: var(--wedding-gold);
  margin-bottom: 0.45rem;
}

.col-upper-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--wedding-text-dark);
}

.col-muted-sub {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--wedding-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.col-big-serif {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--wedding-text-dark);
  font-weight: 600;
  margin-top: 0.1rem;
  line-height: 1.1;
}

.days-inline-group {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.days-number-big {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--wedding-text-dark);
  font-weight: 700;
  line-height: 1.1;
}

.days-unit-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--wedding-text-dark);
  text-transform: uppercase;
}

/* Reloj secundario en vivo (Horas : Minutos : Segundos) */
.live-hms-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 10px;
  color: var(--wedding-text-muted);
  letter-spacing: 0.05em;
}

.live-hms-bar span.val {
  font-weight: 600;
  color: var(--wedding-marsala);
}

.calendar-mini-link {
  margin-top: 0.3rem;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wedding-marsala);
  border-bottom: 1px dashed rgba(120, 59, 62, 0.45);
  padding-bottom: 1px;
}

.calendar-mini-link:hover {
  color: var(--wedding-gold-dark);
}

/* Cita con Comillas Doradas */
.inspirational-quote-wrap {
  margin: 2rem 0;
  padding: 0 1rem;
  position: relative;
  max-width: 20rem;
}

.quote-mark-gold {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(197, 160, 89, 0.82);
  line-height: 0.85;
  user-select: none;
}

.inspirational-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wedding-text-dark);
  line-height: 1.55;
  padding: 0.25rem 0.5rem;
  font-weight: 300;
}

/* Bloques de Padres y Padrinos */
.family-blocks-stack {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.family-group-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.terracotta-pill-header {
  width: 13.5rem;
  padding: 0.42rem 1rem;
  border-radius: 9999px;
  background-color: var(--wedding-terracotta-pill);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  box-shadow: 0 2px 6px rgba(171, 101, 102, 0.25);
  margin-bottom: 1rem;
}

.family-names-list {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--wedding-text-dark);
  line-height: 1.4;
}

.family-names-list .light-name {
  font-weight: 300;
  display: block;
}

.family-mini-rule {
  width: 3rem;
  height: 1px;
  background-color: rgba(197, 160, 89, 0.45);
  margin: 0.65rem auto;
}

.family-amp-gold {
  font-style: italic;
  color: var(--wedding-gold);
  font-weight: 300;
  margin: 0.1rem 0;
}

.welcome-botanical-accent {
  position: absolute;
  bottom: 0.5rem;
  left: -0.25rem;
  width: 5.8rem;
  height: auto;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
}

.welcome-botanical-top-right {
  position: absolute;
  top: 1.25rem;
  right: -0.35rem;
  width: 5rem;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   3. SECCIÓN CEREMONIA, CELEBRACIÓN, VESTIMENTA, ITINERARIO, REGALOS Y RSVP
   ========================================================================== */
.event-details-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Hojas flotantes decorativas de fondo en secciones interiores */
.section-leaf-accent {
  position: absolute;
  width: 5.4rem;
  height: auto;
  opacity: 0.32;
  pointer-events: none;
  z-index: 1;
}

.section-leaf-accent.pos-dress-right {
  top: 23rem;
  right: -0.4rem;
}

.section-leaf-accent.pos-itinerary-left {
  top: 41rem;
  left: -0.35rem;
}

.section-leaf-accent.pos-gifts-right {
  top: 62rem;
  right: -0.35rem;
}

.section-leaf-accent.pos-rsvp-left {
  bottom: 1.2rem;
  left: -0.25rem;
}

/* Banner Superior en Arco Marsala */
.section-marsala-arch {
  width: 100%;
  color: #ffffff;
  padding: 2rem 1.5rem 1.85rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.arch-watermark-top-right {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 5.5rem;
  height: auto;
  opacity: 0.32;
  pointer-events: none;
}

.arch-section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
}

.arch-gold-underline {
  width: 4rem;
  height: 2px;
  background-color: rgba(197, 160, 89, 0.82);
  margin: 0.75rem auto 0 auto;
  border-radius: 9999px;
}

/* Grilla 2 Columnas: Ceremonia Religiosa & Recepción Social */
.locations-grid-2col {
  width: 100%;
  max-width: 370px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--wedding-border-light);
}

.location-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.35rem;
}

.location-col-item.with-left-divider {
  border-left: 1px solid var(--wedding-border);
  padding-left: 0.75rem;
}

.location-icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wedding-marsala);
  margin-bottom: 0.5rem;
}

.location-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--wedding-text-dark);
  line-height: 1.2;
}

.location-place-name {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--wedding-text-dark);
  font-weight: 500;
  margin-top: 0.5rem;
}

.location-address {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--wedding-text-muted);
  line-height: 1.3;
  margin-top: 0.1rem;
}

.location-time {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--wedding-marsala);
  margin-top: 0.25rem;
}

.pill-action-btn {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  background-color: var(--wedding-terracotta-pill);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(171, 101, 102, 0.25);
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.pill-action-btn:hover {
  background-color: var(--wedding-marsala);
  transform: translateY(-2px);
}

.pill-action-btn:active {
  transform: scale(0.96);
}

/* Subsección: Código de Vestimenta */
.dress-code-block {
  width: 100%;
  max-width: 350px;
  padding: 1.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--wedding-border-light);
}

.subsection-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.15rem;
}

.subsection-header-line {
  height: 1px;
  background-color: rgba(197, 160, 89, 0.6);
  flex: 1;
}

.subsection-header-title {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wedding-text-dark);
}

.dress-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
}

.dress-icons-pair {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wedding-text-dark);
  opacity: 0.85;
}

.dress-icons-sep {
  height: 2rem;
  width: 1px;
  background-color: #d6d3d1;
}

.dress-swatches-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dress-style-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wedding-text-dark);
  font-weight: 500;
}

.dress-swatches-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.color-swatch-dot {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 9999px;
  border: 1px solid #d6d3d1;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Subsección: Itinerario Vertical */
.itinerary-block {
  width: 100%;
  max-width: 350px;
  padding: 1.85rem 1rem;
  border-bottom: 1px solid var(--wedding-border-light);
}

.vertical-timeline-list {
  position: relative;
  padding-left: 0.5rem;
  padding-right: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vertical-timeline-line {
  position: absolute;
  left: 69px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: rgba(197, 160, 89, 0.42);
}

.itinerary-step-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.itinerary-step-icon {
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wedding-marsala);
  flex-shrink: 0;
}

.itinerary-step-icon img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.itinerary-step-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: var(--wedding-marsala);
  border: 2px solid var(--wedding-cream);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.itinerary-step-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-left: 0.25rem;
  text-align: left;
}

.itinerary-step-time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wedding-text-dark);
  white-space: nowrap;
}

.itinerary-step-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--wedding-text-dark);
}

/* Subsección: Mesa de Regalos, Transferencia y QR */
.gift-registry-block {
  width: 100%;
  max-width: 350px;
  padding: 1.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--wedding-border-light);
}

.gift-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--wedding-text-dark);
  line-height: 1.55;
  max-width: 20rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.gift-options-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.gift-col-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.25rem;
}

.gift-col-box.with-left-divider {
  border-left: 1px solid var(--wedding-border);
  padding-left: 0.6rem;
}

.gift-col-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--wedding-text-dark);
  line-height: 1.2;
}

.gift-sub-detail {
  font-size: 11px;
  color: var(--wedding-text-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.bank-details-list {
  font-size: 11px;
  color: var(--wedding-text-dark);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.bank-account-mono {
  font-size: 10.5px;
  color: var(--wedding-text-muted);
  font-family: monospace;
  margin-top: 0.15rem;
}

.copy-bank-btn {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background-color: rgba(171, 101, 102, 0.12);
  border: 1px solid rgba(171, 101, 102, 0.35);
  color: var(--wedding-marsala);
  font-size: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.copy-bank-btn:hover {
  background-color: var(--wedding-terracotta-pill);
  color: #ffffff;
}

.qr-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.75rem;
}

.qr-frame-box {
  padding: 0.65rem;
  background-color: #ffffff;
  border: 1px solid #d6cbbe;
  border-radius: 0.65rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-code-image {
  width: 6.25rem;
  height: 6.25rem;
  object-fit: contain;
  cursor: pointer;
}

.qr-caption-text {
  font-size: 0.75rem;
  color: var(--wedding-text-dark);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Subsección: Galería de Recuerdos (4 Fotografías Locales con Lightbox) */
.gallery-block {
  width: 100%;
  max-width: 350px;
  padding: 1.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--wedding-border-light);
}

.gallery-grid-2x2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.gallery-thumb-item {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.45);
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Subsección: Confirmar Asistencia (RSVP con WhatsApp y Formulario de Opciones) */
.rsvp-photos-block {
  width: 100%;
  max-width: 360px;
  padding: 1.5rem 1rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-box-card {
  width: 100%;
  padding: 1.75rem 1.25rem;
  background-color: #fcfaf6;
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 1.15rem;
  box-shadow: 0 12px 30px rgba(94, 42, 44, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.rsvp-icon-top {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background-color: rgba(171, 101, 102, 0.12);
  color: var(--wedding-marsala);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.rsvp-title-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wedding-text-dark);
  line-height: 1.2;
}

.rsvp-script-sub {
  font-family: var(--font-script);
  font-size: 1.95rem;
  color: var(--wedding-gold-dark);
  margin-top: -0.15rem;
  line-height: 1.1;
}

.rsvp-heart-divider {
  color: var(--wedding-gold);
  font-size: 0.78rem;
  margin: 0.35rem 0 0.65rem 0;
}

.rsvp-instructions {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--wedding-text-muted);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.rsvp-instructions strong {
  color: var(--wedding-marsala);
  font-weight: 600;
}

/* Botón Principal Confirmar Vía WhatsApp */
.whatsapp-rsvp-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--wedding-marsala), var(--wedding-marsala-dark));
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(197, 160, 89, 0.5);
  box-shadow: 0 8px 20px rgba(120, 59, 62, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(120, 59, 62, 0.35);
}

.whatsapp-rsvp-btn:active {
  transform: scale(0.97);
}

.whatsapp-rsvp-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

/* Botón Alternar Formulario en Línea */
.toggle-rsvp-form-btn {
  margin-top: 0.85rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-radius: 9999px;
  background-color: rgba(171, 101, 102, 0.1);
  border: 1px solid rgba(171, 101, 102, 0.35);
  color: var(--wedding-marsala);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.toggle-rsvp-form-btn:hover {
  background-color: rgba(171, 101, 102, 0.18);
}

.toggle-rsvp-form-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.3s ease;
}

/* Formulario en Línea Desplegable */
.rsvp-online-form {
  width: 100%;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.55);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rsvp-form-group {
  width: 100%;
}

.rsvp-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--wedding-text-dark);
  margin-bottom: 0.28rem;
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid var(--wedding-border);
  background-color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--wedding-text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus {
  border-color: var(--wedding-marsala);
  box-shadow: 0 0 0 2px rgba(120, 59, 62, 0.12);
}

.rsvp-submit-btn {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 9999px;
  background-color: var(--wedding-terracotta-pill);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 12px rgba(171, 101, 102, 0.3);
  transition: background-color 0.25s ease, transform 0.2s ease;
  margin-top: 0.25rem;
}

.rsvp-submit-btn:hover {
  background-color: var(--wedding-marsala);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. FOOTER FOTOGRÁFICO ROMÁNTICO Y COMPONENTES FLOTANTES
   ========================================================================== */
.footer-photo-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1c1917;
  line-height: 0;
}

.footer-top-arch-mask {
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 2.4rem;
  background-color: var(--wedding-paper);
  z-index: 10;
}

.footer-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.footer-couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: contrast(1.04);
}

.footer-vignette-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1rem;
  line-height: 1.4;
  text-align: center;
}

.footer-closing-names {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-closing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--wedding-gold-light);
  margin-top: 0.15rem;
}

.footer-gold-bottom-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--wedding-marsala) 0%, var(--wedding-gold) 50%, var(--wedding-marsala) 100%);
}

/* Botón Flotante de Música */
.floating-music-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #f0f8ffcf;
  /* border: 2px solid var(--wedding-gold); */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  cursor: pointer;
}

.floating-music-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Visor Lightbox para Galería y Fotos */
#gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(18, 12, 12, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

#lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  border-radius: 0.75rem;
  border: 2px solid rgba(197, 160, 89, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}