/* ==========================================================================
   BABY SHOWER IVANNA — EXPERIENCIA PREMIUM RESPONSIVA
   Inspiración: Boda Leo & Naye (Mar de Nubes) + Acuarela de Limones & Ilustraciones
   Totalmente adaptado a Escritorio (PC/Laptop), Tablets y Teléfonos Móviles
   Animaciones bidireccionales continuas (Aparecen y Desaparecen al hacer scroll)
   ========================================================================== */

:root {
  --c-navy-dark: #122849;
  --c-navy-deep: #183864;
  --c-navy-light: #254d85;
  --c-lemon-gold: #f5b91b;
  --c-lemon-bright: #ffd43f;
  --c-lemon-pale: #fff9e6;
  --c-pink-soft: #f8c3cd;
  --c-pink-deep: #e88698;
  --c-leaf-green: #486946;
  --c-leaf-soft: #8ba889;
  --c-cream-bg: #fdfbf7;
  --c-white-card: rgba(255, 255, 255, 0.95);
  --c-border-gold: rgba(245, 185, 27, 0.38);
  --c-border-subtle: rgba(24, 56, 100, 0.08);
  --c-text-primary: #122849;
  --c-text-muted: #5e718d;

  --shadow-card: 0 16px 45px -10px rgba(18, 40, 73, 0.1);
  --shadow-glow: 0 8px 30px rgba(245, 185, 27, 0.25);
  --radius-card: 32px;
  --radius-arch: 180px 180px 32px 32px;
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--c-cream-bg);
  color: var(--c-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   ELEMENTOS DECORATIVOS TRANSPARENTES FLOTANTES (FONDOS & ESQUINAS)
   ========================================================================== */
.ambient-decor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.decor-sticker {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 12px 28px rgba(24, 56, 100, 0.12));
  transition: transform 0.5s ease;
  user-select: none;
}

/* Stickers de fondo para pantallas grandes / escritorios */
.sticker-clothesline {
  top: 40px;
  left: calc(50% - 500px);
  width: 220px;
  animation: swayGentle 7s ease-in-out infinite alternate;
}

.sticker-bear {
  top: 90px;
  right: calc(50% - 490px);
  width: 190px;
  animation: floatSoft 8s ease-in-out infinite alternate;
}

.sticker-bottle {
  top: 42%;
  left: calc(50% - 470px);
  width: 145px;
  animation: floatSoft 9s ease-in-out infinite alternate -3s;
}

.sticker-duck {
  top: 52%;
  right: calc(50% - 460px);
  width: 155px;
  animation: swayGentle 8s ease-in-out infinite alternate -2s;
}

.sticker-blocks {
  bottom: 110px;
  left: calc(50% - 480px);
  width: 160px;
  animation: floatSoft 10s ease-in-out infinite alternate -5s;
}

.sticker-rattle {
  bottom: 120px;
  right: calc(50% - 470px);
  width: 145px;
  animation: swayGentle 9s ease-in-out infinite alternate -4s;
}

@keyframes floatSoft {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes swayGentle {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-12px) rotate(3deg); }
}

/* En tablets y teléfonos móviles ocultamos los stickers de los lados para una experiencia limpia */
@media (max-width: 1150px) {
  .sticker-clothesline,
  .sticker-bear,
  .sticker-bottle,
  .sticker-duck,
  .sticker-blocks,
  .sticker-rattle {
    display: none !important;
  }
}

/* ==========================================================================
   SOBRE DIGITAL DE BIENVENIDA (OPENING ENVELOPE OVERLAY)
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #1b3d6e 0%, #0d1e38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s ease;
}

.envelope-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-card {
  width: 100%;
  max-width: 470px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(245, 185, 27, 0.4);
  text-align: center;
  overflow: hidden;
  position: relative;
  animation: envelopeEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes envelopeEntrance {
  0% { transform: translateY(45px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.envelope-top-art {
  min-height: 230px;
  background: linear-gradient(180deg, #fff9e8 0%, #ffffff 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-bottom: 2px dashed var(--c-border-gold);
}

.envelope-main-wreath {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(24, 56, 100, 0.14));
  animation: wreathPulse 4s ease-in-out infinite alternate;
}

@keyframes wreathPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

.envelope-body {
  padding: 2.2rem 1.8rem 2.4rem;
}

.envelope-guest-badge {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: var(--c-lemon-pale);
  border: 1px solid var(--c-border-gold);
  color: var(--c-navy-deep);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.envelope-guest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  line-height: 1.2;
}

.envelope-intro-text {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin: 0.6rem auto 1.6rem;
  max-width: 340px;
}

.btn-open-envelope {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #183864 0%, #254d85 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -5px rgba(24, 56, 100, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-open-envelope:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -5px rgba(24, 56, 100, 0.6);
}

/* ==========================================================================
   CONTROL DE MÚSICA DE FONDO
   ========================================================================== */
.music-toggle-btn {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--c-border-gold);
  box-shadow: 0 8px 22px rgba(18, 40, 73, 0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy-dark);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.music-toggle-btn:hover {
  transform: scale(1.1);
}

.music-toggle-btn.is-playing {
  animation: spinSlow 8s linear infinite;
  color: var(--c-lemon-gold);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   ESCENARIO PRINCIPAL (RESPONSIVO PARA CELULAR Y ESCRITORIO)
   ========================================================================== */
.main-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 1.1rem 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

/* Adaptación a pantallas de Computadora y Laptop */
@media (min-width: 1024px) {
  .main-stage {
    max-width: 680px;
    padding: 2.5rem 1.5rem 6.5rem;
    gap: 2.8rem;
  }
}

/* ==========================================================================
   ANIMACIONES SUAVES BIDIRECCIONALES (APARECEN Y DESAPARECEN CON EL SCROLL)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Listón superior estilo Talavera / Capri */
.top-talavera-ribbon {
  height: 9px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    45deg,
    #183864,
    #183864 14px,
    #f5b91b 14px,
    #f5b91b 28px,
    #ffffff 28px,
    #ffffff 42px
  );
  box-shadow: 0 4px 14px rgba(18, 40, 73, 0.12);
}

/* ==========================================================================
   SECCIÓN 1: HERO ARCH INVITACIÓN
   ========================================================================== */
.hero-invitation {
  background: var(--c-white-card);
  border-radius: var(--radius-arch);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: center;
  position: relative;
}

.hero-visual-frame {
  position: relative;
  background: linear-gradient(180deg, #fff9e6 0%, #ffffff 100%);
  padding: 3rem 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px dashed var(--c-border-gold);
  width: 100%;
}

.hero-wreath-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(24, 56, 100, 0.14));
  animation: wreathPulse 5s ease-in-out infinite alternate;
}

@media (min-width: 768px) {
  .hero-visual-frame {
    padding: 3.5rem 2rem 2.2rem;
  }
  .hero-wreath-img {
    max-width: 420px;
  }
}

.hero-card-body {
  padding: 2.2rem 1.8rem 2.6rem;
}

.hero-intro-script {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--c-navy-light);
  margin-bottom: 0.6rem;
}

.hero-parents-honor {
  background: linear-gradient(135deg, rgba(245, 185, 27, 0.12) 0%, rgba(248, 195, 205, 0.22) 100%);
  border: 1px solid var(--c-border-gold);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  margin: 1.2rem auto 1.6rem;
  max-width: 480px;
}

.parents-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--c-leaf-green);
  margin-bottom: 0.25rem;
}

.parents-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  line-height: 1.25;
}

.hero-main-paragraph {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  max-width: 440px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}

/* ==========================================================================
   PASES ASIGNADOS DINÁMICOS
   ========================================================================== */
.passes-assigned-card {
  background: linear-gradient(135deg, #fdf9ee 0%, #fffdf8 100%);
  border: 2px dashed var(--c-border-gold);
  border-radius: 22px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.passes-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-leaf-green);
  font-weight: 700;
}

.passes-guest-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  margin: 0.25rem 0;
}

.passes-count-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.7rem;
}

.pass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--c-border-subtle);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-navy-deep);
  box-shadow: 0 3px 10px rgba(18, 40, 73, 0.06);
}

.pass-badge svg {
  width: 17px;
  height: 17px;
  color: var(--c-lemon-gold);
}

/* Contador Regresivo */
.countdown-block {
  margin-bottom: 2rem;
}

.countdown-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--c-leaf-green);
  margin-bottom: 0.8rem;
}

.countdown-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.time-box {
  background: #ffffff;
  border: 1px solid var(--c-border-subtle);
  border-radius: 18px;
  padding: 0.85rem 0.4rem;
  box-shadow: 0 4px 16px rgba(18, 40, 73, 0.05);
}

.time-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  line-height: 1;
}

.time-txt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  margin-top: 0.3rem;
}

/* ==========================================================================
   TARJETAS ESTANDARIZADAS DE SECCIÓN
   ========================================================================== */
.section-panel {
  background: var(--c-white-card);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  padding: 2.2rem 1.8rem;
  position: relative;
}

.panel-header {
  text-align: center;
  margin-bottom: 1.6rem;
}

.panel-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--c-lemon-gold);
}

.panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--c-navy-dark);
  line-height: 1.2;
}

.panel-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-top: 0.4rem;
}

/* ==========================================================================
   FECHA, HORA Y UBICACIÓN CON MAPS
   ========================================================================== */
.details-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.detail-card-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #fdfbf7;
  border: 1px solid var(--c-border-subtle);
  border-radius: 20px;
  padding: 1.2rem;
  text-align: left;
}

.detail-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--c-border-gold);
  box-shadow: 0 4px 14px rgba(245, 185, 27, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-navy-dark);
}

.detail-icon-circle svg {
  width: 24px;
  height: 24px;
}

.detail-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--c-navy-light);
}

.detail-meta-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy-dark);
}

.detail-meta-sub {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* Botones de Acción */
.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #183864 0%, #254d85 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(24, 56, 100, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -5px rgba(24, 56, 100, 0.55);
}

.btn-lemon {
  background: linear-gradient(135deg, #f5b91b 0%, #dda207 100%);
  color: #122849;
  box-shadow: 0 10px 25px -5px rgba(245, 185, 27, 0.45);
}

.btn-lemon:hover {
  box-shadow: 0 16px 34px -5px rgba(245, 185, 27, 0.65);
}

/* ==========================================================================
   CÓDIGO DE VESTIMENTA & REGALOS
   ========================================================================== */
.two-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.1rem;
}

@media (max-width: 480px) {
  .two-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sub-feature-card {
  background: #fdfbf7;
  border: 1px solid var(--c-border-subtle);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.sub-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--c-border-gold);
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy-dark);
}

.sub-feature-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-navy-dark);
}

.sub-feature-desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.3rem;
}

/* ==========================================================================
   SUBIDA DE FOTOS (FIREBASE STORAGE / CLOUD STORE CORREGIDO)
   ========================================================================== */
.upload-dropzone {
  border: 2px dashed rgba(245, 185, 27, 0.6);
  background: rgba(255, 249, 230, 0.5);
  border-radius: 22px;
  padding: 2rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.upload-dropzone:hover, .upload-dropzone.is-dragover {
  border-color: var(--c-navy-deep);
  background: rgba(245, 185, 27, 0.18);
  transform: translateY(-2px);
}

.upload-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--c-navy-dark);
  box-shadow: 0 6px 18px rgba(18, 40, 73, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
}

.upload-icon-circle svg {
  width: 28px;
  height: 28px;
}

/* Control estricto de texto largo de nombre de archivo (evita desborde) */
.upload-main-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--c-navy-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 0.5rem;
}

.upload-sub-text {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

.upload-progress-bar {
  display: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 1rem;
}

.upload-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f5b91b, #183864);
  transition: width 0.3s ease;
}

.form-inputs-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.styled-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--c-border-subtle);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--c-navy-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.styled-input:focus {
  border-color: var(--c-navy-deep);
  box-shadow: 0 0 0 3px rgba(24, 56, 100, 0.12);
}

/* ==========================================================================
   MALLA DE FOTOS DEL ÁLBUM (RESPONSIVA COMPUTADORA Y MÓVIL)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.4rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--c-border-subtle);
  box-shadow: 0 4px 14px rgba(18, 40, 73, 0.06);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 12px 28px rgba(18, 40, 73, 0.16);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 40, 73, 0.92) 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(14, 30, 54, 0.95);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.is-active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption-text {
  color: #ffffff;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN FLOTANTE INFERIOR
   ========================================================================== */
.floating-bottom-bar {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 2rem);
  max-width: 400px;
  background: rgba(18, 40, 73, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 16px 36px rgba(14, 30, 54, 0.4);
}

.bottom-tab-btn {
  color: #dce7f7;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.bottom-tab-btn svg {
  width: 16px;
  height: 16px;
}

.bottom-tab-btn:hover, .bottom-tab-btn.is-active-tab {
  background: var(--c-lemon-gold);
  color: var(--c-navy-dark);
}

/* Notificación Toast */
.toast-msg {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--c-navy-deep);
  color: #ffffff;
  border: 1px solid var(--c-border-gold);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 100000;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-msg.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 480px) {
  .hero-parents-honor { padding: 0.9rem; }
  .parents-names { font-size: 1.45rem; }
}
