@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #0a0a0a;
  color: #e8e4dc;
  overflow-x: hidden;
  line-height: 1.6;
}

a,
button {
  outline: none;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

section {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* [FIX #8] Reset de img */
img {
  max-width: 100%;
  display: block;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ============ BOTÓN MÚSICA ============ */
.btn-musica {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #d4af7d;
  background: rgba(10, 10, 10, 0.9);
  color: #d4af7d;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-musica:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

.btn-musica.playing {
  background: #d4af7d;
  color: #0a0a0a;
  animation: pulse 2s infinite;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 50%, #151515 100%);
  position: relative;
  padding: 40px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(212, 175, 125, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(114, 47, 55, 0.1) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.hero-ornament {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.ornament-line {
  width: 120px;
  height: 20px;
}

.hero-ornament-bottom {
  margin-top: 40px;
  margin-bottom: 0;
}

.hero-content {
  text-align: center;
  z-index: 10;
  animation: fadeInUp 1s ease-out;
}

.hero-preheader {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #d4af7d;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.hero-names {
  font-family: "Cinzel", serif;
  font-size: 42px;
  font-weight: 500;
  color: #f5f0e8;
  line-height: 1.15;
  margin-bottom: 30px;
}

.hero-amp {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: #d4af7d;
  font-style: italic;
  margin: 15px 0;
  animation: float 3s ease-in-out infinite;
}

.hero-date {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #a09080;
  margin-bottom: 45px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 45px;
  border: 1px solid #d4af7d;
  color: #d4af7d;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  background: transparent;
}

.hero-btn:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

/* ============ INTRO ============ */
.intro {
  padding: 70px 20px;
  background: #0d0d0d;
  text-align: center;
}

.intro-crown {
  font-size: 18px;
  color: #d4af7d;
  margin-bottom: 25px;
  animation: pulse 2s infinite;
}

.intro-parents {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: #807060;
  margin-bottom: 25px;
}

.intro-names {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: #c0b0a0;
  margin-bottom: 10px;
}

.intro-names span {
  color: #d4af7d;
  margin: 0 10px;
}

/* ============ COUNTDOWN ============ */
.countdown {
  padding: 60px 20px;
  background: #0a0a0a;
  text-align: center;
}

.countdown-title {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 4px;
  color: #a09080;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-number {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 28px;
  font-weight: 600;
  color: #d4af7d;
  margin-bottom: 8px;
}

.count-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #605040;
}

/* ============ FRASE ============ */
.frase {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
  text-align: center;
  position: relative;
}

.frase-quote {
  font-family: "Cinzel", serif;
  font-size: 60px;
  color: rgba(212, 175, 125, 0.2);
  line-height: 1;
  margin-bottom: 20px;
}

.frase-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
  color: #f5f0e8;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 25px;
}

.frase-autor {
  font-size: 11px;
  letter-spacing: 3px;
  color: #d4af7d;
}

/* ============ CEREMONIA ============ */
.ceremonia {
  padding: 60px 20px;
  background: #0d0d0d;
}

.ceremonia-badge {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #d4af7d;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 125, 0.2);
}

.ceremonia-content {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid rgba(212, 175, 125, 0.15);
  background: rgba(212, 175, 125, 0.02);
}

.ceremonia-icon {
  font-size: 28px;
  color: #d4af7d;
  margin-bottom: 20px;
}

.ceremonia-lugar {
  font-family: "Cinzel", serif;
  font-size: 20px;
  color: #f5f0e8;
  margin-bottom: 10px;
}

.ceremonia-direccion {
  font-size: 13px;
  color: #806050;
  margin-bottom: 8px;
}

.ceremonia-hora {
  font-family: "Cinzel", serif;
  font-size: 14px;
  color: #d4af7d;
  margin-bottom: 20px;
}

.ceremonia-mapa {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(212, 175, 125, 0.4);
  color: #d4af7d;
  font-size: 11px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.ceremonia-mapa:hover {
  background: rgba(212, 175, 125, 0.1);
}

/* ============ RECEPCION ============ */
.recepcion {
  padding: 60px 20px;
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.recepcion-badge {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #d4af7d;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 125, 0.2);
}

.recepcion-content {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid rgba(212, 175, 125, 0.15);
  background: rgba(212, 175, 125, 0.02);
}

.recepcion-icon {
  font-size: 28px;
  color: #d4af7d;
  margin-bottom: 20px;
}

.recepcion-lugar {
  font-family: "Cinzel", serif;
  font-size: 20px;
  color: #f5f0e8;
  margin-bottom: 10px;
}

.recepcion-direccion {
  font-size: 13px;
  color: #806050;
  margin-bottom: 8px;
}

.recepcion-hora {
  font-size: 13px;
  color: #d4af7d;
  margin-bottom: 5px;
}

.recepcion-mapa {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  border: 1px solid rgba(212, 175, 125, 0.4);
  color: #d4af7d;
  font-size: 11px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.recepcion-mapa:hover {
  background: rgba(212, 175, 125, 0.1);
}

/* ============ DRESSCODE ============ */
.dresscode {
  padding: 60px 20px;
  background: #0a0a0a;
  text-align: center;
}

.dresscode-header {
  margin-bottom: 25px;
}

.dresscode-icon {
  font-size: 16px;
  color: #d4af7d;
  margin-bottom: 15px;
}

.dresscode-title {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #a09080;
  text-transform: uppercase;
}

.dresscode-formal {
  font-family: "Cinzel", serif;
  font-size: 26px;
  color: #f5f0e8;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.dresscode-nota {
  font-size: 12px;
  color: #705040;
  font-style: italic;
  margin-bottom: 30px;
}

.dresscode-palette {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.palette-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* ============ ITINERARIO ============ */
.itinerario {
  padding: 60px 20px;
  background: #0d0d0d;
}

.itinerario-title {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #a09080;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.itinerario-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.itinerario-item {
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid rgba(212, 175, 125, 0.08);
}

.itinerario-item:last-child {
  border-bottom: none;
}

.itinerario-content {
  text-align: center;
}

.itinerario-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 15px;
}

.itinerario-row .itinerario-time,
.itinerario-row .itinerario-detail {
  width: 140px;
}

.itinerario-time {
  font-family: "Cinzel", serif;
  font-size: 14px;
  color: #d4af7d;
  text-align: center;
}

.itinerario-detail {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.itinerario-detail strong {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #e8e4dc;
  margin-bottom: 3px;
}

.itinerario-detail span {
  font-size: 11px;
  color: #705040;
}

/* ============ GALERÍA DE INVITADOS ============ */
/* [FIX #4] Sección .galeria no tenía estilos base */
.galeria {
  padding: 60px 20px;
  background: #0a0a0a;
}

.galeria-container {
  text-align: center;
}

.galeria-icon {
  font-size: 1.5rem;
  color: #d4af7d;
  margin-bottom: 15px;
}

.galeria-titulo {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #d4af7d;
  margin-bottom: 10px;
}

.galeria-texto {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  color: #807060;
  margin-bottom: 15px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.galeria-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

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

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #705040;
  padding: 30px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
}

.galeria-upload {
  margin-top: 15px;
}

.galeria-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #d4af7d;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-btn:hover {
  background: #c9a46a;
  transform: translateY(-2px);
}

.galeria-preview {
  margin-top: 15px;
}

.galeria-preview-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.preview-item {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item::after {
  content: "×";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-item:hover::after {
  opacity: 1;
}

.galeria-preview-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.galeria-submit {
  padding: 10px 20px;
  background: #d4af7d;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-submit:hover {
  background: #c9a46a;
}

.galeria-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.galeria-cancel {
  padding: 10px 20px;
  background: transparent;
  color: #807060;
  border: 1px solid #333;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-cancel:hover {
  background: rgba(212, 175, 125, 0.1);
}

/* ============ REGALOS ============ */
.regalos {
  padding: 60px 20px;
  background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
  text-align: center;
}

.regalos-header {
  margin-bottom: 25px;
}

.regalos-icon {
  font-size: 16px;
  color: #d4af7d;
  margin-bottom: 15px;
}

.regalos-title {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #a09080;
  text-transform: uppercase;
}

.regalos-text {
  font-size: 13px;
  color: #907060;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.regalos-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
  margin: 0 auto;
}

.regalos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  border: 1px solid #d4af7d;
  color: #d4af7d;
  font-size: 11px;
  letter-spacing: 2px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.regalos-btn:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

/* ============ HASHTAG ============ */
.hashtag {
  padding: 70px 20px;
  background: #0a0a0a;
  text-align: center;
}

.hashtag-content {
  max-width: 300px;
  margin: 0 auto;
}

.hashtag-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: #605040;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hashtag-tag {
  font-family: "Cinzel", serif;
  font-size: 22px;
  color: #d4af7d;
  margin-bottom: 15px;
}

.hashtag-social {
  font-size: 13px;
  color: #807060;
}

/* ============ RSVP ============ */
/* [FIX #7] Removido border suelto que era inconsistente con las demás secciones */
.rsvp {
  padding: 60px 20px;
  background: #0d0d0d;
  text-align: center;
}

.rsvp-header {
  margin-bottom: 25px;
}

.rsvp-icon {
  font-size: 16px;
  color: #d4af7d;
  margin-bottom: 15px;
}

.rsvp-title {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 4px;
  color: #a09080;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.rsvp-text {
  font-size: 14px;
  color: #e8e4dc;
  margin-bottom: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-include {
  font-size: 12px;
  color: #705040;
  margin-bottom: 30px;
}

/* [FIX #3] Clase .rsvp-texto faltaba — usada en el token RSVP */
.rsvp-texto {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-style: italic;
  color: #c0b0a0;
  margin-bottom: 25px;
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 35px;
  background: #d4af7d;
  color: #0a0a0a;
  border: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.rsvp-btn:hover {
  background: #c9a46a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 125, 0.25);
}

.rsvp-form {
  text-align: center;
}

.rsvp-cantidad {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  color: #807060;
  margin-bottom: 15px;
}

.rsvp-numeros {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.rsvp-numeros button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d4af7d;
  background: transparent;
  color: #d4af7d;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-numeros button:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

.rsvp-numeros span {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: #d4af7d;
}

.rsvp-info {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  color: #705040;
  margin-bottom: 20px;
}

.rsvp-botones {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rsvp-botones .rsvp-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rsvp-botones .rsvp-btn.si {
  background: #10b981;
  color: #fff;
  border: none;
}

.rsvp-botones .rsvp-btn.si:hover {
  background: #059669;
}

.rsvp-botones .rsvp-btn.no {
  background: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
}

.rsvp-botones .rsvp-btn.no:hover {
  background: #ef4444;
  color: #fff;
}

.rsvp-exito {
  text-align: center;
  padding: 30px;
}

.rsvp-exito i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 15px;
  display: block;
}

.rsvp-exito p {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  color: #d4af7d;
}

/* ============ FOOTER ============ */
.footer {
  padding: 70px 20px 50px;
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
  text-align: center;
}

.footer-ornament {
  font-size: 18px;
  color: #d4af7d;
  margin-bottom: 25px;
  animation: pulse 2s infinite;
}

.footer-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: #705040;
  margin-bottom: 20px;
}

.footer-names {
  font-family: "Cinzel", serif;
  font-size: 24px;
  color: #f5f0e8;
  margin-bottom: 15px;
}

.footer-amp {
  color: #d4af7d;
  margin: 0 12px;
  font-style: italic;
}

.footer-date {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: #d4af7d;
  margin-bottom: 25px;
}

.footer-message {
  font-size: 12px;
  font-style: italic;
  color: #605040;
}

.footer-markentas {
  margin-top: 40px;
}

.footer-markentas-link {
  display: inline-block;
  padding: 12px 25px;
  background: #d4af7d;
  color: #fff;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.footer-markentas-link:hover {
  background: #fff;
  color: #d4af7d;
  transform: translateY(-2px);
}

.footer-panel {
  margin-top: 25px;
}

.footer-panel-link {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #d4af7d;
  color: #d4af7d;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer-panel-link:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 150px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ============ SALUDOS FLOAT ============ */
/* [FIX #5] Movido a bottom: 150px para no superponerse con whatsapp (bottom: 90px) ni música (bottom: 25px) */
.saludos-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #d4af7d;
  color: #0a0a0a;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 125, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.saludos-float:hover {
  transform: scale(1.1);
  background: #c9a46a;
}

.saludos-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ============ MODAL ============ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(145deg, #151515 0%, #0d0d0d 100%);
  border: 1px solid rgba(212, 175, 125, 0.2);
  padding: 40px 30px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
}

/* [FIX #1] Clase .modal-cerrar faltaba — botón cerrar en ambos modales */
.modal-cerrar {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(212, 175, 125, 0.1);
  border: 1px solid rgba(212, 175, 125, 0.2);
  border-radius: 50%;
  color: #d4af7d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal-cerrar:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

.modal-header {
  font-size: 20px;
  color: #d4af7d;
  margin-bottom: 20px;
}

/* [FIX #2] Clase .modal-titulo faltaba — título del modal de saludos */
.modal-titulo {
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-weight: 400;
  color: #d4af7d;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.modal-title {
  font-family: "Cinzel", serif;
  font-size: 16px;
  color: #f5f0e8;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.modal-body {
  margin-bottom: 30px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 175, 125, 0.08);
}

.modal-row:last-child {
  border-bottom: none;
}

.modal-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #605040;
}

.modal-value {
  font-size: 13px;
  color: #d4af7d;
  text-align: right;
}

.modal-btn {
  padding: 14px 40px;
  background: transparent;
  border: 1px solid #d4af7d;
  color: #d4af7d;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background: #d4af7d;
  color: #0a0a0a;
}

/* ============ MODAL SALUDOS ============ */
.saludos-modal {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.saludos-lista {
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
  margin-bottom: 15px;
}

.saludos-lista::-webkit-scrollbar {
  width: 4px;
}

.saludos-lista::-webkit-scrollbar-track {
  background: #0d0d0d;
}

.saludos-lista::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 125, 0.3);
  border-radius: 2px;
}

.saludos-card {
  background: #151515;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #333;
  text-align: left;
}

.saludos-card-nombre {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4af7d;
  margin-bottom: 5px;
}

.saludos-card-mensaje {
  font-size: 0.85rem;
  color: #e8e4dc;
  line-height: 1.5;
}

.saludos-card-fecha {
  font-size: 0.7rem;
  color: #807060;
  margin-top: 8px;
}

.saludos-vacio {
  text-align: center;
  color: #807060;
  padding: 30px;
  font-family: "Cormorant Garamond", serif;
}

.saludos-form {
  border-top: 1px solid #333;
  padding-top: 15px;
}

.saludos-input,
.saludos-textarea {
  width: 100%;
  padding: 12px 15px;
  background: #151515;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e8e4dc;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}

.saludos-input:focus,
.saludos-textarea:focus {
  outline: none;
  border-color: #d4af7d;
}

.saludos-input::placeholder,
.saludos-textarea::placeholder {
  color: #705040;
}

.saludos-textarea {
  resize: none;
}

.saludos-btn {
  width: 100%;
  padding: 12px;
  background: #d4af7d;
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.saludos-btn:hover {
  background: #c9a46a;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 125, 0.2);
  border: none;
  border-radius: 50%;
  color: #d4af7d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3001;
  transition: all 0.3s ease;
}

.lightbox-cerrar:hover {
  background: rgba(212, 175, 125, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 125, 0.2);
  border: none;
  color: #d4af7d;
  font-size: 1.5rem;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(212, 175, 125, 0.4);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* ============ NOTIFICACIONES ============ */
#notificaciones {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notificacion {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #e8e4dc;
  padding: 18px 32px;
  border-radius: 2px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation:
    notifSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    notifFadeOut 0.5s ease 2.5s forwards;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  min-width: 300px;
  text-align: center;
  border: 1px solid #d4af7d;
}

.notificacion::before,
.notificacion::after {
  content: "✦";
  font-size: 8px;
  color: #d4af7d;
}

.notificacion.exito {
  border-color: #d4af7d;
}

.notificacion.error {
  border-color: #c0392b;
}

.notificacion i {
  color: #d4af7d;
  font-size: 16px;
}

.notificacion.exito i {
  color: #d4af7d;
}

.notificacion.error i {
  color: #e74c3c;
}

@keyframes notifSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notifFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero-names {
    font-size: 38px;
  }

  .countdown-grid {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-names {
    font-size: 34px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .count-number {
    font-size: 24px;
  }

  .frase-text {
    font-size: 18px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* [FIX #5] Reposicionar flotantes en mobile */
  .btn-musica {
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-float {
    right: 20px;
    bottom: 80px;
    width: 46px;
    height: 46px;
  }

  .saludos-float {
    right: 20px;
    bottom: 140px;
    width: 46px;
    height: 46px;
  }

  .modal-content {
    padding: 35px 20px;
  }

  .saludos-modal {
    padding: 35px 20px;
  }

  .notificacion {
    min-width: auto;
  }

  .rsvp-numeros span {
    font-size: 1.6rem;
  }
}
