/* Rings · invitación. Tres diseños con la misma estructura: marfil (clásico), jardin (botánico) y medianoche (art déco).
   Letras: Pinyon Script (nombres), Cormorant Garamond (títulos y texto), Jost (detalles pequeños). */
:root, [data-plantilla="marfil"] {
  --fondo: #f7f2ea; --papel: #fffdf8; --tinta: #3a3128; --suave: #7d6f60; --oro: #a8844c; --oro2: #c9a86c;
  --linea: #e6dccb; --btn-txt: #fffdf8; --sombra: 0 1px 2px rgba(80,60,30,.06), 0 18px 50px -24px rgba(80,60,30,.28);
  --script: "Pinyon Script", cursive; --serif: "Cormorant Garamond", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
}
[data-plantilla="jardin"] {
  --fondo: #f3f2ea; --papel: #fbfbf6; --tinta: #2f3a2e; --suave: #66725f; --oro: #8a7a4e; --oro2: #a9b59c;
  --linea: #dfe3d4; --btn-txt: #fbfbf6; --hoja: #7f9677;
}
[data-plantilla="medianoche"] {
  --fondo: #0d111c; --papel: #141a29; --tinta: #efe6d2; --suave: #b3a98f; --oro: #c8a96a; --oro2: #e2c88f;
  --linea: #2b3246; --btn-txt: #0d111c; --sombra: 0 24px 60px -30px rgba(0,0,0,.7);
}
* { box-sizing: border-box; touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.cerrado, html.cerrado body { overflow: hidden; height: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 19px/1.6 var(--serif); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; margin: 0; }
p { margin: 0 0 .7em; }
[hidden] { display: none !important; }
.cargando { text-align: center; padding: 40vh 20px; color: var(--suave); font-family: var(--sans); font-size: 14px; letter-spacing: .1em; }

.orn { display: block; color: var(--oro); line-height: 0; }
.orn svg { width: 100%; height: 100%; }
.divisor { width: 170px; height: 22px; margin: 14px auto 22px; }
.mini { font: 400 11.5px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--suave); margin-bottom: .4em; }

/* ——— Sobre de entrada ——— */
.sobre { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(120% 80% at 50% 0%, var(--papel), var(--fondo)); transition: opacity .9s ease .25s, visibility 0s 1.15s; }
.sobre-papel { text-align: center; width: min(420px, 100%); padding: 56px 28px 44px; position: relative; transition: transform 1s cubic-bezier(.7,0,.2,1); }
.sobre-papel::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--linea); outline: 1px solid var(--linea); outline-offset: 6px; pointer-events: none; }
.sobre-pre { font: 400 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--suave); margin-bottom: 30px; }
.sello { width: 118px; height: 118px; border-radius: 50%; border: 0; cursor: pointer; margin: 0 auto 26px; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--oro2), var(--oro) 60%, color-mix(in srgb, var(--oro) 70%, #000) 100%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--oro) 18%, transparent), 0 14px 30px -10px rgba(0,0,0,.45), inset 0 2px 6px rgba(255,255,255,.35);
  animation: latido 2.6s ease-in-out infinite; }
.sello-ini { font: 400 34px/1 var(--script); color: var(--btn-txt); text-shadow: 0 1px 1px rgba(0,0,0,.25); white-space: nowrap; }
.sello:focus-visible { outline: 2px solid var(--tinta); outline-offset: 8px; }
.sobre-para { font: 400 26px/1.3 var(--serif); font-style: italic; margin-bottom: 18px; }
.sobre-tip { font: 400 12px var(--sans); letter-spacing: .14em; color: var(--suave); margin: 0; }
.sobre.abriendo { opacity: 0; visibility: hidden; }
.sobre.abriendo .sobre-papel { transform: translateY(-30px) scale(1.04); }
.sobre.abriendo .sello { animation: none; transform: scale(1.15); transition: transform .5s; }
@keyframes latido { 50% { transform: scale(1.05); } }

/* ——— Portada ——— */
.portada { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 70px 24px; overflow: hidden; }
.portada-in { position: relative; z-index: 2; max-width: 680px; }
.portada-foto { position: absolute; inset: 0; background-size: cover; background-position: center; }
.portada.con-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); z-index: 1; }
.portada.con-foto { color: #fff; }
.portada.con-foto .orn, .portada.con-foto .pre, .portada.con-foto .ciudad { color: #fff; }
.esq { position: absolute; width: clamp(110px, 26vw, 220px); height: clamp(110px, 26vw, 220px); opacity: .9; z-index: 1; }
.esq-1 { top: 14px; left: 14px; }
.esq-2 { bottom: 14px; right: 14px; transform: rotate(180deg); }
.pre { font: 400 13px var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--suave); margin-bottom: 18px; }
.nombres { font: 400 clamp(64px, 17vw, 132px)/.95 var(--script); color: var(--tinta); display: flex; flex-direction: column; align-items: center; }
.portada.con-foto .nombres { color: #fff; }
.nombres .amp { font-family: var(--serif); font-style: italic; font-size: .42em; color: var(--oro); margin: .12em 0 .02em; }
.fecha-larga { font: 500 clamp(19px, 4.6vw, 24px)/1.4 var(--serif); letter-spacing: .04em; margin-bottom: 4px; }
.ciudad { font: 400 13px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--suave); }
.bajar { display: inline-block; width: 40px; height: 40px; margin-top: 26px; animation: flota 2.4s ease-in-out infinite; }
.bajar .orn { width: 40px; height: 40px; }
@keyframes flota { 50% { transform: translateY(6px); } }

/* ——— Hoja de contenido ——— */
.hoja { max-width: 760px; margin: 0 auto; padding: 0 16px 20px; }
.sec { background: var(--papel); text-align: center; padding: 54px clamp(22px, 6vw, 64px); margin: 0 0 18px; border-radius: 2px; box-shadow: var(--sombra); position: relative; }
.sec::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--linea); pointer-events: none; }
.sec-t { font: 500 clamp(30px, 7vw, 40px)/1.15 var(--serif); letter-spacing: .01em; }
.sec h3 { font: 600 21px/1.3 var(--serif); margin-bottom: 4px; }
.sec p { color: var(--tinta); }

.para { margin: 0 auto 28px; padding: 22px 18px 18px; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); max-width: 440px; }
.para-pre { font: italic 400 18px var(--serif); color: var(--suave); margin: 0; }
.para-n { font: 400 clamp(38px, 10vw, 52px)/1.15 var(--script); color: var(--oro); margin: 4px 0 6px; }
.para-c { font: 400 14px var(--sans); letter-spacing: .06em; margin: 0; }
.frase { font-style: italic; font-size: clamp(21px, 5vw, 25px); line-height: 1.5; max-width: 520px; margin: 0 auto 26px; }
.padres { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.padres-n { font-size: 20px; margin: 0; white-space: pre-line; }

.cuenta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 460px; margin: 0 auto; }
.cc { border: 1px solid var(--linea); padding: 14px 4px 10px; }
.cc-n { display: block; font: 500 clamp(30px, 8vw, 42px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.cc-t { font: 400 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--suave); }
.cuenta-fin { font: 400 40px var(--script); color: var(--oro); }

.linea { list-style: none; padding: 0; margin: 0 auto; max-width: 480px; position: relative; }
.linea::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--linea); }
.linea li { position: relative; background: var(--papel); padding: 12px 0 18px; }
.linea li::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto 10px; transform: rotate(45deg); border: 1px solid var(--oro); background: var(--papel); }
.linea li p:last-child { margin-bottom: 0; }

.eventos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.evento { border: 1px solid var(--linea); padding: 28px 18px 22px; }
.ico { width: 48px; height: 48px; margin: 0 auto 10px; }
.ev-hora { font: 400 13px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--oro); }
.ev-lugar { font-size: 22px; font-weight: 500; margin-bottom: 2px; }
.ev-dir { font-size: 17px; color: var(--suave) !important; }
.cal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; }
.cal .btn { min-height: 40px; padding: 8px 14px; font-size: 11px; letter-spacing: .14em; }
.cal-t { width: 100%; font: 400 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--suave); }

.itin { list-style: none; padding: 0; margin: 0 auto; max-width: 460px; text-align: left; }
.itin li { display: grid; grid-template-columns: 96px 18px 1fr; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--linea); }
.itin li:last-child { border-bottom: 0; }
.itin-h { font: 400 13px var(--sans); letter-spacing: .08em; color: var(--oro); text-align: right; padding-right: 4px; }
.itin-p::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto; border-radius: 50%; background: var(--oro); }
.itin-q { font-size: 20px; }

.vest-c { font: 400 clamp(40px, 10vw, 54px)/1.1 var(--script); color: var(--oro) !important; margin-bottom: 8px; }
.paleta { display: flex; justify-content: center; gap: 10px; margin: 18px 0 8px; flex-wrap: wrap; }
.sw { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 0 0 3px var(--papel), 0 0 0 4px var(--linea); }
.nota { font-style: italic; color: var(--suave) !important; margin-top: 10px; }

.galeria { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -8px 8px; -webkit-overflow-scrolling: touch; }
.galeria figure { flex: 0 0 78%; max-width: 380px; margin: 0; scroll-snap-align: center; aspect-ratio: 4/5; overflow: hidden; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }

.regalos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 18px 0; }
.regalo { border: 1px solid var(--linea); padding: 20px 16px; }
.regalo p:last-child { margin: 0; }
.regalo .btn { margin-top: 8px; }
.banco { border: 1px solid var(--oro); padding: 22px 18px; max-width: 420px; margin: 18px auto 0; }
.banco dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; text-align: left; margin: 8px 0 16px; }
.banco dt { font: 400 12px/2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--suave); }
.banco dd { margin: 0; font-size: 19px; overflow-wrap: anywhere; }

/* ——— Botones ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 1px solid var(--oro); background: var(--oro);
  color: var(--btn-txt); font: 500 12.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .25s, color .25s, transform .2s; }
.btn:hover { background: transparent; color: var(--oro); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.btn-sec { background: transparent; color: var(--oro); }
.btn-sec:hover { background: var(--oro); color: var(--btn-txt); }
.btn-grande { width: 100%; min-height: 52px; font-size: 13.5px; margin-top: 8px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ——— Confirmación ——— */
.rsvp-lim { font-style: italic; color: var(--suave) !important; }
.rsvp { max-width: 460px; margin: 22px auto 0; text-align: left; display: grid; gap: 14px; }
.rsvp-para { font: 400 34px/1.2 var(--script); color: var(--oro) !important; text-align: center; margin: 0; }
.campo { display: grid; gap: 6px; }
.campo > span { font: 400 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.rsvp input, .rsvp select, .rsvp textarea { width: 100%; font: 400 18px/1.4 var(--serif); color: var(--tinta); background: var(--fondo); border: 1px solid var(--linea);
  border-radius: 0; padding: 12px 14px; min-height: 48px; -webkit-appearance: none; appearance: none; }
.rsvp select { background-image: linear-gradient(45deg, transparent 50%, var(--oro) 50%), linear-gradient(135deg, var(--oro) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.rsvp input:focus, .rsvp select:focus, .rsvp textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px color-mix(in srgb, var(--oro) 20%, transparent); }
.rsvp ::placeholder { color: var(--suave); opacity: .8; }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opc { position: relative; cursor: pointer; }
.opc input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opc span { display: grid; place-items: center; text-align: center; min-height: 58px; padding: 10px; border: 1px solid var(--linea); font: 500 18px/1.2 var(--serif); transition: .2s; }
.opc input:checked + span { border-color: var(--oro); background: var(--oro); color: var(--btn-txt); }
.opc input:focus-visible + span { outline: 2px solid var(--tinta); outline-offset: 2px; }
.si-bloque { display: grid; gap: 12px; }
.gente { display: grid; gap: 8px; }
.persona { display: grid; grid-template-columns: 1fr 140px; gap: 8px; }
.persona:has(> :only-child) { grid-template-columns: 1fr; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #b4432f; font: 400 15px var(--sans); margin: 0; min-height: 0; }
[data-plantilla="medianoche"] .err { color: #f19a86; }
.gracias { margin: 24px auto 0; max-width: 440px; padding: 26px 18px; border: 1px solid var(--oro); }
.gracias-t { font: 400 40px/1.2 var(--script); color: var(--oro) !important; }

/* ——— Pie ——— */
.pie { text-align: center; padding: 50px 20px calc(40px + env(safe-area-inset-bottom)); }
.hashtag { font: 500 26px var(--serif); color: var(--oro); margin-bottom: 2px; }
.pie .btn { margin: 18px 0 4px; }
.nombres-pie { font: 400 clamp(34px, 9.5vw, 46px)/1.2 var(--script); margin: 26px 0 8px; }
.nombres-pie .amp { color: var(--oro); }
.firma { font: 400 12px var(--sans); letter-spacing: .14em; color: var(--suave); }
.firma a { color: var(--oro); }

.falla { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 24px; gap: 10px; }

.musica { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--oro); background: var(--papel); color: var(--oro); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sombra); }
.musica svg { width: 22px; height: 22px; }
.musica.sonando svg { animation: latido 1.2s ease-in-out infinite; }

/* ——— Toques de cada diseño ——— */
[data-plantilla="jardin"] .esq { color: var(--hoja); }
[data-plantilla="jardin"] .divisor { color: var(--hoja); width: 200px; height: 34px; }
[data-plantilla="jardin"] .sec { border-radius: 18px; }
[data-plantilla="jardin"] .sec::before { border-radius: 12px; }
[data-plantilla="jardin"] .sello { background: radial-gradient(circle at 35% 30%, #b8c7ad, var(--hoja) 60%, #5a6e54); box-shadow: 0 0 0 6px rgba(127,150,119,.18), 0 14px 30px -10px rgba(0,0,0,.35); }
[data-plantilla="jardin"] .portada { background: radial-gradient(70% 50% at 50% 50%, var(--papel), transparent); }
[data-plantilla="medianoche"] body, [data-plantilla="medianoche"] { color-scheme: dark; }
[data-plantilla="medianoche"] .nombres { color: var(--oro2); }
[data-plantilla="medianoche"] .sec::before { border-color: color-mix(in srgb, var(--oro) 35%, transparent); inset: 8px; outline: 1px solid color-mix(in srgb, var(--oro) 18%, transparent); outline-offset: -6px; }
[data-plantilla="medianoche"] .portada { background:
  repeating-conic-gradient(from 0deg at 50% 110%, color-mix(in srgb, var(--oro) 7%, transparent) 0 2deg, transparent 2deg 9deg); }
[data-plantilla="medianoche"] .pre, [data-plantilla="medianoche"] .sec-t { letter-spacing: .08em; }
[data-plantilla="medianoche"] .sec-t { text-transform: uppercase; font-size: clamp(24px, 5.6vw, 32px); letter-spacing: .2em; }
[data-plantilla="medianoche"] .sw { box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 0 0 3px var(--papel), 0 0 0 4px var(--linea); }

/* ——— Movimiento ——— */
.rev { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rev.visto { opacity: 1; transform: none; }
html:not(.cerrado) .portada-in > * { animation: sube 1.1s cubic-bezier(.2,.7,.2,1) both; }
html:not(.cerrado) .portada-in > :nth-child(2) { animation-delay: .15s; }
html:not(.cerrado) .portada-in > :nth-child(3) { animation-delay: .35s; }
html:not(.cerrado) .portada-in > :nth-child(n+4) { animation-delay: .5s; }
@keyframes sube { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rev { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .hoja { padding: 0 24px 30px; }
  .sec { padding: 70px 80px; margin-bottom: 26px; }
  body { font-size: 20px; }
}
@media (max-width: 380px) {
  .persona { grid-template-columns: 1fr; }
  .itin li { grid-template-columns: 80px 16px 1fr; }
}

/* ——— Piezas opcionales (cualquier diseño) ——— */
.puerta { display: none; }
.dibujo { width: min(440px, 84vw); height: auto; margin: 0 auto 6px; }
.sobre-lugar { font: 500 clamp(20px, 5vw, 26px)/1.3 var(--serif); letter-spacing: .16em; color: var(--oro); margin: 0; }
.sobre-apellidos { font: italic 500 clamp(19px, 4.6vw, 24px)/1.3 var(--serif); letter-spacing: .12em; color: var(--oro); margin: 2px 0 34px; }
.anuncio { font: 400 13px/1.8 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--suave); margin: 26px 0 8px; }
.anuncio-n { font: 400 clamp(46px, 12vw, 64px)/1.1 var(--script); color: var(--oro); margin: 0 0 8px; }
.anuncio-f { font: 500 15px/1.6 var(--serif); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.mapa { display: block; width: 100%; height: 230px; border: 0; margin: 14px 0 16px; filter: grayscale(.35) sepia(.12); }
.mono-pie { position: relative; width: 84px; height: 84px; margin: 30px auto 0; border-radius: 50%; border: 1px solid var(--oro); box-shadow: inset 0 0 0 4px var(--fondo), inset 0 0 0 5px var(--linea); color: var(--oro); }
.mono-pie span, .sello-ini.mono span { position: absolute; font: 400 44px/1 var(--serif); }
.mono-pie span:first-child { left: 20px; top: 12px; } .mono-pie span:last-child { left: 36px; top: 30px; }
.sello-ini.mono { position: relative; display: block; width: 64px; height: 64px; }
.sello-ini.mono span { font-size: 46px; }
.sello-ini.mono span:first-child { left: 6px; top: -2px; } .sello-ini.mono span:last-child { left: 24px; top: 18px; }

/* ——— Diseño «relieve»: papel marfil con letras hundidas (letterpress) ——— */
[data-plantilla="relieve"] {
  --fondo: #eae3d8; --papel: #f3eee6; --tinta: #6b6052; --suave: #958977; --oro: #8b7355; --oro2: #b49d7b;
  --linea: #dbd1c2; --btn-txt: #f6f2ea; --sombra: 0 1px 1px rgba(90,70,40,.05), 0 24px 50px -34px rgba(90,70,40,.35);
  --textura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-plantilla="relieve"] body { background: var(--textura), var(--fondo); }
[data-plantilla="relieve"] .sec { background: var(--textura), var(--papel); border-radius: 1px; }
[data-plantilla="relieve"] .sec::before { inset: 10px; border-color: var(--linea); outline: 1px solid var(--linea); outline-offset: -5px; }
[data-plantilla="relieve"] .portada-in, [data-plantilla="relieve"] .sec, [data-plantilla="relieve"] .pie { text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 -1px 0 rgba(90,70,40,.10); }
[data-plantilla="relieve"] .portada { padding-top: 40px; }
[data-plantilla="relieve"] .pre { letter-spacing: .4em; }
[data-plantilla="relieve"] .nombres { font: 500 clamp(44px, 12vw, 80px)/1.05 var(--serif); text-transform: uppercase; letter-spacing: .14em; color: var(--tinta); }
[data-plantilla="relieve"] .nombres .amp { text-transform: none; letter-spacing: 0; font-size: .55em; margin: .05em 0; }
[data-plantilla="relieve"] .fecha-larga { text-transform: uppercase; letter-spacing: .16em; font-size: clamp(15px, 3.8vw, 19px); }
[data-plantilla="relieve"] .sec-t { font: italic 500 clamp(32px, 7.6vw, 44px)/1.15 var(--serif); }
[data-plantilla="relieve"] .bienvenida { display: flex; flex-direction: column; }
[data-plantilla="relieve"] .bienvenida .frase { order: 9; margin: 30px auto 0; }
[data-plantilla="relieve"] .padres { grid-template-columns: 1fr 1fr; gap: 0; }
[data-plantilla="relieve"] .padres > div { padding: 4px 10px; display: grid; align-content: center; }
[data-plantilla="relieve"] .padres > div + div { border-left: 1px solid var(--oro2); }
[data-plantilla="relieve"] .padres-n { font: 500 13.5px/1.7 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
[data-plantilla="relieve"] .anuncio { font: 500 13.5px/1.7 var(--serif); letter-spacing: .2em; margin-top: 30px; }
[data-plantilla="relieve"] .anuncio-n { font: 500 clamp(34px, 9vw, 54px)/1.15 var(--serif); text-transform: uppercase; letter-spacing: .14em; color: var(--tinta); }
[data-plantilla="relieve"] .anuncio-n .amp { color: var(--oro); }
[data-plantilla="relieve"] .vest-c, [data-plantilla="relieve"] .para-n, [data-plantilla="relieve"] .rsvp-para, [data-plantilla="relieve"] .gracias-t, [data-plantilla="relieve"] .cuenta-fin {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(24px, 6.4vw, 34px); }
[data-plantilla="relieve"] .nombres-pie { font: 500 clamp(22px, 6vw, 30px)/1.3 var(--serif); text-transform: uppercase; letter-spacing: .2em; }
[data-plantilla="relieve"] .cc { background: var(--fondo); border-color: var(--linea); }
[data-plantilla="relieve"] .galeria figure { box-shadow: 0 0 0 8px #fbf9f4, 0 0 0 9px var(--linea); margin: 10px; }

/* Apertura en dos puertas con sello de lacre (como un sobre de papel) */
[data-plantilla="relieve"] .sobre { background: transparent; padding: 0; transition: visibility 0s 1.35s; }
[data-plantilla="relieve"] .sobre.abriendo { opacity: 1; }
[data-plantilla="relieve"] .puerta { display: block; position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--textura), linear-gradient(180deg, #f1ebe2, #e6ded2);
  transition: transform 1.25s cubic-bezier(.65,0,.25,1); will-change: transform; }
[data-plantilla="relieve"] .puerta-izq { left: 0; box-shadow: inset -14px 0 18px -16px rgba(70,50,30,.45); border-right: 1px solid rgba(139,115,85,.25); }
[data-plantilla="relieve"] .puerta-der { right: 0; box-shadow: inset 14px 0 18px -16px rgba(70,50,30,.45); }
[data-plantilla="relieve"] .sobre.abriendo .puerta-izq { transform: translateX(-102%); }
[data-plantilla="relieve"] .sobre.abriendo .puerta-der { transform: translateX(102%); }
[data-plantilla="relieve"] .sobre-papel { position: relative; z-index: 2; transition: opacity .35s ease; }
[data-plantilla="relieve"] .sobre-papel::before { display: none; }
[data-plantilla="relieve"] .sobre.abriendo .sobre-papel { opacity: 0; transform: none; }
[data-plantilla="relieve"] .sobre-pre, [data-plantilla="relieve"] .sobre-para, [data-plantilla="relieve"] .sobre-tip { text-shadow: 0 1px 0 rgba(255,255,255,.7); }
[data-plantilla="relieve"] .sobre-para { font: 500 15px/1.6 var(--serif); font-style: normal; letter-spacing: .24em; text-transform: uppercase; margin-top: 4px; }
[data-plantilla="relieve"] .sello { width: 124px; height: 124px; color: #f6efe2;
  background: radial-gradient(circle at 38% 32%, #c8b08c, #a48a64 55%, #7f6649 100%);
  box-shadow: 0 0 0 3px rgba(164,138,100,.35), 0 0 0 9px rgba(164,138,100,.12), 0 16px 28px -10px rgba(60,40,20,.55), inset 0 2px 5px rgba(255,255,255,.35), inset 0 -4px 8px rgba(60,40,20,.3);
  border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; }
[data-plantilla="relieve"] .sello-ini.mono span { color: #f8f2e6; text-shadow: 0 -1px 0 rgba(60,40,20,.35), 0 1px 0 rgba(255,255,255,.25); }

/* Relieve en teléfono: padres uno sobre otro, nombres sin cortes feos */
.anuncio-f { white-space: pre-line; }
.mapa { background: var(--fondo); }
[data-plantilla="relieve"] .para-n { font-size: clamp(20px, 5.4vw, 30px); letter-spacing: .1em; }
[data-plantilla="relieve"] .rsvp-para { font-size: clamp(20px, 5.4vw, 28px); letter-spacing: .1em; }
[data-plantilla="relieve"] .anuncio-n { font-size: clamp(25px, 6.6vw, 46px); letter-spacing: .1em; }
@media all {
  [data-plantilla="relieve"] .padres { grid-template-columns: 1fr; }
  [data-plantilla="relieve"] .padres > div { padding: 10px 0; }
  [data-plantilla="relieve"] .padres > div + div { border-left: 0; position: relative; }
  [data-plantilla="relieve"] .padres > div + div::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; margin-left: -23px; border-top: 1px solid var(--oro2); }
  [data-plantilla="relieve"] .padres-n { font-size: 12.5px; letter-spacing: .08em; }
}
[data-plantilla="relieve"] .padres-n { font-size: 12.5px; letter-spacing: .1em; }

/* La invitación en imagen */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 16px; }
.tarjetas figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.tarjetas img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--linea), 0 18px 34px -24px rgba(60,40,20,.5); }
.tarjetas figcaption { font: 400 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }

/* ═══════════ v2 · Movimiento elegante y teléfono primero ═══════════ */
/* Aparición: sube, se enfoca (sin desenfoque al final) y llega despacio */
.rev { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(.2,.65,.2,1), transform 1.1s cubic-bezier(.2,.65,.2,1), filter 1.1s cubic-bezier(.2,.65,.2,1); }
.rev.visto { opacity: 1; transform: none; filter: none; }
.sec .sec-t { transition: letter-spacing 1.4s cubic-bezier(.2,.65,.2,1), opacity 1.2s ease; }
.sec:not(.visto) .sec-t { opacity: 0; letter-spacing: .12em; }
.sec .divisor { transition: transform 1.2s cubic-bezier(.2,.65,.2,1) .35s, opacity 1.2s ease .35s; }
.sec:not(.visto) .divisor { transform: scaleX(.2); opacity: 0; }
html:not(.cerrado) .portada-in > * { animation: sube2 1.5s cubic-bezier(.2,.65,.2,1) both; }
html:not(.cerrado) .portada-in > :nth-child(1) { animation-delay: .25s; }
html:not(.cerrado) .portada-in > :nth-child(2) { animation-delay: .5s; }
html:not(.cerrado) .portada-in > :nth-child(3) { animation-delay: .6s; }
html:not(.cerrado) .portada-in > :nth-child(4) { animation-delay: .75s; }
html:not(.cerrado) .portada-in > :nth-child(5) { animation-delay: .95s; }
html:not(.cerrado) .portada-in > :nth-child(n+6) { animation-delay: 1.15s; }
@keyframes sube2 { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); } }

/* Cuenta regresiva: el número que cambia «late» */
.cc.late .cc-n, .paso-n.late { animation: late .55s cubic-bezier(.2,.65,.2,1); }
@keyframes late { from { opacity: .25; transform: translate3d(0, -7px, 0); } }

/* Galería en 3D */
.galeria { perspective: 900px; padding: 6px 11% 14px; margin: 0 -22px 6px; scroll-padding: 0 11%; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria figure { flex: 0 0 78%; transform-origin: center; will-change: transform; transition: opacity .2s; }

/* Lugares: botones en dos columnas y «Agendar» como menú */
.ev-sala { font-style: italic; color: var(--suave) !important; margin-top: -2px; }
.ev-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ev-acc > :only-child { grid-column: 1 / -1; }
.ev-acc .btn { width: 100%; }
.cal { position: relative; margin: 0; display: block; }
.cal > summary { list-style: none; cursor: pointer; }
.cal > summary::-webkit-details-marker { display: none; }
.cal-op { position: absolute; z-index: 5; right: 0; left: -60%; top: calc(100% + 8px); display: grid; gap: 8px; padding: 12px; background: var(--papel);
  box-shadow: 0 0 0 1px var(--linea), 0 24px 40px -20px rgba(40,30,20,.45); animation: abre .35s cubic-bezier(.2,.65,.2,1); }
@keyframes abre { from { opacity: 0; transform: translate3d(0, -6px, 0); } }

/* Contador de personas − 2 + */
.paso { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 10px; }
.paso-b { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--oro); background: transparent; color: var(--oro); font: 300 28px/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, transform .15s; }
.paso-b:active { transform: scale(.94); }
.paso-b:not(:disabled):hover { background: var(--oro); color: var(--btn-txt); }
.paso-b:disabled { opacity: .3; cursor: default; }
.paso-n { text-align: center; font: 500 22px/1 var(--serif); letter-spacing: .04em; }
.oculto-vis { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }

/* Confirmación: palomita que se dibuja */
.palomita { width: 66px; height: 66px; margin: 0 auto 12px; color: var(--oro); }
.palomita circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: traza 1s cubic-bezier(.6,.05,.2,1) forwards; }
.palomita path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: traza .6s cubic-bezier(.6,.05,.2,1) .75s forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
.opc span { transition: background .35s, color .35s, border-color .35s, transform .2s; }
.opc input:active + span { transform: scale(.98); }

/* Barra fija «Confirmar asistencia» (teléfono) */
.barra-rsvp { position: fixed; z-index: 45; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate3d(-50%, 160%, 0);
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; white-space: nowrap;
  background: var(--tinta); color: var(--papel); font: 500 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(30,22,14,.6); transition: transform .7s cubic-bezier(.2,.65,.2,1); }
.barra-rsvp.lista { transform: translate3d(-50%, 0, 0); }
.barra-rsvp.lejos, html.respondido .barra-rsvp, html.cerrado .barra-rsvp { transform: translate3d(-50%, 160%, 0); }
@media (min-width: 900px) { .barra-rsvp { display: none; } }

.completos { font: 500 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--suave) !important; margin: 4px 0 6px; }

/* ——— Teléfono: secciones a pantalla completa, como páginas de una tarjeta ——— */
@media (max-width: 700px) {
  body { font-size: 18.5px; }
  .hoja { padding: 0; }
  .sec { margin: 0; border-radius: 0 !important; box-shadow: none; padding: 76px 24px 72px; }
  .sec::before { inset: auto 50% 0 auto; width: 1px; height: 34px; border: 0; outline: 0; background: var(--oro); opacity: .35; transform: translate(50%, 50%); }
  .sec:last-child::before { display: none; }
  .hoja > .sec:nth-child(even) { background-color: var(--fondo); }
  .sec-t { font-size: 34px; }
  .evento { padding: 26px 16px 20px; }
  .mapa { height: 210px; margin: 14px -16px 4px; width: calc(100% + 32px); }
  .eventos { gap: 22px; }
  .rsvp { margin-top: 18px; }
  .opc span { min-height: 64px; font-size: 19px; }
  .rsvp input, .rsvp select, .rsvp textarea { font-size: 18px; min-height: 52px; }
  .btn-grande { min-height: 58px; }
  .pie { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* ——— Relieve: puertas que se abren en 3D sobre sus bisagras ——— */
[data-plantilla="relieve"] .sobre { perspective: 1700px; perspective-origin: 50% 45%; transition: visibility 0s 1.85s; }
[data-plantilla="relieve"] .puerta { transition: transform 1.65s cubic-bezier(.62,.04,.18,1), filter 1.65s ease; backface-visibility: hidden; }
[data-plantilla="relieve"] .puerta-izq { transform-origin: 0 50%; }
[data-plantilla="relieve"] .puerta-der { transform-origin: 100% 50%; }
[data-plantilla="relieve"] .puerta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,45,30,0), rgba(60,45,30,.35)); opacity: 0; transition: opacity 1.65s ease; }
[data-plantilla="relieve"] .puerta-der::after { background: linear-gradient(270deg, rgba(60,45,30,0), rgba(60,45,30,.35)); }
[data-plantilla="relieve"] .sobre.abriendo .puerta-izq { transform: rotateY(-112deg); }
[data-plantilla="relieve"] .sobre.abriendo .puerta-der { transform: rotateY(112deg); }
[data-plantilla="relieve"] .sobre.abriendo .puerta::after { opacity: 1; }
[data-plantilla="relieve"] .sobre.abriendo .sello { transform: scale(.86); opacity: 0; transition: transform .45s cubic-bezier(.5,0,.2,1), opacity .5s ease .15s; }
[data-plantilla="relieve"] .sobre.abriendo .sobre-papel { opacity: 0; transition: opacity .45s ease .1s; }
html[data-plantilla="relieve"].cerrado .portada-in { transform: scale(.94); }
[data-plantilla="relieve"] .portada-in { transition: transform 2s cubic-bezier(.2,.65,.2,1) .3s; }
[data-plantilla="relieve"] .dibujo { will-change: transform; }

/* Relieve: la cuenta regresiva en una franja oscura (contraste serio, como tinta sobre lino) */
[data-plantilla="relieve"] .sec-cuenta { background: var(--textura), #4a4135 !important; color: #efe7da; text-shadow: none !important; }
[data-plantilla="relieve"] .sec-cuenta .sec-t, [data-plantilla="relieve"] .sec-cuenta p { color: #efe7da; }
[data-plantilla="relieve"] .sec-cuenta .divisor { color: #c9b38f; }
[data-plantilla="relieve"] .sec-cuenta::before { border-color: rgba(239,231,218,.18); outline-color: rgba(239,231,218,.1); }
[data-plantilla="relieve"] .sec-cuenta .cc { background: transparent; border-color: rgba(239,231,218,.25); }
[data-plantilla="relieve"] .sec-cuenta .cc-t { color: #c9b38f; }
[data-plantilla="relieve"] .barra-rsvp { background: #4a4135; color: #f3eee6; }
[data-plantilla="relieve"] .completos { letter-spacing: .16em; font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  .rev, .sec:not(.visto) .sec-t, .sec:not(.visto) .divisor { opacity: 1 !important; transform: none !important; filter: none !important; letter-spacing: inherit; }
  .palomita circle, .palomita path { stroke-dashoffset: 0; }
  .barra-rsvp { transition: none; }
}
@media (max-width: 700px) {
  .sec::before, [data-plantilla] .sec::before { display: none; }
  .ev-acc .btn, .cal > summary.btn { font-size: 11.5px; letter-spacing: .12em; padding: 8px 10px; min-height: 48px; }
}
.opc input { z-index: 2; } .opc span { position: relative; z-index: 1; }

/* ═══════════ Tono «verde»: verde, crema y dorado sutil (Daniela & José) ═══════════ */
[data-tono="verde"] {
  --fondo: #efebe1; --papel: #f6f3eb; --tinta: #16301d; --suave: #5f6d61; --oro: #1a3722; --oro2: #bba46e;
  --linea: #d6d3c3; --btn-txt: #f6f3eb; --dorado: #a68d55; --salvia: #dde3d7; --bosque: #183320;
  /* verde botella de la referencia de Daniela: #24492c al centro, #182a1e en los bordes (como terciopelo) */
  --terciopelo: radial-gradient(ellipse 85% 75% at 50% 45%, #1f4128 0%, #1a3722 52%, #142b1a 80%, #0f2014 100%);
}
[data-tono="verde"] .divisor, [data-tono="verde"] .amp, [data-tono="verde"] .anuncio-n .amp, [data-tono="verde"] .nombres .amp,
[data-tono="verde"] .ev-hora, [data-tono="verde"] .mini, [data-tono="verde"] .cc-t, [data-tono="verde"] .sobre-lugar,
[data-tono="verde"] .sobre-apellidos, [data-tono="verde"] .hashtag, [data-tono="verde"] .ico { color: var(--dorado) !important; }
[data-tono="verde"] .nombres, [data-tono="verde"] .anuncio-n { color: var(--tinta); }
[data-tono="verde"] .divisor { width: 210px; height: 34px; }
[data-tono="verde"] .sec::before { border-color: rgba(180,154,95,.35); outline-color: rgba(180,154,95,.18); }
/* franjas como en la referencia: crema · salvia · verde bosque */
[data-tono="verde"] .hoja > .sec:nth-child(even) { background: var(--textura), var(--salvia) !important; }
[data-tono="verde"] .hoja > .sec.sec-cuenta, [data-tono="verde"] .pie { background: var(--textura), var(--terciopelo) !important; color: #efe9da; }
[data-tono="verde"] .sec-cuenta .sec-t, [data-tono="verde"] .sec-cuenta p, [data-tono="verde"] .pie p, [data-tono="verde"] .pie .nombres-pie { color: #efe9da; text-shadow: none; }
[data-tono="verde"] .sec-cuenta .cc { border-color: rgba(194,173,120,.45); }
[data-tono="verde"] .sec-cuenta .cc-t, [data-tono="verde"] .pie .hashtag, [data-tono="verde"] .pie .mini { color: var(--oro2) !important; }
[data-tono="verde"] .pie { text-shadow: none; padding-top: 70px; }
[data-tono="verde"] .pie .btn-sec { color: #efe9da; border-color: var(--oro2); }
[data-tono="verde"] .pie .firma, [data-tono="verde"] .pie .firma a { color: #b9c2b4; }
[data-tono="verde"] .mono-pie { color: var(--oro2); border-color: var(--oro2); box-shadow: inset 0 0 0 4px var(--bosque), inset 0 0 0 5px rgba(194,173,120,.4); }
[data-tono="verde"] .barra-rsvp { background: var(--bosque); color: #f3eee2; box-shadow: 0 0 0 1px rgba(198,176,122,.5), 0 18px 40px -16px rgba(16,32,20,.6); }
[data-tono="verde"] .btn { border-color: var(--oro); }
[data-tono="verde"] .banco, [data-tono="verde"] .gracias { border-color: var(--dorado); }
[data-tono="verde"] .palomita { color: var(--dorado); }
[data-tono="verde"] .mapa { filter: grayscale(.45) sepia(.15) hue-rotate(40deg) saturate(.8); }

/* Sello de lacre verde con texto en anillo (como el de la referencia) */
[data-tono="verde"] .sello { color: #f1ead6; background: radial-gradient(circle at 36% 30%, #3f7049, #1a3722 56%, #0e1f13 100%);
  box-shadow: 0 0 0 3px rgba(36,73,44,.25), 0 16px 28px -10px rgba(15,30,20,.6), inset 0 2px 5px rgba(255,255,255,.25), inset 0 -4px 8px rgba(10,25,15,.4); }
[data-tono="verde"] .sello-ini.mono span { color: #efe2bf; }
.sello { position: relative; }
.anillo { position: absolute; inset: -30px; pointer-events: none; color: var(--dorado, var(--oro)); animation: gira 40s linear infinite; }
.anillo text { font: 500 11.5px var(--sans); letter-spacing: 3px; fill: currentColor; }
@keyframes gira { to { transform: rotate(360deg); } }
.sobre.abriendo .anillo { opacity: 0; transition: opacity .3s; }
/* puertas crema con brocado sutil */
[data-tono="verde"] .puerta { background:
  radial-gradient(circle at 50% 50%, rgba(180,154,95,.07) 0 22%, transparent 23%) 0 0 / 46px 46px,
  var(--textura), linear-gradient(180deg, #f5f1e7, #ebe5d7); }

/* La iglesia que se dibuja sola (calco vectorial) */
.trazo { width: min(400px, 82vw); margin: 0 auto 4px; color: var(--tinta); aspect-ratio: 550 / 590; }
.trazo svg { width: 100%; height: 100%; display: block; overflow: visible; }
.trazo path { fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
html:not(.cerrado) .trazo.listo path { animation: dibuja 3.4s cubic-bezier(.45,.05,.25,1) .5s forwards, rellena 1.6s ease 2.6s forwards; }
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes rellena { to { fill-opacity: 1; stroke-width: 0; } }
[data-tono="verde"] .trazo { color: var(--tinta); }
.trazo-pie { width: 150px; margin: 30px auto 0; color: rgba(194,173,120,.75); aspect-ratio: 550 / 590; }
.trazo-pie svg { width: 100%; height: 100%; display: block; }
.trazo-pie path { fill: currentColor; }

/* Vestimenta: foto en arco con zoom lento (efecto cine) */
.vest-foto { width: min(260px, 70vw); aspect-ratio: 4 / 5; margin: 6px auto 22px; border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 0 0 8px var(--papel), 0 0 0 9px var(--dorado, var(--linea)); }
.vest-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; animation: cine 14s ease-in-out infinite alternate; }
.galeria img { animation: cine 16s ease-in-out infinite alternate; }
@keyframes cine { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }

@media (prefers-reduced-motion: reduce) {
  .trazo path { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; animation: none !important; }
  .anillo, .vest-foto img, .galeria img { animation: none !important; }
}
[data-tono="verde"] .sec-cuenta .cc-n { color: #efe9da; }

/* ═══ v4 · Cinta que cierra las puertas, lazo y botón «Confirmar asistencia» ═══ */
.cinta { display: none; }
[data-tono="verde"] .cinta { display: block; position: absolute; top: 50%; height: 30px; margin-top: -15px; left: 0; right: 0;
  background: linear-gradient(180deg, #24472d 0%, #1a3722 38%, #0f2215 62%, #1d3d25 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(187,164,110,.55), 0 6px 14px -8px rgba(10,20,12,.6); }
[data-tono="verde"] .cinta::before { content: ""; position: absolute; inset: 4px 0; border-top: 1px solid rgba(187,164,110,.55); border-bottom: 1px solid rgba(187,164,110,.55); }
[data-tono="verde"] .sobre .sello { z-index: 2; }
[data-tono="verde"] .sobre-papel { z-index: 3; }
[data-tono="verde"] .divisor { width: 230px; height: 38px; }

/* Botón de confirmar: sello dorado + destello que cruza cada pocos segundos */
.cta-rsvp { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 7px 26px 7px 7px; border-radius: 999px; overflow: hidden;
  background: var(--terciopelo, var(--tinta)); color: #f6f1e4; text-decoration: none; font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 0 0 1px var(--oro2), 0 0 0 4px rgba(187,164,110,.16), 0 16px 34px -14px rgba(10,22,14,.7); transition: transform .3s cubic-bezier(.2,.65,.2,1), box-shadow .3s; }
.cta-rsvp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,244,214,.38) 50%, transparent 65%);
  transform: translateX(-120%); animation: destello 5.5s ease-in-out 2.4s infinite; pointer-events: none; }
.cta-rsvp:not(.barra-rsvp):active { transform: scale(.97); }
.cta-sello { width: 38px; height: 38px; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 36% 30%, #e9d9a8, #bba46e 55%, #8a7444); color: #1a3722; font: 600 16px/1 var(--sans); letter-spacing: 0;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.5), inset 0 -2px 4px rgba(70,50,20,.35); }
@keyframes destello { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
.portada .cta-rsvp { margin-top: 28px; }
.barra-rsvp.cta-rsvp, [data-tono="verde"] .barra-rsvp.cta-rsvp { position: fixed; padding: 7px 26px 7px 7px; min-height: 0; background: var(--terciopelo, var(--tinta));
  transition: transform .7s cubic-bezier(.2,.65,.2,1); box-shadow: 0 0 0 1px var(--oro2, #c9a86c), 0 0 0 4px rgba(187,164,110,.16), 0 16px 34px -14px rgba(10,22,14,.7); }
[data-tono="verde"] .rsvp .btn-grande { background: var(--terciopelo); border: 0; box-shadow: 0 0 0 1px var(--oro2), 0 0 0 4px rgba(187,164,110,.16); border-radius: 999px; color: #f6f1e4; }
.persona.yo-menu { grid-template-columns: auto 1fr; align-items: center; }
.yo-t { font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--suave); }
@media (prefers-reduced-motion: reduce) { .cta-rsvp::after { animation: none; display: none; } }
.portada .cta-rsvp { display: flex; width: max-content; max-width: 100%; margin: 28px auto 0; } .portada .bajar { display: block; margin: 18px auto 0; }

/* Confirmación simple: dos botones */
.rsvp-simple { display: grid; justify-items: center; gap: 14px; margin: 18px auto 0; max-width: 420px; }
.rsvp-cupos { font: 400 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--suave) !important; margin: -6px 0 10px; }
.cta-grande { width: 100%; justify-content: center; padding: 10px 28px 10px 10px; min-height: 64px; font-size: 13.5px; border: 0; cursor: pointer; }
.cta-grande .cta-sello { width: 44px; height: 44px; font-size: 18px; margin-right: auto; }
.cta-grande > span:last-child { margin-right: auto; }
.no-asistire { background: none; border: 0; padding: 12px 18px; min-height: 48px; cursor: pointer; color: var(--suave); font: 500 12.5px var(--sans);
  letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--linea); }
.no-asistire:hover { color: var(--tinta); }
.rsvp-simple.enviando { opacity: .6; pointer-events: none; }

/* ═══════════ v6 · Sobre de encaje, calendario, «Nuestro día» y retrato en encaje ═══════════ */
:root { --flor-luz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(255,255,255,0.55)' stroke='rgba(255,255,255,0.55)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); --flor-sombra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(60,45,25,0.13)' stroke='rgba(60,45,25,0.13)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); }
/* Apertura «encaje»: solapas con borde troquelado (ondas + perforado) y flores en relieve, sello al centro */
[data-apertura="encaje"] .cinta { display: none !important; }
[data-apertura="encaje"] .puerta { width: calc(50% + 15px);
  background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura), linear-gradient(180deg, #f4f0e6, #e9e3d4); }
[data-apertura="encaje"] .puerta-izq { z-index: 1; border-right: 0; box-shadow: none;
  -webkit-mask: linear-gradient(#000 0 0) left top / calc(100% - 15px) 100% no-repeat, radial-gradient(circle at 0 50%, #000 13px, transparent 13.6px) right top / 15px 26px repeat-y;
          mask: linear-gradient(#000 0 0) left top / calc(100% - 15px) 100% no-repeat, radial-gradient(circle at 0 50%, #000 13px, transparent 13.6px) right top / 15px 26px repeat-y; }
[data-apertura="encaje"] .puerta-der { z-index: 2; box-shadow: none;
  -webkit-mask: linear-gradient(#000 0 0) right top / calc(100% - 15px) 100% no-repeat, radial-gradient(circle at 100% 50%, #000 13px, transparent 13.6px) left top / 15px 26px repeat-y;
          mask: linear-gradient(#000 0 0) right top / calc(100% - 15px) 100% no-repeat, radial-gradient(circle at 100% 50%, #000 13px, transparent 13.6px) left top / 15px 26px repeat-y; }
/* perforado y filo de las ondas */
[data-apertura="encaje"] .puerta::before { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none;
  background: radial-gradient(circle, rgba(70,55,30,.30) 1.4px, transparent 1.9px) center top / 8px 10px repeat-y,
              radial-gradient(circle at var(--onda-x) 50%, transparent 10.5px, rgba(70,55,30,.16) 11.5px, rgba(255,255,255,.5) 12.6px, transparent 13.2px) var(--onda-pos) top / 15px 26px repeat-y; }
[data-apertura="encaje"] .puerta-izq::before { right: 0; --onda-x: 0; --onda-pos: right; background-position: 4px 0, right 0 top 0; }
[data-apertura="encaje"] .puerta-der::before { left: 0; --onda-x: 100%; --onda-pos: left; background-position: 22px 0, left 0 top 0; }
[data-apertura="encaje"] .puerta-izq::before { background: radial-gradient(circle, rgba(70,55,30,.30) 1.4px, transparent 1.9px) 4px 0 / 8px 10px repeat-y,
  radial-gradient(circle at 0 50%, transparent 10.5px, rgba(70,55,30,.16) 11.5px, rgba(255,255,255,.5) 12.6px, transparent 13.2px) right 0 top 0 / 15px 26px repeat-y; }
[data-apertura="encaje"] .puerta-der::before { background: radial-gradient(circle, rgba(70,55,30,.30) 1.4px, transparent 1.9px) 22px 0 / 8px 10px repeat-y,
  radial-gradient(circle at 100% 50%, transparent 10.5px, rgba(70,55,30,.16) 11.5px, rgba(255,255,255,.5) 12.6px, transparent 13.2px) left 0 top 0 / 15px 26px repeat-y; }
/* las flores en relieve también en el papel de la portada */
[data-apertura="encaje"] .portada { background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px; }

/* Bandas oscuras (cuenta regresiva y calendario) */
[data-tono="verde"] .hoja > .sec.sec-oscura { background: var(--textura), var(--terciopelo) !important; color: #efe9da; }
.sec-oscura .sec-t, .sec-oscura p { color: #efe9da !important; text-shadow: none; }
.sec-oscura .divisor { color: var(--oro2, #c9a86c) !important; }

/* Calendario */
.cal-mes { display: flex; justify-content: space-between; align-items: baseline; max-width: 340px; margin: 0 auto 14px; font: 500 22px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.cal-grilla { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 0; max-width: 340px; margin: 0 auto; }
.cal-dsem { font: 500 11px var(--sans); letter-spacing: .14em; color: var(--oro2, #c9a86c); padding-bottom: 8px; }
.cal-dia { position: relative; display: grid; place-items: center; height: 38px; font: 400 17px/1 var(--serif); font-variant-numeric: tabular-nums; }
.cal-dia.es-hoy b { position: relative; z-index: 1; font-weight: 600; color: var(--terciopelo-txt, #f6f1e4); }
.cal-corazon { position: absolute; inset: 1px 3px; color: var(--oro2, #c9a86c); }
.cal-corazon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sec.visto .cal-corazon svg path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: traza 1.6s cubic-bezier(.6,.05,.2,1) .4s forwards; }
.cal-barra { display: flex; justify-content: space-between; max-width: 340px; margin: 20px auto 0; padding: 14px 18px; border-left: 2px solid var(--oro2, #c9a86c);
  background: rgba(255,255,255,.06); font: 500 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; }

/* «Nuestro día» */
.tira { display: flex; justify-content: center; gap: 10px; margin: 0 0 18px; }
.tira-d { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--linea); border-radius: 6px; font: 400 15px var(--serif); color: var(--suave); }
.tira-d.es-hoy { border: 0; }
.tira-corazon { position: absolute; inset: 0; color: var(--oro); }
.tira-corazon svg { width: 100%; height: 100%; fill: currentColor; }
.tira-d.es-hoy b, .camino-fin b { position: relative; z-index: 1; color: #f6f1e4; font: 600 14px var(--serif); margin-top: -3px; }
.ruta { position: relative; max-width: 340px; margin: 0 auto; }
.camino { position: absolute; inset: 0; }
.camino svg { width: 100%; height: 100%; overflow: visible; }
.camino path { fill: none; stroke: var(--tinta); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.parada { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 14px; }
.parada.der .parada-dib { order: 2; }
.parada-dib { width: 92px; height: 92px; justify-self: center; color: var(--tinta); }
.parada-dib svg { width: 100%; height: 100%; }
.parada-dib[data-src] path { fill: currentColor; }
.parada-dib:not([data-src]) { color: var(--dorado, var(--oro)); padding: 14px; }
.parada .ico svg, svg.ico { width: 100%; height: 100%; }
.parada-t { text-align: center; }
.parada-q { font: italic 500 24px/1.1 var(--serif); margin: 0 0 4px !important; }
.parada-h { font: 500 12px var(--sans); letter-spacing: .2em; color: var(--dorado, var(--oro)) !important; margin: 0 0 2px !important; }
.parada-l { font-size: 15px; color: var(--suave) !important; margin: 0 !important; }
.camino-fin { position: absolute; left: 50%; width: 46px; height: 42px; margin-left: -23px; display: grid; place-items: center; }

/* Retrato en óvalo de encaje */
.retrato { position: relative; width: min(230px, 64vw); aspect-ratio: 232 / 288; margin: 0 auto 26px; }
.retrato-encaje { position: absolute; inset: 0; }
.retrato-encaje svg { width: 100%; height: 100%; }
.encaje-ondas circle { fill: var(--papel); stroke: var(--dorado, var(--oro)); stroke-width: 1; }
.encaje-fondo { fill: var(--papel); }
.encaje-puntos circle { fill: var(--dorado, var(--oro)); opacity: .7; }
.retrato img { position: absolute; left: 9.5%; right: 9.5%; top: 8.5%; bottom: 8.5%; width: 81%; height: 83%; object-fit: cover; object-position: center 22%; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .camino path { stroke-dashoffset: 0 !important; } }

/* sombra bajo la solapa derecha para que se lean las ondas del encaje */
[data-apertura="encaje"] .puerta-izq { background: linear-gradient(90deg, transparent 70%, rgba(70,55,30,.16) 100%), var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura), linear-gradient(180deg, #ece6d9, #e1dacb); }
[data-apertura="encaje"] .puerta-der::before { background: radial-gradient(circle, rgba(70,55,30,.34) 1.4px, transparent 1.9px) 22px 0 / 8px 10px repeat-y,
  radial-gradient(circle at 100% 50%, transparent 9.5px, rgba(70,55,30,.28) 11px, rgba(255,255,255,.65) 12.4px, transparent 13.3px) left 0 top 0 / 15px 26px repeat-y; }

/* ═══ v7 · Sobre verde de encaje con flores en relieve y sello de lacre dorado (diseños verdes de referencia) ═══ */
[data-tono="verde"] { --flor-verde-luz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(235,245,215,0.13)' stroke='rgba(235,245,215,0.13)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); --flor-verde-sombra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(0,0,0,0.42)' stroke='rgba(0,0,0,0.42)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); }
[data-tono="verde"][data-apertura="encaje"] .puerta-izq { background: linear-gradient(90deg, transparent 70%, rgba(0,0,0,.28) 100%), var(--flor-verde-luz) 0 1px / 150px 200px, var(--flor-verde-sombra) 0 -1px / 150px 200px, var(--textura), radial-gradient(ellipse 130% 80% at 100% 45%, #1f4128 0%, #183320 50%, #0f2014 100%); }
[data-tono="verde"][data-apertura="encaje"] .puerta-der { background: var(--flor-verde-luz) 0 1px / 150px 200px, var(--flor-verde-sombra) 0 -1px / 150px 200px, var(--textura), radial-gradient(ellipse 130% 80% at 0% 45%, #22462c 0%, #1a3722 50%, #10221a 100%); }
[data-tono="verde"][data-apertura="encaje"] .puerta-izq::before { background: radial-gradient(circle, rgba(214,192,138,.55) 1.4px, transparent 1.9px) 4px 0 / 8px 10px repeat-y; }
[data-tono="verde"][data-apertura="encaje"] .puerta-der::before { background: radial-gradient(circle, rgba(214,192,138,.55) 1.4px, transparent 1.9px) 22px 0 / 8px 10px repeat-y,
  radial-gradient(circle at 100% 50%, transparent 9.5px, rgba(0,0,0,.45) 11px, rgba(214,192,138,.35) 12.4px, transparent 13.3px) left 0 top 0 / 15px 26px repeat-y; }
[data-tono="verde"][data-apertura="encaje"] .sobre-pre, [data-tono="verde"][data-apertura="encaje"] .sobre-para, [data-tono="verde"][data-apertura="encaje"] .sobre-tip { color: #efe7d2; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
[data-tono="verde"][data-apertura="encaje"] .anillo { color: #d8c08a; }
/* sello de lacre dorado con el monograma en verde */
[data-tono="verde"][data-apertura="encaje"] .sello { color: #1a3722;
  background: radial-gradient(circle at 36% 30%, #f6e6b2, #d6b46a 45%, #a8823b 74%, #7a5a22);
  box-shadow: 0 0 0 4px rgba(214,180,106,.22), 0 18px 30px -10px rgba(0,0,0,.65), inset 0 2px 5px rgba(255,255,255,.55), inset 0 -5px 9px rgba(90,60,10,.45); }
[data-tono="verde"][data-apertura="encaje"] .sello-ini.mono span { color: #3b3010; text-shadow: 0 1px 0 rgba(255,240,200,.6), 0 -1px 0 rgba(80,55,10,.35); }

/* ═══════════ Tono «vino»: crema rosada, vino satinado y dorado (diseño «Vino») ═══════════ */
[data-tono="vino"] {
  --fondo: #f4ece6; --papel: #faf5f0; --tinta: #3a1219; --suave: #7a6163; --oro: #4a1a25; --oro2: #d8b46a;
  --linea: #e6d6cf; --btn-txt: #faf5f0; --dorado: #b8924f; --salvia: #efe2dc; --bosque: #2a0b12;
  --terciopelo: linear-gradient(125deg, #1d070a 0%, #3b121b 20%, #5d313b 33%, #35111a 45%, #1d070a 58%, #4d232d 72%, #2a0b12 86%, #140407 100%);
  --flor-vino-luz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(255,220,225,0.10)' stroke='rgba(255,220,225,0.10)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); --flor-vino-sombra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(10,0,2,0.35)' stroke='rgba(10,0,2,0.35)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E");
}
[data-tono="vino"] .divisor, [data-tono="vino"] .amp, [data-tono="vino"] .ev-hora, [data-tono="vino"] .mini, [data-tono="vino"] .ico,
[data-tono="vino"] .sobre-lugar, [data-tono="vino"] .sobre-apellidos, [data-tono="vino"] .hashtag { color: var(--dorado) !important; }
[data-tono="vino"] .nombres, [data-tono="vino"] .anuncio-n { color: var(--tinta); }
[data-tono="vino"] .divisor { width: 230px; height: 38px; }
[data-tono="vino"] .hoja > .sec:nth-child(even) { background: var(--textura), var(--salvia) !important; }
[data-tono="vino"] .hoja > .sec.sec-cuenta, [data-tono="vino"] .hoja > .sec.sec-oscura, [data-tono="vino"] .pie { background: var(--textura), var(--terciopelo) !important; color: #f6ece6; }
[data-tono="vino"] .sec-cuenta .sec-t, [data-tono="vino"] .sec-cuenta p, [data-tono="vino"] .pie p, [data-tono="vino"] .pie .nombres-pie, [data-tono="vino"] .sec-cuenta .cc-n { color: #f6ece6; text-shadow: none; }
[data-tono="vino"] .sec-cuenta .cc { border-color: rgba(216,180,106,.45); background: transparent; }
[data-tono="vino"] .sec-cuenta .cc-t, [data-tono="vino"] .pie .hashtag, [data-tono="vino"] .pie .mini, [data-tono="vino"] .sec-oscura .divisor { color: var(--oro2) !important; }
[data-tono="vino"] .pie { text-shadow: none; padding-top: 70px; }
[data-tono="vino"] .pie .btn-sec { color: #f6ece6; border-color: var(--oro2); }
[data-tono="vino"] .pie .firma, [data-tono="vino"] .pie .firma a { color: #d9c3c7; }
[data-tono="vino"] .mono-pie { color: var(--oro2); border-color: var(--oro2); box-shadow: inset 0 0 0 4px #2a0b12, inset 0 0 0 5px rgba(216,180,106,.4); }
[data-tono="vino"] .rsvp .btn-grande { background: var(--terciopelo); border: 0; border-radius: 999px; color: #faf5f0; box-shadow: 0 0 0 1px var(--oro2); }
[data-tono="vino"] .banco, [data-tono="vino"] .gracias { border-color: var(--dorado); }
[data-tono="vino"] .palomita { color: var(--dorado); }
/* sobre vino de encaje con flores en relieve y sello dorado */
[data-tono="vino"][data-apertura="encaje"] .puerta-izq { background: linear-gradient(90deg, transparent 70%, rgba(0,0,0,.32) 100%), var(--flor-vino-luz) 0 1px / 150px 200px, var(--flor-vino-sombra) 0 -1px / 150px 200px, var(--textura), radial-gradient(ellipse 130% 80% at 100% 45%, #5a2532 0%, #3b121b 50%, #1d070a 100%); }
[data-tono="vino"][data-apertura="encaje"] .puerta-der { background: var(--flor-vino-luz) 0 1px / 150px 200px, var(--flor-vino-sombra) 0 -1px / 150px 200px, var(--textura), radial-gradient(ellipse 130% 80% at 0% 45%, #63303c 0%, #42141e 50%, #1d070a 100%); }
[data-tono="vino"][data-apertura="encaje"] .puerta-izq::before { background: radial-gradient(circle, rgba(216,180,106,.55) 1.4px, transparent 1.9px) 4px 0 / 8px 10px repeat-y; }
[data-tono="vino"][data-apertura="encaje"] .puerta-der::before { background: radial-gradient(circle, rgba(216,180,106,.55) 1.4px, transparent 1.9px) 22px 0 / 8px 10px repeat-y,
  radial-gradient(circle at 100% 50%, transparent 9.5px, rgba(0,0,0,.5) 11px, rgba(216,180,106,.35) 12.4px, transparent 13.3px) left 0 top 0 / 15px 26px repeat-y; }
[data-tono="vino"][data-apertura="encaje"] .sobre-pre, [data-tono="vino"][data-apertura="encaje"] .sobre-para, [data-tono="vino"][data-apertura="encaje"] .sobre-tip { color: #f6ece6; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
[data-tono="vino"][data-apertura="encaje"] .anillo { color: #e2c58a; }
[data-tono="vino"] .sello { color: #4a1a25; background: radial-gradient(circle at 36% 30%, #f7e7b4, #d8b46a 45%, #a9823c 74%, #7d5c22);
  box-shadow: 0 0 0 4px rgba(216,180,106,.22), 0 18px 30px -10px rgba(0,0,0,.7), inset 0 2px 5px rgba(255,255,255,.55), inset 0 -5px 9px rgba(90,60,10,.45); }
[data-tono="vino"] .sello-ini.mono span { color: #4a1a25; text-shadow: 0 1px 0 rgba(255,240,200,.6), 0 -1px 0 rgba(80,55,10,.35); }
[data-tono="vino"] .barra-rsvp.cta-rsvp { box-shadow: 0 0 0 1px var(--oro2), 0 0 0 4px rgba(216,180,106,.16), 0 16px 34px -14px rgba(29,7,10,.7); }
[data-tono="vino"] .tira-corazon, [data-tono="vino"] .cal-corazon { color: var(--oro); }
[data-tono="vino"] .sec-oscura .cal-corazon { color: var(--oro2); }

/* Moño de terciopelo */
.mono-portada { width: 110px; height: 96px; margin: 0 auto 18px; filter: drop-shadow(0 10px 12px rgba(40,8,14,.25)); }
.mono-portada svg, .mono-ovalo svg, .mono-fin svg { width: 100%; height: 100%; }
.camino-fin.con-mono { width: 84px; height: 72px; margin-left: -42px; }
.mono-fin { width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(40,8,14,.25)); }
/* Cifras gigantes translúcidas detrás de los nombres */
.cifras-fondo { position: absolute; inset: 0; display: grid; align-content: center; justify-items: end; padding-right: 6vw; pointer-events: none; z-index: 1;
  font: 300 clamp(120px, 34vw, 230px)/.82 var(--serif); color: var(--tinta); opacity: .06; font-variant-numeric: lining-nums; }
/* Óvalo de encaje con los nombres */
.ovalo-nombres { display: grid; place-items: center; }
.ovalo-n { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin: 0; font: 500 clamp(22px, 6vw, 28px)/1.15 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--tinta) !important; }
.ovalo-n .amp { font-style: italic; text-transform: none; letter-spacing: 0; margin: 4px 0; }
.mono-ovalo { position: absolute; left: 50%; width: 52px; height: 45px; margin-left: -26px; z-index: 2; }
.mono-ovalo.arriba { top: -6px; } .mono-ovalo.abajo { bottom: -4px; }
/* «No asistiré» como píldora con borde */
.no-asistire { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 1px solid var(--oro, var(--tinta)); border-radius: 999px;
  text-decoration: none; color: var(--oro, var(--tinta)); letter-spacing: .16em; background: transparent; transition: background .25s, color .25s; }
.no-asistire:hover { background: var(--oro); color: var(--btn-txt); }
.no-asistire .hoja { width: 18px; height: 18px; }
.no-asistire .hoja svg { width: 100%; height: 100%; }

/* ═══════════ v8 · Rings — Daniela & José: verde oliva y crema con encaje, sobrio y sin movimiento ═══════════ */
/* Sin animaciones en las invitaciones (solo un fundido corto al abrir el sobre) */
*, *::before, *::after { animation: none !important; }
.rev { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.anillo, .cta-rsvp::after { display: none !important; }
.trazo path { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; stroke-width: 0 !important; }
.camino path { stroke-dashoffset: 0 !important; }
.palomita circle, .palomita path { stroke-dashoffset: 0 !important; }
.sobre { transition: opacity .7s ease, visibility 0s .75s !important; }

/* Tarjeta de inicio: el sobre en foto con el sello encima */
.sobre.sobre-foto { background: #efebe2; padding: 0; perspective: none; }
.sobre-foto .puerta, .sobre-foto .sobre-papel { display: none !important; }
.sobre-lamina { position: relative; height: 100%; max-height: 100svh; aspect-ratio: 1064 / 1908; max-width: 100vw; margin: 0 auto; }
.sobre-lamina > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sobre-lamina .sello { position: absolute; left: 51%; top: 55.4%; width: 29%; height: auto; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%);
  background: none !important; box-shadow: none !important; border-radius: 50%; padding: 0; filter: drop-shadow(0 6px 8px rgba(40,45,25,.28)); }
.sobre-lamina .sello:focus-visible { outline: 2px solid #5c6544; outline-offset: 6px; }
.sello-lacre { display: block; width: 100%; height: 100%; }
.sello-lacre svg { width: 100%; height: 100%; display: block; }
.sello-lacre text { font: 400 74px "Pinyon Script", cursive; fill: #12281a; stroke: #8fb29a; stroke-opacity: .35; stroke-width: .6; }
.sobre-lamina .sobre-tip { position: absolute; left: 0; right: 0; top: 71%; margin: 0; text-align: center; color: #8c8a78; font: 400 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.sobre.abriendo { opacity: 0; visibility: hidden; }
.sobre.abriendo .sobre-lamina { transform: none; }

/* Paleta oliva de la referencia */
[data-tono="verde"] {
  --fondo: #f5eee4; --papel: #f5eee4; --tinta: #24492c; --suave: #5d6b60; --oro: #24492c; --oro2: #d8cfae;
  --linea: #dcd5c5; --btn-txt: #f5eee4; --dorado: #9a8a55; --salvia: #f5eee4; --bosque: #24492c; --terciopelo: #24492c;
}
[data-tono="verde"] body { background: var(--fondo); }
[data-tono="verde"] .divisor { width: 150px; height: 14px; color: var(--dorado) !important; }
[data-tono="verde"] .sec-t { font: 400 clamp(40px, 11vw, 54px)/1.1 "Pinyon Script", cursive; letter-spacing: 0; text-transform: none; }
[data-tono="verde"] .sec { box-shadow: none; border-radius: 0 !important; }
[data-tono="verde"] .sec::before { display: none; }
/* secciones alternas: oliva / crema (la primera es oliva) */
[data-tono="verde"] .hoja > .sec, [data-tono="verde"] .hoja > .sec.sec-oscura, [data-tono="verde"] .hoja > .sec.sec-cuenta { background: var(--textura), #f5eee4 !important; color: var(--tinta); }
[data-tono="verde"] .hoja > .sec:nth-child(odd), [data-tono="verde"] .pie {
  --tinta: #f5eee4; --suave: #cfd8cc; --dorado: #ddd3ae; --oro: #f5eee4; --btn-txt: #24492c; --linea: rgba(245,238,228,.35); --papel: #24492c; --fondo: #1b3121;
  background: var(--textura), #24492c !important; color: #f5eee4; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .sec-t, [data-tono="verde"] .hoja > .sec:nth-child(odd) p,
[data-tono="verde"] .pie p, [data-tono="verde"] .pie .nombres-pie, [data-tono="verde"] .hoja > .sec:nth-child(odd) .cc-n { color: var(--tinta); text-shadow: none; }
[data-tono="verde"] .hoja > .sec:not(:nth-child(odd)) .cc-n, [data-tono="verde"] .hoja > .sec:not(:nth-child(odd)) .sec-t,
[data-tono="verde"] .hoja > .sec:not(:nth-child(odd)) p { color: var(--tinta); text-shadow: none; }
[data-tono="verde"] .cal-corazon, [data-tono="verde"] .tira-corazon { color: var(--oro) !important; }
[data-tono="verde"] .cc { border-color: var(--linea) !important; }
[data-tono="verde"] .cc-t, [data-tono="verde"] .cal-dsem { color: var(--dorado) !important; }
[data-tono="verde"] .cal-barra { border-left-color: var(--dorado); background: rgba(36,73,44,.07); }
/* encaje entre secciones: festón crema con calado */
[data-tono="verde"] .hoja > .sec { position: relative; }
[data-tono="verde"] .hoja > .sec:nth-child(odd)::after, [data-tono="verde"] .hoja > .sec:nth-child(even)::after, [data-tono="verde"] .pie::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px; pointer-events: none; z-index: 2; }
[data-tono="verde"] .hoja > .sec:nth-child(odd)::after, [data-tono="verde"] .pie::after {
  background:
    radial-gradient(circle at 50% 0, #f5eee4 10px, transparent 10.6px) 0 0 / 22px 22px repeat-x,
    radial-gradient(circle, rgba(36,73,44,.55) 1.6px, transparent 2.1px) 11px 3px / 22px 8px repeat-x,
    radial-gradient(circle at 50% 50%, transparent 3px, #f5eee4 3.3px, #f5eee4 4.4px, transparent 4.7px) 0 12px / 22px 12px repeat-x; }
[data-tono="verde"] .hoja > .sec:nth-child(odd):first-child::after { display: none; }
[data-tono="verde"] .hoja > .sec:nth-child(even)::after {
  background:
    radial-gradient(circle at 50% 0, #24492c 10px, transparent 10.6px) 0 0 / 22px 22px repeat-x,
    radial-gradient(circle, rgba(245,238,228,.7) 1.6px, transparent 2.1px) 11px 3px / 22px 8px repeat-x; }
[data-tono="verde"] .pie { padding-top: 80px; }
[data-tono="verde"] .pie .btn-sec { color: #f5eee4; border-color: #f5eee4; }
[data-tono="verde"] .pie .firma, [data-tono="verde"] .pie .firma a { color: #cfd8cc; }
[data-tono="verde"] .mono-pie { color: #f5eee4; border-color: #ddd3ae; box-shadow: none; }
[data-tono="verde"] .trazo-pie { color: rgba(245,238,228,.75); }
/* sello fijo en el borde de la bienvenida */
.sello-decor { position: absolute; left: 22px; bottom: -52px; width: 104px; height: 104px; z-index: 3; filter: drop-shadow(0 6px 8px rgba(10,25,15,.3)); }
[data-tono="verde"] .bienvenida { padding-bottom: 80px; }
/* botones serios: verde oliva liso, sin sello brillante */
[data-tono="verde"] .cta-rsvp, [data-tono="verde"] .barra-rsvp.cta-rsvp, [data-tono="verde"] .rsvp .btn-grande {
  background: #24492c !important; box-shadow: 0 0 0 1px rgba(245,238,228,.5) !important; color: #f5eee4; letter-spacing: .22em; }
[data-tono="verde"] .cta-sello { background: transparent; box-shadow: inset 0 0 0 1px rgba(245,238,228,.7); color: #f5eee4; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .cta-grande { background: #f5eee4 !important; color: #24492c; box-shadow: none !important; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .cta-grande .cta-sello { box-shadow: inset 0 0 0 1px #24492c; color: #24492c; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .no-asistire { color: #f5eee4; border-color: rgba(245,238,228,.7); }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .gracias { border-color: rgba(245,238,228,.6); }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .gracias .btn { color: #f5eee4; border-color: #f5eee4; background: transparent; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .btn { background: #f5eee4; color: #24492c; border-color: #f5eee4; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .btn-sec { background: transparent; color: #f5eee4; border-color: rgba(245,238,228,.7); }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .evento, [data-tono="verde"] .hoja > .sec:nth-child(odd) .regalo { border-color: rgba(245,238,228,.35); }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .cal-op { background: #24492c; }
/* portada crema con la iglesia */
[data-tono="verde"] .portada { background: #f5eee4 !important; }
[data-tono="verde"] .trazo { color: #24492c; }

[data-tono="verde"] .sec-oscura .sec-t, [data-tono="verde"] .sec-oscura p { color: var(--tinta) !important; }
[data-tono="verde"] .sec-oscura .divisor { color: var(--dorado) !important; }
[data-tono="verde"] .cal-corazon { display: none; }
[data-tono="verde"] .cal-dia.es-hoy b { color: var(--tinta); font-weight: 500; }
[data-tono="verde"] .cal-dia.es-hoy::before { content: ""; position: absolute; width: 34px; height: 34px; border: 1px solid var(--tinta); border-radius: 50%; }
[data-tono="verde"] .cal-mes { font: 400 30px/1 "Pinyon Script", cursive; letter-spacing: 0; text-transform: none; justify-content: center; gap: 12px; }
[data-tono="verde"] .itin-h { font: 400 26px/1 "Pinyon Script", cursive; letter-spacing: 0; color: var(--dorado); }
[data-tono="verde"] .itin li { grid-template-columns: 84px 18px 1fr; }

[data-tono="verde"] .pie { position: relative; }
[data-tono="verde"] .itin li { grid-template-columns: 112px 14px 1fr; }
[data-tono="verde"] .itin-h { white-space: nowrap; font-size: 24px; }
/* iglesia a lápiz más nítida: tinta más oscura y bordes precisos */
[data-tono="verde"] .trazo { color: #24492c; width: min(440px, 90vw); }
.trazo svg, .trazo-pie svg { shape-rendering: geometricPrecision; }
[data-tono="verde"] .portada-in, [data-tono="verde"] .sec, [data-tono="verde"] .pie, [data-tono="verde"] .portada-in * { text-shadow: none !important; }

/* Verde botella de la referencia: más claro al centro y oscuro en los bordes, como terciopelo */
[data-tono="verde"] .hoja > .sec:nth-child(odd), [data-tono="verde"] .pie {
  background: var(--textura), radial-gradient(ellipse 90% 80% at 50% 45%, #26502f 0%, #24492c 50%, #1b3121 85%, #172a1d 100%) !important; }
/* Fotos centradas: una debajo de otra, del mismo tamaño, con las caras al centro */
[data-tono="verde"] .galeria { display: grid; justify-items: center; gap: 18px; overflow: visible; margin: 8px 0 0; padding: 0; perspective: none; }
[data-tono="verde"] .galeria figure { flex: none; width: min(340px, 100%); max-width: none; aspect-ratio: 4 / 5; margin: 0; transform: none !important; opacity: 1 !important;
  box-shadow: 0 0 0 8px #f5eee4, 0 0 0 9px rgba(245,238,228,.5); }
[data-tono="verde"] .galeria img { object-fit: cover; object-position: 50% 30%; }
[data-tono="verde"] .galeria figure:nth-child(3) img { object-position: 52% 35%; }
[data-tono="verde"] #galeria .mini { display: none; }
[data-tono="verde"] .vest-foto img { object-position: 50% 30%; }
/* sello centrado exactamente sobre la cera de la foto (medido: centro 51,26 % / 55,24 %, aro interior r = 11 % del ancho) */
.sobre-lamina .sello { left: 51.26%; top: 55.24%; width: 32.4%; }
/* la lámina conserva siempre la proporción de la foto (alto de pantalla) y se centra: en teléfonos se recorta igual a los dos lados */
.sobre.sobre-foto { display: block; overflow: hidden; }
.sobre-lamina { position: absolute; left: 50%; top: 0; height: 100svh; width: auto; max-width: none; max-height: none; aspect-ratio: 1064 / 1908; margin: 0; transform: translateX(-50%); }
@supports not (height: 100svh) { .sobre-lamina { height: 100vh; } }
/* Pantallas angostas (teléfonos pequeños y el teléfono de la web): todo centrado y dentro de la pantalla */
.portada-in { min-width: 0; max-width: 100%; }
@media (max-width: 340px) {
  .portada { padding-left: 14px; padding-right: 14px; }
  [data-plantilla="relieve"] .nombres { font-size: clamp(30px, 12.2vw, 44px); letter-spacing: .1em; }
  [data-plantilla="relieve"] .fecha-larga { font-size: 13px; letter-spacing: .1em; }
  .sobre-lugar, .sobre-apellidos { letter-spacing: .08em; font-size: 18px; }
  .pre { letter-spacing: .3em; }
  .trazo { width: 86vw; }
}
.eventos { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); } .regalos { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
/* iglesia calcada de la foto en alta resolución del sobre (20-nov-2026) */
.trazo, .trazo-pie { aspect-ratio: 1414 / 1620; }
.dibujo.trazo { width: min(400px, 82vw); }

/* verde botella también en la cuenta, el calendario y los detalles */
[data-tono="verde"] .cal-barra { background: rgba(36,73,44,.07); }
[data-tono="verde"] .ico, [data-tono="verde"] .parada-dib { color: #24492c; }

/* ═══ Apertura del sobre en foto (20-nov-2026): sello → solapa → tarjeta → desvanecer. Solo transform y opacity. ═══ */
.sobre.sobre-foto .sobre-lamina { perspective: 1600px; }
.sobre-lamina .sl-cuerpo, .sobre-lamina .sl-solapa, .sobre-lamina .sl-interior { position: absolute; inset: 0; width: 100%; height: 100%; }
.sobre-lamina .sl-cuerpo { object-fit: cover; display: block; z-index: 2;
  clip-path: polygon(0 25.3%, 51.3% 55.8%, 100% 26.4%, 100% 100%, 0 100%); }
.sobre-lamina .sl-interior { z-index: 0; background: linear-gradient(180deg, #ddd6c8 0%, #e9e3d8 45%, #efe9df 100%); }
.sobre-lamina .sl-solapa { z-index: 3; transform-origin: 50% 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 26.4%, 51.3% 55.8%, 0 25.3%);
  transition: transform 1s cubic-bezier(.45,0,.2,1), filter 1s ease; filter: drop-shadow(0 2px 3px rgba(40,35,25,.18)); }
.sobre-lamina .sl-solapa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sobre-lamina .sl-carta { position: absolute; z-index: 1; left: 13%; right: 13%; top: 21%; height: 46%; display: grid; place-content: center; gap: 10px; text-align: center;
  background: #f8f4ec; border: 1px solid #ddd5c4; box-shadow: inset 0 0 0 6px #f8f4ec, inset 0 0 0 7px #e2dccd, 0 10px 24px -14px rgba(40,35,25,.35);
  transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sl-carta-n { margin: 0; font: 400 clamp(26px, 8vw, 40px)/1.1 "Pinyon Script", cursive; color: #24492c; }
.sl-carta-n span { color: #a08a55; }
.sl-carta-f { margin: 0; font: 500 11px/1.4 var(--sans, sans-serif); letter-spacing: .24em; text-transform: uppercase; color: #6f705e; }
.sobre.sobre-foto .sobre-lamina .sello { z-index: 4; transform: translate(-50%, -50%); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease; }
.sobre.sobre-foto .sobre-lamina .sobre-tip { z-index: 4; transition: opacity .3s ease; }
.sobre.sobre-foto.paso1 .sobre-lamina .sello { transform: translate(-50%, -62%) scale(.92); opacity: 0; }
.sobre.sobre-foto.paso1 .sobre-lamina .sobre-tip { opacity: 0; }
.sobre.sobre-foto.paso2 .sl-solapa { transform: rotateX(-180deg); }
.sobre.sobre-foto.paso3 .sl-carta { transform: translateY(-34%); }
.sobre.sobre-foto.abriendo { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sobre-lamina .sl-solapa, .sobre-lamina .sl-carta, .sobre.sobre-foto .sobre-lamina .sello { transition: none; } }

.sobre-lamina .sl-sello-foto { position: absolute; z-index: 4; height: auto; pointer-events: none; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease; }
.sobre.sobre-foto .sobre-lamina .sello { z-index: 5; }
.sobre.sobre-foto.paso1 .sl-sello-foto { transform: translateY(-4%) scale(.92); opacity: 0; }
.sobre-lamina .sl-solapa { filter: none; transition: transform 1s cubic-bezier(.45,0,.2,1), opacity .25s linear; }
.sobre.sobre-foto.paso2 .sl-solapa { opacity: 0; transition: transform 1s cubic-bezier(.45,0,.2,1), opacity .2s linear .42s; }
.sobre-lamina .sl-cuerpo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sobre-lamina .sl-cuerpo { overflow: hidden; }
.sobre.sobre-foto.paso3 .sl-solapa { visibility: hidden; }
.sobre.sobre-foto.abriendo .sobre-lamina { transform: translateX(-50%); }

/* Monograma CS (calcado de la referencia del dueño): doble círculo + C y S con serifa */
.sello-lacre { position: relative; }
.mono-svg { display: block; }
.mono-svg svg { width: 100%; height: 100%; display: block; }
.sello-lacre .mono-svg { position: absolute; left: 21%; top: 21%; width: 58%; height: 58%; color: #12281a; }
.sello-lacre .mono-luz { color: rgba(170,205,180,.45); transform: translate(.6%, .9%); }
.mono-pie-svg { width: 96px; height: 96px; margin: 30px auto 0; color: #ddd3ae; }
.sello-lacre .mono-svg { left: 15%; top: 15%; width: 70%; height: 70%; }

/* ═══ v10 · Monograma grabado en verde, apertura sutil y movimiento elegante (20-nov-2026) ═══ */
/* monograma impreso en tinta verde sobre el papel del sobre (letterpress) */
.sobre.sobre-foto .sobre-lamina .sello.sello-grabado { width: 40%; filter: none; border-radius: 50%; }
.sello-grabado .mono-svg { position: absolute; inset: 0; color: #24492c; }
.sello-grabado .mono-luz { color: rgba(255,255,255,.85); transform: translate(.5%, .7%); }
.sello-grabado .mono-svg svg { width: 100%; height: 100%; display: block; }
/* sello pequeño de la bienvenida: disco crema con el monograma verde */
.disco-crema { position: absolute; inset: 0; border-radius: 50%; background: #f5eee4; box-shadow: 0 0 0 1px rgba(36,73,44,.25), 0 8px 18px -10px rgba(10,25,15,.5); }
.disco-crema .mono-svg { position: absolute; inset: 12%; color: #24492c; }
.disco-crema .mono-svg svg { width: 100%; height: 100%; display: block; }
/* apertura sutil: el monograma se desvanece, la solapa se levanta despacio, la tarjeta asoma y todo se funde */
html .sobre.sobre-foto .sobre-lamina .sello { transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1) !important; }
html .sobre.sobre-foto.paso1 .sobre-lamina .sello { transform: translate(-50%, -50%) scale(.97) !important; opacity: 0; }
html .sobre-lamina .sl-solapa { transition: transform 1.3s cubic-bezier(.4,0,.2,1), opacity .6s ease !important; }
html .sobre.sobre-foto.paso2 .sl-solapa { transform: rotateX(-165deg); opacity: 0; transition: transform 1.3s cubic-bezier(.4,0,.2,1), opacity .5s ease .55s !important; }
html .sobre-lamina .sl-carta { transition: transform 1.4s cubic-bezier(.4,0,.2,1) !important; }
html .sobre.sobre-foto.paso3 .sl-carta { transform: translateY(-16%); }
html .sobre.sobre-foto { transition: opacity 1.1s cubic-bezier(.4,0,.2,1), visibility 0s 1.15s !important; }
html .sobre.sobre-foto.abriendo .sobre-lamina { transform: translateX(-50%) scale(1.03); transition: transform 1.1s cubic-bezier(.4,0,.2,1); }
/* la portada aparece despacio después de abrir */
html:not(.cerrado) .portada-in > * { animation: subeSuave 1.2s cubic-bezier(.4,0,.2,1) both !important; }
html:not(.cerrado) .portada-in > :nth-child(1) { animation-delay: .15s !important; }
html:not(.cerrado) .portada-in > :nth-child(2) { animation-delay: .35s !important; }
html:not(.cerrado) .portada-in > :nth-child(3) { animation-delay: .45s !important; }
html:not(.cerrado) .portada-in > :nth-child(4) { animation-delay: .6s !important; }
html:not(.cerrado) .portada-in > :nth-child(5) { animation-delay: .75s !important; }
html:not(.cerrado) .portada-in > :nth-child(n+6) { animation-delay: .9s !important; }
@keyframes subeSuave { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
/* cada bloque aparece al bajar: sube 14 px y se funde, sin rebotes */
html .rev { opacity: 0 !important; transform: translate3d(0, 14px, 0) !important; transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1) !important; }
html .rev.visto { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html .rev, html .rev.visto { opacity: 1 !important; transform: none !important; transition: none !important; }
  html:not(.cerrado) .portada-in > * { animation: none !important; }
}
/* medallón de papel liso detrás del monograma (oculta el pliegue del sobre), con leve hundido */
.sobre.sobre-foto .sobre-lamina .sello.sello-grabado { background: radial-gradient(circle, #f1ece3 0 66%, rgba(241,236,227,0) 71%) !important; }
.sello-grabado::before { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; box-shadow: inset 0 2px 4px rgba(60,55,40,.12), inset 0 -1px 2px rgba(255,255,255,.7); }

/* ═══ Fotos de fondo con la información encima ═══ */
.con-fondo { position: relative; overflow: hidden; isolation: isolate; }
.con-fondo > .foto-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; display: block;
  transform: scale(1.07); transition: transform 2.6s cubic-bezier(.2,.6,.2,1); }
.con-fondo.visto > .foto-fondo, .pie.con-fondo > .foto-fondo { transform: none; }
.con-fondo > .velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,33,22,.62), rgba(15,33,22,.82)); }
.con-fondo .cc { background: rgba(15,33,22,.28) !important; border-color: rgba(245,238,228,.45) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.con-fondo .cc-n, .con-fondo .sec-t, .con-fondo p { color: #f5eee4 !important; }
/* «Nosotros»: foto a pantalla completa, texto abajo sobre un velo que sube desde el verde */
[data-tono="verde"] .hoja > .sec.banda-foto { min-height: min(92svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 80px 24px 76px; text-align: center; }
.banda-foto > .velo { background: linear-gradient(180deg, rgba(15,33,22,0) 35%, rgba(15,33,22,.35) 60%, rgba(15,33,22,.9) 100%); }
.banda-pre { font: 500 12px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; margin: 0 0 14px !important; }
.banda-n { font: 400 clamp(44px, 13vw, 72px)/1.05 "Pinyon Script", cursive; margin: 0 0 14px !important; text-shadow: 0 2px 18px rgba(0,0,0,.35) !important; }
.banda-n span { color: #ddd3ae; }
.banda-t { font: 500 13px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 !important; }
.pie.con-fondo > .velo { background: linear-gradient(180deg, rgba(15,33,22,.72), rgba(15,33,22,.9)); }
@media (prefers-reduced-motion: reduce) { .con-fondo > .foto-fondo { transform: none; transition: none; } }

/* ═══ v12 · Sobre que cubre toda la pantalla, sello real y apertura 2D (igual en iPhone, iPad y Safari) ═══ */
html .sobre-lamina { position: absolute; left: 50%; top: 50%; width: max(100vw, calc(100svh * 1064 / 1908)); height: max(100svh, calc(100vw * 1908 / 1064));
  aspect-ratio: auto; margin: 0; max-width: none; max-height: none; transform: translate(-50%, -50%) !important; perspective: none !important; }
@supports not (height: 100svh) { html .sobre-lamina { width: max(100vw, calc(100vh * 1064 / 1908)); height: max(100vh, calc(100vw * 1908 / 1064)); } }
html .sobre.sobre-foto.abriendo .sobre-lamina { transform: translate(-50%, -50%) !important; }
/* sello real: posicionado por su caja, sin traslados */
html .sobre.sobre-foto .sobre-lamina .sello.sello-real { position: absolute; transform: none !important; margin: 0; height: auto; aspect-ratio: auto; padding: 0;
  background: none !important; box-shadow: none !important; filter: none !important; border-radius: 50%; z-index: 5;
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1) !important; }
.sello-real img { width: 100%; height: auto; display: block; pointer-events: none; }
html .sobre.sobre-foto.paso1 .sobre-lamina .sello.sello-real { opacity: 0; transform: scale(.96) !important; }
/* capas recortadas (con prefijo para Safari) */
.sobre-lamina .sl-cuerpo { -webkit-clip-path: polygon(0 25.3%, 51.3% 55.8%, 100% 26.4%, 100% 100%, 0 100%); clip-path: polygon(0 25.3%, 51.3% 55.8%, 100% 26.4%, 100% 100%, 0 100%); }
html .sobre-lamina .sl-solapa { -webkit-clip-path: polygon(0 0, 100% 0, 100% 26.4%, 51.3% 55.8%, 0 25.3%); clip-path: polygon(0 0, 100% 0, 100% 26.4%, 51.3% 55.8%, 0 25.3%);
  transform-origin: 50% 0; transform: none; opacity: 1; backface-visibility: visible; -webkit-backface-visibility: visible;
  transition: transform 1.1s cubic-bezier(.45,0,.2,1), opacity .5s ease .7s !important; }
/* la solapa se levanta doblándose hacia arriba (2D: funciona en todos los navegadores) */
html .sobre.sobre-foto.paso2 .sl-solapa { transform: scaleY(.02) !important; opacity: 0; }
.sobre-lamina .sl-solapa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60,50,35,0), rgba(60,50,35,.18)); opacity: 0; transition: opacity 1.1s ease; }
.sobre.sobre-foto.paso2 .sl-solapa::after { opacity: 1; }
html .sobre-lamina .sl-carta { transition: transform 1.3s cubic-bezier(.4,0,.2,1) !important; }
html .sobre.sobre-foto.paso3 .sl-carta { transform: translateY(-14%) !important; }
html .sobre.sobre-foto { transition: opacity 1.1s cubic-bezier(.4,0,.2,1), visibility 0s 1.15s !important; }
.sobre-lamina .sobre-tip { top: 70%; }
html .sobre.sobre-foto .sobre-lamina .sello.sello-real { transition: opacity .35s ease, transform .5s cubic-bezier(.4,0,.2,1) !important; }

/* ═══ v13 · Sobre de cuatro solapas (como el ejemplo del dueño): el sello va con la solapa izquierda ═══ */
.sobre.sobre-s4 { display: block; padding: 0; background: transparent !important; perspective: none; transition: none !important; opacity: 1 !important; visibility: visible !important; }
.sobre-s4 .puerta, .sobre-s4 .sobre-papel { display: none !important; }
.s4 { position: absolute; inset: 0; overflow: hidden; }
.s4-f { position: absolute; inset: 0; will-change: transform; filter: drop-shadow(0 0 12px rgba(45,40,28,.28));
  transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.s4-p { position: absolute; inset: 0;
  background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura, none), radial-gradient(ellipse 120% 90% at 50% 50%, #f4efe6 0%, #ebe5d9 70%, #e2dbcd 100%); }
.s4-izq { z-index: 4; } .s4-der { z-index: 3; } .s4-arr { z-index: 2; } .s4-aba { z-index: 1; }
.s4-izq .s4-p { -webkit-clip-path: polygon(0 0, 55% 50%, 0 100%); clip-path: polygon(0 0, 55% 50%, 0 100%); }
.s4-der .s4-p { -webkit-clip-path: polygon(100% 0, 45% 50%, 100% 100%); clip-path: polygon(100% 0, 45% 50%, 100% 100%);
  background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura, none), linear-gradient(270deg, #f1ece2, #e4ddd0); }
.s4-arr .s4-p { -webkit-clip-path: polygon(0 0, 100% 0, 50% 47%); clip-path: polygon(0 0, 100% 0, 50% 47%);
  background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura, none), linear-gradient(180deg, #ece6da, #ddd6c8); }
.s4-aba .s4-p { -webkit-clip-path: polygon(0 100%, 100% 100%, 50% 53%); clip-path: polygon(0 100%, 100% 100%, 50% 53%);
  background: var(--flor-luz) 0 1px / 150px 200px, var(--flor-sombra) 0 -1px / 150px 200px, var(--textura, none), linear-gradient(0deg, #ece6da, #ddd6c8); }
/* fondo del sobre abierto (se ve un instante entre las solapas) */
.sobre.sobre-s4::before { content: ""; position: absolute; inset: 0; background: #f5eee4; transition: opacity .9s ease .5s; }
.sobre.sobre-s4.s4-abre::before { opacity: 0; }
/* sello centrado en la punta de la solapa izquierda */
html .sobre-s4 .s4-sello { position: absolute; left: 50%; top: 50%; width: min(36vw, 26svh, 300px); height: auto; aspect-ratio: auto; margin: 0; padding: 0;
  transform: translate(-50%, -50%) !important; background: none !important; box-shadow: none !important; border: 0; border-radius: 50%; cursor: pointer;
  transition: transform .14s ease !important; animation: none !important; }
.s4-sello img { width: 100%; height: auto; display: block; pointer-events: none; }
.s4-sello:focus-visible { outline: 2px solid #24492c; outline-offset: 6px; }
html .sobre-s4.s4-presiona .s4-sello { transform: translate(-50%, -50%) scale(.96) !important; }
.s4-tip { position: absolute; left: 0; right: 0; top: calc(50% + min(18vw, 13svh, 150px) + 22px); margin: 0; text-align: center;
  font: 400 12px var(--sans, sans-serif); letter-spacing: .26em; text-transform: uppercase; color: #8c8a78; transition: opacity .3s ease; }
.s4-presiona .s4-tip { opacity: 0; }
/* apertura: las laterales se separan, arriba y abajo se retiran un poco después */
.s4-abre .s4-izq { transform: translateX(-78%); }
.s4-abre .s4-der { transform: translateX(78%); }
.s4-abre .s4-arr { transform: translateY(-72%); transition-delay: .12s; }
.s4-abre .s4-aba { transform: translateY(72%); transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .s4-f { transition: none; } }
/* relieve de flores más grande y sutil en las solapas */
.s4-p { background-size: 300px 400px, 300px 400px, auto, auto !important; }
.s4-p::after { content: ""; position: absolute; inset: 0; background: rgba(244,239,230,.45); }

/* Confirmación con nombres (familias y parejas) */
.rsvp-nombres { width: 100%; display: grid; gap: 12px; text-align: left; }
.rsvp-q { font: 400 clamp(28px, 7.4vw, 36px)/1.15 "Pinyon Script", cursive; text-align: center; margin: 0 !important; }
.rsvp-ayuda { font: 400 14px/1.5 var(--sans); text-align: center; color: var(--suave) !important; margin: 0 0 4px !important; }
.lista-nombres { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-nombres li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; }
.lista-nombres .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--sans); border: 1px solid currentColor; opacity: .7; }
.lista-nombres input { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 17px var(--serif); color: #1f3a26; background: #fbf8f2;
  border: 1px solid rgba(36,73,44,.25); border-radius: 0; -webkit-appearance: none; appearance: none; }
.lista-nombres input:focus { outline: none; border-color: #24492c; box-shadow: 0 0 0 3px rgba(36,73,44,.15); }
.lista-nombres input::placeholder { color: #8a8a7a; font-size: 15px; }
.rsvp-nombres .cta-grande { margin-top: 6px; }
.rsvp-nombres .volver { justify-self: center; width: auto; border: 0; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.confirmados { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 4px; font: italic 400 18px var(--serif); }
.confirmados li::before { content: "✓ "; font-style: normal; opacity: .7; }
.rsvp-nombres .volver { background: none; color: inherit; font: 500 12.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 10px 16px; opacity: .85; }

/* ═══ v14 · Limpio y sobrio en el celular (20-nov-2026) ═══ */
/* Padres lado a lado */
[data-tono="verde"] .padres { display: grid !important; grid-template-columns: 1fr 1px 1fr !important; gap: 0 14px !important; align-items: start; margin: 4px 0 0; }
[data-tono="verde"] .padres::before { content: ""; grid-column: 2; grid-row: 1; width: 1px; height: 100%; background: currentColor; opacity: .3; }
[data-tono="verde"] .padres > div:first-child { grid-column: 1; grid-row: 1; }
[data-tono="verde"] .padres > div:last-child { grid-column: 3; grid-row: 1; }
[data-tono="verde"] .padres > div { padding: 0 !important; border: 0 !important; }
[data-tono="verde"] .padres > div + div::before { display: none !important; }
[data-tono="verde"] .padres .mini { font-size: 10.5px !important; letter-spacing: .22em; margin-bottom: 10px; }
[data-tono="verde"] .padres-n { font: 500 12.5px/1.75 var(--serif) !important; letter-spacing: .06em !important; text-transform: uppercase; text-wrap: balance; }
@media (min-width: 700px) { [data-tono="verde"] .padres-n { font-size: 14px !important; letter-spacing: .1em !important; } [data-tono="verde"] .padres { gap: 0 28px !important; } }
/* Fecha grande */
.sec-fecha { padding-top: 64px !important; padding-bottom: 64px !important; }
.fecha-grande { display: grid; justify-items: center; gap: 2px; }
.fg-sem { font: 500 12px/1 var(--sans) !important; letter-spacing: .42em; text-transform: uppercase; color: var(--dorado, var(--oro)) !important; margin: 0 0 6px !important; }
.fg-fila { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: min(320px, 86%); }
.fg-linea { height: 1px; background: currentColor; opacity: .35; }
.fg-dia { font: 300 clamp(110px, 34vw, 170px)/.9 "Cormorant Garamond", serif !important; margin: 0 !important; font-variant-numeric: lining-nums; }
.fg-mes { font: 400 clamp(34px, 9vw, 46px)/1 "Pinyon Script", cursive !important; margin: 4px 0 0 !important; }
.fg-anio { font: 500 13px/1 var(--sans) !important; letter-spacing: .5em; margin: 14px 0 0 !important; padding-left: .5em; }
/* Nada encimado: sin sello sobre el borde, encaje sin pisar el texto */
.sello-decor { display: none !important; }
[data-tono="verde"] .bienvenida { padding-bottom: 64px !important; }
[data-tono="verde"] .hoja > .sec { padding-top: 70px; }
@media (max-width: 700px) {
  [data-tono="verde"] .hoja > .sec { padding-left: 22px; padding-right: 22px; }
  [data-tono="verde"] .anuncio { font-size: 11.5px !important; letter-spacing: .16em !important; }
  [data-tono="verde"] .anuncio-n { font-size: clamp(26px, 8vw, 36px) !important; letter-spacing: .1em !important; }
  [data-tono="verde"] .completos { font-size: 10.5px !important; }
}

.padre { margin: 0 0 12px !important; display: grid; font: 500 12.5px/1.6 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.padre:last-child { margin-bottom: 0 !important; }
@media (min-width: 700px) { .padre { font-size: 14px; letter-spacing: .1em; } }
.fg-mes { margin-top: 18px !important; line-height: 1.2 !important; }
.fg-dia { line-height: 1 !important; }

/* ═══ v15 · Tipografía fina y botón de confirmar elegante (Daniela & José) ═══ */
[data-tono="verde"] { --sans: "Cormorant SC", "Cormorant Garamond", Georgia, serif; --serif: "Cormorant Garamond", Georgia, serif; }
[data-tono="verde"] body { font-weight: 400; }
/* títulos de sección: cursiva fina en lugar de caligrafía gruesa */
[data-tono="verde"] .sec-t { font: italic 300 clamp(38px, 10.5vw, 52px)/1.1 var(--serif) !important; letter-spacing: .01em !important; text-transform: none !important; }
/* etiquetas y textos pequeños en versalitas finas */
[data-tono="verde"] .mini, [data-tono="verde"] .pre, [data-tono="verde"] .ciudad, [data-tono="verde"] .cc-t, [data-tono="verde"] .ev-hora,
[data-tono="verde"] .fg-sem, [data-tono="verde"] .fg-anio, [data-tono="verde"] .rsvp-cupos, [data-tono="verde"] .banda-pre, [data-tono="verde"] .banda-t,
[data-tono="verde"] .anuncio, [data-tono="verde"] .para-c, [data-tono="verde"] .sobre-tip, [data-tono="verde"] .s4-tip {
  font-family: "Cormorant SC", serif !important; font-weight: 500 !important; letter-spacing: .26em !important; }
[data-tono="verde"] .mini, [data-tono="verde"] .cc-t, [data-tono="verde"] .ev-hora { font-size: 13px !important; }
[data-tono="verde"] .pre { font-size: 15px !important; letter-spacing: .42em !important; }
[data-tono="verde"] .ciudad { font-size: 14px !important; }
/* portada: nombres completos, finos y espaciados */
[data-tono="verde"] .nombres.nombres-completos { font: 300 clamp(30px, 8.8vw, 54px)/1.18 var(--serif) !important; letter-spacing: .16em !important;
  text-transform: uppercase; color: var(--tinta); gap: 0; }
[data-tono="verde"] .nombres-completos .amp { font: italic 300 .9em/1 var(--serif) !important; letter-spacing: 0 !important; text-transform: none;
  color: var(--dorado) !important; margin: .18em 0 .14em !important; }
[data-tono="verde"] .fecha-larga { font: italic 400 clamp(19px, 5vw, 23px)/1.4 var(--serif) !important; letter-spacing: .02em !important; text-transform: none !important; }
[data-tono="verde"] .sobre-lugar { font: italic 400 20px/1.3 var(--serif) !important; letter-spacing: .06em !important; }
[data-tono="verde"] .padre, [data-tono="verde"] .padres-n { font-family: "Cormorant SC", serif !important; font-weight: 500 !important; font-size: 14px !important; letter-spacing: .08em !important; text-transform: none !important; }
[data-tono="verde"] .frase { font: italic 300 clamp(20px, 5.4vw, 24px)/1.55 var(--serif) !important; }
[data-tono="verde"] .anuncio-f { font-family: var(--serif) !important; font-style: italic; font-size: 19px !important; letter-spacing: .02em !important; text-transform: none !important; }
[data-tono="verde"] .cc-n { font-weight: 300 !important; }
[data-tono="verde"] .fg-dia { font-weight: 300 !important; }
[data-tono="verde"] .ev-lugar { font: 400 23px/1.3 var(--serif) !important; }
[data-tono="verde"] .sec h3 { font: italic 400 22px/1.3 var(--serif) !important; }
[data-tono="verde"] .btn { font: 500 14px/1 "Cormorant SC", serif !important; letter-spacing: .22em !important; }
[data-tono="verde"] .nombres-pie { font: 300 26px/1.3 var(--serif) !important; letter-spacing: .2em !important; }

/* Botón de confirmar: marco doble con hilo fino, rombos dorados y versalitas */
[data-tono="verde"] .cta-rsvp, [data-tono="verde"] .barra-rsvp.cta-rsvp, [data-tono="verde"] .rsvp-simple .cta-grande, [data-tono="verde"] .rsvp-nombres .cta-grande {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 2px !important;
  padding: 18px 40px !important; min-height: 60px; background: #24492c !important; color: #f5eee4 !important;
  font: 500 15px/1 "Cormorant SC", serif !important; letter-spacing: .28em !important; text-transform: none !important;
  box-shadow: inset 0 0 0 4px #24492c, inset 0 0 0 5px rgba(221,211,174,.75), 0 18px 34px -20px rgba(10,25,15,.75) !important;
  transition: background .4s ease, box-shadow .4s ease, transform .2s ease !important; overflow: visible; }
[data-tono="verde"] .cta-rsvp .cta-sello { display: none !important; }
[data-tono="verde"] .cta-rsvp::before, [data-tono="verde"] .cta-rsvp::after { content: "" !important; position: static !important; display: block !important;
  width: 6px; height: 6px; transform: rotate(45deg) !important; background: #ddd3ae !important; animation: none !important; inset: auto !important; }
[data-tono="verde"] .cta-rsvp:hover { background: #1c3b23 !important; }
[data-tono="verde"] .cta-rsvp:active { transform: scale(.985); }
/* versión clara (sobre las franjas verdes) */
[data-tono="verde"] .hoja > .sec:nth-child(odd) .cta-rsvp {
  background: #f5eee4 !important; color: #24492c !important;
  box-shadow: inset 0 0 0 4px #f5eee4, inset 0 0 0 5px rgba(36,73,44,.55), 0 18px 34px -20px rgba(0,0,0,.6) !important; }
[data-tono="verde"] .hoja > .sec:nth-child(odd) .cta-rsvp::before, [data-tono="verde"] .hoja > .sec:nth-child(odd) .cta-rsvp::after { background: #a68d55 !important; }
[data-tono="verde"] .rsvp-simple .cta-grande, [data-tono="verde"] .rsvp-nombres .cta-grande { width: 100%; }
[data-tono="verde"] .barra-rsvp.cta-rsvp { padding: 16px 30px !important; min-height: 54px; position: fixed; }
[data-tono="verde"] .no-asistire { border-radius: 2px !important; font: 500 14px/1 "Cormorant SC", serif !important; letter-spacing: .22em !important; text-decoration: none; }
[data-tono="verde"] .no-asistire .hoja { display: none; }
@media (max-width: 380px) { [data-tono="verde"] .cta-rsvp { padding: 16px 22px !important; letter-spacing: .2em !important; gap: 12px; } }
[data-tono="verde"] .cta-rsvp, [data-tono="verde"] .btn, [data-tono="verde"] .no-asistire { white-space: nowrap; }
[data-tono="verde"] .cta-rsvp, [data-tono="verde"] .rsvp-simple .cta-grande, [data-tono="verde"] .rsvp-nombres .cta-grande { letter-spacing: .2em !important; padding: 18px 26px !important; gap: 14px; }
[data-tono="verde"] .portada .cta-rsvp { width: min(320px, 100%); }
[data-tono="verde"] .ev-acc .btn { letter-spacing: .14em !important; font-size: 13.5px !important; padding: 8px 10px; }
[data-tono="verde"] .portada .pre { margin-top: 18px; }
@media (max-width: 360px) { [data-tono="verde"] .cta-rsvp { letter-spacing: .14em !important; font-size: 14px !important; } }
[data-tono="verde"] .rsvp-simple .cta-grande, [data-tono="verde"] .rsvp-nombres .cta-grande, [data-tono="verde"] .no-asistire { width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 360px) {
  [data-tono="verde"] .cta-rsvp, [data-tono="verde"] .rsvp-simple .cta-grande, [data-tono="verde"] .rsvp-nombres .cta-grande, [data-tono="verde"] .no-asistire {
    font-size: 13px !important; letter-spacing: .1em !important; padding: 16px 12px !important; gap: 10px; }
  [data-tono="verde"] .rsvp-cupos, [data-tono="verde"] .mini, [data-tono="verde"] .para-c { letter-spacing: .14em !important; }
  [data-tono="verde"] .ev-acc .btn { letter-spacing: .08em !important; font-size: 12.5px !important; }
}
[data-tono="verde"] .hoja > .sec:nth-child(odd) .no-asistire:hover, [data-tono="verde"] .hoja > .sec:nth-child(odd) .no-asistire:active { background: rgba(245,238,228,.1) !important; color: #f5eee4 !important; }
[data-tono="verde"] .no-asistire:hover, [data-tono="verde"] .no-asistire:active { background: rgba(36,73,44,.06); color: #24492c; }

/* ——— v16: cuenta regresiva que siempre cabe, programa centrado (hora arriba, lugar abajo),
       botones del mapa sin desbordar y «Tu invitación» corta y sobria ——— */
.cuenta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(5px, 2vw, 10px); width: 100%; box-sizing: border-box; }
.cc { min-width: 0; padding: 12px 2px 9px; }
.cc-n { font-size: clamp(22px, 8vw, 42px) !important; }
.cc-t, [data-tono] .cc-t { display: block; font-size: clamp(8px, 2.5vw, 12px) !important; letter-spacing: .1em !important; overflow: hidden; text-overflow: clip; white-space: nowrap; }

.itin { text-align: center; max-width: 420px; }
.itin li, [data-tono="verde"] .itin li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 0; }
.itin-p { display: none; }
.itin-h { text-align: center; padding: 0; }
[data-tono="verde"] .itin-h { font-size: 32px !important; white-space: nowrap; }
.itin-q { max-width: 26ch; line-height: 1.35; overflow-wrap: break-word; }
.itin li + li { border-top: 0; }
.itin li:not(:last-child)::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 18px; background: currentColor; opacity: .35; }
.itin li { border-bottom: 0 !important; }

.ev-acc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-acc .btn, .ev-acc .cal, .ev-acc .cal > summary { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ev-acc .btn { white-space: nowrap; overflow: hidden; }
@media (max-width: 340px) {
  .ev-acc { grid-template-columns: 1fr; }
  .ev-acc .cal-op { left: 0; right: 0; }
  [data-tono="verde"] .ev-acc .btn { font-size: 12px !important; }
}

.tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 4vw, 24px); max-width: 520px; margin: 18px auto 0; }
.tarjetas.una { grid-template-columns: minmax(0, 300px); justify-content: center; }
.tarjetas figure { gap: 12px; }
.tarjetas figcaption { display: none; }
.tj-desc { font: 400 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: inherit; text-decoration: none;
  padding: 6px 2px 4px; border-bottom: 1px solid currentColor; opacity: .85; }
.tj-desc:hover, .tj-desc:focus-visible { opacity: 1; }
[data-tono="verde"] .tj-desc { color: var(--tinta); font-size: 11.5px; }

/* v17: iglesia en relieve (foto de yeso) en la portada */
.dibujo.relieve-img { width: min(360px, 78vw); height: auto; aspect-ratio: 900 / 1041; display: block; margin: 0 auto 10px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.7)) drop-shadow(0 14px 22px rgba(70,55,35,.16)) contrast(1.04); }

/* v18: «Toca el sello para abrir» encima de las solapas (antes la cortaba el triángulo de abajo) */
.s4 > .s4-tip { z-index: 6; pointer-events: none; padding: 0 16px; font-size: 11.5px; letter-spacing: .24em; color: #6f6d5c; line-height: 1.6; }
.sobre-s4.s4-abre .s4-tip, .sobre-s4.abriendo .s4-tip { opacity: 0; }

/* v19: sobre invertido — solapas en verde botella y sello de lacre crema */
.s4-inv .s4-f { filter: drop-shadow(0 0 14px rgba(5,18,10,.55)); }
.s4-inv .s4-p { background-color: #24492c !important;
  background-image: var(--flor-luz), var(--flor-sombra), radial-gradient(ellipse 120% 90% at 50% 50%, #2c5636 0%, #24492c 62%, #183420 100%) !important; }
.s4-inv .s4-der .s4-p { background-image: var(--flor-luz), var(--flor-sombra), linear-gradient(270deg, #2a5233, #1d3c25) !important; }
.s4-inv .s4-arr .s4-p { background-image: var(--flor-luz), var(--flor-sombra), linear-gradient(180deg, #27502f, #1a3722) !important; }
.s4-inv .s4-aba .s4-p { background-image: var(--flor-luz), var(--flor-sombra), linear-gradient(0deg, #27502f, #1a3722) !important; }
.s4-inv .s4-p::after { background: rgba(30,62,38,.86); }
.sobre.sobre-s4.s4-inv::before { background: #1d3c25; }
.s4-inv .s4-sello img { filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.s4-inv .s4 > .s4-tip { color: #e9dfc6 !important; }
.s4-inv .s4-sello:focus-visible { outline-color: #efe7d4; }

/* v20: portada «foto en arco» — monograma, foto de los novios en arco, nombres, fecha en números */
.portada-arco { min-height: auto; padding: 46px 22px 40px; }
.portada-arco .portada-in { width: 100%; max-width: 460px; margin: 0 auto; }
.pa-mono { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--dorado, #a88d52); box-shadow: inset 0 0 0 4px var(--fondo, #f2eee4), inset 0 0 0 5px rgba(168,141,82,.45); color: var(--dorado, #a88d52); }
.pa-mono .mono-svg { width: 30px; height: 28px; display: block; }
.pa-mono .mono-svg svg { width: 100%; height: 100%; display: block; }
.pa-arco { width: min(300px, 74vw); margin: 0 auto; padding: 9px; border: 1px solid rgba(168,141,82,.45); border-radius: 999px 999px 0 0; box-sizing: border-box; }
.pa-arco img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.portada-arco .pre { margin: 26px 0 10px; }
.portada-arco .pa-nombres { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .35em; margin: 0;
  font-size: clamp(30px, 9vw, 46px) !important; line-height: 1.15; }
.portada-arco .pa-nombres .amp { display: inline; margin: 0; }
.pa-fecha { font: 500 clamp(17px, 4.6vw, 21px)/1 var(--serif); letter-spacing: .32em; margin: 16px 0 0; padding-left: .32em; color: var(--tinta); font-variant-numeric: lining-nums; }
.pa-raya { display: block; width: 64px; height: 1px; margin: 18px auto 14px; background: var(--dorado, #a88d52); opacity: .7; }
.pa-lugar { font: italic 400 clamp(17px, 4.6vw, 20px)/1.4 var(--serif); margin: 0; color: var(--tinta); }
.pa-ciudad { font: 400 11.5px/1.7 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--dorado, #a88d52); margin: 6px 0 0; }
.portada-arco .cta-rsvp { margin-top: 28px; }
/* iglesia en relieve dentro de la tarjeta de la misa */
.ev-iglesia { display: block; width: min(190px, 52vw); height: auto; margin: 0 auto 10px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.7)) drop-shadow(0 10px 16px rgba(70,55,35,.16)) contrast(1.04); }
html .portada-arco .nombres.pa-nombres { flex-direction: row; justify-content: center; align-items: baseline; width: 100%; text-align: center;
  font: 400 clamp(28px, 8.4vw, 44px)/1.15 var(--serif) !important; letter-spacing: .14em !important; text-transform: uppercase; }
html .portada-arco .pa-nombres .amp { font: italic 400 1.05em/1 var(--serif) !important; letter-spacing: 0 !important; text-transform: none; margin: 0 .1em; color: var(--dorado, #a88d52); }
html .portada-arco .pa-nombres > span:not(.amp) { margin-right: -.14em; }
.pa-mono { width: 74px; height: 74px; }
.pa-mono .mono-svg { width: 40px; height: 37px; }
.pa-ciudad > span:not(:nth-child(2)) { white-space: nowrap; }

/* v21: flores del sobre verde en verde más oscuro (hundidas en el papel), no blancas */
:root { --flor-osc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(12,34,19,0.55)' stroke='rgba(12,34,19,0.55)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); --flor-brillo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='200' viewBox='0 0 150 200'%3E%3Cg fill='rgba(255,255,255,0.035)' stroke='rgba(255,255,255,0.035)' stroke-linecap='round'%3E%3Cpath d=%22M30 200 C 10 160, 70 140, 50 100 S 20 40, 45 0%22 fill=%22none%22 stroke-width=%222.2%22/%3E%3Cpath d=%22M110 200 C 130 165, 80 140, 100 100 S 140 40, 112 0%22 fill=%22none%22 stroke-width=%222%22/%3E%3Cellipse cx=%2236%22 cy=%22176%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 36 176)%22/%3E%3Cellipse cx=%2256%22 cy=%22150%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 56 150)%22/%3E%3Cellipse cx=%2240%22 cy=%22122%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 40 122)%22/%3E%3Cellipse cx=%2246%22 cy=%2280%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 46 80)%22/%3E%3Cellipse cx=%2230%22 cy=%2258%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 30 58)%22/%3E%3Cellipse cx=%2242%22 cy=%2230%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 42 30)%22/%3E%3Cellipse cx=%22104%22 cy=%22172%22 rx=%225%22 ry=%2213%22 transform=%22rotate(40 104 172)%22/%3E%3Cellipse cx=%2292%22 cy=%22140%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-35 92 140)%22/%3E%3Cellipse cx=%22108%22 cy=%22116%22 rx=%225%22 ry=%2213%22 transform=%22rotate(30 108 116)%22/%3E%3Cellipse cx=%22118%22 cy=%2276%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-40 118 76)%22/%3E%3Cellipse cx=%22126%22 cy=%2248%22 rx=%225%22 ry=%2213%22 transform=%22rotate(35 126 48)%22/%3E%3Cellipse cx=%22114%22 cy=%2222%22 rx=%225%22 ry=%2213%22 transform=%22rotate(-30 114 22)%22/%3E%3Cellipse cx=%2258.0%22 cy=%22101.8%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(0 58.0 101.8)%22/%3E%3Cellipse cx=%2263.9%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(72 63.9 106.1)%22/%3E%3Cellipse cx=%2261.6%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(144 61.6 113.0)%22/%3E%3Cellipse cx=%2254.4%22 cy=%22113.0%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(216 54.4 113.0)%22/%3E%3Cellipse cx=%2252.1%22 cy=%22106.1%22 rx=%224.2%22 ry=%226.0%22 transform=%22rotate(288 52.1 106.1)%22/%3E%3Ccircle cx=%2258%22 cy=%22108%22 r=%222.2%22/%3E%3Cellipse cx=%22100.0%22 cy=%2255.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(0 100.0 55.0)%22/%3E%3Cellipse cx=%22104.7%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(72 104.7 58.5)%22/%3E%3Cellipse cx=%22102.9%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(144 102.9 64.0)%22/%3E%3Cellipse cx=%2297.1%22 cy=%2264.0%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(216 97.1 64.0)%22/%3E%3Cellipse cx=%2295.3%22 cy=%2258.5%22 rx=%223.4%22 ry=%224.8%22 transform=%22rotate(288 95.3 58.5)%22/%3E%3Ccircle cx=%22100%22 cy=%2260%22 r=%221.8%22/%3E%3Cellipse cx=%2220.0%22 cy=%2215.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(0 20.0 15.7)%22/%3E%3Cellipse cx=%2224.1%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(72 24.1 18.7)%22/%3E%3Cellipse cx=%2222.6%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(144 22.6 23.5)%22/%3E%3Cellipse cx=%2217.4%22 cy=%2223.5%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(216 17.4 23.5)%22/%3E%3Cellipse cx=%2215.9%22 cy=%2218.7%22 rx=%222.9%22 ry=%224.2%22 transform=%22rotate(288 15.9 18.7)%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%221.5%22/%3E%3Cellipse cx=%22130.0%22 cy=%22144.4%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(0 130.0 144.4)%22/%3E%3Cellipse cx=%22135.3%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(72 135.3 148.3)%22/%3E%3Cellipse cx=%22133.3%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(144 133.3 154.5)%22/%3E%3Cellipse cx=%22126.7%22 cy=%22154.5%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(216 126.7 154.5)%22/%3E%3Cellipse cx=%22124.7%22 cy=%22148.3%22 rx=%223.8%22 ry=%225.4%22 transform=%22rotate(288 124.7 148.3)%22/%3E%3Ccircle cx=%22130%22 cy=%22150%22 r=%222.0%22/%3E%3Cellipse cx=%2275.0%22 cy=%22181.3%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(0 75.0 181.3)%22/%3E%3Cellipse cx=%2278.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(72 78.5 183.9)%22/%3E%3Cellipse cx=%2277.2%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(144 77.2 188.0)%22/%3E%3Cellipse cx=%2272.8%22 cy=%22188.0%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(216 72.8 188.0)%22/%3E%3Cellipse cx=%2271.5%22 cy=%22183.9%22 rx=%222.5%22 ry=%223.6%22 transform=%22rotate(288 71.5 183.9)%22/%3E%3Ccircle cx=%2275%22 cy=%22185%22 r=%221.3%22/%3E%3Ccircle cx=%2270%22 cy=%2240%22 r=%222.2%22/%3E%3Ccircle cx=%2275%22 cy=%2236%22 r=%221.6%22/%3E%3Ccircle cx=%2266%22 cy=%2235%22 r=%221.4%22/%3E%3Ccircle cx=%2284%22 cy=%22170%22 r=%222.2%22/%3E%3Ccircle cx=%2289%22 cy=%22166%22 r=%221.6%22/%3E%3Ccircle cx=%2280%22 cy=%22165%22 r=%221.4%22/%3E%3Ccircle cx=%2212%22 cy=%22140%22 r=%222.2%22/%3E%3Ccircle cx=%2217%22 cy=%22136%22 r=%221.6%22/%3E%3Ccircle cx=%228%22 cy=%22135%22 r=%221.4%22/%3E%3Ccircle cx=%22140%22 cy=%22105%22 r=%222.2%22/%3E%3Ccircle cx=%22145%22 cy=%22101%22 r=%221.6%22/%3E%3Ccircle cx=%22136%22 cy=%22100%22 r=%221.4%22/%3E%3C/g%3E%3C/svg%3E"); }
.s4-inv .s4-p { background-image: var(--flor-brillo), var(--flor-osc), radial-gradient(ellipse 120% 90% at 50% 50%, #2c5636 0%, #24492c 62%, #183420 100%) !important;
  background-position: 0 1px, 0 0, 0 0 !important; }
.s4-inv .s4-der .s4-p { background-image: var(--flor-brillo), var(--flor-osc), linear-gradient(270deg, #2a5233, #1d3c25) !important; }
.s4-inv .s4-arr .s4-p { background-image: var(--flor-brillo), var(--flor-osc), linear-gradient(180deg, #27502f, #1a3722) !important; }
.s4-inv .s4-aba .s4-p { background-image: var(--flor-brillo), var(--flor-osc), linear-gradient(0deg, #27502f, #1a3722) !important; }
.s4-inv .s4-p::after { background: transparent; }

/* v22: sobre verde con pocas flores pequeñas y discretas (sin tallos ni hojas) */
:root { --flor-osc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='520' viewBox='0 0 380 520'%3E%3Cg fill='rgba%2812%2C34%2C19%2C0.3%29'%3E%3Cellipse cx=%2270.0%22 cy=%2282.2%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%280 70.0 82.2%29%22/%3E%3Cellipse cx=%2277.4%22 cy=%2287.6%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%2872 77.4 87.6%29%22/%3E%3Cellipse cx=%2274.6%22 cy=%2296.3%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28144 74.6 96.3%29%22/%3E%3Cellipse cx=%2265.4%22 cy=%2296.3%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28216 65.4 96.3%29%22/%3E%3Cellipse cx=%2262.6%22 cy=%2287.6%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28288 62.6 87.6%29%22/%3E%3Cellipse cx=%22300.0%22 cy=%22244.0%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%280 300.0 244.0%29%22/%3E%3Cellipse cx=%22305.7%22 cy=%22248.1%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%2872 305.7 248.1%29%22/%3E%3Cellipse cx=%22303.5%22 cy=%22254.9%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28144 303.5 254.9%29%22/%3E%3Cellipse cx=%22296.5%22 cy=%22254.9%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28216 296.5 254.9%29%22/%3E%3Cellipse cx=%22294.3%22 cy=%22248.1%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28288 294.3 248.1%29%22/%3E%3Cellipse cx=%22150.0%22 cy=%22423.1%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%280 150.0 423.1%29%22/%3E%3Cellipse cx=%22156.6%22 cy=%22427.9%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%2872 156.6 427.9%29%22/%3E%3Cellipse cx=%22154.1%22 cy=%22435.6%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28144 154.1 435.6%29%22/%3E%3Cellipse cx=%22145.9%22 cy=%22435.6%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28216 145.9 435.6%29%22/%3E%3Cellipse cx=%22143.4%22 cy=%22427.9%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28288 143.4 427.9%29%22/%3E%3C/g%3E%3C/svg%3E"); --flor-brillo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='520' viewBox='0 0 380 520'%3E%3Cg fill='rgba%28255%2C255%2C255%2C0.025%29'%3E%3Cellipse cx=%2270.0%22 cy=%2282.2%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%280 70.0 82.2%29%22/%3E%3Cellipse cx=%2277.4%22 cy=%2287.6%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%2872 77.4 87.6%29%22/%3E%3Cellipse cx=%2274.6%22 cy=%2296.3%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28144 74.6 96.3%29%22/%3E%3Cellipse cx=%2265.4%22 cy=%2296.3%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28216 65.4 96.3%29%22/%3E%3Cellipse cx=%2262.6%22 cy=%2287.6%22 rx=%225.5%22 ry=%228.1%22 transform=%22rotate%28288 62.6 87.6%29%22/%3E%3Cellipse cx=%22300.0%22 cy=%22244.0%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%280 300.0 244.0%29%22/%3E%3Cellipse cx=%22305.7%22 cy=%22248.1%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%2872 305.7 248.1%29%22/%3E%3Cellipse cx=%22303.5%22 cy=%22254.9%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28144 303.5 254.9%29%22/%3E%3Cellipse cx=%22296.5%22 cy=%22254.9%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28216 296.5 254.9%29%22/%3E%3Cellipse cx=%22294.3%22 cy=%22248.1%22 rx=%224.2%22 ry=%226.2%22 transform=%22rotate%28288 294.3 248.1%29%22/%3E%3Cellipse cx=%22150.0%22 cy=%22423.1%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%280 150.0 423.1%29%22/%3E%3Cellipse cx=%22156.6%22 cy=%22427.9%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%2872 156.6 427.9%29%22/%3E%3Cellipse cx=%22154.1%22 cy=%22435.6%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28144 154.1 435.6%29%22/%3E%3Cellipse cx=%22145.9%22 cy=%22435.6%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28216 145.9 435.6%29%22/%3E%3Cellipse cx=%22143.4%22 cy=%22427.9%22 rx=%224.8%22 ry=%227.1%22 transform=%22rotate%28288 143.4 427.9%29%22/%3E%3C/g%3E%3C/svg%3E"); }
.s4-inv .s4-p { background-size: 380px 520px, 380px 520px, auto !important; }

/* v23: sobre verde liso, sin flores; el verde se oscurece suavemente hacia los filos */
html .s4-inv .s4-p, html .s4-inv .s4-der .s4-p, html .s4-inv .s4-arr .s4-p, html .s4-inv .s4-aba .s4-p {
  background-image: radial-gradient(ellipse 78% 72% at 50% 50%, #2e5c38 0%, #27502f 30%, #1f4228 58%, #15301c 82%, #0d2213 100%) !important;
  background-size: 100% 100% !important; background-position: 0 0 !important; }
html .s4-inv .s4-p::after { background: transparent; }
.sobre.sobre-s4.s4-inv::before { background: #0f2516; }

/* v24: botón de confirmar con el texto exactamente al centro y los rombos a la misma distancia de cada borde */
html[data-tono="verde"] body .cta-rsvp { display: grid !important; grid-template-columns: 7px minmax(0, 1fr) 7px; align-items: center; justify-content: stretch; text-align: center; }
html[data-tono="verde"] body .cta-rsvp > span:not(.cta-sello) { margin: 0 !important; text-align: center; justify-self: center; }

/* v25: en el cierre, la iglesia en relieve (no la de lápiz) */
.pie-iglesia { display: block; position: relative; z-index: 2; width: 120px; height: auto; margin: 26px auto 4px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }

/* v26: confirmación genérica — agregar personas y nombre al no asistir */
.rsvp-generico .agregar-persona { justify-self: center; background: none; border: 0; color: inherit; cursor: pointer; min-height: 44px; padding: 8px 14px;
  font: 500 12.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; opacity: .9; }
.rsvp-generico .rsvp-nombres > input { width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; font: 400 17px var(--serif); color: #1f3a26; background: #fbf8f2; border: 1px solid rgba(36,73,44,.35); }
.rsvp-generico .rsvp-nombres > input:focus { outline: none; border-color: #24492c; box-shadow: 0 0 0 3px rgba(36,73,44,.15); }
.rsvp-generico .rsvp-nombres > .no-asistire { width: 100%; }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* un botón oculto siempre se oculta (la regla de centrado no debe mostrarlo) */
html[data-tono] body .cta-rsvp[hidden], html[data-tono] body .no-asistire[hidden], .rsvp-simple [hidden] { display: none !important; }
@media (max-width: 300px) { html[data-tono] body .rsvp-generico .cta-rsvp, html[data-tono] body .rsvp-generico .no-asistire { white-space: normal !important; letter-spacing: .12em !important; padding-left: 14px !important; padding-right: 14px !important; } }
.hoja > .sec-par + .sec::before, .hoja > .sec-par + .sec::after { display: none !important; }
#confirmar.con-fondo { min-height: min(96svh, 800px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
#confirmar.con-fondo .velo { background: linear-gradient(180deg, rgba(15,33,22,.08) 0%, rgba(15,33,22,.35) 38%, rgba(15,33,22,.82) 70%, rgba(15,33,22,.9) 100%) !important; }

/* v27: alergias al confirmar (invitación genérica) */
.rsvp-generico .alergias-c { display: grid; gap: 8px; text-align: left; margin-top: 4px; }
.rsvp-generico .alergias-c > span { font: 400 13px/1.5 var(--sans); letter-spacing: .04em; color: inherit; opacity: .92; }
.rsvp-generico .alergias-c textarea { width: 100%; box-sizing: border-box; min-height: 74px; padding: 12px 14px; font: 400 16px/1.4 var(--serif); color: #1f3a26;
  background: #fbf8f2; border: 1px solid rgba(36,73,44,.3); border-radius: 0; resize: vertical; -webkit-appearance: none; appearance: none; }
.rsvp-generico .alergias-c textarea:focus { outline: none; border-color: #24492c; box-shadow: 0 0 0 3px rgba(36,73,44,.15); }
.rsvp-generico .alergias-c textarea::placeholder { color: #8a8a7a; font-size: 14.5px; }
/* al escribir nombres o ver el «gracias», la foto se oscurece para que todo se lea */
#confirmar.con-fondo:has(.rsvp-nombres:not([hidden])) .velo, #confirmar.con-fondo:has(.gracias) .velo { background: linear-gradient(180deg, rgba(15,33,22,.62), rgba(15,33,22,.86)) !important; }
#confirmar.con-fondo .velo { transition: background .4s ease; }

/* v28: «¿Nos acompañas?» con foto — en el celular la foto va arriba con una proporción en la que caben los dos novios
   completos y se funde en verde oscuro; abajo, la confirmación. En pantallas anchas, la foto es el fondo completo. */
@media (max-width: 760px) {
  #confirmar.con-fondo { background: #15301e !important; min-height: 0; justify-content: flex-start; padding-top: calc(min(118vw, 600px) - 70px) !important; padding-bottom: 60px; }
  #confirmar.con-fondo > .foto-fondo { inset: 0 0 auto 0; height: min(118vw, 600px); object-position: 57% 30% !important; }
  #confirmar.con-fondo .velo, #confirmar.con-fondo:has(.rsvp-nombres:not([hidden])) .velo, #confirmar.con-fondo:has(.gracias) .velo {
    background: linear-gradient(180deg, rgba(21,48,30,.10) 0, rgba(21,48,30,0) 18%, rgba(21,48,30,0) calc(min(118vw, 600px) * .55),
      rgba(21,48,30,.8) calc(min(118vw, 600px) - 110px), #15301e calc(min(118vw, 600px) - 12px), #15301e 100%) !important; }
}
@media (min-width: 761px) {
  #confirmar.con-fondo > .foto-fondo { object-position: 56% 26% !important; }
}
/* Medianoche: botón claro con texto oscuro (antes el texto claro no se leía) */
[data-plantilla="medianoche"] .rsvp-simple .cta-rsvp, [data-plantilla="medianoche"] .rsvp-simple .cta-rsvp span { color: #141a2e !important; }
