/* ==========================================================
   Diseño "Bengalas" · XV años · "Escribe con luz"
   bengala que sigue el dedo → estela de larga exposición → el nombre escrito con luz → XV →
   fuegos artificiales → foto en arco iluminada por la bengala
   Paleta: noche azul petróleo, oro champán, rosa suave
   ========================================================== */

:root {
  --noche: #050b0e;
  --noche-2: #08161b;
  --petroleo: #0d2f38;
  --petroleo-2: #124550;
  --oro: #f0c470;
  --oro-claro: #ffe5a6;
  --champan: #fff3d8;
  --rosa: #f6a9c6;
  --tinta: #f7f0e3;
  --suave: rgba(240, 230, 210, .7);
  --oro-grad: linear-gradient(100deg, #b98a3e 0%, #f0c470 18%, #fff3d0 34%, #f0c470 50%, #f6b3c8 66%, #ffe5a6 82%, #c99a4c 100%);

  --s-fondo: transparent;
  --s-tinta: var(--tinta);
  --s-suave: var(--suave);
  --s-acento: var(--oro);
  --s-acento-tinta: #1d1408;
  --s-tarjeta: linear-gradient(160deg, rgba(255, 236, 190, .08), rgba(255, 236, 190, .02));
  --s-borde: rgba(240, 196, 112, .24);
  --s-radio: 22px;
  --s-sombra: 0 24px 40px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  --s-fuente: "Cormorant Garamond", Georgia, serif;
  --s-titulo: "Great Vibes", "Cormorant Garamond", cursive;
  --s-titulo-tam: clamp(2.8rem, 13vw, 3.6rem);
  --s-etiqueta: "Cinzel", Georgia, serif;
  --s-num: "Cormorant Garamond", Georgia, serif;
  --s-btn-linea-color: var(--champan);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(60% 40% at 0% 25%, rgba(18, 69, 80, .35), transparent 70%),
    radial-gradient(55% 35% at 100% 60%, rgba(240, 196, 112, .07), transparent 70%),
    radial-gradient(50% 30% at 10% 92%, rgba(246, 169, 198, .06), transparent 70%),
    linear-gradient(180deg, var(--noche) 0%, var(--noche-2) 50%, var(--noche) 100%);
  background-attachment: fixed;
  color: var(--tinta);
  font-family: var(--s-fuente);
  font-size: 1.06rem;
}

.bg-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   ESCENA
   ========================================================== */
.escena {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  color: var(--tinta);
  background:
    radial-gradient(90% 60% at 50% 18%, rgba(18, 69, 80, .55), transparent 70%),
    radial-gradient(120% 70% at 50% 115%, rgba(240, 196, 112, .1), transparent 60%),
    linear-gradient(180deg, #040a0d 0%, #0a2229 52%, #050b0e 100%);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: crosshair;
}
.escena.listo { touch-action: pan-y; }

.escena__cielo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 245, 220, .7), transparent 60%),
    radial-gradient(1px 1px at 27% 8%, rgba(255, 245, 220, .5), transparent 60%),
    radial-gradient(1.2px 1.2px at 46% 22%, rgba(255, 245, 220, .6), transparent 60%),
    radial-gradient(1px 1px at 63% 11%, rgba(255, 245, 220, .55), transparent 60%),
    radial-gradient(1.3px 1.3px at 81% 26%, rgba(255, 245, 220, .6), transparent 60%),
    radial-gradient(1px 1px at 91% 7%, rgba(255, 245, 220, .45), transparent 60%),
    radial-gradient(1px 1px at 6% 40%, rgba(255, 245, 220, .4), transparent 60%),
    radial-gradient(1px 1px at 72% 44%, rgba(255, 245, 220, .35), transparent 60%),
    radial-gradient(1px 1px at 36% 36%, rgba(255, 245, 220, .4), transparent 60%);
  pointer-events: none;
}

/* bokeh dorado suave (desenfocado, deriva muy lenta) */
.bokeh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bokeh i {
  --t: 70px;
  position: absolute;
  width: var(--t);
  height: var(--t);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 140, .32) 0%, rgba(255, 200, 120, .16) 45%, rgba(255, 200, 120, 0) 70%);
  filter: blur(3px);
  animation: deriva 22s ease-in-out infinite alternate;
}
.bokeh i:nth-child(1)  { --t: 90px;  left: 4%;  top: 70%; animation-duration: 24s; }
.bokeh i:nth-child(2)  { --t: 54px;  left: 18%; top: 84%; animation-duration: 19s; animation-delay: -6s; }
.bokeh i:nth-child(3)  { --t: 120px; left: 70%; top: 76%; animation-duration: 27s; animation-delay: -3s; }
.bokeh i:nth-child(4)  { --t: 46px;  left: 86%; top: 62%; animation-duration: 21s; animation-delay: -9s; }
.bokeh i:nth-child(5)  { --t: 70px;  left: 38%; top: 90%; animation-duration: 25s; animation-delay: -12s; }
.bokeh i:nth-child(6)  { --t: 36px;  left: 56%; top: 66%; animation-duration: 18s; animation-delay: -4s; }
.bokeh i:nth-child(7)  { --t: 60px;  left: 90%; top: 14%; animation-duration: 26s; animation-delay: -15s; opacity: .55; }
.bokeh i:nth-child(8)  { --t: 40px;  left: 8%;  top: 10%; animation-duration: 23s; animation-delay: -8s; opacity: .5; }
.bokeh i:nth-child(9)  { --t: 100px; left: -6%; top: 40%; animation-duration: 28s; animation-delay: -2s; opacity: .45; }
.bokeh i:nth-child(10) { --t: 30px;  left: 76%; top: 40%; animation-duration: 20s; animation-delay: -11s; opacity: .6; }
.bokeh i:nth-child(11) { --t: 50px;  left: 30%; top: 58%; animation-duration: 24s; animation-delay: -17s; opacity: .5; background: radial-gradient(circle, rgba(246, 169, 198, .28) 0%, rgba(246, 169, 198, .12) 45%, rgba(246, 169, 198, 0) 70%); }
.bokeh i:nth-child(12) { --t: 76px;  left: 60%; top: 92%; animation-duration: 22s; animation-delay: -5s; background: radial-gradient(circle, rgba(246, 169, 198, .26) 0%, rgba(246, 169, 198, .1) 45%, rgba(246, 169, 198, 0) 70%); }
@keyframes deriva {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .55; }
  to { transform: translate3d(18px, -34px, 0) scale(1.12); opacity: 1; }
}

/* lienzos: la luz se suma a lo que hay debajo (como en una foto de larga exposición) */
.escena__lienzo {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
}
.escena__lienzo--nombre { transition: opacity 1.6s ease; }

/* ---------- textos de entrada ---------- */
.escena__intro {
  position: absolute;
  z-index: 5;
  top: calc(env(safe-area-inset-top) + 22px);
  left: 64px;
  right: 64px;
  text-align: center;
  pointer-events: none;
  transition: opacity .9s ease, transform .9s ease;
}
.escena__eyebrow {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .42em;
  padding-left: .42em;
  text-transform: uppercase;
  color: rgba(255, 229, 166, .8);
}
.escena__pre {
  margin: 4px 0 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.3rem, 11vw, 3.3rem);
  line-height: 1.15;
  padding: 0 .2em .1em;
  background: var(--oro-grad);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(240, 196, 112, .35));
  animation: brillo-oro 9s linear infinite;
}
@keyframes brillo-oro { from { background-position: 0% 0; } to { background-position: -260% 0; } }
.escena.escribiendo .escena__intro { opacity: 0; transform: translateY(-14px); }

/* ---------- controles inferiores ---------- */
.escena__controles {
  position: absolute;
  z-index: 5;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  pointer-events: none;
  transition: opacity .8s ease, transform .8s ease;
}
.escena__controles > * { pointer-events: auto; }
.escena.escribiendo .escena__controles { opacity: 0; transform: translateY(16px); }
.escena.escribiendo .escena__controles > * { pointer-events: none; }

.escena__guia {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 240, 227, .88);
  pointer-events: none;
  transition: opacity .6s ease;
}
.escena.dibujo .escena__guia { opacity: .45; }
.escena__dedo { position: relative; width: 44px; height: 14px; border-radius: 7px; border: 1px solid rgba(240, 196, 112, .4); }
.escena__dedo i {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff8e6;
  box-shadow: 0 0 8px var(--oro), 0 0 14px rgba(246, 169, 198, .8);
  animation: deslizar 2s ease-in-out infinite;
}
@keyframes deslizar { 0% { transform: translateX(0); } 50% { transform: translateX(28px); } 100% { transform: translateX(0); } }

.medidor { width: min(300px, 84%); display: grid; gap: 7px; pointer-events: none !important; }
.medidor__fila { display: flex; justify-content: space-between; align-items: baseline; font-family: "Cinzel", Georgia, serif; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 229, 166, .8); }
.medidor__pct { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: #fff; }
.medidor__barra { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.medidor__barra i {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #c99a4c, #ffe5a6 55%, #f6a9c6);
  box-shadow: 0 0 10px rgba(240, 196, 112, .9);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- botón dorado ---------- */
.btn-oro {
  all: unset;
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  max-width: 100%;
  padding: 0 26px 0 20px;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  font-family: "Cinzel", Georgia, serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: #23180a;
  background: linear-gradient(180deg, #fff6dc 0%, #f3d38c 40%, #d5a552 58%, #f6dc9e 78%, #e0b465 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 10px 26px -10px rgba(240, 196, 112, .75), 0 0 30px -6px rgba(246, 169, 198, .45);
  transition: transform .2s ease, opacity .3s ease;
}
.btn-oro::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-18deg);
  animation: barrido 3.8s ease-in-out infinite;
}
@keyframes barrido { 0% { left: -40%; } 55% { left: 120%; } 100% { left: 120%; } }
.btn-oro:active { transform: scale(.96); }
.btn-oro:focus-visible { outline: 2px solid var(--oro-claro); outline-offset: 4px; }
.btn-oro:disabled { opacity: .55; cursor: default; }
.btn-oro__ico { width: 22px; height: 22px; flex: none; }

/* ---------- botón de sonido (fijo) ---------- */
.escena__sonido {
  all: unset;
  position: fixed;
  z-index: 70;
  top: calc(env(safe-area-inset-top) + 14px);
  right: max(14px, calc(50% - 270px + 14px));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--champan);
  background: rgba(5, 14, 18, .55);
  border: 1px solid rgba(240, 196, 112, .32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.escena__sonido:focus-visible { outline: 2px solid var(--oro-claro); outline-offset: 3px; }
.escena__sonido .son-x { display: none; }
.escena__sonido[aria-pressed="true"] .son-x { display: inline; }
.escena__sonido[aria-pressed="true"] .son-onda { display: none; }

/* ---------- revelado: foto en arco ---------- */
.revela {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top) + 70px) 16px calc(env(safe-area-inset-bottom) + 64px);
  text-align: center;
  pointer-events: none;
}
.revela > * { opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.escena.revelado .revela > * { opacity: 1; transform: none; }
.escena.revelado .marco { transition-delay: .1s; }
.escena.revelado .revela__nombre { transition-delay: .5s; }
.escena.revelado .revela__fecha { transition-delay: .75s; }
.escena .revela .revela__sigue { opacity: 0; }
.escena.listo .revela .revela__sigue { opacity: .95; transition-delay: .2s; }
.escena.listo .revela .revela__sigue.visto { opacity: 0; transition-delay: 0s; }

.revela__xv {
  margin: 0 0 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5em;
  padding-left: .5em;
  text-transform: uppercase;
  color: rgba(255, 229, 166, .88);
}

.marco {
  --mw: min(58vw, 29svh, 260px);
  position: relative;
  width: var(--mw);
  height: calc(var(--mw) * 1.25);
  flex: none;
  border-radius: 999px 999px 22px 22px;
  padding: 5px;
  background: linear-gradient(160deg, #fff3d0, #c99a4c 30%, #ffe5a6 52%, #f6b3c8 70%, #b98a3e 100%);
  box-shadow: 0 0 0 rgba(240, 196, 112, 0);
  transition: opacity 1s ease, transform 1s ease, box-shadow 2.2s ease;
}
.marco img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 999px 999px 18px 18px;
  filter: brightness(.16) saturate(.4);
  transition: filter 2.2s ease;
}
.marco__calidez, .marco__brillo { position: absolute; inset: 5px; border-radius: 999px 999px 18px 18px; pointer-events: none; }
.marco__calidez {                       /* luz cálida de las chispas sobre la foto */
  background:
    radial-gradient(70% 45% at 30% 100%, rgba(255, 190, 100, .38), transparent 70%),
    radial-gradient(60% 40% at 85% 8%, rgba(246, 169, 198, .22), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2.2s ease;
}
.marco__brillo {
  overflow: hidden;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 246, 222, .38) 46%, rgba(246, 179, 200, .2) 53%, transparent 64%);
  background-size: 300% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
}
.escena.iluminada .marco {
  box-shadow: 0 0 34px rgba(240, 196, 112, .55), 0 0 90px rgba(240, 196, 112, .28), 0 0 140px rgba(246, 169, 198, .18);
}
.escena.iluminada .marco img { filter: none; }
.escena.iluminada .marco__calidez { opacity: 1; }
.escena.listo .marco__brillo { animation: reflejo 6s ease-in-out infinite; }
@keyframes reflejo { 0% { background-position: 120% 0; } 60% { background-position: -40% 0; } 100% { background-position: -40% 0; } }

.revela__nombre {
  margin: 10px 0 0;
  padding: 0 .25em .12em;
  max-width: 100%;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3.3rem, 16vw, 5.4rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  background: var(--oro-grad);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(240, 196, 112, .45));
  animation: brillo-oro 8s linear infinite;
}
.revela__fecha {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(247, 240, 227, .92);
  text-shadow: 0 2px 10px rgba(3, 8, 10, .95);
}
.revela__sigue {
  margin: 12px 0 0;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--oro-claro);
  text-shadow: 0 2px 12px rgba(3, 8, 10, .95);
}

.btn-fuegos {
  all: unset;
  box-sizing: border-box;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  font-family: "Cinzel", Georgia, serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--champan);
  background: rgba(5, 14, 18, .5);
  border: 1px solid rgba(240, 196, 112, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .2s ease;
}
.btn-fuegos:active { transform: scale(.96); }
.btn-fuegos:focus-visible { outline: 2px solid var(--oro-claro); outline-offset: 3px; }
.btn-fuegos__ico { width: 22px; height: 22px; flex: none; color: var(--oro-claro); }

.escena .desliza-c { z-index: 5; color: rgba(247, 240, 227, .85); font-family: "Cinzel", Georgia, serif; }
.escena:not(.listo) .desliza-c { visibility: hidden; }

/* ==========================================================
   SECCIONES
   ========================================================== */
.s-titulo {
  background: var(--oro-grad);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .2em .12em;
  filter: drop-shadow(0 0 12px rgba(240, 196, 112, .25));
}

/* ---------- tarjeta escrita con luz ---------- */
.tarjeta-luz { padding-top: 84px; }
.tarjeta {
  position: relative;
  width: min(100%, 420px);
  padding: 24px 18px 20px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(18, 69, 80, .6), transparent 70%),
    linear-gradient(170deg, #0a1c22 0%, #061015 100%);
  border: 1px solid rgba(240, 196, 112, .35);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .95), 0 0 50px -18px rgba(240, 196, 112, .4);
}
.tarjeta__marco {
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1px solid rgba(240, 196, 112, .18);
  pointer-events: none;
}
.tarjeta > *:not(.tarjeta__marco) { position: relative; }
.tarjeta__para {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .4em;
  padding-left: .4em;
  text-transform: uppercase;
  color: rgba(255, 229, 166, .8);
}
.tarjeta__lienzo { position: relative; width: 100%; margin: 4px 0 0; }
.tarjeta__lienzo canvas { display: block; width: 100%; height: 100%; }
.tarjeta__espera {
  margin: 2px 0 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  line-height: 1.1;
  color: var(--rosa);
  text-shadow: 0 0 14px rgba(246, 169, 198, .45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1s ease, transform 1s ease;
}
.tarjeta.escrita .tarjeta__espera { opacity: 1; transform: none; }
.tarjeta__pases { margin: 10px 0 0; font-family: "Cinzel", Georgia, serif; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--suave); }
.tarjeta__pases strong { margin-left: 4px; font-size: .9rem; color: var(--oro-claro); }
.tarjeta__pie { margin: 14px 0 0; font-family: "Cinzel", Georgia, serif; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(240, 230, 210, .55); }
.tarjeta__pie span { color: var(--oro); }
.btn-reescribir { margin-top: 22px; gap: 10px; }
.btn-reescribir__ico { width: 20px; height: 20px; flex: none; color: var(--oro); }

/* ---------- dedicatoria ---------- */
.dedicatoria__ico { width: 54px; height: 54px; color: var(--oro); filter: drop-shadow(0 0 12px rgba(240, 196, 112, .6)); }
.dedicatoria__texto { margin: 22px 0 0; max-width: 21em; font-style: italic; font-size: clamp(1.25rem, 5.2vw, 1.42rem); line-height: 1.6; color: #f6efe2; }
.dedicatoria__familia { margin-top: 22px; }
.dedicatoria__t { margin: 22px 0 0; font-family: "Cinzel", Georgia, serif; font-size: .64rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--suave); }
.dedicatoria__n {
  margin: 4px 0 0;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  line-height: 1.25;
  background: var(--oro-grad);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .15em .08em;
}

/* ---------- cuenta, itinerario ---------- */
.s-cuenta__caja { position: relative; overflow: hidden; }
.s-cuenta__caja::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(255, 236, 190, .08), transparent); pointer-events: none; }
.s-cuenta__num { font-weight: 600; color: var(--champan); text-shadow: 0 0 14px rgba(240, 196, 112, .55); }
.s-cuenta__lbl { font-family: "Cinzel", Georgia, serif; }
.s-cuenta__fecha { font-style: italic; font-size: 1.2rem; }
.s-cuenta__fin { font-family: "Great Vibes", cursive; font-size: 2.6rem; }
.s-evento { position: relative; overflow: hidden; }
.s-evento::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--oro), var(--rosa), transparent); opacity: .85; }
.s-evento__icono { color: var(--oro-claro); border-color: rgba(240, 196, 112, .5); background: radial-gradient(circle at 35% 30%, rgba(255, 236, 190, .18), rgba(255, 236, 190, .02)); box-shadow: 0 0 22px rgba(240, 196, 112, .3); }
.s-evento__titulo { font-family: "Cinzel", Georgia, serif; font-weight: 600; }
.s-evento__hora { font-weight: 600; color: var(--champan); text-shadow: 0 0 14px rgba(240, 196, 112, .5); }
.s-evento__lugar { font-size: 1.15rem; }
.s-btn { font-family: "Cinzel", Georgia, serif; }
.s-btn--mini, .s-btn--linea { border-color: rgba(240, 196, 112, .55); }

/* ---------- galería ---------- */
.s-foto { border: 1px solid rgba(240, 196, 112, .25); }

/* ---------- vestimenta ---------- */
.s-vestimenta__tipo { font-family: "Great Vibes", cursive; font-size: 2.4rem; background: var(--oro-grad); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .15em .08em; }
.s-paleta li { border-color: rgba(240, 196, 112, .35); }

/* ---------- banda ---------- */
.banda { position: relative; margin: 10px 24px; overflow: hidden; border-radius: 200px 200px 26px 26px; border: 1px solid rgba(240, 196, 112, .35); box-shadow: 0 0 50px -16px rgba(240, 196, 112, .45); }
.banda img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.banda figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 24px 26px;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 14, .94));
  font-style: italic;
  font-size: clamp(1.25rem, 5.4vw, 1.5rem);
  line-height: 1.4;
  text-align: center;
  color: #fff;
}

/* ---------- confirmación ---------- */
.s-rsvp__saludo { font-family: "Great Vibes", cursive; font-size: 2.2rem; color: var(--rosa); }
.s-btn--lleno {
  position: relative;
  overflow: hidden;
  color: #23180a;
  background: linear-gradient(180deg, #fff6dc 0%, #f3d38c 40%, #d5a552 58%, #f6dc9e 78%, #e0b465 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 14px 30px -12px rgba(240, 196, 112, .8), 0 0 40px -8px rgba(246, 169, 198, .5);
}
.s-btn--lleno::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: skewX(-18deg);
  animation: barrido 3.8s ease-in-out infinite;
}
.s-btn__ico { width: 22px; height: 22px; flex: none; }

/* ---------- pie ---------- */
.s-pie__t { font-family: "Cinzel", Georgia, serif; }
.s-pie__n { font-family: "Great Vibes", cursive; font-size: 3.2rem; background: var(--oro-grad); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .15em .1em; }

@media (min-width: 700px) {
  .marco { --mw: min(34vw, 31svh, 280px); }
}

@media (max-height: 680px) {
  .revela { padding-top: calc(env(safe-area-inset-top) + 62px); padding-bottom: calc(env(safe-area-inset-bottom) + 54px); }
  .marco { --mw: min(52vw, 27svh, 240px); }
  .revela__xv { margin-bottom: 8px; }
  .revela__nombre { margin-top: 6px; font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .revela__sigue { margin-top: 6px; font-size: 1rem; }
  .btn-fuegos { margin-top: 8px; min-height: 40px; }
}
@media (max-height: 600px) {
  .revela__sigue { display: none; }
  .escena__pre { font-size: clamp(2rem, 9vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  .bokeh i, .escena__pre, .revela__nombre, .escena__dedo i, .btn-oro::after, .s-btn--lleno::after,
  .escena.listo .marco__brillo { animation: none !important; }
  .marco, .marco img, .marco__calidez, .escena__lienzo--nombre { transition-duration: .3s; }
}
