/* Ocaso — el día de la boda pasa mientras se baja. functions/invitacion/ocaso.js
   Cada sección es una hora del día (h-0 tarde … h-10 noche). Sin WebGL, cada
   una lleva de fondo su trozo de cielo; con WebGL (ocaso/cielo.js) el cielo es
   uno solo, fijo, y las secciones se vuelven transparentes. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/hanken-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/marcellus-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/marcellus-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --c0: #EEDFCB; --c1: #EBD5BC; --c2: #E9C6A6; --c3: #E5B08C; --c4: #DB9579; --c5: #B9727B;
  --c6: #7B5878; --c7: #433E66; --c8: #24284C; --c9: #161B37; --c10: #0C1024;
  --tinta: #2A2024;
  --tinta-suave: #5C4A4C;
  --luz: #F6EEE6;
  --luz-suave: rgba(246, 238, 230, .74);
  --sol: #F2A65A;
  --sol-tinta: #9C4B26;
  --display: "Marcellus", "Optima", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --curva: cubic-bezier(.16, 1, .3, 1);
  --lateral: clamp(22px, 6vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--c10); }
body { margin: 0; background: var(--c0); color: var(--tinta); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
.icono { width: 1.1em; height: 1.1em; flex: none; }
.visual-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.etiqueta { font: 600 11px/1.6 var(--sans); letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--sol-tinta); }
.noche .etiqueta { color: var(--sol); }
.enlace {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid currentColor;
  font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: gap .4s var(--curva);
}
.enlace:hover { gap: 16px; }

/* ===== El cielo ===== */
.cielo { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.tramo { position: relative; padding: 16svh var(--lateral); text-align: center; }
.noche { color: var(--luz); text-shadow: 0 1px 18px rgba(12, 16, 36, .45); }
.h-0 { background: linear-gradient(var(--c0), var(--c1)); } .h-1 { background: linear-gradient(var(--c1), var(--c2)); }
.h-2 { background: linear-gradient(var(--c2), var(--c3)); } .h-3 { background: linear-gradient(var(--c3), var(--c4)); }
.h-4 { background: linear-gradient(var(--c4), var(--c5)); } .h-5 { background: linear-gradient(var(--c5), var(--c6)); }
.h-6 { background: linear-gradient(var(--c6), var(--c7)); } .h-7 { background: linear-gradient(var(--c7), var(--c8)); }
.h-8 { background: linear-gradient(var(--c8), var(--c9)); } .h-9 { background: linear-gradient(var(--c9), var(--c10)); }
.h-10 { background: var(--c10); }
html.cielo-vivo .tramo, html.cielo-vivo body { background: transparent; }
.cabeza { display: grid; justify-items: center; gap: 10px; margin-bottom: 44px; }
.cabeza h2 { font: 400 clamp(2.4rem, 10vw, 4.4rem)/1.05 var(--display); letter-spacing: .01em; text-wrap: balance; }
.foto { overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -32px rgba(42, 32, 36, .55); }
.foto img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Barra ===== */
.barra {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  height: 54px; padding: 0 var(--lateral); padding-top: env(safe-area-inset-top); box-sizing: content-box; color: var(--luz);
  background: rgba(22, 20, 36, .32); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transform: translateY(-110%); transition: transform .6s var(--curva);
}
.tras-portada .barra { transform: none; }
.barra-nombres { font: 400 1.2rem/1 var(--display); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-accion { flex: none; padding: 10px 18px; border-radius: 99px; background: var(--luz); color: var(--tinta); font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }

/* ===== Portada: media tarde ===== */
.portada { min-height: 100svh; display: grid; justify-items: center; align-content: start; gap: 14px; padding-top: calc(env(safe-area-inset-top) + 15svh); }
.nombres { display: grid; justify-items: center; font: 400 clamp(3.4rem, 16vw, 7.4rem)/.98 var(--display); letter-spacing: .005em; }
.o-y { font-size: .45em; line-height: 1.3; color: var(--sol-tinta); }
.letras { display: inline-block; }
.letra { display: inline-block; }
.letra.hueco { width: .25em; }
.portada-fecha { font: 600 11px/1.7 var(--sans); letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; color: var(--tinta-suave); }
/* La foto es el sol: redonda, con su halo */
.portada-sol { width: min(60vw, 21rem, 34svh); aspect-ratio: 1; margin-top: 7svh; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px rgba(255, 236, 210, .45), 0 0 90px 30px rgba(255, 196, 130, .55); }
.portada-sol img { width: 100%; height: 100%; object-fit: cover; }

/* ===== La frase ===== */
.cita p { max-width: 34rem; margin: 0 auto; font: 400 clamp(1.8rem, 7.5vw, 3rem)/1.25 var(--display); text-wrap: balance; }

/* ===== Historia ===== */
.capitulos { display: grid; gap: 12svh; max-width: 62rem; margin: 0 auto; }
.capitulo { display: grid; justify-items: center; gap: 22px; }
.capitulo .foto { width: min(82vw, 26rem); aspect-ratio: 4 / 5; }
.capitulo-texto { display: grid; justify-items: center; gap: 8px; max-width: 30rem; }
.capitulo-anio { font: 400 2.6rem/1 var(--display); color: var(--sol-tinta); }
.capitulo h3 { font: 400 1.8rem/1.15 var(--display); text-wrap: balance; }
.capitulo-texto > p:not(.capitulo-anio) { color: var(--tinta-suave); }

/* ===== La fecha ===== */
.fecha-dia { margin-top: 14px; font: 400 1.5rem/1 var(--display); }
.fecha-gran { font: 400 clamp(4.6rem, 22vw, 10rem)/1 var(--display); letter-spacing: -.01em; }
.fecha-gran span { display: block; font-size: .42em; line-height: 1.1; }
.fecha-anio { margin-top: 8px; font: 600 12px/1 var(--sans); letter-spacing: .3em; text-indent: .3em; color: var(--tinta-suave); }
.cuenta { margin-top: 34px; }
.cuenta-numeros { display: flex; justify-content: center; gap: clamp(16px, 6vw, 36px); }
.cuenta-casilla { display: grid; justify-items: center; gap: 4px; }
.cuenta-n { display: inline-block; font: 400 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.cuenta-n.cambia { animation: cambiar .5s var(--curva); }
.cuenta-e { font: 600 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-suave); }
.cuenta-pasada { display: none; font: 400 1.4rem/1.4 var(--display); }
.cuenta.pasada .cuenta-numeros { display: none; }
.cuenta.pasada .cuenta-pasada { display: block; }

/* ===== El día, al caer la tarde: en cristal, que el fondo ya cambia mucho ===== */
.momentos { max-width: 38rem; margin: 0 auto; padding: 8px 22px; border-radius: 24px; background: rgba(255, 246, 238, .66); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); text-align: left; color: var(--tinta); text-shadow: none; }
.momento { display: grid; grid-template-columns: 4.6rem 1fr; gap: 14px; padding: 20px 0; }
.momento + .momento { border-top: 1px solid rgba(42, 32, 36, .14); }
.momento time { font: 400 1.5rem/1.2 var(--display); color: var(--sol-tinta); font-variant-numeric: tabular-nums; }
.momento h3 { font: 400 1.4rem/1.25 var(--display); }
.momento-donde { margin-top: 4px; font: 600 10.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-suave); }
.momento-nota { margin-top: 4px; font-size: .95rem; color: var(--tinta-suave); }

/* ===== De noche ===== */
.sitios { display: grid; gap: 64px; justify-items: center; }
.sitio { display: grid; justify-items: center; gap: 6px; max-width: 26rem; }
.sitio .foto { width: min(82vw, 24rem); aspect-ratio: 4 / 3; margin-bottom: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.sitio h3 { font: 400 1.9rem/1.15 var(--display); text-wrap: balance; }
.sitio-municipio { color: var(--luz-suave); }
.galeria-rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 66rem; margin: 0 auto; }
.galeria-rejilla .foto { aspect-ratio: 3 / 4; border-radius: 16px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); }
.galeria-rejilla .foto:nth-child(3n + 2) { translate: 0 28px; }
.practico dl { display: grid; gap: 26px; max-width: 44rem; margin: 0 auto; }
.practico-fila dt { font: 400 1.45rem/1.25 var(--display); }
.practico-fila dd { margin-top: 4px; color: var(--luz-suave); }
.confirmar-caja { display: grid; justify-items: center; max-width: 32rem; margin: 0 auto; padding: 44px 26px 38px; border-radius: 28px; background: rgba(246, 238, 230, .08); border: 1px solid rgba(246, 238, 230, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.confirmar-caja h2 { margin-top: 12px; font: 400 clamp(2.3rem, 10vw, 3.4rem)/1.05 var(--display); text-wrap: balance; }
.confirmar-texto { margin-top: 12px; color: var(--luz-suave); }
.confirmar-botones { display: grid; gap: 10px; width: 100%; margin-top: 26px; }
.boton {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: 99px; background: var(--luz); color: var(--tinta);
  font: 600 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; text-shadow: none; transition: background .3s;
}
.boton b { color: var(--sol-tinta); }
.boton:hover { background: #fff; }
.regalo > p { max-width: 32rem; margin: 0 auto; color: var(--luz-suave); }
.metodos { width: min(100%, 30rem); margin: 26px auto 0; border-top: 1px solid rgba(246, 238, 230, .25); text-align: left; }
.metodo { border-bottom: 1px solid rgba(246, 238, 230, .25); }
.metodo summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 2px; font: 400 1.35rem/1 var(--display); }
.metodo summary::-webkit-details-marker { display: none; }
.metodo summary .icono { color: var(--sol); width: 20px; height: 20px; }
.metodo summary::after { content: "+"; margin-left: auto; font: 300 1.5rem/1 var(--sans); color: var(--sol); transition: transform .4s var(--curva); }
.metodo[open] summary::after { transform: rotate(45deg); }
.metodo-cuerpo { display: grid; gap: 14px; padding: 0 2px 20px; }
.metodo-dato { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.metodo-etiqueta { width: 100%; font: 600 9.5px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sol); }
.metodo-valor { font: 400 1.3rem/1.3 var(--display); }
.metodo-valor.iban { font: 500 .98rem/1.5 var(--sans); letter-spacing: .04em; word-break: break-all; }
.metodo-copiar { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(246, 238, 230, .35); border-radius: 99px; background: none; color: inherit; cursor: pointer; font: 600 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.metodo-copiar.hecho { border-color: var(--sol); color: var(--sol); }
.pie { display: grid; justify-items: center; gap: 14px; min-height: 80svh; align-content: center; padding-bottom: 30px; }
.pie-nombres { font: 400 clamp(2.4rem, 11vw, 4.4rem)/1.1 var(--display); }
.pie-marca { margin-top: 14svh; font: 600 9.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--luz-suave); }

/* El encuadre que elige la pareja (modelo.js → fx-N fy-N) */
.fx-0 { --fx: 0%; } .fy-0 { --fy: 0%; }
.fx-10 { --fx: 10%; } .fy-10 { --fy: 10%; }
.fx-20 { --fx: 20%; } .fy-20 { --fy: 20%; }
.fx-30 { --fx: 30%; } .fy-30 { --fy: 30%; }
.fx-40 { --fx: 40%; } .fy-40 { --fy: 40%; }
.fx-50 { --fx: 50%; } .fy-50 { --fy: 50%; }
.fx-60 { --fx: 60%; } .fy-60 { --fy: 60%; }
.fx-70 { --fx: 70%; } .fy-70 { --fy: 70%; }
.fx-80 { --fx: 80%; } .fy-80 { --fy: 80%; }
.fx-90 { --fx: 90%; } .fy-90 { --fy: 90%; }
.fx-100 { --fx: 100%; } .fy-100 { --fy: 100%; }
img[class*="fx-"] { object-position: var(--fx, 50%) var(--fy, 50%) !important; }

/* ===== Apaisado y pantalla ancha ===== */
@media (min-width: 900px), (orientation: landscape) and (min-width: 640px) {
  .capitulo { grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; text-align: left; }
  .capitulo .foto { justify-self: end; max-height: 78svh; }
  .capitulo-texto { justify-items: start; }
  .capitulo:nth-child(even) .foto { order: 2; justify-self: start; }
  .capitulo:not(:has(.foto)) { grid-template-columns: 1fr; text-align: center; }
  .capitulo:not(:has(.foto)) .capitulo-texto { justify-items: center; margin: 0 auto; }
  .sitios { grid-template-columns: repeat(auto-fit, minmax(18rem, 26rem)); justify-content: center; gap: 6vw; }
  .galeria-rejilla { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .galeria-rejilla .foto:nth-child(3n + 2) { translate: none; }
  .galeria-rejilla .foto:nth-child(even) { translate: 0 40px; }
  .practico dl { grid-template-columns: 1fr 1fr; column-gap: 50px; text-align: left; }
  .momento { grid-template-columns: 6rem 1fr; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .portada { padding-top: 14svh; }
  .nombres { display: block; font-size: 15svh; }
  .o-linea, .o-y { display: inline; }
  .portada-sol { width: 30svh; margin-top: 4svh; }
}

/* ===== Movimiento ===== */
.letras .letra:nth-child(1) { --n: 1; }
.letras .letra:nth-child(2) { --n: 2; }
.letras .letra:nth-child(3) { --n: 3; }
.letras .letra:nth-child(4) { --n: 4; }
.letras .letra:nth-child(5) { --n: 5; }
.letras .letra:nth-child(6) { --n: 6; }
.letras .letra:nth-child(7) { --n: 7; }
.letras .letra:nth-child(8) { --n: 8; }
.letras .letra:nth-child(9) { --n: 9; }
.letras .letra:nth-child(10) { --n: 10; }
.letras .letra:nth-child(11) { --n: 11; }
.letras .letra:nth-child(12) { --n: 12; }
.letras .letra:nth-child(13) { --n: 13; }
.letras .letra:nth-child(14) { --n: 14; }
.letras .letra:nth-child(15) { --n: 15; }
.letras .letra:nth-child(16) { --n: 16; }
.letras .letra:nth-child(17) { --n: 17; }
.letras .letra:nth-child(18) { --n: 18; }
.letras .letra:nth-child(19) { --n: 19; }
.letras .letra:nth-child(20) { --n: 20; }
.letras .letra:nth-child(21) { --n: 21; }
.letras .letra:nth-child(22) { --n: 22; }
.letras .letra:nth-child(23) { --n: 23; }
.letras .letra:nth-child(24) { --n: 24; }
@keyframes posar { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes revelar { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes cambiar { from { opacity: 0; transform: translateY(-40%); } to { opacity: 1; transform: none; } }
@keyframes ponerse { to { transform: translateY(26svh) scale(.86); filter: saturate(1.25) brightness(.92); } }
@keyframes salir-sol { from { opacity: 0; transform: translateY(14svh); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .letra { animation: posar 1s calc(.3s + var(--n, 1) * 55ms) var(--curva) both; }
  .portada .etiqueta, .portada-fecha, .o-y { animation: aparecer 1.4s .9s ease both; }
  .portada-sol { animation: salir-sol 1.8s .6s var(--curva) both; }
  @supports (animation-timeline: view()) {
    /* La foto-sol baja al bajar: se pone */
    .portada-sol img { animation: ponerse linear both; animation-timeline: view(); animation-range: exit -20% exit 100%; }
    .revela { animation: revelar linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
  .js-revela .revela { transition: opacity 1s var(--curva), transform 1s var(--curva); }
  .js-revela .revela:not(.visto) { opacity: 0; transform: translateY(34px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.cine-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.cine-activo > .cine-lienzo { opacity: 1; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Foco visible para teclado y lectores de pantalla (no sale al tocar) */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* Tamaño de dedo (44 px, lo que pide Apple) y anclas que no quedan bajo la barra.
   Lo comprueba herramientas/revisar.mjs */
[id] { scroll-margin-top: 78px; }
#inicio { scroll-margin-top: 0; }
.enlace { min-height: 44px; align-items: flex-end; margin-top: 12px; }
.metodo-copiar { min-height: 42px; }
.barra-accion { min-height: 40px; display: inline-flex; align-items: center; }
.barra-nombres { line-height: 44px; }
.pie-marca a { display: inline-block; padding: 14px 3px; margin: -14px 0; }

/* ===== Confirmar con enlace personal (comun.js → formularioConfirmar).
   Igual en las siete plantillas: hereda el color y la letra de cada una. */
.rsvp { display: grid; gap: 18px; width: 100%; max-width: 34rem; margin: 22px auto 0; text-align: left; }
.rsvp-saludo { margin: 0; font-size: 1.15em; }
.rsvp-hecho { margin: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid currentColor; font-weight: 600; }
.rsvp-nota { margin: 0; }
.rsvp fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rsvp legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.rsvp-asiste { display: flex; flex-wrap: wrap; gap: 10px; }
.rsvp-asiste legend { width: 100%; }
.rsvp-asiste label { flex: 1 1 9rem; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent); cursor: pointer; }
.rsvp-asiste label:has(input:checked) { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.rsvp-asiste input { width: 20px; height: 20px; margin: 0; accent-color: currentColor; }
.rsvp-si, .rsvp-personas { display: grid; gap: 18px; }
.rsvp-persona { display: grid; gap: 10px; padding-top: 14px !important; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent) !important; }
.rsvp-campo { display: grid; gap: 6px; }
.rsvp-campo > span { font-size: .88em; }
.rsvp input:not([type=radio]), .rsvp select, .rsvp textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 5%, transparent);
  color: inherit; font: inherit; font-size: max(16px, 1em); }
.rsvp select option { color: #111; background: #fff; }
.rsvp textarea { min-height: 90px; resize: vertical; }
.rsvp input:focus-visible, .rsvp select:focus-visible, .rsvp textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.rsvp-enviar { justify-self: start; min-height: 48px; cursor: pointer; font: inherit; }
.rsvp-whatsapp { display: flex; flex-wrap: wrap; gap: 10px; }
.rsvp:has(input[name="asiste"][value="no"]:checked) .rsvp-si { display: none; }
.rsvp:has(select[name="n"] option[value="1"]:checked) .rsvp-persona:nth-child(n+2) { display: none; }
.rsvp:has(select[name="n"] option[value="2"]:checked) .rsvp-persona:nth-child(n+3) { display: none; }
.rsvp:has(select[name="n"] option[value="3"]:checked) .rsvp-persona:nth-child(n+4) { display: none; }
.rsvp:has(select[name="n"] option[value="4"]:checked) .rsvp-persona:nth-child(n+5) { display: none; }
.rsvp:has(select[name="n"] option[value="5"]:checked) .rsvp-persona:nth-child(n+6) { display: none; }
.rsvp:has(select[name="n"] option[value="6"]:checked) .rsvp-persona:nth-child(n+7) { display: none; }
.rsvp:has(select[name="n"] option[value="7"]:checked) .rsvp-persona:nth-child(n+8) { display: none; }
.rsvp:has(select[name="n"] option[value="8"]:checked) .rsvp-persona:nth-child(n+9) { display: none; }
.rsvp:has(select[name="n"] option[value="9"]:checked) .rsvp-persona:nth-child(n+10) { display: none; }
.rsvp:has(select[name="n"] option[value="10"]:checked) .rsvp-persona:nth-child(n+11) { display: none; }
.rsvp:has(select[name="n"] option[value="11"]:checked) .rsvp-persona:nth-child(n+12) { display: none; }
.rsvp:has(select[name="n"] option[value="12"]:checked) .rsvp-persona:nth-child(n+13) { display: none; }
.rsvp:has(select[name="n"] option[value="13"]:checked) .rsvp-persona:nth-child(n+14) { display: none; }
.rsvp:has(select[name="n"] option[value="14"]:checked) .rsvp-persona:nth-child(n+15) { display: none; }
.rsvp:has(select[name="n"] option[value="15"]:checked) .rsvp-persona:nth-child(n+16) { display: none; }
.rsvp:has(select[name="n"] option[value="16"]:checked) .rsvp-persona:nth-child(n+17) { display: none; }
.rsvp:has(select[name="n"] option[value="17"]:checked) .rsvp-persona:nth-child(n+18) { display: none; }
.rsvp:has(select[name="n"] option[value="18"]:checked) .rsvp-persona:nth-child(n+19) { display: none; }
.rsvp:has(select[name="n"] option[value="19"]:checked) .rsvp-persona:nth-child(n+20) { display: none; }
