/* ==========================================================================
   ESTILOS COMPLETOS Y AUTÓNOMOS - INVITACIÓN DE BODA WILLINGTON & LAURA
   Tema Botánico: Verde Eucalipto & Salvia / Olivo con Acentos Dorados
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Variables Globales y Paleta Eucalipto */
:root {
  --color-bg: #FAF8F5;
  --color-card-bg: rgba(255, 255, 255, 0.95);
  
  /* Verde Eucalipto / Salvia / Olivo */
  --color-eucalyptus: #5E775B;
  --color-eucalyptus-dark: #455A43;
  --color-eucalyptus-light: #8DA48B;
  --color-eucalyptus-subtle: #EDF3EC;
  --color-sage: #7D917A;
  --color-sage-light: #E8EFE7;
  
  /* Tonos Dorados */
  --color-gold: #C5A059;
  --color-gold-dark: #8A6A43;
  --color-gold-light: #EADCB9;
  --color-gold-hover: #735532;
  
  /* Tipografía y Neutros */
  --color-text-main: #2A2E2B;
  --color-text-muted: #5E6660;
  --color-text-light: #8F9991;
  --color-border: #E0E8DF;
  --color-rose-bg: #FDF4F4;
  --color-rose-border: #F0CECE;
  --color-rose-text: #963A3A;
  
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Alex Brush', 'Pinyon Script', 'Brush Script MT', cursive;
}

/* Reset Global y Protección de SVGs */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background: var(--color-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(224, 235, 222, 0.45) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(234, 220, 185, 0.3) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.7) 0px, transparent 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

/* Protección Estricta de SVGs */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

.icon-xs { width: 14px; height: 14px; min-width: 14px; max-height: 14px; }
.icon-sm { width: 18px; height: 18px; min-width: 18px; max-height: 18px; }
.icon-md { width: 24px; height: 24px; min-width: 24px; max-height: 24px; }
.icon-lg { width: 32px; height: 32px; min-width: 32px; max-height: 32px; }
.icon-xl { width: 48px; height: 48px; min-width: 48px; max-height: 48px; }
.icon-ornament { width: 150px; height: 30px; max-width: 180px; max-height: 36px; }
.icon-eucalyptus { width: 40px; height: 40px; min-width: 40px; max-height: 40px; }

/* Tipografías */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-script { font-family: var(--font-script); }

/* ==========================================================================
   SOBRE 3D ULTRA-REALISTA & ANIMACIÓN COREOGRAFIADA
   ========================================================================== */
#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 45%, rgba(254, 252, 249, 0.98) 0%, rgba(230, 238, 228, 0.99) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1), filter 1.0s ease, visibility 1.0s ease, transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter, visibility;
  cursor: pointer;
}

#envelope-overlay.opened {
  opacity: 0;
  filter: blur(4px);
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.06);
}

.envelope-instruction {
  text-align: center;
  margin-bottom: 1.5rem;
  user-select: none;
}

.envelope-wrapper {
  position: relative;
  width: 92vw;
  max-width: 560px;
  height: 350px;
  perspective: 1600px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (max-width: 600px) {
  .envelope-wrapper {
    max-width: 92vw;
    height: 270px;
  }
}

.envelope-wrapper:hover {
  transform: translateY(-6px) rotateX(2deg);
}

.envelope-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #FAF7F2 0%, #F4EDE2 50%, #ECE3D4 100%);
  border-radius: 18px;
  box-shadow: 
    0 30px 60px -15px rgba(50, 70, 48, 0.35),
    0 15px 25px -10px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1.5px rgba(212, 175, 95, 0.4);
  overflow: visible;
  transform-style: preserve-3d;
}

/* Forro Interior */
.envelope-liner {
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, #EAE2D3 0%, #D8CEBC 100%);
  border-radius: 14px;
  z-index: 1;
}

/* Carta Interna */
.envelope-letter {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  bottom: 14px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 175, 95, 0.3);
  transform: translateY(35px) scale(0.96);
  opacity: 0;
  transition: transform 1.3s cubic-bezier(0.25, 1, 0.5, 1) 1.0s, opacity 0.8s ease 1.0s, box-shadow 1.3s ease 1.0s;
  will-change: transform, opacity, box-shadow;
}

.envelope-letter::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(212, 175, 95, 0.5);
  border-radius: 8px;
  pointer-events: none;
}

/* Animación de Salida de la Carta (Inicia a los 1.0s tras abrirse la solapa) */
.envelope-wrapper.is-opening .envelope-letter {
  transform: translateY(-145px) scale(1.06);
  opacity: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), 0 10px 20px rgba(94, 119, 91, 0.2);
  z-index: 5;
}

@media (max-width: 600px) {
  .envelope-wrapper.is-opening .envelope-letter {
    transform: translateY(-100px) scale(1.05);
  }
}

/* Bolsillo Frontal 3D */
.envelope-pocket {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F9F5EE 0%, #F2E9DC 100%);
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 0 18px 18px;
  z-index: 3;
  box-shadow: inset 0 -3px 8px rgba(0, 0, 0, 0.04);
}

.envelope-pocket::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Solapa Superior con Giro 3D */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, #FAF6EE 0%, #EFE5D5 60%, #E2D3BE 100%);
  clip-path: polygon(0 0, 100% 0, 50% 58%);
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 18px 18px 0 0;
}

.envelope-flap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 95, 0.8), transparent);
}

.envelope-wrapper.is-opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
}

/* Sello de Cera 3D */
.wax-seal {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #FFF4CC 0%, #D4AF5F 35%, #966B24 75%, #593D0F 100%);
  border: 3px solid #FFF3C4;
  box-shadow: 
    0 12px 30px rgba(50, 70, 48, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 4px 8px rgba(255, 255, 255, 0.7),
    inset 0 -4px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #382405;
  z-index: 6;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, filter 0.5s ease;
}

@media (max-width: 600px) {
  .wax-seal {
    width: 82px;
    height: 82px;
    top: 56%;
  }
}

.envelope-wrapper:hover .wax-seal {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 16px 36px rgba(50, 70, 48, 0.55), inset 0 4px 8px rgba(255, 255, 255, 0.8);
}

.envelope-wrapper.is-opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.2) translateY(-10px);
  filter: blur(4px);
  pointer-events: none;
}

.wax-seal-inner {
  width: 82%;
  height: 82%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px;
}

.wax-monogram {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6), 0 -1px 1px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.wax-seal-amp {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: #5E3D12;
  margin: 0 1px;
}

/* Marco Geométrico Dorado y Follaje Fine-Art */
.envelope-fineart-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  filter: drop-shadow(0 4px 10px rgba(70, 55, 25, 0.18));
}

.envelope-wrapper:hover .envelope-fineart-svg {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(70, 55, 25, 0.28));
}

.envelope-wrapper.is-opening .envelope-fineart-svg {
  transform: scale(1.1);
  opacity: 0;
  filter: blur(4px);
}

/* Marco Fine-Art para Fotografía de los Novios */
.couple-photo-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px;
  background: #FAF6F0;
  border-radius: 1.5rem;
  border: 1.5px solid var(--color-gold);
  box-shadow: 
    0 16px 36px -8px rgba(94, 119, 91, 0.22),
    0 6px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.couple-photo-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 20px 42px -6px rgba(94, 119, 91, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.06);
}

.couple-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  aspect-ratio: 4 / 3.3;
  background: #2D3E2C;
}

@media (min-width: 640px) {
  .couple-photo-frame {
    aspect-ratio: 4 / 3.1;
  }
}

.couple-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.couple-photo-wrapper:hover .couple-photo-img {
  transform: scale(1.03);
}

.couple-photo-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.2rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* ==========================================================================
   ESTRUCTURA BOTÁNICA Y COMPONENTES DE LA PÁGINA
   ========================================================================== */

.wedding-container {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wedding-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -8px rgba(94, 119, 91, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  padding: 2rem 1.5rem;
  margin-bottom: 2.25rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
  .wedding-card {
    padding: 2.75rem 2.25rem;
  }
}

.gold-frame {
  border: 1px solid var(--color-border);
  position: relative;
}

.gold-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(125, 145, 122, 0.4);
  border-radius: inherit;
  pointer-events: none;
}

/* Divisores Botánicos de Eucalipto */
.botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.25rem auto;
  opacity: 0.9;
}

.botanical-divider::before,
.botanical-divider::after {
  content: '';
  height: 1px;
  width: 50px;
  background: linear-gradient(to right, transparent, var(--color-eucalyptus-light), transparent);
}

/* Hero */
.hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1rem 2.5rem 1rem;
  position: relative;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--color-text-main);
  margin: 0.75rem 0;
}

@media (min-width: 640px) {
  .hero-names { font-size: 4.75rem; }
}

@media (min-width: 1024px) {
  .hero-names { font-size: 5.75rem; }
}

.hero-ampersand {
  font-family: var(--font-script);
  color: var(--color-eucalyptus);
  font-size: 4rem;
  margin: 0 0.5rem;
  display: inline-block;
}

@media (min-width: 640px) {
  .hero-ampersand { font-size: 5.5rem; }
}

/* Insignia Invitado */
.invitation-badge {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px -4px rgba(94, 119, 91, 0.15);
  max-width: 480px;
  margin: 1.5rem auto 0 auto;
  text-align: center;
}

.invitation-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-eucalyptus-dark);
  margin-bottom: 0.35rem;
}

.invitation-badge-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.invitation-badge-passes {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-eucalyptus-subtle);
  border: 1px solid rgba(125, 145, 122, 0.45);
  color: var(--color-eucalyptus-dark);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contador */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 420px;
  margin: 1.5rem auto;
}

@media (min-width: 640px) {
  .countdown-grid { gap: 0.85rem; }
}

.countdown-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 0.85rem 0.35rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(94, 119, 91, 0.08);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-eucalyptus-dark);
  line-height: 1;
  display: block;
}

@media (min-width: 640px) {
  .countdown-number { font-size: 2.25rem; }
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-top: 0.35rem;
  display: block;
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-eucalyptus-dark) 0%, #364834 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(69, 90, 67, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4A6347 0%, #2A3828 100%);
  box-shadow: 0 6px 18px rgba(69, 90, 67, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #fbfdfa;
  border-color: var(--color-eucalyptus);
  color: var(--color-eucalyptus-dark);
}

.btn-gmaps {
  background: linear-gradient(135deg, #108954 0%, #08663C 100%);
  color: #ffffff;
}

.btn-waze {
  background: linear-gradient(135deg, #2378D8 0%, #15559E 100%);
  color: #ffffff;
}

/* Tarjetas de Ubicación */
.venues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .venues-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.venue-subcard {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Timeline */
.timeline-container {
  max-width: 520px;
  margin: 1.5rem auto 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-eucalyptus-light), #E8EFE7);
}

.timeline-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #ffffff;
  border: 2px solid var(--color-eucalyptus);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-eucalyptus-dark);
  box-shadow: 0 4px 10px rgba(94, 119, 91, 0.2);
  z-index: 2;
  position: relative;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  flex: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.timeline-time {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-eucalyptus-dark);
  background: var(--color-eucalyptus-subtle);
  border: 1px solid var(--color-eucalyptus-light);
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.35rem;
}

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

.timeline-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Dress Code */
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .dresscode-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dresscode-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dresscode-alert {
  background: var(--color-rose-bg);
  border: 1px solid var(--color-rose-border);
  color: var(--color-rose-text);
  border-radius: 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 1rem;
}

.palette-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.palette-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.palette-swatch:hover {
  transform: scale(1.12);
}

.palette-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 68px;
  line-height: 1.15;
}

/* Lluvia de Sobres */
.gift-card {
  background: linear-gradient(145deg, #ffffff 0%, #F8FAF7 100%);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(94, 119, 91, 0.1), 0 4px 12px rgba(0, 0, 0, 0.02);
  max-width: 560px;
  margin: 0 auto;
}

.gift-icon-box {
  width: 64px;
  height: 64px;
  background: var(--color-eucalyptus-subtle);
  border: 1px solid var(--color-eucalyptus-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-eucalyptus-dark);
  margin: 0 auto 1.25rem auto;
  box-shadow: inset 0 2px 6px rgba(94, 119, 91, 0.12);
}

.gift-highlight {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-eucalyptus-dark);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Formulario RSVP */
.rsvp-form-container {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #CFD8CE;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-eucalyptus);
  box-shadow: 0 0 0 3px rgba(94, 119, 91, 0.2);
  outline: none;
}

.rsvp-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.rsvp-radio-card {
  border: 2px solid #D6E0D5;
  border-radius: 1rem;
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rsvp-radio-card:hover {
  border-color: var(--color-eucalyptus);
}

.rsvp-radio-card.is-selected {
  border-color: var(--color-eucalyptus-dark);
  background: var(--color-eucalyptus-subtle);
  box-shadow: 0 4px 12px rgba(94, 119, 91, 0.15);
}

/* Botón Flotante de Música */
.floating-music-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-eucalyptus);
  box-shadow: 0 6px 18px rgba(94, 119, 91, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-eucalyptus-dark);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(94, 119, 91, 0.35);
}

.floating-music-btn.is-playing {
  border-color: var(--color-gold);
  box-shadow: 0 6px 22px rgba(197, 160, 89, 0.35);
}

.animate-spin-slow {
  animation: spinSlow 6s linear infinite;
}

.ring-2.ring-amber-400 {
  box-shadow: 0 0 0 2.5px #D4AF5F, 0 8px 24px rgba(94, 119, 91, 0.3) !important;
  border-color: #C5A059 !important;
}

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

.audio-bar {
  display: inline-block;
  width: 2px;
  height: 12px;
  background-color: var(--color-eucalyptus-dark);
  border-radius: 2px;
  animation: audioWave 1s ease-in-out infinite alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes audioWave {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Helpers */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
