/* Colores y tipografía idénticos a nuestraboda.love/diseno1 (Porto + Elementor) */
:root {
  --color-bg: #f4eee5;
  --color-primary: #d79846;
  --color-secondary: #d79846;
  --color-text: #757575;
  --color-text-dark: #222529;
  --color-white: #ffffff;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Montserrat', sans-serif;
  --header-height: 90px;
  --container-width: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== PORTADA (desvanece al hacer scroll) ========== */
body.portada-active { overflow: hidden; }
.portada {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}
.portada.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.portada-bg {
  position: absolute;
  inset: 0;
  background: #f5f0e8;
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(212, 180, 140, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(212, 180, 140, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(212, 180, 140, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(212, 180, 140, 0.12) 0%, transparent 50%);
}
.portada-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.portada-icon.portada-cross {
  display: inline-block;
  color: #b8922e;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0.25rem;
}
.portada-story {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b8922e;
  margin: 0.4rem 0 0.8rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.portada-invite {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 5vw, 1.3rem);
  color: #b8922e;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}
.portada-invite-boda {
  font-size: clamp(2.2rem, 12vw, 3.2rem);
  display: block;
  line-height: 1.1;
}
.portada-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.portada-fecha {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #b8922e;
  letter-spacing: 0.05em;
  font-family: cursive;
}
.portada-sep {
  color: #b8922e;
  font-weight: 300;
  opacity: 0.8;
}
.portada-initials {
  font-family: var(--font-script);
    font-size: 1.35rem;
    color: #b8922e;
    position: absolute;
    z-index: 2;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.portada-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.portada-dots {
  font-size: 0.5rem;
  color: var(--color-text);
  letter-spacing: 0.2em;
}
/* Carta (tarjeta) con esquinas redondeadas y sello dorado centrado */
.portada-carta {
  position: relative;
  width: min(280px, 82vw);
  margin: 0 auto 1.5rem;
}
.portada-carta-body {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(220px, 52vw);
  background: linear-gradient(180deg, #f5f3ef 0%, #eae8e4 50%, #e2e0dc 100%);
  border-radius: 12px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Sobre: 4 solapas triangulares con tonos ligeramente distintos */
.portada-carta-body::before,
.portada-carta-body::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}
/* Solapa superior (triángulo apuntando abajo) */

/* Solapa inferior (triángulo apuntando arriba) */
.portada-carta-body::after {
  background:
  linear-gradient(to top right, #e0ddd7 49.8%, transparent 50%) bottom left / 90% 100% no-repeat,
  linear-gradient(to top left, #e0ddd7 49.8%, transparent 50%) bottom right / 90% 100% no-repeat;
  z-index: 0;
}
.portada-carta-seal {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #b8922e;
  background: radial-gradient(circle at 35% 35%, #e8d4a0 0%, #c9a84a 30%, #9a7b20 100%);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.28),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portada-carta-seal:hover {
  transform: scale(1.05);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.32),
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(0, 0, 0, 0.18);
}
.portada-seal-initials {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #3d2a0a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}
.portada-cta {
  font-family: var(--font-script);
  font-size: clamp(1rem, 4vw, 1.2rem);
  color: #b8922e;
  margin: 0;
  line-height: 1.5;
}
.portada-cta-alt {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text);
  font-style: italic;
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.page-wrapper { min-height: 100vh; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 10px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(231, 188, 179, 0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 10px;
}
.nav-main { flex: 1; }
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
}
.menu a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  padding: 0.4rem 0;
  position: relative;
}
.header.scrolled .menu a { color: var(--color-text); }
.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s;
}
.menu a:hover::after { width: 100%; }
.menu-separator {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.5);
}
.header.scrolled .menu-separator { background: var(--color-text); }
.menu-separator span { display: none; }
.logo { flex-shrink: 0; }
.logo img { height: 52px; width: auto; }
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: background 0.3s;
}
.header.scrolled .mobile-toggle span { background: var(--color-text); }
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 1rem;
}
.nav-panel.open { display: block; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .mobile-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Hero oculto hasta el clic; se revela a la vez que la portada se desvanece (sin color sólido) */
.hero .hero-bg,
.hero .hero-overlay,
.hero .hero-sparkles {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.hero.hero-revealed .hero-bg,
.hero.hero-revealed .hero-overlay,
.hero.hero-revealed .hero-sparkles {
  opacity: 1;
}
.hero .hero-content {
  opacity: 0;
  transition: opacity 0.5s ease-out 0.2s;
}
.hero.hero-revealed .hero-content {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Chispas / brillos animados solo en el hero */
.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-sparkle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.6),
    0 0 16px 4px rgba(255, 220, 180, 0.35);
  animation: hero-sparkle-twinkle 2.8s ease-in-out infinite;
  transform: scale(0.3);
}
.hero-sparkle:nth-child(odd) {
  width: 5px;
  height: 5px;
  animation-duration: 2.2s;
}
.hero-sparkle:nth-child(3n) {
  animation-duration: 3.2s;
  box-shadow:
    0 0 10px 3px rgba(255, 248, 220, 0.7),
    0 0 20px 6px rgba(255, 235, 200, 0.25);
}
.hero-sparkle:nth-child(2) { animation-delay: 0.4s; }
.hero-sparkle:nth-child(3) { animation-delay: 0.9s; }
.hero-sparkle:nth-child(4) { animation-delay: 0.2s; }
.hero-sparkle:nth-child(5) { animation-delay: 1.5s; }
.hero-sparkle:nth-child(6) { animation-delay: 0.7s; }
.hero-sparkle:nth-child(7) { animation-delay: 1.8s; }
.hero-sparkle:nth-child(8) { animation-delay: 0.1s; }
.hero-sparkle:nth-child(9) { animation-delay: 2s; }
.hero-sparkle:nth-child(10) { animation-delay: 0.5s; }
.hero-sparkle:nth-child(11) { animation-delay: 1.2s; }
.hero-sparkle:nth-child(12) { animation-delay: 0.3s; }
.hero-sparkle:nth-child(13) { animation-delay: 1.6s; }
.hero-sparkle:nth-child(14) { animation-delay: 0.8s; }
.hero-sparkle:nth-child(15) { animation-delay: 2.3s; }
.hero-sparkle:nth-child(16) { animation-delay: 0.6s; }
.hero-sparkle:nth-child(17) { animation-delay: 1.1s; }
.hero-sparkle:nth-child(18) { animation-delay: 1.9s; }
.hero-sparkle:nth-child(19) { animation-delay: 0.25s; }
.hero-sparkle:nth-child(20) { animation-delay: 1.4s; }
@keyframes hero-sparkle-twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 2rem);
  padding: calc(var(--header-height) + 1.5rem) 24px 1.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
/* "NOS CASAMOS" arriba, serif, pequeño */
.hero-tagline {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15rem;
}
/* Nombres en script, grandes */
.hero-names {
  margin: 0 0 0.2rem;
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 12vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
}
.hero-names .name { display: block; }
.hero-names .amp {
  font-family: initial;
  font-size: clamp(2rem, 8vw, 3rem);
  display: block;
  margin: 0.05em 0;
  font-family: 70px;
}
/* Frase regalo: sans-serif, más pequeña */
.hero-quote {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}
/* Countdown (oculto) */
.countdown {
  display: none !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}
.countdown-value {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  font-family: var(--font-body);
}
.countdown-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
}
/* Iconos decorativos: corazón, diamante, corazón */
.hero-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}
.hero-decor-icon {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero-decor-diamond {
  font-size: 0.7rem;
  opacity: 0.9;
}
/* "Desliza" y chevron abajo */
.hero-desliza {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}
.hero-chevron {
  font-size: 1.2rem;
  line-height: 1;
  animation: hero-chevron-bounce 2s ease infinite;
}
@keyframes hero-chevron-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ========== SECTIONS & CARDS ========== */
.section {
  padding: 40px 0 40px;
}
.card {
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 35px 10px 35px;
  color: var(--color-text);
}
.card-presentation {
  padding: 60px 24px 70px;
  position: relative;
  overflow: hidden;
}
/* Trazos decorativos en las 4 esquinas */
.card-presentation::before,
.card-presentation::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--color-primary);
  border-style: solid;
  opacity: 0.4;
  pointer-events: none;
}
.card-presentation::before {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}
.card-presentation::after {
  top: 16px;
  right: 16px;
  border-width: 2px 2px 0 0;
}
/* Esquinas inferiores con un wrapper interno */
.card-presentation .presentation-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.card-presentation .presentation-corners::before,
.card-presentation .presentation-corners::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--color-primary);
  border-style: solid;
  opacity: 0.4;
}
.card-presentation .presentation-corners::before {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 2px 2px;
}
.card-presentation .presentation-corners::after {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

.section-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-text-dark);
}
.section-title-script {
  font-family: var(--font-script) !important;
  font-size: 32px !important;
  color: var(--color-secondary) !important;
  font-weight: 400 !important;
}
.section .card > .section-title-script:first-child { margin-bottom: 48px; }
.section-wedding-date .section-title-script,
.section-program .section-title-script,
.section-dress .section-title-script,
.section-gifts .section-title-script,
.section-gallery .section-title-script,
.section-rsvp .section-title-script {
  font-size: 46px !important;
}

.script {
  font-family: var(--font-script);
  font-size: 1.75rem;
  text-align: center;
  line-height: 1.5;
  color: var(--color-text-dark);
}

/* ========== PRESENTACIÓN ========== */
.section-presentation .card { max-width: 700px; margin: 0 auto; }
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0 0 2rem;
  text-align: center;
}
.parents-names {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 0.25rem;
  line-height: 1.6;
  color: var(--color-text);
}
.parents-role {
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

/* Divisor decorativo entre bloques de la presentación */
.presentation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.8rem 0;
  position: relative;
}
.presentation-divider::before,
.presentation-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(176, 125, 112, 0.35), transparent);
}
.divider-leaf {
  font-size: 0.65rem;
  color: var(--color-primary);
  opacity: 0.5;
  margin: 0 0.6rem;
}

/* Padrinos / testigos */
.sponsors-block {
  text-align: center;
  margin-bottom: 0.2rem;
}
.sponsors-names {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin: 0.15rem 0;
  line-height: 1.5;
}

/* Frase de cierre de la presentación */
.presentation-closing {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 0.5rem;
  text-align: center;
}
.presentation-heart {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-primary);
  opacity: 0.7;
}

.section-presentation .quote { margin: 2rem 0 0; }

@media (max-width: 600px) {
  .parents-grid { grid-template-columns: 1fr; }
}

/* ========== FECHA BODA ========== */
.wedding-date {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  margin-top: 0.5rem;
}
.date-part {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  color: var(--color-primary);
  text-align: center;
}
.date-part.month,
.date-part.weekday,
.date-part.year {
  padding: 5px 0 0;
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  min-width: 80px;
}
.date-part.day-num {
  font-size: 40px;
  line-height: 32px;
  margin: 0 32px;
  padding: 0;
  border: none;
  min-width: auto;
}

/* ========== COUNTDOWN BANNER (con fondo de imagen) ========== */
.section-countdown-banner {
  padding: 0 !important;
}
.countdown-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.countdown-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.countdown-banner-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.cb-sparkle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.5), 0 0 12px 4px rgba(255, 220, 180, 0.25);
  animation: hero-sparkle-twinkle 2.5s ease-in-out infinite;
}
.cb-sparkle:nth-child(odd) { animation-duration: 2s; }
.cb-sparkle:nth-child(2) { animation-delay: 0.5s; }
.cb-sparkle:nth-child(3) { animation-delay: 1.1s; }
.cb-sparkle:nth-child(4) { animation-delay: 0.3s; }
.cb-sparkle:nth-child(5) { animation-delay: 1.7s; }
.cb-sparkle:nth-child(6) { animation-delay: 0.8s; }
.cb-sparkle:nth-child(7) { animation-delay: 1.4s; }
.cb-sparkle:nth-child(8) { animation-delay: 2s; }
.countdown-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--color-white);
}
.cb-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--color-white);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.cb-countdown {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
}
.cb-value {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.cb-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}
.cb-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 5vw, 1.6rem);
  color: var(--color-white);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ========== UBICACIÓN ========== */
.location-section-title {
  margin-bottom: 0.3rem !important;
}
.location-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 2rem;
  line-height: 1.5;
}
.location-card-full {
  text-align: center;
  padding: 0 0 2rem !important;
  max-width: 500px;
  margin: 0 auto 2rem;
  overflow: hidden;
}
.location-card-full:last-of-type {
  margin-bottom: 0;
}
.location-map-wrap {
  width: 100%;
  height: 220px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.leaflet-map {
  width: 100%;
  height: 100%;
}
/* Tiles en blanco y negro */
.leaflet-map .leaflet-tile-pane {
  filter: grayscale(100%) contrast(1.05);
}
/* Marcador dorado personalizado */
.gold-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gold-marker-pin {
  width: 30px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}
.leaflet-control-attribution { display: none !important; }
.location-name-script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 0.4rem;
}
.location-divider {
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto 1rem;
  opacity: 0.4;
}
.location-venue {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 0.3rem;
}
.location-time {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}
.location-address {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 0.2rem;
  padding: 0 1rem;
}
.location-ref {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.8;
  margin: 0 0 1rem;
  padding: 0 1rem;
}
/* Botón Ver mapa */
.btn-map {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.btn-map:hover {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

/* Trazos decorativos reutilizables en esquinas */
.card-corners {
  position: relative;
  overflow: hidden;
}
.card-corners::before,
.card-corners::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--color-primary);
  border-style: solid;
  opacity: 0.4;
  pointer-events: none;
}
.card-corners::before {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}
.card-corners::after {
  top: 16px;
  right: 16px;
  border-width: 2px 2px 0 0;
}
.card-corners .corner-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.card-corners .corner-deco::before,
.card-corners .corner-deco::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--color-primary);
  border-style: solid;
  opacity: 0.4;
}
.card-corners .corner-deco::before {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 2px 2px;
}
.card-corners .corner-deco::after {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

/* Card versículo bíblico */
.card-verse {
  max-width: 500px;
  margin: 2rem auto 0;
  padding: 2.5rem 1.5rem !important;
  text-align: center;
}
.verse-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin: 0 0 0.8rem;
}
.verse-ref {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ========== ESPERAMOS VERTE ========== */
.section-esperamos {
  padding: 0rem 0 1rem;
}
.esperamos-text {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 0.5rem;
}

/* ========== QUOTE BANNER (frase con foto B&N) ========== */
.section-quote-banner {
  padding: 0;
}
.quote-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
}
.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.quote-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
}
/* Divisor claro para fondos oscuros */
.presentation-divider-light::before,
.presentation-divider-light::after {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.presentation-divider-light .divider-leaf {
  color: rgba(255, 255, 255, 0.6);
}
.quote-banner-text {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  color: var(--color-white);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.quote-banner-ref {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ========== PHOTO CARD (imagen full-width con difuminado) ========== */
.section-photo-card {
  padding: 0;
  position: relative;
}
.photo-card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.photo-card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.photo-card-img-wrap::before,
.photo-card-img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 1;
  pointer-events: none;
}
.photo-card-img-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
}
.photo-card-img-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg), transparent);
}
.photo-card-title {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 6vw, 1.8rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0;
  padding: 1.5rem 1rem 0.8rem;
}
.photo-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* Trazos en las esquinas sobre la imagen */
.photo-card-corners {
  position: absolute;
  inset: 30px;
  z-index: 2;
  pointer-events: none;
}
.pc-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.6);
  border-style: solid;
}
.pc-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.pc-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.pc-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.pc-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* ========== PROGRAMA TIMELINE ========== */
.timeline {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.timeline-icon {
  font-size: 10px;
  line-height: 1;
}
.timeline-content {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
}
.timeline-time {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--color-text-dark);
}

/* ========== VESTIMENTA ========== */
.dress-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.dress-icon { font-size: 48px; }
.dress-code {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--color-text-dark);
}
.dress-note {
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
  margin: 0;
}

/* ========== REGALOS ========== */
.gifts-intro {
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}
.gifts-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gift-item {
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 4px;
  text-align: center;
}
.gift-icon { font-size: 32px; display: block; margin-bottom: 0.5rem; }
.gift-item p { margin: 0 0 0.5rem; color: var(--color-text); }
.bank-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  text-align: left;
  color: var(--color-text);
}
.bank-details p { margin: 0.5rem 0; }

/* ========== GALERÍA ========== */
.gallery-slider {
  position: relative;
  max-width: 600px;
  margin: 0 auto 1rem;
}
.slider-track { overflow: hidden; border-radius: 4px; }
.slider-slides {
  display: flex;
  transition: transform 0.4s ease;
}
.slide {
  min-width: 100%;
  margin: 0;
}
.slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.2s;
  z-index: 2;
}
.slider-btn:hover { background: var(--color-white); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-dots .dot.active { opacity: 1; }
.gallery-hashtag {
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

/* ========== RSVP ========== */
.rsvp-card {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem !important;
  text-align: center;
  overflow: hidden;
}
/* Flores decorativas en esquinas */
.rsvp-floral {
  position: absolute;
  font-size: 2.5rem;
  color: #b8922e;
  opacity: 0.15;
  pointer-events: none;
}
.rsvp-floral-tl { top: 10px; left: 10px; transform: rotate(-30deg); }
.rsvp-floral-tr { top: 10px; right: 10px; transform: rotate(30deg); }
.rsvp-floral-bl { bottom: 10px; left: 10px; transform: rotate(-150deg); }
.rsvp-floral-br { bottom: 10px; right: 10px; transform: rotate(150deg); }
.rsvp-cross {
  display: block;
  color: #b8922e;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.rsvp-intro {
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.rsvp-form {
  max-width: 360px;
  margin: 0 auto 1.5rem;
  text-align: left;
}
.rsvp-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}
.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s;
}
.rsvp-form input[type="text"]:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: #b8922e;
}
.rsvp-form textarea {
  resize: vertical;
}
.rsvp-radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.85rem;
}
.rsvp-radio input[type="radio"] {
  accent-color: #b8922e;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.rsvp-radio-label {
  color: var(--color-text-dark);
}
.btn-rsvp {
  display: block;
  width: 100%;
  padding: 16px 48px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, #b8922e 0%, #8a6d1e 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(184, 146, 46, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 1.5rem;
}
.btn-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 146, 46, 0.45);
}

/* ========== MESA DE REGALOS ========== */
.gifts-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem !important;
  text-align: center;
}
.gifts-intro {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 2rem;
  text-align: left;
}
.gifts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.gift-item {
  padding: 1.2rem 0.8rem;
  border: 1px solid rgba(184, 146, 46, 0.2);
  border-radius: 10px;
  background: rgba(184, 146, 46, 0.04);
  text-align: center;
}
.gift-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.gift-name {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin: 0 0 0.3rem;
  font-weight: 400;
}
.gift-number {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: #b8922e;
  margin: 0;
  letter-spacing: 0.05em;
}
.gifts-closing {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* ========== THANKS BANNER (tarjeta final de agradecimiento) ========== */
.section-thanks-banner {
  padding: 0;
}
.thanks-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.thanks-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgb(220 215 205 / 56%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(6px);
}
.thanks-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.thanks-sparkle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(184, 146, 46, 0.7);
  box-shadow: 0 0 6px 2px rgba(184, 146, 46, 0.3);
  animation: hero-sparkle-twinkle 2.5s ease-in-out infinite;
}
.thanks-sparkle:nth-child(odd) { animation-duration: 2s; }
.thanks-sparkle:nth-child(2) { animation-delay: 0.5s; }
.thanks-sparkle:nth-child(3) { animation-delay: 1.2s; }
.thanks-sparkle:nth-child(4) { animation-delay: 0.3s; }
.thanks-sparkle:nth-child(5) { animation-delay: 1.8s; }
.thanks-sparkle:nth-child(6) { animation-delay: 0.7s; }
.thanks-sparkle:nth-child(7) { animation-delay: 1.4s; }
.thanks-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}
.thanks-star {
  display: block;
  font-size: 1.2rem;
  color: #b8922e;
  margin-bottom: 1rem;
}
.thanks-text {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.3;
}
.thanks-names {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 8vw, 1.8rem);
  color: var(--color-text-dark);
  margin: 0;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  text-align: center;
  padding: 4rem 24px 0;
  color: var(--color-white);
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168, 129, 130, 0.85);
}
.footer-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
}
.footer-quote {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 2rem;
  line-height: 1.5;
  color: var(--color-white);
  font-style: italic;
}
.footer-names {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
  color: var(--color-white);
}
.footer-cta {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0;
  letter-spacing: 0.05em;
  color: var(--color-white);
}
.footer-credits {
  position: relative;
  z-index: 1;
  background: #8b6b6c;
  padding: 1rem 24px;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.95;
}
.footer-credits p { margin: 0.5rem 0; }
.footer-credits a { color: var(--color-white); text-decoration: underline; }
.heart { color: #ffb3b3; }

/* ========== BACK TO TOP ========== */
/* Botón toggle música */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8922e 0%, #8a6d1e 100%);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.music-toggle:hover {
  transform: scale(1.1);
}
.music-toggle.muted {
  opacity: 0.6;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(117, 117, 117, 0.9);
  color: var(--color-white);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ── RSVP Modal ──────────────────────────────────── */
.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.rsvp-modal.is-visible {
  opacity: 1;
  visibility: visible;
}
.rsvp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rsvp-modal-box {
  position: relative;
  background: var(--color-white, #fff);
  border-radius: 20px;
  padding: 40px 32px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  transform: scale(.85) translateY(20px);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.rsvp-modal.is-visible .rsvp-modal-box {
  transform: scale(1) translateY(0);
}

/* Spinner / Loader */
.rsvp-modal-loader { display: block; }
.rsvp-modal-result { display: none; }
.rsvp-modal.show-success .rsvp-modal-loader,
.rsvp-modal.show-error .rsvp-modal-loader { display: none; }
.rsvp-modal.show-success .rsvp-modal-success { display: block; }
.rsvp-modal.show-error .rsvp-modal-error { display: block; }

.rsvp-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.rsvp-spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(184, 134, 11, .15);
  border-top-color: var(--color-primary, #b8860b);
  border-radius: 50%;
  animation: rsvpSpin 1s linear infinite;
}
.rsvp-spinner-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  animation: rsvpPulse 1.5s ease-in-out infinite;
}
@keyframes rsvpSpin {
  to { transform: rotate(360deg); }
}
@keyframes rsvpPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.rsvp-modal-msg {
  font-family: var(--font-body, sans-serif);
  color: #666;
  font-size: .95rem;
  margin: 0;
  letter-spacing: .3px;
}

/* Result icons */
.rsvp-result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  animation: rsvpPopIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes rsvpPopIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.rsvp-icon-success {
  background: linear-gradient(135deg, #b8860b, #d4a843);
  box-shadow: 0 6px 20px rgba(184, 134, 11, .35);
}
.rsvp-icon-error {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  box-shadow: 0 6px 20px rgba(231, 76, 60, .35);
}
.rsvp-result-title {
  font-family: var(--font-script, serif);
  color: #333;
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.rsvp-result-text {
  font-family: var(--font-body, sans-serif);
  color: #777;
  font-size: .9rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.rsvp-modal-close-btn {
  display: inline-block;
  background: linear-gradient(135deg, #b8860b, #d4a843);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-family: var(--font-body, sans-serif);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 15px rgba(184, 134, 11, .3);
}
.rsvp-modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, .45);
}

/* Botón RSVP bloqueado tras envío */
.btn-rsvp-sent,
.btn-rsvp-sent:hover {
  background: #ccc !important;
  color: #888 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: .7;
}
