/* =========================================================
   PLANTILLA "JARDÍN DE MARIPOSAS" — XV años, romántico moderno.
   Hoja de estilo AUTOCONTENIDA (NO depende de base.css/temas.css).
   Comparte el contrato de datos del motor (motor.js): mismas clases/IDs/
   data-rol/data-modulo que el resto; cambia el copy y el envoltorio visual.
   Firma: la mariposa (line-art) = transformación de niña a mujer.
   Paleta crema/rosa polvo · mobile-first · accesible · sin dependencias.
   ========================================================= */

:root {
  /* Rosa polvo / mauve + champaña dorado + crema */
  --crema:      #fbf6f1;
  --crema-2:    #f4e9e3;
  --rosa:       #e7c4c9;
  --rosa-prof:  #c98f9a;
  --mauve:      #9c7884;
  --mauve-prof: #7a5c68;
  --champan:    #c9a86a;
  --champan-cl: #e3c98f;
  --tinta:      #4b3942;   /* texto principal: ciruela suave (AA sobre crema) */
  --tinta-2:    #6f5560;   /* texto secundario */
  --blanco:     #ffffff;

  --f-nombre: "Pinyon Script", "Segoe Script", cursive;
  --f-titulo: "Cormorant Garamond", Georgia, serif;
  --f-texto:  "Jost", system-ui, -apple-system, sans-serif;

  --esp-1:4px; --esp-2:8px; --esp-3:16px; --esp-4:24px; --esp-5:40px; --esp-6:64px; --esp-7:96px;

  --linea:        rgba(156,120,132,.28);   /* mauve translúcido */
  --linea-fuerte: rgba(156,120,132,.5);
  --oro-tenue:    rgba(201,168,106,.45);
  --panel:        rgba(255,255,255,.6);
  --sombra:       0 14px 34px rgba(122,92,104,.14);
  --radio:        18px;
  --ls:           .3em;
  --transicion:   .4s ease;

  /* Mariposa line-art reutilizable (color mauve), URL-encoded para data-uri */
  --mariposa-mauve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%239c7884' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 22 L32 50'/%3E%3Cpath d='M32 24 C24 10 8 8 9 22 C5 27 8 36 18 35 C26 34 31 28 32 24'/%3E%3Cpath d='M32 24 C40 10 56 8 55 22 C59 27 56 36 46 35 C38 34 33 28 32 24'/%3E%3Cpath d='M32 26 C27 38 16 42 16 50 C20 55 29 52 32 44'/%3E%3Cpath d='M32 26 C37 38 48 42 48 50 C44 55 35 52 32 44'/%3E%3Cpath d='M32 21 L29 15 M32 21 L35 15'/%3E%3C/svg%3E");
  /* Mariposa line-art en champaña (para acentos cálidos) */
  --mariposa-oro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23c9a86a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 22 L32 50'/%3E%3Cpath d='M32 24 C24 10 8 8 9 22 C5 27 8 36 18 35 C26 34 31 28 32 24'/%3E%3Cpath d='M32 24 C40 10 56 8 55 22 C59 27 56 36 46 35 C38 34 33 28 32 24'/%3E%3Cpath d='M32 26 C27 38 16 42 16 50 C20 55 29 52 32 44'/%3E%3Cpath d='M32 26 C37 38 48 42 48 50 C44 55 35 52 32 44'/%3E%3Cpath d='M32 21 L29 15 M32 21 L35 15'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-texto);
  font-size: 16px; line-height: 1.8;
  color: var(--tinta);
  background-color: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Jardín suave: degradado crema/rosa + mariposas tenues sembradas (fijo) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--crema) 0%, var(--crema-2) 55%, var(--crema) 100%),
    linear-gradient(180deg, rgba(231,196,201,.18), transparent 30%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .12;
  background-image: var(--mariposa-mauve), var(--mariposa-mauve), var(--mariposa-oro), var(--mariposa-mauve);
  background-repeat: no-repeat;
  background-position: 8% 14%, 90% 30%, 16% 64%, 84% 82%;
  background-size: 46px, 34px, 40px, 30px;
}

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

.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }

/* =========================================================
   HERO — jardín con mariposas revoloteando
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--esp-7) var(--esp-4);
  /* El jardín (crema/rosa) ES la portada: ignora cualquier foto de hero. */
  background-image: none !important;
}
.hero__overlay { display: none; }
/* halo rosado tras el nombre */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  top: 30%; left: 50%; transform: translateX(-50%);
  width: min(92%, 520px); height: 420px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(231,196,201,.5), transparent 70%);
  filter: blur(4px);
}
.hero__contenido { position: relative; display: flex; flex-direction: column; align-items: center; }

/* Mariposas SVG revoloteando alrededor del nombre (line-art inline en el PHP) */
.hero__mariposa {
  position: absolute; z-index: 2; pointer-events: none;
  color: var(--mauve); opacity: .85;
  filter: drop-shadow(0 6px 10px rgba(122,92,104,.18));
}
.hero__mariposa--1 { width: 56px; height: 56px; top: -6%;  left: 8%;  color: var(--rosa-prof); animation: revolotear-1 8.5s cubic-bezier(.45,0,.55,1) infinite; }
.hero__mariposa--2 { width: 40px; height: 40px; top: 6%;   right: 6%; color: var(--champan);   animation: revolotear-2 11s cubic-bezier(.45,0,.55,1) infinite .8s; }
.hero__mariposa--3 { width: 32px; height: 32px; bottom: 8%; left: 16%; color: var(--mauve);     animation: revolotear-3 9.5s cubic-bezier(.45,0,.55,1) infinite 1.6s; }
/* Revoloteo natural: trayectorias irregulares (no van y vuelven por el mismo punto),
   con varios estadios y micro-balanceos para que no se sienta mecánico. */
@keyframes revolotear-1 {
  0%   { transform: translate(0,0) rotate(-4deg); }
  22%  { transform: translate(10px,-16px) rotate(7deg); }
  44%  { transform: translate(-6px,-9px) rotate(-3deg); }
  66%  { transform: translate(14px,-4px) rotate(5deg); }
  85%  { transform: translate(3px,-13px) rotate(-2deg); }
  100% { transform: translate(0,0) rotate(-4deg); }
}
@keyframes revolotear-2 {
  0%   { transform: translate(0,0) rotate(5deg); }
  20%  { transform: translate(-12px,-11px) rotate(-7deg); }
  40%  { transform: translate(-4px,-18px) rotate(4deg); }
  60%  { transform: translate(-15px,-6px) rotate(-5deg); }
  80%  { transform: translate(-6px,-13px) rotate(6deg); }
  100% { transform: translate(0,0) rotate(5deg); }
}
@keyframes revolotear-3 {
  0%   { transform: translate(0,0) rotate(0); }
  25%  { transform: translate(8px,11px) rotate(8deg); }
  50%  { transform: translate(-5px,16px) rotate(-4deg); }
  72%  { transform: translate(11px,7px) rotate(6deg); }
  100% { transform: translate(0,0) rotate(0); }
}

/* Mariposa que cruza el hero al cargar (una sola pasada, suave, luego se va) */
.hero__cruce {
  position: absolute; z-index: 3; pointer-events: none;
  width: 34px; height: 34px; color: var(--rosa-prof);
  top: 38%; left: -10%; opacity: 0;
  filter: drop-shadow(0 6px 10px rgba(122,92,104,.18));
  animation: cruzar 5.5s cubic-bezier(.4,.1,.5,1) .4s 1 forwards;
}
@keyframes cruzar {
  0%   { transform: translate(0,0) rotate(-8deg); opacity: 0; }
  8%   { opacity: .9; }
  25%  { transform: translate(34vw,-7vh) rotate(6deg); }
  50%  { transform: translate(62vw,5vh) rotate(-6deg); }
  75%  { transform: translate(92vw,-4vh) rotate(7deg); }
  92%  { opacity: .9; }
  100% { transform: translate(122vw,2vh) rotate(-4deg); opacity: 0; }
}

/* monograma de iniciales (motor.js → data-rol="hero-sello") */
.hero__sello {
  width: 70px; height: 70px; margin-bottom: var(--esp-4);
  display: grid; place-items: center;
  border: 1px solid var(--champan); border-radius: 50%;
  font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 600; color: var(--mauve-prof);
  background: var(--blanco);
  box-shadow: 0 8px 22px rgba(201,168,106,.18);
}
.hero__sello:empty { display: none; }

.hero__intro {
  font-family: var(--f-texto); text-transform: uppercase; letter-spacing: var(--ls);
  font-size: .8rem; font-weight: 500; color: var(--rosa-prof);
  margin-bottom: var(--esp-2);
}
.hero__nombres {
  font-family: var(--f-nombre); font-weight: 400;
  font-size: clamp(4.8rem, 27vw, 9.5rem); line-height: .85;
  color: var(--mauve-prof);
  text-shadow: 0 3px 18px rgba(231,196,201,.6);
}
.hero__amp { display: block; font-size: .4em; color: var(--rosa-prof); }
.hero__fecha {
  display: inline-flex; align-items: center; gap: var(--esp-3);
  margin-top: var(--esp-4);
  font-family: var(--f-texto); text-transform: uppercase; letter-spacing: var(--ls);
  font-size: clamp(.78rem, 3.4vw, .96rem); font-weight: 500; color: var(--tinta-2);
}
.hero__fecha::before, .hero__fecha::after {
  content: ""; width: 30px; height: 1px; background: var(--linea-fuerte);
}
.hero__scroll {
  margin-top: var(--esp-6); color: var(--rosa-prof); text-decoration: none; opacity: .9;
  font-size: 1.5rem; border-radius: 50%;
}
.hero__flecha { display: inline-block; animation: flotar 2s ease-in-out infinite; }
@keyframes flotar { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* =========================================================
   ESTRUCTURA — secciones sobre el jardín
   ========================================================= */
main { padding: var(--esp-5) var(--esp-4) var(--esp-7); }
.contador, .evento, .rsvp, .padrinos,
.mesa-regalos, .dress-code, .itinerario, .hospedaje, .bienvenida {
  max-width: 600px; margin: 0 auto var(--esp-7);
  text-align: center;
}

/* Divisor: mariposa line-art (SVG) flanqueada por filetes suaves */
.divisor {
  position: relative; display: block; width: 200px; height: 34px;
  margin: 0 auto var(--esp-4); font-size: 0;
  background: var(--mariposa-mauve) center / 30px 30px no-repeat;
}
.divisor::before, .divisor::after {
  content: ""; position: absolute; top: 50%; width: 64px; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--linea-fuerte));
}
.divisor::before { left: 0; }
.divisor::after { right: 0; transform: translateY(-50%) scaleX(-1); }

/* Títulos de sección */
.seccion__titulo, .bienvenida__titulo {
  font-family: var(--f-titulo); font-weight: 600;
  font-size: clamp(1.9rem, 6.5vw, 2.7rem); line-height: 1.12;
  color: var(--mauve-prof); letter-spacing: .005em;
  margin-bottom: var(--esp-4);
}
.bienvenida__titulo { color: var(--rosa-prof); }
.bienvenida__texto {
  max-width: 480px; margin: 0 auto; color: var(--tinta-2);
  font-size: 1.18rem; font-style: italic; font-family: var(--f-titulo);
}

/* =========================================================
   CUENTA REGRESIVA
   ========================================================= */
.contador__lista { list-style: none; display: flex; gap: var(--esp-3); justify-content: center; flex-wrap: wrap; }
.contador__item {
  min-width: 78px; padding: var(--esp-4) var(--esp-2) var(--esp-3);
  background: var(--panel); border: 1px solid var(--linea); border-radius: var(--radio);
  box-shadow: var(--sombra); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.contador__num {
  display: block; font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1; color: var(--mauve-prof);
}
.contador__label {
  display: block; margin-top: var(--esp-2);
  font-size: .6rem; text-transform: uppercase; letter-spacing: .2em; color: var(--rosa-prof);
}

/* =========================================================
   PADRINOS  (XV) — cortejo de honor
   ========================================================= */
.padrinos__lista { list-style: none; display: grid; gap: var(--esp-3); grid-template-columns: 1fr; }
.padrinos__item {
  position: relative; background: var(--panel); border: 1px solid var(--linea);
  border-radius: var(--radio); padding: var(--esp-4) var(--esp-3); box-shadow: var(--sombra);
}
.padrinos__item::before {
  content: ""; position: absolute; top: var(--esp-3); left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; background: var(--mariposa-oro) center / contain no-repeat; opacity: .7;
}
.padrinos__rol {
  margin-top: var(--esp-4);
  font-size: .64rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--rosa-prof); margin-bottom: var(--esp-2);
}
.padrinos__nombres { font-family: var(--f-titulo); font-weight: 600; font-size: 1.4rem; color: var(--tinta); line-height: 1.3; }

/* =========================================================
   EVENTOS (misa / recepción) + MAPA
   ========================================================= */
.evento__hora {
  display: inline-block; font-family: var(--f-texto); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; color: var(--champan);
  margin-bottom: var(--esp-2);
}
.evento__lugar { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(1.6rem,5.4vw,2.1rem); color: var(--mauve-prof); line-height: 1.15; }
.evento__direccion { color: var(--tinta-2); margin: var(--esp-2) 0 var(--esp-4); }
.evento__mapa { border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.evento__mapa iframe { width: 100%; height: 300px; display: block; filter: saturate(.85); }
.evento__boton, .mesa-regalos__link, .hospedaje__link {
  display: inline-block; margin-top: var(--esp-4);
  padding: var(--esp-2) var(--esp-5); border: 1px solid var(--mauve);
  border-radius: 999px; color: var(--mauve-prof); text-decoration: none;
  font-family: var(--f-texto); font-weight: 500; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .18em; background: var(--blanco);
  transition: background var(--transicion), color var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
}
.evento__boton:hover, .mesa-regalos__link:hover, .hospedaje__link:hover {
  background: var(--mauve); border-color: var(--mauve); color: var(--blanco);
  box-shadow: 0 10px 24px rgba(122,92,104,.28);
}

/* =========================================================
   ITINERARIO — el programa de la noche (incluye el vals)
   ========================================================= */
.itinerario__lista { list-style: none; max-width: 440px; margin: 0 auto; text-align: left; }
.itinerario__item {
  display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: var(--esp-3);
  padding: var(--esp-3) 0; border-bottom: 1px solid var(--linea);
}
.itinerario__item:last-child { border-bottom: none; }
.itinerario__hora { font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; color: var(--rosa-prof); }
.itinerario__actividad { color: var(--tinta); }

/* =========================================================
   DRESS CODE
   ========================================================= */
.dress-code__descripcion { max-width: 460px; margin: 0 auto var(--esp-4); color: var(--tinta-2); }
.dress-code__colores { display: flex; flex-wrap: wrap; gap: var(--esp-3); justify-content: center; }
.dress-code__color { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blanco); box-shadow: 0 6px 14px rgba(122,92,104,.2), 0 0 0 1px var(--linea); }

/* =========================================================
   MESA DE REGALOS
   ========================================================= */
.mesa-regalos__mensaje { max-width: 460px; margin: 0 auto var(--esp-4); color: var(--tinta-2); }
.mesa-regalos__lista { display: flex; flex-wrap: wrap; gap: var(--esp-3); justify-content: center; }
.mesa-regalos__link { margin-top: 0; }

/* =========================================================
   HOSPEDAJE
   ========================================================= */
.hospedaje__lista { list-style: none; display: grid; gap: var(--esp-3); grid-template-columns: 1fr; }
.hospedaje__item {
  background: var(--panel); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: var(--esp-4) var(--esp-3); box-shadow: var(--sombra);
}
.hospedaje__nombre { font-family: var(--f-titulo); font-weight: 600; font-size: 1.35rem; color: var(--mauve-prof); margin-bottom: var(--esp-1); }
.hospedaje__direccion { color: var(--tinta-2); margin-bottom: var(--esp-2); }
.hospedaje__tel { display: inline-block; color: var(--champan); text-decoration: none; letter-spacing: .04em; }
.hospedaje__tel:hover { text-decoration: underline; }
.hospedaje__link { margin-top: var(--esp-3); padding: var(--esp-1) var(--esp-4); font-size: .68rem; }

/* =========================================================
   GALERÍA — carrusel a sangre
   ========================================================= */
.galeria { padding: var(--esp-5) 0 var(--esp-7); max-width: none; margin: 0 0 var(--esp-7); }
.carrusel { position: relative; max-width: 920px; margin: 0 auto; }
.carrusel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carrusel__track::-webkit-scrollbar { display: none; }
.carrusel__slide { flex: 0 0 84%; scroll-snap-align: center; padding: 0 var(--esp-2); }
.carrusel__slide img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra); }
.carrusel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea-fuerte);
  background: rgba(255,255,255,.78); color: var(--mauve-prof); font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: var(--sombra);
}
.carrusel__nav--prev { left: 10px; } .carrusel__nav--next { right: 10px; }
.carrusel__dots { display: flex; justify-content: center; gap: 9px; margin-top: var(--esp-4); }
.carrusel__dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--rosa-prof); background: transparent; padding: 0; cursor: pointer; transition: background var(--transicion); }
.carrusel__dot.is-active { background: var(--rosa-prof); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(75,57,66,.92); padding: var(--esp-3); opacity: 0; visibility: hidden; transition: opacity var(--transicion); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 85vh; border: 2px solid var(--blanco); border-radius: var(--radio); }
.lightbox__cerrar { position: absolute; top: var(--esp-3); right: var(--esp-3); background: none; border: none; color: var(--crema); font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--crema); font-size: 2.6rem; cursor: pointer; padding: var(--esp-2); }
.lightbox__nav--prev { left: var(--esp-1); } .lightbox__nav--next { right: var(--esp-1); }

/* =========================================================
   RSVP
   ========================================================= */
.rsvp__nota { color: var(--tinta-2); margin-bottom: var(--esp-4); font-style: italic; font-family: var(--f-titulo); font-size: 1.1rem; }
.rsvp__form { max-width: 420px; margin: 0 auto; text-align: left; background: var(--panel); border: 1px solid var(--linea); border-radius: var(--radio); padding: var(--esp-5) var(--esp-4); box-shadow: var(--sombra); }
.rsvp__auto { margin: calc(-1 * var(--esp-2)) 0 var(--esp-3); font-size: .8rem; font-style: italic; color: var(--rosa-prof); }
.campo { margin-bottom: var(--esp-4); border: none; }
.campo__label { display: block; margin-bottom: var(--esp-2); font-size: .66rem; font-weight: 500; color: var(--mauve-prof); text-transform: uppercase; letter-spacing: .16em; }
.campo__input {
  width: 100%; padding: var(--esp-2) 0; font-family: var(--f-texto); font-size: 1.05rem; color: var(--tinta);
  background: transparent; border: none; border-bottom: 1px solid var(--linea-fuerte); border-radius: 0;
  transition: border-color var(--transicion);
}
textarea.campo__input { border: 1px solid var(--linea-fuerte); border-radius: 12px; padding: var(--esp-2) var(--esp-3); background: var(--blanco); }
.campo__input::placeholder { color: var(--tinta-2); opacity: .5; }
.campo__input:focus-visible { outline: none; border-color: var(--rosa-prof); box-shadow: 0 1px 0 var(--rosa-prof); }
textarea.campo__input:focus-visible { box-shadow: 0 0 0 2px rgba(201,143,154,.4); }
.rsvp__opciones { display: flex; flex-direction: column; gap: var(--esp-2); }
.rsvp__radio { display: flex; align-items: center; gap: var(--esp-2); cursor: pointer; color: var(--tinta); }
.rsvp__radio input { accent-color: var(--rosa-prof); }
.rsvp__radio input:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.boton {
  display: block; width: 100%; margin-top: var(--esp-3);
  padding: var(--esp-3); border: 1px solid var(--mauve); border-radius: 999px;
  background: var(--mauve); color: var(--blanco);
  font-family: var(--f-texto); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; cursor: pointer;
  transition: background var(--transicion), color var(--transicion), box-shadow var(--transicion);
}
.boton:hover { background: var(--mauve-prof); box-shadow: 0 12px 26px rgba(122,92,104,.3); }
.boton:active { transform: translateY(1px); }
.boton:focus-visible { outline: 2px solid var(--champan); outline-offset: 3px; }
.boton:disabled { opacity: .55; cursor: default; }
.hero__scroll:focus-visible, .evento__boton:focus-visible,
.mesa-regalos__link:focus-visible, .hospedaje__link:focus-visible,
.hospedaje__tel:focus-visible, .carrusel__nav:focus-visible,
.carrusel__dot:focus-visible, .musica:focus-visible, .lightbox__cerrar:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--mauve); outline-offset: 3px;
}
.rsvp__estado { margin-top: var(--esp-3); text-align: center; font-weight: 600; min-height: 1.4em; }
.rsvp__estado--ok { color: var(--mauve-prof); }
.rsvp__estado--error { color: #c0556a; }

/* Saludo personalizado por invitado (lo inyecta el motor) */
.saludo { border-radius: var(--radio); margin: 0 auto var(--esp-5); max-width: 600px; }

/* =========================================================
   MÚSICA
   ========================================================= */
.musica { position: fixed; bottom: var(--esp-3); right: var(--esp-3); z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--mauve); background: var(--blanco); color: var(--mauve-prof); cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--sombra); }
.musica[aria-pressed="true"] .musica__icono { animation: girar 4s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* =========================================================
   PIE — colofón con mariposa
   ========================================================= */
.pie { position: relative; text-align: center; padding: var(--esp-7) var(--esp-4) calc(var(--esp-7) + 60px); }
.pie::before {
  content: ""; position: absolute; top: var(--esp-5); left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; background: var(--mariposa-oro) center / contain no-repeat; opacity: .8;
}
.pie__nombres { font-family: var(--f-nombre); font-size: 3.4rem; color: var(--mauve-prof); text-shadow: 0 3px 14px rgba(231,196,201,.5); }
.pie__fecha { text-transform: uppercase; letter-spacing: var(--ls); font-size: .74rem; margin: var(--esp-2) 0 var(--esp-3); color: var(--tinta-2); }
.pie__credito { font-size: .64rem; text-transform: uppercase; letter-spacing: .24em; color: var(--rosa-prof); opacity: .85; }

/* =========================================================
   BARRA DE PREVIEW (dev)
   ========================================================= */
.preview { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(75,57,66,.95); color: #fff; padding: var(--esp-2) var(--esp-3); display: flex; gap: var(--esp-4); flex-wrap: wrap; justify-content: center; font-family: system-ui, sans-serif; }
.preview__chip { background: rgba(255,255,255,.14); color: #fff; border: 1px solid transparent; padding: 4px 10px; border-radius: 999px; font-size: .8rem; cursor: pointer; }
.preview__chip.is-active { background: var(--champan-cl); color: #4b3942; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 768px) {
  .carrusel__slide { flex: 0 0 58%; }
  .carrusel__slide img { aspect-ratio: 16/10; }
  .padrinos__lista, .hospedaje__lista { grid-template-columns: 1fr 1fr; }
  .evento__mapa iframe { height: 360px; }
  .hero__mariposa--1 { width: 70px; height: 70px; left: 4%; }
  .hero__mariposa--2 { width: 50px; height: 50px; right: 2%; }
  .hero__mariposa--3 { width: 40px; height: 40px; }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
}
