/* ============================================================
   Daniela & Carlos — Invitación de Boda
   Paleta: nude, beige, rosado suave, salmón suave, blanco
   ============================================================ */

:root {
  --nude:        #E8CFC1;
  --beige:       #F5F0EB;
  --rosa:        #F2D7D5;
  --rosa-soft:   #FAEDED;
  --salmon:      #E8A598;
  --salmon-deep: #D88B7B;
  --white:       #FFFFFF;
  --text:        #5A4A42;
  --text-soft:   #8A7870;
  --gold:        #C9A66B;

  --serif:   'Cormorant Garamond', serif;
  --script:  'Great Vibes', cursive;
  --sans:    'Montserrat', sans-serif;

  --ease:    cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--beige);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ============================================================
   PÉTALOS FLOTANTES
   ============================================================ */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -30px;
  width: 14px; height: 14px;
  background: var(--salmon);
  border-radius: 50% 0 50% 50%;
  opacity: .55;
  animation: fall linear infinite;
}
.petal:nth-child(odd) { background: var(--rosa); }
.petal:nth-child(3n)  { background: var(--nude); width:10px; height:10px; }
@keyframes fall {
  0%   { transform: translateY(-10vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: .55; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}

/* ============================================================
   BOTÓN DE MÚSICA
   ============================================================ */
.music-btn {
  position: fixed;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--salmon);
  background: rgba(255,255,255,.85);
  color: var(--salmon-deep);
  font-size: 20px;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease);
}
.music-btn:hover { transform: scale(1.08); }
.music-btn.playing .music-icon { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   PANTALLA DEL SOBRE
   ============================================================ */
.envelope-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rosa-soft) 0%, var(--beige) 50%, var(--nude) 100%);
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.envelope-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-wrap {
  text-align: center;
  padding: 20px;
}

.envelope {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto;
  cursor: pointer;
  perspective: 1200px;
}

/* Cuerpo del sobre */
.envelope-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--salmon) 0%, var(--salmon-deep) 100%);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  z-index: 1;
  overflow: hidden;
}
.envelope-body::before,
.envelope-body::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
}
.envelope-body::before {
  border-width: 100px 150px 0 0;
  border-color: var(--salmon-deep) transparent transparent transparent;
  opacity: .5;
}
.envelope-body::after {
  border-width: 100px 0 0 150px;
  border-color: var(--salmon-deep) transparent transparent transparent;
  right: 0; left: auto;
  opacity: .35;
}

/* Tarjeta interna */
.card-inside {
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  z-index: 0;
  transform: translateY(0);
  transition: transform 1.2s var(--ease) .4s;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.envelope.open .card-inside { transform: translateY(-110px); }

.card-mini {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.card-names {
  font-family: var(--script);
  font-size: 38px;
  color: var(--salmon-deep);
  line-height: 1.1;
  margin: 6px 0;
}
.card-names span { font-size: 22px; }
.card-date {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--text);
}
.card-invited {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 10px;
  font-weight: 500;
}
.card-paxes {
  font-size: 11px;
  color: var(--salmon-deep);
  margin-top: 4px;
  letter-spacing: 1px;
}
.card-paxes strong { font-size: 13px; }

/* Solapa del sobre */
.envelope-flap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 110px;
  background: linear-gradient(135deg, var(--salmon-deep) 0%, var(--salmon) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  transform: rotateX(0deg);
  transition: transform 1s var(--ease);
  z-index: 3;
  border-radius: 8px 8px 0 0;
}
.envelope.open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 0;
}

/* Sello de cera */
.envelope-seal {
  position: absolute;
  top: 38px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  background: radial-gradient(circle at 35% 35%, var(--salmon) 0%, var(--salmon-deep) 70%, #b86f5e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25), inset 0 -3px 6px rgba(0,0,0,.2), inset 0 3px 6px rgba(255,255,255,.3);
  z-index: 4;
  transition: opacity .6s var(--ease);
}
.envelope.open .envelope-seal { opacity: 0; }

/* ============================================================
   ESCENARIO DE VIDEO (el video ES el sobre que se abre)
   ============================================================ */
.video-stage {
  position: relative;
  width: min(88vw, 420px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
  background: #000;
  cursor: pointer;
}
.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Área táctil invisible sobre el póster (sin icono de play) */
.video-tap {
  position: absolute;
  inset: 0;
  cursor: pointer;
  transition: opacity .5s var(--ease);
}
.video-tap.gone { opacity: 0; pointer-events: none; }

.envelope-hint.gone { opacity: 0; transition: opacity .4s var(--ease); }

.envelope-hint {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */
.invitation { position: relative; }

.section {
  /* Altura según el contenido (la portada mantiene su 100vh aparte) */
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 24px;
  position: relative;
}
.section-inner {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

/* Reveal animations */
.reveal .section-inner { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view .section-inner { opacity: 1; transform: translateY(0); }

/* Tipografía general */
.section-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--salmon-deep);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.decor-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--salmon);
  font-size: 18px;
  margin-bottom: 14px;
}
.decor-line::before,
.decor-line::after {
  content: '';
  width: 50px; height: 1px;
  background: var(--salmon);
  opacity: .5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(245,240,235,.55), rgba(232,165,152,.45)),
    url('../assets/fotos/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--rosa);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Oscurece la foto para que el texto siempre resalte, sin importar su contenido */
  background:
    radial-gradient(ellipse at center, rgba(30,22,18,.35) 0%, rgba(30,22,18,.55) 100%),
    linear-gradient(to bottom, rgba(20,15,12,.35) 0%, rgba(20,15,12,.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  animation: heroFade 1.8s var(--ease);
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.save-date {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  margin-bottom: 18px;
}
.hero-names {
  font-family: var(--script);
  font-size: 78px;
  line-height: .95;
  color: #FBEDE8;
  text-shadow: 0 4px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.6);
}
.hero-names .amp {
  display: block;
  font-size: 38px;
  color: var(--gold);
  margin: 6px 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hero-decor {
  font-size: 22px;
  color: var(--white);
  margin: 18px 0 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-fecha {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-lugar {
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  margin-top: 6px;
}

/* ============================================================
   FRASE DE LOS NOVIOS
   ============================================================ */
.message-section {
  background: linear-gradient(to bottom, var(--white), var(--rosa-soft));
}
.message-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}
.message-text em {
  font-weight: 600;
  color: var(--salmon-deep);
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery-section { background: var(--rosa-soft); }
/* Mosaico tipo "masonry" con columnas: llena sin dejar espacios en blanco */
.gallery {
  column-count: 2;
  column-gap: 10px;
  margin-top: 10px;
}
.gallery .g-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(216,139,123,.18);
  cursor: pointer;
  margin: 0 0 10px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
}
.gallery .g-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s var(--ease);
}
.gallery .g-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(90,74,66,.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92%;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
  background:
    linear-gradient(rgba(232,165,152,.85), rgba(216,139,123,.85)),
    url('../assets/fotos/hero-bg.jpg') center/cover fixed no-repeat;
  background-color: var(--salmon);
  color: var(--white);
}
.countdown-section .section-title { color: var(--white); }
.countdown-sub { font-size: 14px; letter-spacing: 2px; opacity: .9; }
.countdown-date {
  font-family: var(--serif);
  font-size: 22px;
  margin: 6px 0 30px;
  letter-spacing: 1px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.cd-box {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  padding: 14px 10px;
  min-width: 64px;
  display: flex;
  flex-direction: column;
}
.cd-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.cd-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .85;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--salmon-deep);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease);
  text-transform: uppercase;
}
.btn:hover {
  background: var(--salmon);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216,139,123,.35);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--salmon-deep);
  color: var(--salmon-deep) !important;
}
.btn-outline:hover {
  background: var(--salmon-deep);
  color: var(--white) !important;
}
.btn-small { padding: 9px 18px; font-size: 11px; }
.btn-submit { width: 100%; margin-top: 8px; }

/* ============================================================
   PADRES
   ============================================================ */
.parents-section { background: var(--white); }
.parents-block { margin: 10px 0; }
.parents-of {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.parents-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--salmon-deep);
  font-style: italic;
  margin-bottom: 12px;
}
.parents-names p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
}
.parents-sep {
  display: inline-block;
  margin: 6px 0;
  color: var(--salmon);
  font-size: 16px;
}
.parents-divider {
  margin: 24px auto;
  color: var(--salmon);
  font-size: 18px;
  position: relative;
  max-width: 200px;
}
.parents-divider::before,
.parents-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px; height: 1px;
  background: var(--salmon);
  opacity: .4;
}
.parents-divider::before { right: 100%; margin-right: 10px; }
.parents-divider::after  { left: 100%;  margin-left: 10px; }

/* ============================================================
   VENUE
   ============================================================ */
.venue-section { background: linear-gradient(to bottom, var(--rosa-soft), var(--beige)); }
.venue-place {
  font-family: var(--script);
  font-size: 46px;
  color: var(--salmon-deep);
  line-height: 1;
}
.venue-addr {
  font-size: 15px;
  color: var(--text);
  margin: 8px 0 4px;
  letter-spacing: 1px;
}
.venue-time {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text);
  margin: 18px 0 26px;
}
.venue-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* ============================================================
   ITINERARIO
   ============================================================ */
.itinerary-section { background: var(--beige); }
.timeline {
  list-style: none;
  text-align: left;
  padding-left: 20px;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--salmon), var(--nude));
}
.timeline li {
  position: relative;
  padding: 0 0 26px 30px;
}
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -20px; top: 4px;
  width: 14px; height: 14px;
  background: var(--white);
  border: 2px solid var(--salmon-deep);
  border-radius: 50%;
}
.timeline h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--salmon-deep);
  font-weight: 500;
}
.timeline p {
  font-size: 13px;
  color: var(--text-soft);
}

/* ============================================================
   CÓDIGO DE VESTIMENTA
   ============================================================ */
.dresscode-section {
  background: linear-gradient(to bottom, var(--beige), var(--rosa-soft));
}
.dress-icon { font-size: 48px; margin-bottom: 16px; }
.dress-text {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  margin: 4px 0;
}
.dress-text strong { color: var(--salmon-deep); }
.dress-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 3px solid var(--salmon);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   REGALOS
   ============================================================ */
.gifts-section { background: var(--rosa-soft); }
.gifts-intro {
  font-size: 14px;
  color: var(--text);
  max-width: 420px;
  margin: 0 auto 24px;
}
.account-card {
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  margin: 12px auto;
  max-width: 380px;
  box-shadow: 0 6px 16px rgba(216,139,123,.12);
  border-top: 3px solid var(--salmon);
  text-align: center;
}
.account-country { font-size: 22px; }
.account-bank {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--salmon-deep);
  margin: 4px 0;
}
.account-num {
  font-size: 14px;
  color: var(--text);
}
.account-num strong {
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--salmon-deep);
}
.account-name {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ============================================================
   INVITADOS EXTRANJEROS
   ============================================================ */
.foreign-section { background: var(--white); }
.foreign-intro {
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto 20px;
  color: var(--text);
}
.accordion {
  width: 100%;
  background: var(--rosa-soft);
  border: none;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 8px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--salmon-deep);
  text-align: left;
  cursor: pointer;
  transition: background .3s var(--ease);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion::after {
  content: '+';
  font-size: 20px;
  transition: transform .3s var(--ease);
}
.accordion.active::after { transform: rotate(45deg); }
.accordion.active { background: var(--nude); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text);
}
.accordion-panel.open {
  max-height: 1200px;
  padding: 14px 16px 18px;
}
.accordion-panel p { margin-bottom: 8px; }
.accordion-panel ul { padding-left: 18px; margin-bottom: 8px; }
.accordion-panel li { margin-bottom: 4px; }
.acc-sub {
  font-weight: 600;
  color: var(--salmon-deep);
  margin-top: 6px;
}
.acc-note {
  background: var(--rosa-soft);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 8px;
}

/* ============================================================
   QR FOTOS
   ============================================================ */
.btn-pdf {
  display: block;
  margin: 18px auto 0;
  background: var(--text);
  width: fit-content;
}
.btn-pdf:hover {
  background: var(--salmon-deep);
}
.qr-section {
  background: linear-gradient(to bottom, var(--white), var(--rosa-soft));
}
.qr-sub {
  font-size: 14px;
  color: var(--text);
  max-width: 360px;
  margin: 0 auto 20px;
}
.qr-placeholder {
  width: 180px; height: 180px;
  margin: 0 auto 16px;
  background: repeating-linear-gradient(45deg, var(--rosa-soft), var(--rosa-soft) 10px, var(--nude) 10px, var(--nude) 20px);
  border: 2px dashed var(--salmon);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--salmon-deep);
  font-family: var(--serif);
  font-size: 16px;
}
.qr-placeholder small {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--text-soft);
  margin-top: 6px;
}
.qr-hint {
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
}

/* ============================================================
   RSVP
   ============================================================ */
.rsvp-section { background: var(--beige); }
.rsvp-sub {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}
.rsvp-form {
  max-width: 460px;
  margin: 26px auto 0;
  text-align: left;
}
.field {
  display: block;
  margin-bottom: 18px;
  border: none;
  padding: 0;
}
.field > span,
.field > legend {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--nude);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--salmon);
}
.field textarea { resize: vertical; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.radio-row:hover { background: var(--rosa-soft); }
.radio-row input { accent-color: var(--salmon-deep); width: 18px; height: 18px; }
.radio-row span { font-size: 14px; color: var(--text); }
.rsvp-msg {
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
  font-weight: 500;
  min-height: 20px;
}
.rsvp-msg.success { color: #4a8a5f; }
.rsvp-msg.error   { color: var(--salmon-deep); }

/* ============================================================
   CIERRE
   ============================================================ */
.closing-section {
  background:
    linear-gradient(rgba(232,165,152,.7), rgba(216,139,123,.85)),
    url('../assets/fotos/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--salmon);
  color: var(--white);
}
.closing-thanks {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 18px;
}
.closing-names {
  font-family: var(--script);
  font-size: 60px;
  line-height: 1;
}
.closing-names span { font-size: 32px; }
.closing-date {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 4px;
  margin-top: 10px;
}
.closing-decor {
  font-size: 18px;
  margin: 22px 0;
  letter-spacing: 8px;
}
.closing-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  max-width: 380px;
  margin: 0 auto;
  opacity: .9;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .hero-names { font-size: 96px; }
  .closing-names { font-size: 76px; }
  .gallery { column-count: 3; }
  .venue-btns { flex-direction: row; justify-content: center; }
}

@media (max-width: 360px) {
  .hero-names { font-size: 64px; }
  .cd-num { font-size: 26px; }
  .cd-box { min-width: 56px; padding: 10px 6px; }
}
