/* Invitación: todo bajo .inv-root para poder incrustarla en el editor y la portada. */
.inv-root { --i-bg: #eef0e6; --i-paper: #fbfbf6; --i-ink: #2e3a28; --i-muted: #5f6b56; --i-acc: #66764a; --i-gold: #a8864b; --i-on-acc: #fff;
  --i-script: 'Great Vibes', cursive; --i-serif: 'Newsreader', Georgia, serif;
  background: var(--i-bg); color: var(--i-ink); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color-scheme: light; }
.inv-root.is-dark { color-scheme: dark; }
.inv-root *, .inv-root *::before, .inv-root *::after { box-sizing: border-box; }
.inv-root img { max-width: 100%; display: block; }
.inv { container-type: inline-size; max-width: 560px; margin: 0 auto; background-color: var(--i-paper); background-image: var(--i-tex, none); min-height: 100%; position: relative; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-ink) 6%, transparent), 0 30px 80px -40px rgba(0, 0, 0, .35); }
.i-sec { padding: 46px 28px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; border-top: 1px solid color-mix(in srgb, var(--i-gold) 22%, transparent); }
.i-sec:first-of-type, [data-slot="banner"] + .i-sec { border-top: 0; }
.i-orn { width: min(230px, 72%); height: auto; color: var(--i-gold); }
.i-kick { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--i-acc); font-weight: 700; }
.i-names { font-family: var(--i-script); font-weight: 400; font-size: clamp(30px, 15cqi, 78px); line-height: 1.04; color: var(--i-ink); margin: 0; letter-spacing: 0; text-wrap: balance; }
.i-names.italic, .i-names.n-italic { font-family: var(--i-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 12.5cqi, 66px); letter-spacing: -.01em; }
.i-names.caps, .i-names.n-caps { font-family: var(--i-script); text-transform: uppercase; letter-spacing: .06em; font-size: clamp(24px, 11cqi, 60px); }
.i-names.n-display { font-weight: 700; font-size: clamp(26px, 11cqi, 58px); line-height: 1.02; letter-spacing: -.01em; }
.i-names.n-round { font-weight: 600; font-size: clamp(30px, 13cqi, 66px); line-height: 1; }
.i-names.n-hand { font-weight: 600; font-size: clamp(36px, 16cqi, 84px); line-height: .95; }
.i-names.n-display .amp, .i-names.n-round .amp, .i-names.n-hand .amp { font-family: inherit; }
.i-names .amp { display: block; font-family: var(--i-script); font-size: .55em; color: var(--i-gold); margin: 2px 0; text-transform: none; }
.i-date { font-family: var(--i-serif); font-size: 21px; font-weight: 500; }
.i-time { font-family: var(--i-serif); font-size: 22px; font-weight: 500; }
.i-p { max-width: 30em; color: var(--i-muted); font-size: 16px; margin: 0; }
.i-p.i-small { font-size: 14.5px; }
.i-family { display: grid; gap: 2px; color: var(--i-ink); font-family: var(--i-serif); font-size: 19px; }
.i-line { display: block; }
.i-quote { font-family: var(--i-serif); font-size: 24px; line-height: 1.4; font-style: italic; max-width: 22em; margin: 0; color: var(--i-ink); }
.i-quote.small { font-size: 20px; }
.i-quote-sec { padding-block: 40px; }
.i-cover { padding-top: 62px; padding-bottom: 50px; background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--i-acc) 13%, transparent), transparent 70%); }
.i-cover.has-photo { padding-top: 0; background: none; }
.i-cover-photo { width: calc(100% + 56px); margin: 0 -28px 18px; aspect-ratio: 4 / 4.6; overflow: hidden; position: relative; }
.i-cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.i-cover-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--i-paper)); }
.i-countdown { display: flex; gap: 8px; justify-content: center; margin-top: 6px; width: 100%; max-width: 310px; }
.i-countdown div { flex: 1 1 0; min-width: 0; max-width: 72px; padding: 10px 0 8px; border: 1px solid color-mix(in srgb, var(--i-gold) 55%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--i-bg) 40%, var(--i-paper)); display: grid; }
.i-countdown b { font-family: var(--i-serif); font-weight: 500; font-size: clamp(20px, 7cqi, 28px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.i-countdown small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--i-acc); font-weight: 700; }
.i-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; margin-top: 8px; }
.i-gimg { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; grid-column: span 2; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--i-ink) 8%, transparent); }
.i-gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.i-gimg:hover img { transform: scale(1.04); }
.i-gallery.g1 .i-gimg { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.i-gallery.g2 .i-gimg { grid-column: span 3; }
.i-gallery.g4 .i-gimg, .i-gallery.g5 .i-gimg:nth-child(n+3) { grid-column: span 3; aspect-ratio: 1; }
.i-gallery.g5 .i-gimg:nth-child(-n+2) { grid-column: span 3; }
.i-gallery.g6 .i-gimg:nth-child(1), .i-gallery.g6 .i-gimg:nth-child(4) { grid-column: span 4; aspect-ratio: auto; grid-row: span 2; }
.i-cards { display: grid; gap: 12px; width: 100%; }
.i-card { border: 1px solid color-mix(in srgb, var(--i-gold) 45%, transparent); border-radius: 18px; padding: 22px 18px; display: grid; gap: 6px; justify-items: center; background: color-mix(in srgb, var(--i-bg) 30%, var(--i-paper)); }
.i-card-t { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--i-acc); font-weight: 800; }
.i-card h3 { font-family: var(--i-serif); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0; color: var(--i-ink); letter-spacing: 0; }
.i-card-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.i-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--i-acc); background: var(--i-acc); color: var(--i-on-acc); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; font-family: 'Manrope', system-ui, sans-serif; transition: filter .15s, transform .08s; }
.i-btn:hover { filter: brightness(1.07); }
.i-btn:active { transform: translateY(1px); }
.i-btn.out { background: transparent; color: var(--i-ink); border-color: color-mix(in srgb, var(--i-ink) 30%, transparent); }
.i-btn.ghost { background: transparent; color: var(--i-acc); border-color: transparent; }
.i-btn.sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.i-btn[disabled] { opacity: .5; cursor: not-allowed; }
.i-btn.loading { color: transparent; position: relative; pointer-events: none; }
.i-btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--i-on-acc); border-color: var(--i-on-acc) transparent; animation: ispin .7s linear infinite; }
@keyframes ispin { to { transform: rotate(360deg); } }
.i-timeline { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 360px; text-align: left; display: grid; }
.i-timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 12px 0; align-items: baseline; }
.i-timeline li + li { border-top: 1px dashed color-mix(in srgb, var(--i-ink) 18%, transparent); }
.i-timeline b { font-family: var(--i-serif); font-size: 20px; font-weight: 500; color: var(--i-acc); font-variant-numeric: tabular-nums; }
.i-dress { font-family: var(--i-serif); font-size: 28px; font-weight: 500; margin: 0; }
.i-bank { display: grid; gap: 8px; width: 100%; max-width: 400px; }
.i-bank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--i-bg) 55%, var(--i-paper)); text-align: left; font-size: 14.5px; }
.i-bank-row span { min-width: 0; overflow-wrap: anywhere; display: grid; }
.i-bank-row b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--i-acc); }
.i-copy { flex: none; background: transparent; border: 1px solid color-mix(in srgb, var(--i-ink) 25%, transparent); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--i-ink); }
.i-gifts { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.i-gift { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 14px; border: 1px solid color-mix(in srgb, var(--i-ink) 12%, transparent); border-radius: 16px; }
.i-gift b { display: block; font-size: 15.5px; }
.i-gift small { color: var(--i-muted); font-size: 13px; }
.i-bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--i-ink) 10%, transparent); margin-top: 8px; overflow: hidden; }
.i-bar span { display: block; height: 100%; background: var(--i-acc); border-radius: 99px; }
.i-form { display: grid; gap: 14px; width: 100%; max-width: 400px; text-align: left; }
.i-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 700; }
.i-input { width: 100%; min-height: 48px; border: 1px solid color-mix(in srgb, var(--i-ink) 22%, transparent); background: #fff; color: #1d1d1d; border-radius: 12px; padding: 10px 13px; font-size: 16px; font-family: inherit; }
.inv-root.is-dark .i-input { background: #0b0f1b; color: var(--i-ink); }
.i-input:focus { outline: none; border-color: var(--i-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--i-acc) 25%, transparent); }
textarea.i-input { min-height: 84px; resize: vertical; }
.i-choices { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.i-choices legend { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.i-choice { display: flex !important; flex-direction: row; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1.5px solid color-mix(in srgb, var(--i-ink) 20%, transparent); border-radius: 14px; cursor: pointer; font-weight: 600 !important; background: color-mix(in srgb, var(--i-paper) 80%, #fff); }
.i-choice input { accent-color: var(--i-acc); width: 20px; height: 20px; margin: 0; }
.i-choice:has(input:checked) { border-color: var(--i-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--i-acc) 22%, transparent); }
.i-stepper { display: flex; align-items: center; gap: 0; border: 1px solid color-mix(in srgb, var(--i-ink) 22%, transparent); border-radius: 14px; overflow: hidden; width: max-content; }
.i-stepper button { width: 52px; height: 50px; border: 0; background: color-mix(in srgb, var(--i-bg) 50%, var(--i-paper)); font-size: 22px; cursor: pointer; color: var(--i-ink); }
.i-stepper output { min-width: 64px; text-align: center; font-family: var(--i-serif); font-size: 26px; font-weight: 500; }
.i-hello { background: color-mix(in srgb, var(--i-acc) 12%, var(--i-paper)); border-radius: 18px; padding: 16px 18px; width: 100%; max-width: 400px; display: grid; gap: 2px; }
.i-hello b { font-family: var(--i-serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.i-note { font-size: 13.5px; color: var(--i-muted); max-width: 30em; margin: 0; }
.i-err { color: #b3261e; font-size: 14px; font-weight: 700; }
.i-done { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 400px; }
.i-pass { background: #fff; color: #111; border-radius: 22px; padding: 18px; display: grid; gap: 8px; justify-items: center; width: 100%; max-width: 300px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .35); border: 1px solid color-mix(in srgb, var(--i-gold) 50%, transparent); }
.i-pass svg { width: 210px; height: 210px; }
.i-pass .code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 22px; letter-spacing: .2em; font-weight: 700; }
.i-banner { background: var(--i-ink); color: var(--i-paper); padding: 20px 22px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.i-banner b { font-family: var(--i-serif); font-size: 22px; font-weight: 500; }
.i-banner .i-btn.out { color: var(--i-paper); border-color: color-mix(in srgb, var(--i-paper) 50%, transparent); }
.i-banner .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.i-banner.preview { background: #2b2b2b; color: #fff; font-size: 14px; }
.i-songs { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 400px; text-align: left; font-size: 14.5px; }
.i-songs li { padding: 10px 0; border-bottom: 1px dashed color-mix(in srgb, var(--i-ink) 18%, transparent); display: flex; justify-content: space-between; gap: 10px; }
.i-songs small { color: var(--i-muted); text-align: right; }
.i-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; }
.i-photos button { padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: color-mix(in srgb, var(--i-ink) 8%, transparent); }
.i-photos img { width: 100%; height: 100%; object-fit: cover; }
.i-upload { position: relative; overflow: hidden; }
.i-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.i-closing { padding-bottom: 30px; }
.i-sign { font-family: var(--i-script); font-size: 40px; line-height: 1.1; margin: 0; }
.i-sign .amp { font-size: .7em; color: var(--i-gold); margin: 0 6px; }
.i-hashtag { font-weight: 800; letter-spacing: .06em; color: var(--i-acc); }
.i-foot { padding: 18px 24px calc(96px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 13px; color: var(--i-muted); }
.i-foot a { color: inherit; font-weight: 700; }
.i-music { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--i-ink); color: var(--i-paper); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .4); }
.i-music svg { width: 22px; height: 22px; }
.i-music.on svg { animation: ispin 5s linear infinite; }
.i-fab { white-space: nowrap; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 39; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: opacity .25s, transform .25s; }
.i-fab.hide { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
/* Sobre */
.i-envelope { position: fixed; inset: 0; z-index: 80; background: var(--i-bg); display: grid; place-items: center; padding: 20px; transition: opacity .6s ease .55s, visibility 0s linear 1.2s; }
.i-envelope.open { opacity: 0; visibility: hidden; }
.i-env { position: relative; width: min(86vw, 390px); aspect-ratio: 7 / 5; border: 0; background: none; padding: 0; cursor: pointer; perspective: 900px; }
.i-env-body { position: absolute; inset: 0; background: color-mix(in srgb, var(--i-acc) 9%, var(--i-paper)); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); overflow: hidden; }
.i-env-body::before, .i-env-body::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--i-acc) 16%, var(--i-paper)); }
.i-env-body::before { clip-path: polygon(0 0, 52% 58%, 0 100%); }
.i-env-body::after { clip-path: polygon(100% 0, 48% 58%, 100% 100%); }
.i-env-flap { position: absolute; inset: 0 0 auto; height: 62%; background: color-mix(in srgb, var(--i-acc) 24%, var(--i-paper)); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform .75s cubic-bezier(.5, 0, .2, 1); z-index: 2; border-radius: 8px 8px 0 0; }
.i-envelope.open .i-env-flap { transform: rotateX(180deg); }
.i-env-seal { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); z-index: 3; width: 78px; height: 78px; border-radius: 50%; background: var(--i-acc); color: var(--i-on-acc); display: grid; place-items: center; font-family: var(--i-script); font-size: 28px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25), inset 0 0 0 4px rgba(255, 255, 255, .2); transition: transform .35s, opacity .3s; }
.i-envelope.open .i-env-seal { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.i-env-stage { display: grid; justify-items: center; gap: 26px; width: 100%; max-width: 440px; }
.i-envelope.open .i-env-stage > :not(.i-env) { opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .35s; }
/* Tarjeta de bienvenida (para quién es la invitación) */
.i-welcome { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--i-ink); }
.i-welcome > * { animation: iwin .8s cubic-bezier(.2, .7, .2, 1) both; }
.i-welcome > :nth-child(2) { animation-delay: .12s; } .i-welcome > :nth-child(3) { animation-delay: .26s; } .i-welcome > :nth-child(4) { animation-delay: .4s; }
@keyframes iwin { from { opacity: 0; transform: translateY(12px); } }
.i-w-k { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--i-muted); }
.i-w-ev { font-family: var(--i-script); font-weight: 400; font-size: clamp(34px, 9vw, 46px); line-height: 1.1; color: var(--i-acc); }
.i-w-to { font-family: var(--i-serif); font-size: clamp(22px, 6vw, 27px); font-weight: 500; line-height: 1.2; margin-top: 8px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--i-gold) 55%, transparent); text-wrap: balance; }
.i-w-pass { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--i-acc) 11%, var(--i-paper)); color: var(--i-ink); font-size: 14px; font-weight: 700; }
.i-w-pass svg { width: 18px; height: 18px; fill: none; stroke: var(--i-acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-env-post { position: absolute; z-index: 3; right: 5%; bottom: 7%; width: 27%; color: var(--i-acc); opacity: .62; transform: rotate(-14deg); font-family: var(--i-serif); transition: opacity .3s; pointer-events: none; }
.i-envelope.open .i-env-post { opacity: 0; }
.i-env-post svg { display: block; width: 100%; height: auto; }
.i-env-seal { display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.i-env-seal i { font-style: normal; font-size: .62em; margin: 0 1px; opacity: .85; }
.i-env:hover .i-env-seal, .i-env:focus-visible .i-env-seal { transform: translate(-50%, -50%) scale(1.06) rotate(-4deg); }
.i-env:focus-visible { outline: 3px solid var(--i-acc); outline-offset: 8px; border-radius: 10px; }
.i-env-hint { text-align: center; font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--i-acc); font-weight: 800; animation: ipulse 1.8s ease-in-out infinite; }
@keyframes ipulse { 50% { opacity: .45; } }
/* Visor de fotos */
.i-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 16px; }
.i-lightbox img { max-height: 86vh; max-width: 100%; border-radius: 10px; object-fit: contain; }
.i-lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.i-lightbox .x { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.i-lightbox .prev { left: 12px; top: 50%; } .i-lightbox .next { right: 12px; top: 50%; }
.i-state { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px; }
.i-state .box { display: grid; gap: 14px; justify-items: center; max-width: 420px; }
.i-state h1 { font-family: var(--i-serif); font-size: 34px; font-weight: 500; margin: 0; }
.i-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); background: var(--i-ink); color: var(--i-paper); padding: 10px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 700; opacity: 0; transition: .2s; z-index: 95; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.i-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .inv-root *, .i-envelope, .i-env-flap { animation: none !important; transition: none !important; } }

/* Versión 2: video, colores, hospedaje, preguntas, libro de firmas, aperturas */
.i-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.i-video iframe, .i-video img { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.i-swatches { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.i-swatches span { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 8px rgba(0, 0, 0, .12); }
.i-stay { justify-items: center; }
.i-faq { width: 100%; max-width: 440px; text-align: left; display: grid; gap: 8px; }
.i-faq details { border: 1px solid color-mix(in srgb, var(--i-ink) 14%, transparent); border-radius: 14px; padding: 0 16px; background: color-mix(in srgb, var(--i-bg) 25%, var(--i-paper)); }
.i-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.i-faq summary::-webkit-details-marker { display: none; }
.i-faq summary::after { content: "+"; color: var(--i-acc); font-size: 20px; line-height: 1; }
.i-faq details[open] summary::after { content: "−"; }
.i-faq details p { margin: 0 0 14px; color: var(--i-muted); }
.i-wall { display: grid; gap: 10px; width: 100%; text-align: left; }
.i-wall figure { margin: 0; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--i-acc) 7%, var(--i-paper)); border: 1px solid color-mix(in srgb, var(--i-gold) 30%, transparent); }
.i-wall blockquote { margin: 0; font-family: var(--i-serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--i-ink); }
.i-wall figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--i-acc-text, var(--i-acc)); letter-spacing: .04em; }
.i-q-options { display: flex; flex-wrap: wrap; gap: 8px; }
.i-q-options label { display: inline-flex !important; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid color-mix(in srgb, var(--i-ink) 20%, transparent); border-radius: 999px; cursor: pointer; font-weight: 500 !important; background: color-mix(in srgb, var(--i-paper) 80%, #fff); }
.i-q-options label:has(input:checked) { border-color: var(--i-acc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--i-acc) 25%, transparent); }
.i-q-options input { accent-color: var(--i-acc); margin: 0; }
/* Apertura: puertas */
.i-doors { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; perspective: 1600px; transition: visibility 0s linear 1.4s; background: color-mix(in srgb, var(--i-ink) 70%, #000); }
.i-doors .door { position: absolute; top: 0; bottom: 0; width: 50%; transition: transform 1.2s cubic-bezier(.6, 0, .2, 1); backface-visibility: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--i-paper) 86%, var(--i-gold)) 0%, var(--i-paper) 45%, color-mix(in srgb, var(--i-paper) 82%, var(--i-ink)) 100%); }
.i-doors .door::before { content: ""; position: absolute; inset: 7% 14%; border: 1.5px solid color-mix(in srgb, var(--i-gold) 75%, transparent); border-radius: 999px 999px 6px 6px;
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--i-paper) 70%, transparent), inset 0 0 0 9px color-mix(in srgb, var(--i-gold) 40%, transparent), inset 0 30px 60px -30px color-mix(in srgb, var(--i-gold) 30%, transparent); }
.i-doors .door.l { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 color-mix(in srgb, var(--i-gold) 70%, transparent), inset -18px 0 30px -20px rgba(0, 0, 0, .25); }
.i-doors .door.r { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 color-mix(in srgb, var(--i-gold) 70%, transparent), inset 18px 0 30px -20px rgba(0, 0, 0, .25); }
.i-doors .door::after { content: ""; position: absolute; top: 50%; width: 8px; height: 64px; border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--i-gold) 70%, #fff), var(--i-gold)); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: translateY(-50%); }
.i-doors .door.l::after { right: 16px; } .i-doors .door.r::after { left: 16px; }
.i-doors.open { visibility: hidden; background: transparent; transition: visibility 0s linear 1.4s, background .6s; }
.i-doors.open .door.l { transform: rotateY(-105deg); }
.i-doors.open .door.r { transform: rotateY(105deg); }
/* Apertura: telón */
.i-curtain { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; transition: visibility 0s linear 1.5s; overflow: hidden; }
.i-curtain .half { position: absolute; top: 0; bottom: 0; width: 51%; transition: transform 1.35s cubic-bezier(.65, 0, .25, 1);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35) 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .32) 0, rgba(0, 0, 0, .05) 11px, rgba(255, 255, 255, .14) 22px, rgba(0, 0, 0, .05) 33px, rgba(0, 0, 0, .32) 44px),
    var(--i-acc); }
.i-curtain .half.l { left: 0; transform-origin: top left; } .i-curtain .half.r { right: 0; transform-origin: top right; }
.i-curtain::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 74px;
  background: radial-gradient(60px 46px at 50% 0, transparent 0, transparent 0) , linear-gradient(180deg, color-mix(in srgb, var(--i-acc) 80%, #000), var(--i-acc));
  -webkit-mask: radial-gradient(40px 26px at 40px 100%, transparent 98%, #000 100%) 0 0 / 80px 100% repeat-x;
          mask: radial-gradient(40px 26px at 40px 100%, transparent 98%, #000 100%) 0 0 / 80px 100% repeat-x;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform 1.2s cubic-bezier(.65, 0, .25, 1) .15s; }
.i-curtain::after { content: ""; position: absolute; z-index: 1; top: 48px; left: 0; right: 0; height: 3px; background: var(--i-gold); opacity: .8; transition: transform 1.2s cubic-bezier(.65, 0, .25, 1) .15s; }
.i-curtain.open { visibility: hidden; }
.i-curtain.open::before, .i-curtain.open::after { transform: translateY(-120px); }
.i-curtain.open .half.l { transform: translateX(-96%) scaleX(.35); }
.i-curtain.open .half.r { transform: translateX(96%) scaleX(.35); }
@media (prefers-reduced-motion: reduce) { .i-doors .door, .i-curtain .half, .i-curtain::before, .i-curtain::after { transition-duration: .01s; } }
.i-open-btn { position: relative; z-index: 2; border: 0; background: var(--i-paper); color: var(--i-ink); border-radius: 999px; padding: 16px 28px; font-family: var(--i-serif); font-size: 20px; font-weight: 500; cursor: pointer; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); display: grid; gap: 2px; justify-items: center; }
.i-doors.open .i-open-card, .i-curtain.open .i-open-card { opacity: 0; transform: scale(.96); transition: opacity .3s, transform .3s; }
.i-open-card { position: relative; z-index: 2; display: grid; justify-items: center; gap: 16px; background: var(--i-paper); border-radius: 26px; padding: 26px 26px 22px; width: min(88vw, 380px); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); }
.i-open-card .i-open-btn { background: var(--i-acc); color: var(--i-on-acc); box-shadow: none; font-size: 18px; padding: 13px 26px; }

/* Cuenta regresiva que voltea */
.i-countdown div { perspective: 300px; }
.i-countdown b { display: inline-block; transform-origin: 50% 60%; }
.i-countdown b.flip { animation: flip .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes flip { 0% { transform: rotateX(-90deg); opacity: .2; } 60% { opacity: 1; } 100% { transform: rotateX(0); } }
.i-hello { animation: hello .6s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes hello { from { transform: scale(.94); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .i-countdown b.flip, .i-hello { animation: none; } }

/* Familia: padrinos y testigos lado a lado */
.i-family-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; width: 100%; max-width: 520px; }
.i-family-cols:empty { display: none; }
.i-family-cols > div { display: grid; gap: 4px; justify-items: center; }
/* Vestimenta: ellos / ellas */
.i-dress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; width: 100%; max-width: 460px; margin: 6px 0; }
.i-dress-c { display: grid; justify-items: center; gap: 6px; padding: 18px 14px; border-radius: 18px; background: color-mix(in srgb, var(--i-bg) 50%, var(--i-paper)); border: 1px solid color-mix(in srgb, var(--i-gold) 30%, transparent); }
.i-dress-c svg, .i-notice svg, .i-gico svg { width: 44px; height: 44px; fill: none; stroke: var(--i-acc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i-dress-c b { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--i-acc); }
.i-dress-c p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--i-ink); }
.i-swatches.avoid span { position: relative; }
.i-swatches.avoid span::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: color-mix(in srgb, var(--i-ink) 70%, transparent); transform: rotate(45deg); border-radius: 2px; }
/* Aviso: solo adultos */
.i-notice { display: flex; gap: 16px; align-items: center; text-align: left; max-width: 460px; width: 100%; padding: 18px 20px; border-radius: 20px; background: color-mix(in srgb, var(--i-acc) 8%, var(--i-paper)); border: 1px dashed color-mix(in srgb, var(--i-acc) 40%, transparent); }
.i-notice svg { flex: none; }
.i-notice b { display: block; font-family: var(--i-serif); font-size: 20px; font-weight: 500; color: var(--i-ink); }
.i-notice p { margin: 4px 0 0; font-size: 14.5px; color: var(--i-muted); line-height: 1.45; }
/* Regalos en tarjetas */
.i-gift-grid { display: grid; gap: 12px; width: 100%; max-width: 440px; }
.i-gcard { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; text-align: left; padding: 16px; border-radius: 20px; background: var(--i-paper); border: 1px solid color-mix(in srgb, var(--i-ink) 12%, transparent); box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .4); }
.i-gico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--i-acc) 10%, var(--i-paper)); }
.i-gico svg { width: 26px; height: 26px; }
.i-gbody { display: contents; }
.i-gbody > :not(.i-gt) { grid-column: 1 / -1; justify-self: start; }
.i-gbody > .i-bank-row { justify-self: stretch; background: transparent; border-radius: 0; padding: 10px 0 0; border-top: 1px solid color-mix(in srgb, var(--i-ink) 10%, transparent); font-variant-numeric: tabular-nums; }
.i-gcard.has-qr { display: flex; align-items: center; }
.i-gcard.has-qr .i-gbody { display: grid; gap: 8px; flex: 1; min-width: 0; }
.i-gbody .i-p { margin: 0; text-align: left; }
.i-gt { font-family: var(--i-serif); font-size: 19px; font-weight: 500; color: var(--i-ink); line-height: 1.25; }
.i-qr { flex: none; width: 104px; height: 104px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; border: 1px solid color-mix(in srgb, var(--i-ink) 10%, transparent); }
@media (max-width: 380px) { .i-gcard.has-qr { flex-direction: column; } .i-gcard.has-qr .i-gbody { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .i-welcome > * { animation: none; } }

/* ====== Colección 2026: portadas, texturas y adornos ====== */
.inv-root[data-names="round"] .i-sign, .inv-root[data-names="display"] .i-sign { font-weight: 700; font-size: 32px; }
.inv-root[data-names="hand"] .i-sign { font-weight: 600; font-size: 46px; }
.i-cover { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 178cqi); align-content: center; }
.i-cover > :not(.i-deco), .i-closing > :not(.i-deco) { position: relative; z-index: 1; }
.i-closing { position: relative; isolation: isolate; overflow: hidden; }
.i-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.i-dk { position: absolute; }
.i-dk svg { display: block; width: 100%; height: 100%; }
.i-dk.scatter { inset: 0; }
.i-dk.corner { width: min(42%, 220px); aspect-ratio: 1; }
.i-dk.corner.tl { top: -2px; left: -2px; } .i-dk.corner.tr { top: -2px; right: -2px; transform: scaleX(-1); }
.i-dk.corner.bl { bottom: -2px; left: -2px; transform: scaleY(-1); } .i-dk.corner.br { bottom: -2px; right: -2px; transform: scale(-1, -1); }
.i-dk.corner.bl0 { bottom: -4px; left: -4px; width: min(46%, 240px); }
.i-dk.bottom { left: 0; right: 0; bottom: 0; height: 16%; }
.i-closing .i-dk.corner { width: min(30%, 160px); opacity: .9; }
.i-closing .i-dk.scatter { opacity: .7; }
.i-dk-top { width: min(76%, 330px); margin: -2cqi auto -1cqi; }
.i-dk-top svg { display: block; width: 100%; height: auto; }
.i-cover.has-top { padding-top: 7cqi; }
.i-cover.cov-classic:not(.has-photo) { padding-top: 15cqi; padding-bottom: 12cqi; }
.i-cover.has-top.cov-classic { padding-top: 8cqi; }
/* Arco */
.i-arch { width: min(84%, 380px); border-radius: 999px 999px 22px 22px; border: 1.5px solid color-mix(in srgb, var(--i-gold) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--i-gold) 35%, transparent); outline-offset: 5px; padding: 16cqi 5cqi 9cqi; background: color-mix(in srgb, var(--i-paper) 82%, transparent); display: grid; gap: 3cqi; justify-items: center; overflow: hidden; box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .45); margin-top: 3cqi; }
.i-arch-in { display: grid; gap: 3cqi; justify-items: center; }
.i-arch-ph { margin: -16cqi -5cqi 2cqi; width: calc(100% + 10cqi); aspect-ratio: 4 / 4.3; overflow: hidden; }
.i-arch-ph img { width: 100%; height: 100%; object-fit: cover; }
.i-arch .i-orn { width: 62%; }
/* Marco doble */
.i-frame { position: relative; width: min(88%, 400px); padding: 12cqi 6cqi 10cqi; display: grid; gap: 3cqi; justify-items: center; border: 1px solid color-mix(in srgb, var(--i-gold) 75%, transparent); background: color-mix(in srgb, var(--i-paper) 86%, transparent); margin: 2cqi 0; }
.i-frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--i-gold) 45%, transparent); pointer-events: none; }
.i-frame .fc { position: absolute; width: 22px; height: 22px; border: 2px solid var(--i-gold); }
.i-frame .fc.tl { top: -5px; left: -5px; border-right: 0; border-bottom: 0; } .i-frame .fc.tr { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.i-frame .fc.bl { bottom: -5px; left: -5px; border-right: 0; border-top: 0; } .i-frame .fc.br { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
/* Editorial */
.cov-editorial { padding-top: 14cqi; }
.i-bigdate { display: flex; align-items: center; gap: 4cqi; font-family: var(--i-serif); color: var(--i-ink); margin: 1cqi 0 2cqi; }
.i-bigdate b { font-weight: 400; font-size: clamp(70px, 34cqi, 180px); line-height: .82; letter-spacing: -.05em; }
.i-bigdate span { display: grid; text-align: left; font-family: 'Manrope', system-ui, sans-serif; font-size: clamp(11px, 3.4cqi, 16px); letter-spacing: .3em; font-weight: 700; color: var(--i-muted); }
.i-bigdate i { font-family: var(--i-serif); font-style: italic; font-size: clamp(22px, 8cqi, 40px); letter-spacing: 0; font-weight: 400; color: var(--i-ink); line-height: 1; }
.cov-editorial .i-names { font-size: clamp(26px, 10.5cqi, 56px); padding: 3cqi 0; border-block: 1px solid color-mix(in srgb, var(--i-ink) 18%, transparent); width: min(88%, 420px); }
.i-date.small .nt { text-transform: none; }
.i-date.small { white-space: nowrap; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; color: var(--i-muted); }
/* Insignia (cumpleaños) */
.i-badge { position: relative; width: clamp(110px, 42cqi, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--i-acc); color: var(--i-on-acc); display: grid; place-items: center; transform: rotate(-5deg); box-shadow: 0 0 0 2.4cqi var(--i-paper), 0 0 0 2.9cqi color-mix(in srgb, var(--i-gold) 80%, transparent), 0 24px 40px -20px rgba(0, 0, 0, .45); margin: 3cqi 0 2cqi; }
.i-badge::before { content: ""; position: absolute; inset: 7%; border: 2px dashed color-mix(in srgb, var(--i-on-acc) 55%, transparent); border-radius: 50%; }
.i-badge > div { display: grid; justify-items: center; line-height: 1; }
.i-badge b { font-family: var(--i-script); font-weight: 700; font-size: clamp(54px, 22cqi, 112px); line-height: .9; }
.i-badge b.ini { font-size: clamp(48px, 18cqi, 90px); }
.i-badge small { font-size: clamp(9px, 2.8cqi, 13px); letter-spacing: .24em; text-transform: uppercase; font-weight: 800; }
.cov-badge .i-names { margin-top: 2cqi; }
/* Entrada (fiesta) */
.i-ticket { --st: 24cqi; display: grid; grid-template-columns: 1fr var(--st); width: min(92%, 430px); background: var(--i-acc); color: var(--i-on-acc); border-radius: 18px; text-align: left; margin: 3cqi 0 1cqi; box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(circle 11px at calc(100% - var(--st)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - var(--st)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at calc(100% - var(--st)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - var(--st)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.tk-main { padding: 6cqi 5cqi; display: grid; gap: 2cqi; align-content: center; min-width: 0; }
.tk-main .i-kick { color: inherit; opacity: .85; }
.tk-main .i-names { color: inherit; font-size: clamp(20px, 8.2cqi, 46px); text-align: left; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.tk-main .i-names .amp { display: inline; color: inherit; opacity: .8; margin: 0 .2em; }
.tk-age { margin: 0; font-weight: 800; font-size: clamp(11px, 3.4cqi, 15px); letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.tk-stub { border-left: 2px dashed color-mix(in srgb, var(--i-on-acc) 50%, transparent); display: grid; place-content: center; justify-items: center; text-align: center; padding: 4cqi 1cqi; line-height: 1.05; }
.tk-stub b { font-family: var(--i-script); font-weight: 700; font-size: clamp(30px, 11cqi, 56px); line-height: 1; }
.tk-stub span, .tk-stub small { font-size: clamp(9px, 2.6cqi, 12.5px); letter-spacing: .2em; text-transform: uppercase; font-weight: 800; }
.tk-stub small { margin-top: 1.4cqi; opacity: .85; letter-spacing: .08em; }
/* Nube */
.i-cloudcard { position: relative; width: min(84%, 380px); padding: 10cqi 6cqi 9cqi; background: var(--i-paper); border-radius: 30px; display: grid; gap: 3cqi; justify-items: center; filter: drop-shadow(0 22px 26px color-mix(in srgb, var(--i-acc) 32%, transparent)); margin: 15cqi 0 2cqi; }
.i-cloudcard::before { content: ""; position: absolute; left: 0; right: 0; top: -12cqi; height: 14cqi; z-index: -1;
  background: radial-gradient(circle at 24% 100%, var(--i-paper) 9.5cqi, transparent calc(9.5cqi + 1px)), radial-gradient(circle at 52% 88%, var(--i-paper) 13cqi, transparent calc(13cqi + 1px)), radial-gradient(circle at 79% 100%, var(--i-paper) 9cqi, transparent calc(9cqi + 1px)); }
/* Polaroid */
.i-pola { position: relative; margin: 4cqi 0 3cqi; background: #fff; padding: 3cqi 3cqi 4cqi; width: min(76%, 330px); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .5); transform: rotate(-3deg); }
.i-pola::before { content: ""; position: absolute; top: -12px; left: 50%; width: 32%; height: 24px; background: color-mix(in srgb, var(--i-acc) 28%, #ffffffcc); transform: translateX(-50%) rotate(3deg); opacity: .9; }
.i-pola .pp { aspect-ratio: 1; overflow: hidden; background: #eee; }
.i-pola .pp img { width: 100%; height: 100%; object-fit: cover; }
.i-pola figcaption { padding-top: 3cqi; }
.i-pola .i-names { color: #2a2626; }
.i-pola .i-names .amp { display: inline; margin: 0 .15em; }
/* Secciones con un poco más de aire y estilo */
.i-kick { display: inline-flex; align-items: center; gap: 10px; }
.i-sec:not(.i-cover) > .i-kick::before, .i-sec:not(.i-cover) > .i-kick::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.inv-root.is-dark .i-dk.corner, .inv-root.is-dark .i-dk.scatter { filter: saturate(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .i-cover .i-dk.corner, .i-cover .i-dk-top svg { animation: idrift 9s ease-in-out infinite alternate; }
  .i-cover .i-dk.corner.tr, .i-cover .i-dk.corner.br { animation-delay: -4s; }
}
@keyframes idrift { to { translate: 0 6px; } }

.deco-clouds .i-dk, .deco-rain + * .i-dk-top, .i-dk-top:has(+ .i-cloudcard) { filter: drop-shadow(0 6px 12px color-mix(in srgb, var(--i-acc) 28%, transparent)); }
.cov-cloud .i-dk-top { filter: drop-shadow(0 6px 12px color-mix(in srgb, var(--i-acc) 28%, transparent)); }

.i-pola .i-names.n-hand { font-size: clamp(26px, 10cqi, 50px); }
.i-pola .i-names { text-wrap: balance; }
.i-cover:has(.deco-dino) { padding-bottom: 34cqi; }
.i-closing:has(.deco-dino) { padding-bottom: 30cqi; }

/* ====================== Capa premium ====================== */
/* Flores en acuarela en las esquinas de la portada */
.i-fl { position: absolute; z-index: 0; pointer-events: none; width: min(74%, 420px); transform-origin: 50% 50%; height: auto; filter: drop-shadow(0 10px 18px rgba(60, 30, 30, .08)); }
.i-fl.tl { top: -2.5%; left: -9%; transform: rotate(-4deg); }
.i-fl.br { bottom: -3%; right: -10%; transform: rotate(176deg); width: min(64%, 370px); }
.inv-root.is-dark .i-fl { filter: none; opacity: .95; }
.i-cover.has-flora .i-cover-photo ~ .i-fl.tl, .i-cover.has-flora.has-photo .i-fl.tl { display: none; }
.i-cover.has-flora.cov-classic, .i-cover.has-flora.cov-frame { padding-top: 20cqi; padding-bottom: 18cqi; }
@media (prefers-reduced-motion: no-preference) {
  .i-cover .i-fl.tl { animation: isway 10s ease-in-out infinite alternate; }
  .i-cover .i-fl.br { animation: isway2 11s ease-in-out infinite alternate; }
}
@keyframes isway { from { transform: rotate(-5deg); } to { transform: rotate(-1deg) translateY(3px); } }
@keyframes isway2 { from { transform: rotate(175deg); } to { transform: rotate(178deg) translateY(-3px); } }
/* Monograma */
.i-crest { width: clamp(100px, 36cqi, 176px); height: auto; margin-bottom: -1cqi; }
.cov-arch .i-crest { width: clamp(70px, 24cqi, 120px); }
.i-closing .i-crest { width: 110px; }
/* Dorado metálico */
.i-cover.foil .i-names, .inv-root.is-foil .i-sign { background: var(--i-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.i-cover.foil .i-names .amp { -webkit-text-fill-color: currentColor; color: var(--i-gold); }
.i-cover.foil .i-frame, .i-cover.foil .i-arch { border-color: transparent; border-image: var(--i-foil) 1; }
.i-cover.foil .i-arch { border-image: none; border-color: color-mix(in srgb, var(--i-gold) 80%, transparent); }
.i-cover.foil .i-frame .fc { border-color: var(--i-gold); }
@media (prefers-reduced-motion: no-preference) {
  .i-cover.foil .i-names, .inv-root.is-foil .i-sign { animation: ishine 6s ease-in-out infinite; }
}
@keyframes ishine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* Títulos de sección con letra caligráfica y ramita */
.i-sec:not(.i-cover):not(.i-quote-sec):not(.i-closing) > .i-kick:first-child { display: grid; justify-items: center; gap: 2px; font-family: var(--i-script); font-weight: 400; font-size: clamp(30px, 10cqi, 46px); letter-spacing: 0; text-transform: none; color: var(--i-ink); line-height: 1.1; margin-bottom: 4px; }
.i-sec:not(.i-cover):not(.i-quote-sec):not(.i-closing) > .i-kick:first-child::before { content: none; }
.i-sec:not(.i-cover):not(.i-quote-sec):not(.i-closing) > .i-kick:first-child::after { content: ""; width: 150px; height: 46px; opacity: 1; background: var(--i-sprig) center / contain no-repeat; margin-top: 2px; }
.inv-root:not(.is-flora) .i-sec:not(.i-cover):not(.i-quote-sec):not(.i-closing) > .i-kick:first-child::after { height: 26px; width: 120px; }
.inv-root[data-names="caps"] .i-sec > .i-kick:first-child { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(22px, 7cqi, 32px); }
.inv-root[data-names="round"] .i-sec > .i-kick:first-child, .inv-root[data-names="display"] .i-sec > .i-kick:first-child { font-weight: 700; font-size: clamp(26px, 8.5cqi, 38px); }
.inv-root[data-names="hand"] .i-sec > .i-kick:first-child { font-weight: 600; font-size: clamp(34px, 11cqi, 50px); }
.inv-root.is-foil .i-sec:not(.i-cover) > .i-kick:first-child { background: var(--i-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Ritmo: secciones alternas con fondo suave */
.i-sec:not(.i-cover):nth-of-type(even) { background: color-mix(in srgb, var(--i-bg) 38%, transparent); }
.i-sec { border-top: 0; }
.i-sec + .i-sec:not(.i-cover)::before { content: none; }
/* Cuenta regresiva más elegante (los diseños infantiles conservan las cajitas) */
.inv-root:not([data-names="round"]):not([data-names="display"]) .i-countdown { gap: 0; max-width: 340px; }
.inv-root:not([data-names="round"]):not([data-names="display"]) .i-countdown div { border: 0; border-radius: 0; background: transparent; padding: 4px 0; }
.inv-root:not([data-names="round"]):not([data-names="display"]) .i-countdown div + div { border-left: 1px solid color-mix(in srgb, var(--i-gold) 55%, transparent); }
.inv-root:not([data-names="round"]):not([data-names="display"]) .i-countdown b { font-size: clamp(26px, 9cqi, 38px); font-weight: 400; }
.inv-root.is-foil .i-countdown b { background: var(--i-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Cierre con guirnalda */
.i-garland { width: min(100%, 460px); height: auto; margin: -4px auto 4px; }
/* Tarjetas con un toque más fino */
.i-card { background: color-mix(in srgb, var(--i-paper) 92%, transparent); box-shadow: 0 18px 40px -30px rgba(40, 20, 20, .35); }
.inv-root.is-foil .i-card { border-color: color-mix(in srgb, var(--i-gold) 65%, transparent); }
/* Partículas de ambiente */
.i-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.i-fx i { position: absolute; left: var(--x); top: -6%; display: block; }
.fx-petals i { width: calc(13px * var(--s)); height: calc(10px * var(--s)); background: var(--i-fxc); border-radius: 80% 0 80% 0; opacity: .8; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .08); animation: ifall var(--d) linear var(--w) infinite; }
.fx-confetti i { width: calc(8px * var(--s)); height: calc(13px * var(--s)); background: var(--c, var(--i-acc)); border-radius: 2px; animation: ifall var(--d) linear var(--w) infinite; }
.fx-sparkles i, .fx-stars i { top: var(--y); width: calc(14px * var(--s)); height: calc(14px * var(--s)); background: var(--i-gold); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: itwinkle calc(var(--d) / 3) ease-in-out var(--w) infinite; }
.fx-stars i { background: #fff; width: calc(9px * var(--s)); height: calc(9px * var(--s)); }
.fx-stars i:nth-child(3n) { background: var(--i-gold); }
.fx-bubbles i { top: auto; bottom: -6%; width: calc(12px * var(--s)); height: calc(12px * var(--s)); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--i-gold) 80%, transparent); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .6), transparent 45%); animation: irise var(--d) linear var(--w) infinite; }
.fx-hearts i { width: calc(14px * var(--s)); height: calc(13px * var(--s)); background: var(--i-acc); clip-path: path('M7 13C4 10 0 7.5 0 4A3.8 3.8 0 0 1 7 2A3.8 3.8 0 0 1 14 4C14 7.5 10 10 7 13Z'); opacity: .7; animation: ifall var(--d) linear var(--w) infinite; }
@keyframes ifall { 0% { top: -6%; transform: translateX(0) rotate(var(--r)); } 25% { transform: translateX(18px) rotate(calc(var(--r) + 90deg)); } 50% { transform: translateX(-12px) rotate(calc(var(--r) + 180deg)); } 75% { transform: translateX(14px) rotate(calc(var(--r) + 270deg)); } 100% { top: 106%; transform: translateX(0) rotate(calc(var(--r) + 360deg)); } }
@keyframes irise { from { bottom: -6%; opacity: 0; } 10% { opacity: .9; } to { bottom: 106%; transform: translateX(14px); opacity: 0; } }
@keyframes itwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .i-fx { display: none; } }
/* Sobre premium: lacre con relieve, forro estampado y flores */
.i-envelope { overflow: hidden; background: radial-gradient(120% 80% at 50% 40%, color-mix(in srgb, var(--i-paper) 70%, var(--i-bg)), var(--i-bg)); }
.i-envelope .i-fl { width: min(70vw, 420px); }
.i-envelope.open .i-fl { opacity: 0; transition: opacity .5s; }
.i-env-stage { position: relative; z-index: 1; }
.i-env-seal { background: none !important; box-shadow: none !important; width: 92px !important; height: 92px !important; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .28)); }
.i-env-seal svg { width: 100%; height: 100%; display: block; }
.i-env-body { background: color-mix(in srgb, var(--i-acc) 7%, var(--i-paper)); background-image: var(--i-grain, none); }
.i-env-flap::after { content: ""; position: absolute; inset: 7% 9% 18%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: radial-gradient(circle at 25% 25%, color-mix(in srgb, var(--i-gold) 55%, transparent) 1.5px, transparent 2px) 0 0 / 14px 14px, color-mix(in srgb, var(--i-acc) 30%, var(--i-paper)); opacity: .9; }
.i-env::after { content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--i-gold) 55%, transparent); border-radius: 6px; pointer-events: none; z-index: 1; }
.i-w-ev { text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.inv-root.is-foil .i-w-ev, .is-foil .i-w-ev { background: var(--i-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.i-cover > .i-fl, .i-cover > .i-fx, .i-closing > .i-fx { position: absolute; }
.i-cover > .i-fl { z-index: 0; }
.i-cover > .i-fx { z-index: 2; }
.i-dk.bottom { height: 21%; }
.i-cover:has(.i-dk.bottom) { padding-bottom: 27cqi; }
.i-cover.has-flora { padding-bottom: 34cqi; }
.i-cover.has-flora .i-fl.br { bottom: -6%; }
.i-cover .i-dk.corner.bl0 { width: min(56%, 290px); bottom: 2%; }

/* ====================== Colección Firma ====================== */
.sig .inv { background-color: var(--i-paper); }
.sig .i-sec:not(.i-cover):nth-of-type(even) { background: transparent; }
.s-sec { display: grid; justify-items: center; gap: 3.2cqi; padding: 10cqi 7cqi; text-align: center; }
.s-ico { display: block; width: clamp(40px, 13cqi, 58px); color: var(--i-acc); line-height: 0; }
.s-ico svg, .s-dressicons svg, .s-tl-i svg, .s-pill svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.s-ico svg { width: 100%; height: auto; }
.s-kick { margin: 0; font: 600 12px/1.4 'Manrope', system-ui, sans-serif; letter-spacing: .36em; text-transform: uppercase; color: var(--i-ink); }
.s-kick.light, .light { color: #fff; }
.s-rule { display: block; width: 46%; max-width: 200px; height: 1px; margin: 1cqi auto; background: linear-gradient(90deg, transparent, var(--i-gold), transparent); }
.s-rule.wide { width: 70%; margin: 2cqi auto; }
.s-title { margin: 0; font-family: var(--i-script); font-weight: 400; font-size: clamp(34px, 11.5cqi, 54px); line-height: 1.12; color: var(--i-acc); text-wrap: balance; }
.s-name { margin: 0; display: grid; justify-items: center; font-family: var(--i-script); font-weight: 400; font-size: clamp(54px, 20cqi, 108px); line-height: .98; color: var(--i-acc); }
.s-name .amp { font-size: .48em; line-height: 1.2; color: var(--i-gold); }
.s-name.sm { font-size: clamp(40px, 13cqi, 66px); }
.s-sur { margin: 0; font: 500 13px 'Manrope', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--i-ink); }
.s-phrase, .s-p { margin: 0; font-family: var(--i-serif); font-style: italic; font-size: 17px; line-height: 1.6; color: var(--i-ink); max-width: 34ch; text-wrap: pretty; }
.s-p { font-style: normal; color: var(--i-muted); }
.s-script { margin: 0; font-family: var(--i-script); font-size: clamp(26px, 8.6cqi, 38px); line-height: 1.15; color: var(--i-acc); }
.s-script.big { font-size: clamp(34px, 11cqi, 46px); color: var(--i-ink); }
.s-script.huge { font-size: clamp(40px, 13cqi, 62px); }
.s-role { margin: 4px 0 0; font: 600 11.5px 'Manrope', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--i-muted); }
.s-swipe { margin: 3cqi 0 0; display: grid; justify-items: center; gap: 4px; font: 600 11px 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--i-muted); }
.s-swipe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) { .s-swipe svg { animation: sbob 1.8s ease-in-out infinite; } }
@keyframes sbob { 50% { transform: translateY(5px); } }
.inv-root.sig.is-foil .s-name, .inv-root.sig.is-foil .s-title, .inv-root.sig.is-foil .s-script, .inv-root.sig.is-foil .s-oval b, .inv-root.sig.is-foil .s-time { background: var(--i-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.inv-root.sig.is-foil .s-full .s-name { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.inv-root[data-names="caps"].sig .s-name { font-size: clamp(34px, 11.5cqi, 62px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; }
.inv-root[data-names="caps"].sig .s-title { font-size: clamp(22px, 7cqi, 32px); letter-spacing: .1em; text-transform: uppercase; }
.inv-root[data-names="caps"].sig .s-script { font-family: var(--i-serif); font-style: italic; }

/* Portada */
.i-cover.s-cover { min-height: 0; padding: 0; display: block; text-align: center; background: var(--i-paper); }
.s-hero { position: relative; height: min(70svh, 128cqi); overflow: hidden; }
.s-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 10cqi; fill: var(--i-paper); }
.s-archwrap { padding: 11cqi 10cqi 2cqi; }
.s-arch { aspect-ratio: 3 / 3.7; border-radius: 999px 999px 16px 16px; overflow: hidden; border: 1.5px solid var(--i-acc); outline: 1px solid color-mix(in srgb, var(--i-gold) 70%, transparent); outline-offset: 6px; box-shadow: 0 24px 50px -30px rgba(40, 30, 10, .5); }
.s-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-intro { position: relative; display: grid; justify-items: center; gap: 2.6cqi; padding: 20cqi 7cqi 10cqi; }
.s-intro > .s-pair { position: absolute; top: 1cqi; left: 0; right: 0; }
.s-intro > .s-pair > .cs { width: 30%; }
.s-intro > .s-pair.bf > .cs { width: 25%; margin: 0 3%; }
.s-mdate { margin: 0; font-family: var(--i-serif); font-style: italic; color: var(--i-muted); letter-spacing: .2em; }
.s-full { position: relative; min-height: min(100svh, 190cqi); color: #fff; overflow: hidden; }
.s-full > .s-ph { position: absolute; inset: 0; overflow: hidden; }
.s-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .58) 85%); }
.s-full-in { position: relative; z-index: 2; display: grid; justify-items: center; align-content: end; gap: 2.4cqi; min-height: inherit; padding: 0 6cqi 12cqi; }
.s-full .s-name { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.s-full .s-name .amp { color: #fff; }
.s-fdate { margin: 0; font-family: var(--i-serif); font-size: 18px; color: #fff; }
.s-ftag { margin: 0; font-family: var(--i-serif); font-style: italic; color: rgba(255, 255, 255, .9); }
/* Pares de ramos y mariposas */
.s-pair { display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.inv > .s-pair { margin: -4cqi -3cqi; }
.s-pair > .cs { width: 36%; height: auto; }
.s-pair > .cs:last-child { transform: scaleX(-1); }
.s-pair.moon span { width: 34%; display: block; }
.s-pair.moon span:last-child { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  .s-pair > .cs, .s-pair.moon span { animation: sfloat 6s ease-in-out infinite alternate; }
  .s-pair > .cs:last-child, .s-pair.moon span:last-child { animation-name: sfloat2; animation-delay: -3s; }
  .s-pair.bf > .cs { animation: sflap 2.6s ease-in-out infinite; }
  .s-pair.bf > .cs:last-child { animation-name: sflap2; }
}
@keyframes sfloat { to { transform: translateY(5px) rotate(1.5deg); } }
@keyframes sfloat2 { from { transform: scaleX(-1); } to { transform: scaleX(-1) translateY(5px) rotate(1.5deg); } }
@keyframes sflap { 50% { transform: scaleX(.88) translateY(-4px); } }
@keyframes sflap2 { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-.88) translateY(-4px); } }
/* Fecha */
.s-oval { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3cqi; width: 100%; max-width: 420px; }
.s-oval > span { padding: 8px 0; border-block: 1px solid color-mix(in srgb, var(--i-gold) 60%, transparent); font: 600 12px 'Manrope', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--i-ink); }
.s-oval > div { display: grid; place-content: center; justify-items: center; width: clamp(84px, 26cqi, 120px); aspect-ratio: .68; border: 1.5px solid var(--i-acc); border-radius: 999px; }
.s-oval b { font-family: var(--i-serif); font-weight: 400; font-size: clamp(44px, 15cqi, 68px); line-height: 1; color: var(--i-acc); }
.s-oval small { font: 600 12px 'Manrope', sans-serif; letter-spacing: .2em; color: var(--i-muted); }
.s-time { margin: 0; font-family: var(--i-serif); font-size: 26px; color: var(--i-acc); }
.s-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; background: var(--i-acc); color: var(--i-on-acc); font: 700 12.5px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--i-acc) 80%, #000); }
.s-pill svg { width: 18px; height: 18px; }
.s-pill.ghost { background: transparent; color: var(--i-acc); border: 1px solid var(--i-acc); box-shadow: none; }
.s-pill.glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.s-link { font: 600 13px 'Manrope', sans-serif; color: var(--i-acc); text-underline-offset: 3px; }
.s-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 1cqi; }
.s-countphoto { position: relative; padding: 0; min-height: 125cqi; overflow: hidden; color: #fff; }
.s-countphoto > .s-ph { position: absolute; inset: -12% 0; overflow: hidden; }
.s-cp-in { position: relative; z-index: 2; display: grid; justify-items: center; align-content: end; gap: 3cqi; min-height: 125cqi; padding: 10cqi 6cqi; }
.s-cp-in .s-script { color: #fff; font-size: clamp(40px, 13cqi, 60px); -webkit-text-fill-color: #fff !important; background: none !important; }
.s-cp-t { margin: 0; font-family: var(--i-serif); color: #fff; font-size: 18px; }
.inv-root.sig .s-countphoto .i-countdown div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4) !important; border-radius: 14px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.inv-root.sig .s-countphoto .i-countdown b, .inv-root.sig .s-countphoto .i-countdown small { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.inv-root.sig .s-countphoto .i-countdown { gap: 8px; }
/* Calendario */
.s-cal { width: 100%; max-width: 380px; }
.s-cal-m { margin: 0 0 10px; font-family: var(--i-serif); font-size: 24px; text-transform: capitalize; color: var(--i-ink); }
.s-cal-h, .s-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); }
.s-cal-h { border-block: 1px solid color-mix(in srgb, var(--i-gold) 55%, transparent); padding: 8px 0; font: 600 11px 'Manrope', sans-serif; color: var(--i-muted); }
.s-cal-g span { position: relative; display: grid; place-items: center; height: 40px; font-family: var(--i-serif); font-size: 16px; color: var(--i-ink); }
.s-cal-g .on svg { position: absolute; width: 40px; height: 40px; fill: var(--i-acc); }
.s-cal-g .on b { position: relative; color: #fff; font-weight: 600; }
/* Padres */
.s-cols { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 440px; }
.s-cols > div { padding: 0 3cqi; }
.s-cols > div + div { border-left: 1px solid color-mix(in srgb, var(--i-gold) 60%, transparent); }
.s-cols.one { grid-template-columns: 1fr; }
.s-cols .s-script { font-size: clamp(24px, 7.6cqi, 34px); }
/* Lugares */
.s-gran { padding-bottom: 2cqi; }
.s-venues { display: grid; gap: 3cqi; padding: 4cqi 7cqi 10cqi; }
.s-venue { display: grid; justify-items: center; gap: 2.4cqi; text-align: center; }
.s-place { margin: 0; font-family: var(--i-serif); font-weight: 600; font-size: 19px; color: var(--i-ink); }
.s-addr { margin: 0; font: 500 12px/1.7 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--i-muted); max-width: 34ch; }
.s-venue.filled { background: var(--i-acc); border-radius: 24px; padding: 9cqi 6cqi; box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .45); }
.s-venue.filled :is(.s-ico, .s-title, .s-place, .s-time, .s-addr, .s-link) { color: var(--i-on-acc); -webkit-text-fill-color: currentColor; background: none; }
.s-venue.filled .s-pill { background: var(--i-paper); color: var(--i-acc); }
.inv-root[data-template="azul"] .s-venue { background: var(--i-paper); border: 1px solid color-mix(in srgb, var(--i-acc) 18%, transparent); border-radius: 24px; padding: 9cqi 6cqi; box-shadow: 0 24px 40px -32px rgba(20, 40, 80, .5); }
/* Franja ondulada */
.s-band { position: relative; background: var(--i-acc); padding: 16cqi 9cqi; margin: 4cqi 0; text-align: center; }
.s-band p { margin: 0 auto; max-width: 36ch; font-family: var(--i-serif); font-size: 17px; line-height: 1.7; color: var(--i-on-acc); }
.s-wv { position: absolute; left: 0; width: 100%; height: 8cqi; fill: var(--i-paper); transform: scaleY(-1); }
.s-wv.top { top: -1px; } .s-wv.bot { bottom: -1px; }
/* Galería */
.s-gal { width: 100%; }
.s-gal .i-gimg { border-radius: 16px; overflow: hidden; }
.s-gal .i-gimg:first-child { border-radius: 999px 999px 16px 16px; }
/* Vestimenta */
.s-dressicons { display: flex; gap: 18px; color: var(--i-acc); }
.s-dressicons svg { width: 52px; height: 52px; }
/* Cronograma en zigzag */
.s-tl { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; max-width: 440px; }
.s-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--i-gold) 60%, transparent); }
.s-tl li { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 10px; margin: 5cqi 0; }
.s-tl-i { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--i-paper); border: 1px solid color-mix(in srgb, var(--i-gold) 70%, transparent); color: var(--i-acc); }
.s-tl-i svg { width: 28px; height: 28px; }
.s-tl li > div { grid-row: 1; display: grid; gap: 2px; }
.s-tl li:nth-child(odd) > div { grid-column: 1; text-align: right; }
.s-tl li:nth-child(even) > div { grid-column: 3; text-align: left; }
.s-tl b { font-family: var(--i-serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--i-acc); }
.s-tl span { font-size: 15px; color: var(--i-ink); line-height: 1.35; }
.s-filled .s-tl::before { background: var(--i-acc); }
/* RSVP y secciones de los módulos */
.sig .s-rsvp, .sig [data-slot] > .i-sec { padding: 10cqi 7cqi; }
.sig #confirmar form, .sig #confirmar .i-rsvp { background: var(--i-paper); }
.sig.s-filled #confirmar .i-card, .sig.s-filled #confirmar form { border-color: var(--i-acc); }
.s-close { display: grid; justify-items: center; gap: 3cqi; padding: 4cqi 7cqi 14cqi; }
.s-close > .s-pair { width: 100%; }
/* Ambiente fijo (hojas que caen en toda la invitación) */
.s-fxfix { position: fixed; inset: 0; pointer-events: none; z-index: 4; }
.s-fxfix .i-fx { position: absolute; }
/* Aparición al bajar */
/* Catálogo y selector: portada firma compacta */
.model-prev .mini-phone .i-cover.s-cover, .tp-mini .i-cover.s-cover { padding: 0; min-height: 100%; }
.s-cover.compact .s-hero { height: 78cqi; }
.s-cover.compact .s-intro { padding: 14cqi 5cqi 6cqi; gap: 1.6cqi; }
.s-cover.compact .s-archwrap { padding: 8cqi 16cqi 0; }
.s-cover.compact.s-full { min-height: 100%; }

/* ====== Sobres de la colección Firma ====== */
.s-envelope { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; overflow: hidden; background: var(--i-bg); padding: 24px 18px; }
.s-envelope.opening { pointer-events: none; }
.s-envelope.open { animation: senvout 1s ease forwards; pointer-events: none; }
/* Texto solo para lectores de pantalla */
.i-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@keyframes senvout { to { opacity: 0; visibility: hidden; } }
/* Con «reducir movimiento» no hay animación: el sobre se oculta directamente (antes tapaba toda la invitación) */
@media (prefers-reduced-motion: reduce) { .s-envelope.open { opacity: 0; visibility: hidden; } }
.s-env-stage { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; width: 100%; max-width: 420px; }
.s-welcome { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--i-acc); }
.s-welcome > * { animation: iwin .9s cubic-bezier(.2, .7, .2, 1) both; }
.s-welcome > :nth-child(2) { animation-delay: .1s; } .s-welcome > :nth-child(3) { animation-delay: .2s; } .s-welcome > :nth-child(4) { animation-delay: .3s; } .s-welcome > :nth-child(5) { animation-delay: .4s; } .s-welcome > :nth-child(6) { animation-delay: .5s; }
.s-w-orn { width: 120px; height: 12px; background: linear-gradient(90deg, transparent, var(--i-gold) 40%, transparent 41%, transparent 59%, var(--i-gold) 60%, transparent) center / 100% 1px no-repeat; position: relative; }
.s-w-orn::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-size: 10px; color: var(--i-gold); }
.s-w1 { font-family: var(--i-serif); font-size: 22px; color: var(--i-acc); }
.s-w2 { font-family: var(--i-script); font-weight: 400; font-size: clamp(42px, 12vw, 56px); line-height: 1.05; color: var(--i-acc); }
.s-w3 { font-family: var(--i-serif); font-weight: 600; font-size: 20px; color: var(--i-ink); margin-top: 6px; }
.s-w4 { font-family: var(--i-serif); font-style: italic; font-size: 15.5px; color: var(--i-muted); }
.s-w5 { font-family: var(--i-serif); font-style: italic; font-size: 24px; letter-spacing: .18em; color: var(--i-acc); }
.inv-root.is-foil .s-w2, .inv-root.is-foil .s-w5 { background: var(--i-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.inv-root[data-names="caps"] .s-w2 { font-size: 30px; letter-spacing: .12em; text-transform: uppercase; }
.s-env-hint { font-family: var(--i-serif); font-style: italic; font-size: 17px; color: var(--i-muted); }
/* Adornos de las esquinas */
.s-ec { position: absolute; z-index: 1; width: min(34vw, 190px); pointer-events: none; }
.s-ec.tl { top: -2%; left: -4%; } .s-ec.tr { top: -2%; right: -4%; transform: scaleX(-1); }
.s-ec.bl { bottom: -3%; left: -5%; transform: scaleY(-1) rotate(10deg); } .s-ec.br { bottom: -3%; right: -5%; transform: scale(-1, -1) rotate(10deg); }
.s-ec.bf { width: min(26vw, 130px); top: 2%; left: 2%; } .s-ec.tr.bf { left: auto; right: 2%; }
.s-ec.moon { width: min(30vw, 150px); top: 4%; } .s-ec.moon.tl { left: 2%; } .s-ec.moon.tr { right: 2%; }
.s-ec.moon svg { width: 100%; height: auto; display: block; }
.s-envelope.open .s-ec { opacity: 0; transition: opacity .4s; }
/* Sobre base */
.s-env { --envc: var(--s-envc, color-mix(in srgb, var(--i-acc) 62%, #ffffff)); position: relative; width: min(100%, 380px); aspect-ratio: 1.68; border: 0; padding: 0; background: none; cursor: pointer; perspective: 900px; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .18)); }
.s-env:focus-visible { outline: 3px solid var(--i-acc); outline-offset: 8px; border-radius: 6px; }
.s-env-body { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(160deg, color-mix(in srgb, var(--envc) 88%, #ffffff), var(--envc) 60%, color-mix(in srgb, var(--envc) 88%, #000000)); background-image: var(--i-grain, none), linear-gradient(160deg, color-mix(in srgb, var(--envc) 88%, #ffffff), var(--envc) 60%, color-mix(in srgb, var(--envc) 88%, #000000)); }
.s-env-flap { position: absolute; left: 0; right: 0; top: 0; height: 56%; transform-origin: 50% 0; transition: transform .7s cubic-bezier(.4, 0, .2, 1); clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--envc) 92%, #ffffff), color-mix(in srgb, var(--envc) 90%, #000000)); z-index: 2; }
.s-envelope.opening .s-env-flap { transform: rotateX(180deg); z-index: 0; transition: transform .7s cubic-bezier(.4, 0, .2, 1), z-index 0s .32s; }
.s-env-seal { position: absolute; z-index: 4; left: 50%; top: 56%; width: 64px; height: 64px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); transition: transform .3s; }
.s-env-seal svg { width: 100%; height: 100%; display: block; }
.s-env:hover .s-env-seal { transform: translate(-50%, -50%) scale(1.07) rotate(-4deg); }
@media (prefers-reduced-motion: no-preference) { .s-envelope:not(.open) .s-env-seal { animation: sseal 2.4s ease-in-out infinite; } }
@keyframes sseal { 50% { transform: translate(-50%, -50%) scale(1.06); } }
/* 1 · Sobre con nombre (rectangular, solapa recta y flecha al sello) */
.s-env-name .s-env-flap { height: 30%; clip-path: none; border-bottom: 1px solid color-mix(in srgb, var(--envc) 70%, #000000); box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .25); }
.s-env-name .s-env-seal { top: 80%; }
.s-env-to { position: absolute; z-index: 3; left: 6%; right: 6%; top: 40%; transform: translateY(-50%); font-family: var(--i-script); font-size: clamp(30px, 9vw, 42px); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.s-env-line { position: absolute; z-index: 3; left: 4%; right: 4%; top: 79%; height: 1px; background: rgba(255, 255, 255, .55); }
.s-env-arrow { position: absolute; z-index: 3; left: 12%; top: 64%; width: 34%; stroke: var(--i-gold); stroke-width: 2; }
.s-envelope.opening .s-env-name .s-env-flap { transform: rotateX(180deg) translateY(4px); }
/* 2 · Sobre con lazo de satén */
.s-env-bow { --envc: var(--s-envc, color-mix(in srgb, var(--i-acc) 22%, #fbeef0)); aspect-ratio: 1.25; }
.inv-root[data-template="lazo"] .s-env-bow { --envc: #f4cfd6; }
.s-env-folds { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(160, 90, 100, .25) 50%, transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), rgba(160, 90, 100, .25) 50%, transparent calc(50% + .5px)); }
.s-env-bow .s-env-flap { height: 52%; }
.s-ribbon { position: absolute; z-index: 3; left: -2%; right: -2%; top: 50%; height: 11%; background: linear-gradient(180deg, color-mix(in srgb, var(--i-acc) 80%, #fff), var(--i-acc), color-mix(in srgb, var(--i-acc) 80%, #000)); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.inv-root[data-template="lazo"] .s-ribbon { background: linear-gradient(180deg, #f0b7c2, #e295a6, #c97487); }
.s-bow { position: absolute; z-index: 4; left: 50%; top: 56%; width: 52%; transform: translate(-50%, -40%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .2)); }
.inv-root[data-template="lazo"] .s-bow path, .inv-root[data-template="lazo"] .s-bow ellipse:first-of-type { fill: #e295a6; }
.s-envelope.opening .s-env-bow .s-bow { opacity: 0; transform: translate(-50%, -40%) scale(1.5) rotate(-12deg); transition: .5s; }
.s-envelope.opening .s-env-bow .s-ribbon { opacity: 0; transform: scaleX(1.3); transition: .5s; }
/* 3 · Sobre clásico con solapa en V */
.s-env-v { aspect-ratio: 1.42; }
.s-env-v .s-env-body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(0, 0, 0, .12) 50%, transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), rgba(0, 0, 0, .12) 50%, transparent calc(50% + .5px)); }
.s-env-v .s-env-seal { width: 76px; height: 76px; top: 54%; }
/* 4 · Sobre con tarjeta y foto que salen */
.s-env-pass { --envc: var(--s-envc, var(--i-acc)); overflow: visible; }
.s-env-pass .s-env-flap { z-index: 3; }
.s-pass, .s-polaroid { position: absolute; z-index: 1; bottom: 12%; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .5s; opacity: 0; }
.s-pass { left: 8%; width: 46%; aspect-ratio: .82; background: #fff; border: 1.5px solid var(--i-acc); padding: 8px 10px; display: grid; align-content: start; gap: 2px; text-align: left; transform: translateY(0) rotate(-4deg); }
.s-pass small { font: 600 9px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--i-ink); }
.s-pass b { font: 700 17px 'Manrope', sans-serif; color: var(--i-ink); line-height: 1.15; }
.s-pass em { font-size: 11px; color: var(--i-ink); }
.s-pass i { font-family: var(--i-serif); font-size: 13px; color: var(--i-acc); }
.s-polaroid { right: 8%; width: 40%; aspect-ratio: .8; background: #fff; padding: 6px 6px 18px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); transform: translateY(0) rotate(5deg); }
.s-polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-envelope.peek .s-pass { opacity: 1; transform: translateY(-78%) rotate(-5deg); }
.s-envelope.peek .s-polaroid { opacity: 1; transform: translateY(-82%) rotate(6deg); transition-delay: .12s; }
.s-envelope.peek .s-env-flap { transform: rotateX(180deg); z-index: 0; }
.s-env-cta { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; font: 700 13px 'Manrope', sans-serif; color: #fff; transition: opacity .3s; }
.s-env-cta .s-env-seal { position: static; transform: none; width: 56px; height: 56px; animation: none; }
.s-envelope.peek .s-env-cta { opacity: 0; }
.s-go { position: absolute; z-index: 5; right: -4%; bottom: -12%; width: 86px; height: 86px; border-radius: 50%; display: grid; place-content: center; justify-items: center; background: var(--i-acc); color: #fff; border: 3px solid var(--i-paper); font: 800 11px 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: scale(.6); transition: .4s .5s; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.s-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.s-envelope.peek .s-go { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: no-preference) { .s-envelope.peek .s-go { animation: sseal 1.6s 1s ease-in-out infinite; } }
.s-envelope.open .s-env-stage { transform: scale(1.12); opacity: 0; transition: transform 1s cubic-bezier(.5, 0, .2, 1), opacity .8s .15s; }
.i-cover.s-full > .s-ph, .i-cover.s-full > .s-shade { position: absolute; z-index: 0; }
.s-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.s-cols .s-script { font-size: clamp(22px, 6.6cqi, 30px); line-height: 1.12; overflow-wrap: anywhere; }
.inv-root[data-names="caps"] .s-cols .s-script { font-size: clamp(15px, 4.4cqi, 19px); letter-spacing: .06em; }
.i-cover.s-cover > .s-hero, .i-cover.s-cover > .s-archwrap { width: 100%; max-width: none; margin: 0; }
.i-cover.s-cover.s-full { min-height: min(100svh, 190cqi); }
.i-cover.s-cover.s-full.compact { min-height: 100%; }
.s-env { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.s-envelope.peek .s-env { transform: translateY(70px); }
.s-envelope.peek .s-w4, .s-envelope.peek .s-w5 { opacity: 0; transition: opacity .4s; }

/* ====== Firma · capa de animación y portadas nuevas (v4) ====== */
.s-ph { width: 100%; height: 100%; overflow: hidden; will-change: transform; }
.s-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-hero .s-ph, .s-arch .s-ph { position: relative; }
/* Portada en marco dorado */
.s-framewrap { position: relative; padding: 9cqi 13cqi 2cqi; }
.s-frame { position: relative; aspect-ratio: 3 / 4; padding: 10px; border: 1.5px solid var(--i-gold); box-shadow: 0 30px 60px -36px rgba(30, 20, 10, .55); background: var(--i-paper); }
.s-frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid color-mix(in srgb, var(--i-gold) 70%, transparent); pointer-events: none; z-index: 2; }
.s-frame-in { display: block; width: 100%; height: 100%; overflow: hidden; }
.s-fc { position: absolute; z-index: 3; width: 42%; pointer-events: none; }
.s-fc.tl { top: 1%; left: 1%; transform: rotate(-18deg); }
.s-fc.br { bottom: -6%; right: 1%; transform: scale(-1, -1) rotate(-18deg); }
/* Portada en círculo con corona de flores */
.s-circwrap { position: relative; width: min(84%, 380px); aspect-ratio: 1; margin: 9cqi auto 0; display: grid; place-items: center; }
.s-circ { width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--i-paper); outline: 1.5px solid var(--i-gold); outline-offset: 6px; box-shadow: 0 26px 50px -30px rgba(30, 20, 10, .6); }
.s-wreath { position: absolute; inset: -6%; width: 112%; height: 112%; pointer-events: none; }
.s-cover.compact .s-framewrap { padding: 7cqi 14cqi 0; }
.s-cover.compact .s-circwrap { margin-top: 8cqi; width: 82%; }

/* Capas del sobre: la carta sale desde atrás */
.s-env-body { z-index: 2; }
.s-env-folds { z-index: 3; }
.s-env-flap, .s-env-pass .s-env-flap { z-index: 5; }
.s-env-to, .s-env-line, .s-env-arrow, .s-ribbon { z-index: 6; }
.s-bow { z-index: 7; }
.s-env-seal, .s-env-cta { z-index: 8; }
.s-go { z-index: 9; }
.s-envelope.peek .s-env-flap, .s-envelope.opening .s-env-flap { z-index: 0; }
.s-letter { position: absolute; z-index: 1; left: 7%; right: 7%; top: 6%; height: 90%; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 10px; background: var(--i-paper); background-image: var(--i-grain, none); border: 1px solid color-mix(in srgb, var(--i-gold) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--i-gold) 40%, transparent); outline-offset: -6px; box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .4); transition: transform 1.05s cubic-bezier(.2, .85, .25, 1) .42s; color: var(--i-ink); }
.s-l-k { font: 600 9px 'Manrope', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--i-muted); }
.s-l-n { font-family: var(--i-script); font-size: clamp(24px, 7.5vw, 34px); line-height: 1.05; color: var(--i-acc); }
.s-l-n i { font-style: normal; color: var(--i-gold); margin: 0 .2em; }
.s-l-d { font-family: var(--i-serif); font-style: italic; font-size: 13px; letter-spacing: .2em; color: var(--i-gold); }
.inv-root[data-names="caps"] .s-l-n { font-family: var(--i-serif); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }
.s-envelope.opening .s-letter { transform: translateY(-70%); }
.s-envelope.opening .s-env { transform: translateY(64px); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .3s; }
.s-envelope.opening .s-welcome { opacity: 0; transform: translateY(-24px); transition: opacity .5s .2s, transform .7s .2s; }
.s-envelope.opening .s-env-hint, .s-envelope.opening .s-env-to, .s-envelope.opening .s-env-line, .s-envelope.opening .s-env-arrow, .s-envelope.opening .s-env-cta, .s-envelope.opening .s-go { opacity: 0; transition: opacity .35s; }
.s-envelope.opening .s-env-seal { animation: sealpop .55s cubic-bezier(.3, 1.3, .5, 1) forwards; }
.s-envelope.opening .s-env-cta .s-env-seal { animation: none; }
@keyframes sealpop { 0% { transform: translate(-50%, -50%) scale(1); } 35% { transform: translate(-50%, -50%) scale(1.32) rotate(-8deg); } 100% { transform: translate(-50%, -50%) scale(.2) rotate(30deg); opacity: 0; } }
.s-envelope.opening .s-ec { transition: transform 1.4s cubic-bezier(.2, .8, .2, 1), opacity 1.2s .3s; opacity: 0; }
.s-envelope.opening .s-ec.tl { transform: translate(-30%, -30%) rotate(-12deg); }
.s-envelope.opening .s-ec.tr { transform: translate(30%, -30%) scaleX(-1) rotate(-12deg); }
.s-envelope.opening .s-ec.bl { transform: translate(-30%, 30%) scaleY(-1) rotate(20deg); }
.s-envelope.opening .s-ec.br { transform: translate(30%, 30%) scale(-1, -1) rotate(20deg); }
/* Adornos del sobre: entran flotando y se mecen */
@media (prefers-reduced-motion: no-preference) {
  .s-envelope:not(.opening) .s-ec { animation: secin 1.6s cubic-bezier(.2, .8, .2, 1) both; }
  .s-envelope:not(.opening) .s-ec.bf { animation: secin 1.6s cubic-bezier(.2, .8, .2, 1) both, bflap .32s ease-in-out infinite alternate; }
  .s-envelope:not(.opening) .s-ec.tr.bf { animation: secin 1.6s .2s cubic-bezier(.2, .8, .2, 1) both, bflap2 .32s ease-in-out infinite alternate; }
  .s-env-stage .s-env { animation: senvin 1.1s .55s cubic-bezier(.2, .8, .2, 1) both; }
  .s-envelope:not(.opening):not(.peek) .s-env-to { animation: swrite 1.8s 1.2s cubic-bezier(.6, 0, .3, 1) both; }
  .s-envelope:not(.opening) .s-env-arrow path:first-child { stroke-dasharray: 2.5 5; animation: sdash 1.2s linear infinite; }
}
@keyframes secin { from { opacity: 0; translate: 0 18px; scale: .9; } }
@keyframes senvin { from { opacity: 0; transform: translateY(40px) rotate(-3deg) scale(.92); } }
@keyframes bflap { to { transform: scaleX(.72); } }
@keyframes bflap2 { from { transform: scaleX(-1); } to { transform: scaleX(-.72); } }
@keyframes sdash { to { stroke-dashoffset: -15; } }
@keyframes swrite { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -5% -20% 0); } }

/* Entrada de la portada cuando se abre el sobre */
.s-anim .s-cover .s-ph img { transform: scale(1.22); transform-origin: 50% 40%; }
.s-anim.s-live .s-cover .s-ph img { animation: skb 9s cubic-bezier(.2, .6, .2, 1) forwards, skb2 18s 9s ease-in-out infinite alternate; }
@keyframes skb { from { transform: scale(1.22); } to { transform: scale(1.04); } }
@keyframes skb2 { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.s-anim .s-cover .s-name > span, .s-anim .s-cover .s-kick, .s-anim .s-cover .s-sur, .s-anim .s-cover .s-phrase, .s-anim .s-cover .s-fdate, .s-anim .s-cover .s-ftag, .s-anim .s-cover .s-swipe, .s-anim .s-cover .s-rule, .s-anim .s-cover .s-ico, .s-anim .s-cover .s-intro > .s-pair > .cs, .s-anim .s-cover .s-wreath, .s-anim .s-cover .s-fc, .s-anim .s-cover .s-frame, .s-anim .s-cover .s-circ, .s-anim .s-cover .s-arch { opacity: 0; }
.s-anim.s-live .s-cover .s-name > span { opacity: 1; animation: swrite 1.5s cubic-bezier(.6, 0, .3, 1) .55s both; }
.s-anim.s-live .s-cover .s-name > span.amp { animation: sfade 1s 1.5s both; }
.s-anim.s-live .s-cover .s-name > span:last-child:not(:first-child) { animation-delay: 1.75s; }
.s-anim.s-live .s-cover .s-kick { opacity: 1; animation: skick 1.4s .25s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-rule { opacity: 1; animation: srule 1.2s .4s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-ico { opacity: 1; animation: sfade .8s .1s both; }
.s-anim.s-live .s-cover .s-ico svg * { animation: sdraw 2s .1s ease both; }
.s-anim.s-live .s-cover .s-sur, .s-anim.s-live .s-cover .s-fdate { opacity: 1; animation: sup 1s 2.3s both; }
.s-anim.s-live .s-cover .s-phrase, .s-anim.s-live .s-cover .s-ftag { opacity: 1; animation: sup 1.1s 2.6s both; }
.s-anim.s-live .s-cover .s-swipe { opacity: 1; animation: sup 1s 3.1s both, sbob 2s 4.1s ease-in-out infinite; }
.s-anim.s-live .s-cover .s-intro > .s-pair > .cs:first-child { opacity: 1; animation: spairl 1.6s .5s cubic-bezier(.2, .8, .2, 1) both, sfloat 6s 2.1s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-intro > .s-pair > .cs:last-child { opacity: 1; animation: spairr 1.6s .65s cubic-bezier(.2, .8, .2, 1) both, sfloat2 6s 2.25s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-intro > .s-pair.bf > .cs:first-child { animation: spairl 1.6s .5s cubic-bezier(.2, .8, .2, 1) both, bflap .3s 2.1s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-intro > .s-pair.bf > .cs:last-child { animation: spairr 1.6s .65s cubic-bezier(.2, .8, .2, 1) both, bflap2 .3s 2.25s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-frame, .s-anim.s-live .s-cover .s-circ, .s-anim.s-live .s-cover .s-arch { opacity: 1; animation: sframe 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-wreath { opacity: 1; animation: swreath 2.2s .3s cubic-bezier(.2, .8, .2, 1) both, sspin 60s 2.5s linear infinite; }
.s-anim.s-live .s-cover .s-fc.tl { opacity: 1; animation: sfcl 1.6s .5s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-fc.br { opacity: 1; animation: sfcr 1.6s .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes skick { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; } }
@keyframes srule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sdraw { from { stroke-dasharray: 160; stroke-dashoffset: 160; } to { stroke-dasharray: 160; stroke-dashoffset: 0; } }
@keyframes sbob { 50% { transform: translateY(6px); } }
@keyframes spairl { from { opacity: 0; transform: translate(-60px, 20px) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes spairr { from { opacity: 0; transform: scaleX(-1) translate(-60px, 20px) rotate(-14deg); } to { opacity: 1; transform: scaleX(-1); } }
@keyframes sframe { from { opacity: 0; transform: translateY(30px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes swreath { from { opacity: 0; transform: rotate(-40deg) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes sspin { to { transform: rotate(360deg); } }
@keyframes sfcl { from { opacity: 0; transform: translate(-40px, -30px) rotate(-40deg); } to { opacity: 1; transform: rotate(-18deg); } }
@keyframes sfcr { from { opacity: 0; transform: scale(-1, -1) translate(-40px, -30px) rotate(-40deg); } to { opacity: 1; transform: scale(-1, -1) rotate(-18deg); } }
.s-anim.s-live .s-cover.s-full .s-shade { animation: sfade 2.4s both; }

/* Aparición variada de cada sección al bajar, con elementos en cascada */
.s-anim .s-rv { transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1), filter 1s ease; }
.s-anim .s-rv:not(.in) { opacity: 0; }
.s-anim .s-rv[data-rv="up"]:not(.in) { transform: translateY(44px); }
.s-anim .s-rv[data-rv="zoom"]:not(.in) { transform: scale(.9); }
.s-anim .s-rv[data-rv="left"]:not(.in) { transform: translateX(-46px) rotate(-1.5deg); }
.s-anim .s-rv[data-rv="right"]:not(.in) { transform: translateX(46px) rotate(1.5deg); }
.s-anim .s-rv[data-rv="blur"]:not(.in) { filter: blur(10px); transform: translateY(20px); }
.s-anim .s-rv > * { transition: opacity .8s ease calc(var(--k, 0) * .11s + .15s), transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--k, 0) * .11s + .15s); }
.s-anim .s-rv:not(.in) > * { opacity: 0; transform: translateY(22px); }
.s-anim .s-countphoto > .s-ph, .s-anim .s-countphoto > .s-shade { transition: none; }
.s-anim .s-countphoto:not(.in) > .s-ph, .s-anim .s-countphoto:not(.in) > .s-shade { opacity: 1; transform: none; }
/* Títulos que se escriben solos */
.s-anim .s-rv .s-title { clip-path: inset(-30% 100% -30% 0); transition: clip-path 1.6s cubic-bezier(.6, 0, .3, 1) calc(var(--k, 0) * .11s + .25s), opacity .6s; }
.s-anim .s-rv.in .s-title { clip-path: inset(-30% -5% -30% -5%); }
.s-anim .s-rv .s-script.huge { clip-path: inset(-30% 100% -30% 0); transition: clip-path 2s cubic-bezier(.6, 0, .3, 1) .2s; }
.s-anim .s-rv.in .s-script.huge { clip-path: inset(-30% -5% -30% -5%); }
/* Íconos que se dibujan */
.s-anim .s-rv .s-ico svg * { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 2s ease .2s; }
.s-anim .s-rv.in .s-ico svg * { stroke-dashoffset: 0; }
/* Ramos entre secciones: entran desde los lados */
.s-anim .s-pair:not(.in) img:first-child { opacity: 0; transform: translateX(-50px) rotate(-10deg); }
.s-anim .s-pair:not(.in) img:last-child { opacity: 0; transform: scaleX(-1) translateX(-50px) rotate(-10deg); }
.s-anim .s-pair > .cs { transition: opacity 1.2s, transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.s-anim .s-pair.in img { animation-delay: 1.4s; }
/* Cronograma: la línea se dibuja y cada momento entra por su lado */
.s-anim .s-tl::before { transform: scaleY(0); transform-origin: top; transition: transform 2.4s cubic-bezier(.4, 0, .2, 1) .3s; }
.s-anim .s-tl.in::before { transform: scaleY(1); }
.s-anim .s-tl li > div, .s-anim .s-tl .s-tl-i { transition: opacity .8s, transform .9s cubic-bezier(.2, .8, .2, 1); }
.s-anim .s-tl li:nth-child(1) > *, .s-anim .s-tl li:nth-child(1) .s-tl-i { transition-delay: .4s; }
.s-anim .s-tl li:nth-child(2) > * { transition-delay: .8s; } .s-anim .s-tl li:nth-child(3) > * { transition-delay: 1.2s; } .s-anim .s-tl li:nth-child(4) > * { transition-delay: 1.6s; }
.s-anim .s-tl li:nth-child(5) > * { transition-delay: 2s; } .s-anim .s-tl li:nth-child(6) > * { transition-delay: 2.4s; } .s-anim .s-tl li:nth-child(n+7) > * { transition-delay: 2.8s; }
.s-anim .s-tl:not(.in) li:nth-child(odd) > div { opacity: 0; transform: translateX(-30px); }
.s-anim .s-tl:not(.in) li:nth-child(even) > div { opacity: 0; transform: translateX(30px); }
.s-anim .s-tl:not(.in) .s-tl-i { opacity: 0; transform: scale(.3); }
@media (prefers-reduced-motion: no-preference) { .s-tl.in .s-tl-i { animation: sring 3s 3s ease-in-out infinite; } }
@keyframes sring { 0%, 70%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--i-gold) 40%, transparent); } 85% { box-shadow: 0 0 0 9px transparent; } }
/* Calendario: los días aparecen uno a uno y el corazón late */
.s-anim .s-cal-g span { transition: opacity .4s calc(var(--k, 0) * .025s + .3s), transform .5s calc(var(--k, 0) * .025s + .3s); }
.s-anim .s-cal:not(.in) .s-cal-g span { opacity: 0; transform: scale(.4); }
@media (prefers-reduced-motion: no-preference) { .s-cal .on svg { animation: sbeat 1.4s 2s ease-in-out infinite; transform-origin: 50% 60%; } }
@keyframes sbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
/* Galería: las fotos caen como polaroids */
.s-anim .s-gal .i-gimg { transition: opacity .8s, transform 1s cubic-bezier(.2, .9, .3, 1.2); }
.s-anim .s-gal:not(.in) .i-gimg { opacity: 0; transform: translateY(40px) rotate(-6deg) scale(.85); }
.s-anim .s-gal:not(.in) .i-gimg:nth-child(even) { transform: translateY(40px) rotate(6deg) scale(.85); }
.s-anim .s-gal .i-gimg:nth-child(2) { transition-delay: .12s; } .s-anim .s-gal .i-gimg:nth-child(3) { transition-delay: .24s; } .s-anim .s-gal .i-gimg:nth-child(4) { transition-delay: .36s; } .s-anim .s-gal .i-gimg:nth-child(n+5) { transition-delay: .48s; }
.s-gal .i-gimg img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.s-gal .i-gimg:hover img { transform: scale(1.06); }
/* Brillo que recorre los botones y los títulos dorados */
.s-pill:not(.ghost):not(.glass) { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .s-pill:not(.ghost):not(.glass)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: ssheen 4.5s 2s ease-in-out infinite; }
  .s-count b { display: inline-block; }
}
@keyframes ssheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
/* Mariposas que cruzan la pantalla */
.s-flyers { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.s-fly { position: absolute; left: 0; top: 0; width: 46px; opacity: 0; }
.s-fly .cs { width: 100%; display: block; animation: bflap .22s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: no-preference) {
  .s-live .s-fly.f0 { animation: sfly0 19s 3s linear infinite; }
  .s-live .s-fly.f1 { animation: sfly1 23s 9s linear infinite; width: 36px; }
  .s-live .s-fly.f2 { animation: sfly2 27s 16s linear infinite; width: 30px; }
}
@keyframes sfly0 { 0% { opacity: 0; transform: translate(-10vw, 85vh) rotate(20deg); } 4% { opacity: .95; } 20% { transform: translate(25vw, 60vh) rotate(8deg); } 35% { transform: translate(55vw, 70vh) rotate(25deg); } 50% { opacity: .95; transform: translate(90vw, 35vh) rotate(12deg); } 55%, 100% { opacity: 0; transform: translate(112vw, 20vh) rotate(10deg); } }
@keyframes sfly1 { 0% { opacity: 0; transform: translate(110vw, 70vh) rotate(-20deg) scaleX(-1); } 4% { opacity: .9; } 22% { transform: translate(70vw, 45vh) rotate(-10deg) scaleX(-1); } 38% { transform: translate(40vw, 55vh) rotate(-24deg) scaleX(-1); } 52% { opacity: .9; transform: translate(5vw, 25vh) rotate(-12deg) scaleX(-1); } 58%, 100% { opacity: 0; transform: translate(-12vw, 15vh) rotate(-10deg) scaleX(-1); } }
@keyframes sfly2 { 0% { opacity: 0; transform: translate(30vw, 105vh) rotate(5deg); } 5% { opacity: .85; } 25% { transform: translate(45vw, 70vh) rotate(-15deg); } 45% { transform: translate(20vw, 40vh) rotate(10deg); } 60% { opacity: .85; transform: translate(60vw, 8vh) rotate(-5deg); } 66%, 100% { opacity: 0; transform: translate(75vw, -10vh) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .s-flyers { display: none; } }

/* Sobre con nombre en tinta del diseño (sobres claros) */
.inv-root[style*="--s-envink"] .s-env-to { color: var(--s-envink); text-shadow: none; }
.inv-root[style*="--s-envink"] .s-env-line { background: color-mix(in srgb, var(--s-envink) 45%, transparent); }
.inv-root[data-template="princesa"] .s-ribbon, .inv-root[data-template="rosa"] .s-ribbon { background: linear-gradient(180deg, color-mix(in srgb, var(--i-acc) 70%, #fff), var(--i-acc), color-mix(in srgb, var(--i-acc) 75%, #000)); }

/* ====== Confirmación: opciones con el estilo de cada diseño (v4.2) ====== */
.i-form { gap: 20px; }
.i-choices legend, .i-q > legend, label.i-q { font-family: var(--i-serif); font-weight: 500; font-size: 19px; line-height: 1.25; color: var(--i-ink); letter-spacing: .005em; }
.i-choices legend, .i-q > legend { margin-bottom: 12px; text-align: center; width: 100%; }
.sig .i-choices legend, .sig .i-q > legend { font-style: italic; }
/* Asistencia: dos tarjetas grandes */
.i-attend-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.i-choice { position: relative; display: grid !important; grid-template-columns: none; justify-items: center; align-content: center; text-align: center; gap: 8px; min-height: 0; padding: 18px 10px 16px; border: 1.5px solid color-mix(in srgb, var(--i-gold) 45%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--i-paper) 70%, #fff); cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .3s, border-color .3s, box-shadow .3s, color .3s; -webkit-tap-highlight-color: transparent; }
.inv-root.is-dark .i-choice { background: color-mix(in srgb, var(--i-paper) 80%, #000); }
.i-choice input, .i-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.i-ch-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--i-acc) 12%, transparent); color: var(--i-acc); transition: background .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.i-ch-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.i-ch-t { display: grid; gap: 2px; }
.i-ch-t b { font-family: var(--i-serif); font-weight: 500; font-size: 18px; line-height: 1.2; }
.i-ch-t small { font-size: 12.5px; font-weight: 400; color: var(--i-muted); line-height: 1.3; transition: color .3s; }
.i-tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--i-paper); color: var(--i-acc); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.i-tick svg, .i-opt-ok { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.i-choice:hover { transform: translateY(-2px); border-color: var(--i-acc); }
.i-choice:has(input:checked) { background: var(--i-acc); border-color: var(--i-acc); color: var(--i-on-acc, #fff); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--i-acc) 90%, #000); transform: translateY(-2px); }
.i-choice:has(input:checked) .i-ch-ico { background: rgba(255, 255, 255, .2); color: #fff; transform: scale(1.08); }
.i-choice:has(input:checked) .i-ch-t small { color: rgba(255, 255, 255, .85); }
.i-choice:has(input:checked) .i-tick { transform: scale(1); }
.i-choice.yes:has(input:checked) .i-ch-ico svg { fill: rgba(255, 255, 255, .9); animation: ibeat 1.3s .2s ease-in-out; }
.i-choice:has(input:focus-visible), .i-opt:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--i-acc) 55%, transparent); outline-offset: 3px; }
@keyframes ibeat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.22); } 40% { transform: scale(1); } 60% { transform: scale(1.14); } }
/* Preguntas: tarjeta suave con opciones como cintas */
.i-qs { display: grid; gap: 14px; }
.i-q { border: 1px solid color-mix(in srgb, var(--i-gold) 30%, transparent); border-radius: 20px; padding: 16px 14px 18px; margin: 0; background: color-mix(in srgb, var(--i-paper) 60%, #fff); }
.inv-root.is-dark .i-q { background: color-mix(in srgb, var(--i-paper) 85%, #000); }
label.i-q { display: grid; gap: 10px; text-align: center; }
.i-q-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.i-opt { position: relative; display: inline-flex !important; cursor: pointer; font-weight: 500 !important; -webkit-tap-highlight-color: transparent; border-radius: 999px; }
.i-opt span { display: inline-flex; align-items: center; gap: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--i-acc) 30%, transparent); background: var(--i-paper); color: var(--i-ink); font-size: 14.5px; transition: background .3s, color .3s, border-color .3s, padding .3s, gap .3s, transform .25s; }
.i-opt-ok { width: 0; opacity: 0; transition: width .3s, opacity .3s; }
.i-opt:hover span { border-color: var(--i-acc); transform: translateY(-1px); }
.i-opt:has(input:checked) span { background: var(--i-acc); border-color: var(--i-acc); color: #fff; gap: 6px; padding-left: 14px; box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--i-acc) 90%, #000); }
.i-opt:has(input:checked) .i-opt-ok { width: 14px; opacity: 1; }
/* Sí / No: interruptor de dos mitades */
.i-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--i-acc) 10%, var(--i-paper)); max-width: 260px; margin: 0 auto; }
.i-seg .i-opt { display: grid !important; }
.i-seg .i-opt span { justify-content: center; border-color: transparent; background: transparent; padding: 10px 12px; }
.i-seg .i-opt:hover span { transform: none; }
.i-seg .i-opt:has(input:checked) span { background: var(--i-acc); }
@media (prefers-reduced-motion: reduce) { .i-choice, .i-opt span, .i-tick, .i-ch-ico { transition: none; } .i-choice.yes:has(input:checked) .i-ch-ico svg { animation: none; } }
.i-q-options label.i-opt, .i-seg label.i-opt { padding: 0; border: 0; background: none; box-shadow: none; }
.inv-root .i-choice:has(input:checked) { background: var(--i-acc); border-color: var(--i-acc); }
.inv-root.is-dark .i-choice:has(input:checked), .inv-root.is-dark .i-opt:has(input:checked) span { color: var(--i-bg); }
.inv-root.is-dark .i-choice:has(input:checked) .i-ch-ico { background: rgba(0, 0, 0, .14); color: var(--i-bg); }
.inv-root.is-dark .i-choice.yes:has(input:checked) .i-ch-ico svg { fill: var(--i-bg); }
.inv-root.is-dark .i-choice:has(input:checked) .i-ch-t small { color: color-mix(in srgb, var(--i-bg) 75%, transparent); }
.inv-root.is-dark .i-tick { background: var(--i-bg); }
.i-msg { gap: 10px !important; text-align: center; }
.i-lbl { font-family: var(--i-serif); font-weight: 500; font-size: 19px; color: var(--i-ink); }
.sig .i-lbl { font-style: italic; }
.i-lbl small { font-family: 'Manrope', sans-serif; font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--i-muted); }
.i-msg textarea.i-input { border-radius: 18px; border-color: color-mix(in srgb, var(--i-gold) 40%, transparent); padding: 14px 16px; text-align: left; font-family: var(--i-serif); font-size: 17px; background: color-mix(in srgb, var(--i-paper) 60%, #fff); }
.inv-root.is-dark .i-msg textarea.i-input { background: color-mix(in srgb, var(--i-paper) 85%, #000); }
.i-msg textarea.i-input::placeholder { color: var(--i-muted); font-style: italic; opacity: .8; }
.inv-root.is-dark .i-form .i-btn:not(.out) { color: var(--i-bg); }

/* ===== Portadas Galería (tiras de fotos), Orilla (foto cálida con filigranas) y Magnolia (acuarela sin foto) ===== */
.i-cover.s-cover.s-strips { position: relative; min-height: min(100svh, 190cqi); display: grid; grid-template-columns: 33% 1fr; align-items: stretch; align-content: stretch; justify-items: stretch; color: #fff; overflow: hidden; background: #141312; }
.s-strips > .s-ph { position: absolute; inset: 0; z-index: 0; }
.s-strips > .s-ph img { filter: saturate(.85); }
.s-shade.dark { z-index: 1; background: linear-gradient(90deg, rgba(12, 10, 9, .62), rgba(12, 10, 9, .28) 48%, rgba(12, 10, 9, .4)), linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 28%, transparent 62%, rgba(0, 0, 0, .72)); }
.s-stripcol { position: relative; z-index: 2; align-self: stretch; display: grid; grid-template-rows: repeat(3, 1fr); gap: 3cqi; padding: 6cqi 0 6cqi 7cqi; }
.s-strip { display: block; overflow: hidden; border-radius: 2px; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .7); }
.s-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-strips-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.4cqi; padding: 11cqi 5cqi 9cqi; }
.s-strips .s-kick { font-family: var(--i-serif); text-transform: none; letter-spacing: .03em; font-size: clamp(19px, 6cqi, 30px); font-weight: 600; }
.s-invite { margin: 0; font-family: var(--i-serif); font-size: clamp(14px, 4.3cqi, 21px); line-height: 1.35; color: rgba(255, 255, 255, .86); max-width: 26ch; }
.s-strips .s-name.s-stack { margin: auto 0; display: grid; gap: 5cqi; color: #fff; font-size: clamp(54px, 18cqi, 98px); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.s-nm { display: grid; justify-items: center; line-height: .92; }
.s-nm small { font-family: var(--i-serif); font-size: clamp(13px, 4.3cqi, 20px); letter-spacing: .05em; margin-top: 1.4cqi; color: rgba(255, 255, 255, .86); text-shadow: none; }
.s-strips .s-dots { font-family: var(--i-serif); font-size: clamp(16px, 5.4cqi, 26px); letter-spacing: .34em; margin-right: -.34em; color: #fff; }
.s-strips .s-rule { width: 60%; }
.s-paddr { margin: 0; font-family: var(--i-serif); font-style: normal; font-size: clamp(12px, 3.7cqi, 17px); letter-spacing: .1em; color: rgba(255, 255, 255, .9); }
.s-cover.compact.s-strips, .s-cover.compact.s-paper { min-height: 100%; }

.s-sepia > .s-ph img { filter: sepia(.32) saturate(.85) brightness(.94); }
.s-shade.warm { background: linear-gradient(180deg, rgba(58, 38, 24, .42), rgba(58, 38, 24, .34) 40%, rgba(46, 30, 18, .62)); }
.s-sep-in { position: relative; z-index: 2; display: grid; justify-items: center; align-content: center; gap: 3.2cqi; min-height: inherit; padding: 16cqi 9cqi 12cqi; text-align: center; }
.s-sepia .s-kick { letter-spacing: .16em; font-size: clamp(12px, 3.8cqi, 17px); }
.s-full .s-name.s-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .2em; font-size: clamp(44px, 13.5cqi, 80px); line-height: 1.05; }
.s-full .s-name.s-line .amp { font-size: .62em; line-height: 1; }
.s-sep-ph { max-width: 30ch; font-style: normal; font-size: clamp(15px, 4.4cqi, 20px); line-height: 1.5; }
.s-sepia .s-sep-d { display: flex; flex-wrap: wrap; gap: 1cqi 5cqi; justify-content: center; font-size: clamp(15px, 4.6cqi, 21px); }
.s-sepia .s-sep-d b { font-weight: 600; }
.s-flr { position: absolute; z-index: 2; width: 38cqi; max-width: 210px; color: rgba(255, 255, 255, .92); pointer-events: none; }
.s-flr svg { display: block; width: 100%; height: auto; }
.s-flr.tl { top: 3cqi; left: 3cqi; }
.s-flr.br { bottom: 3cqi; right: 3cqi; transform: rotate(180deg); }

.i-cover.s-cover.s-paper { position: relative; overflow: hidden; min-height: min(100svh, 190cqi); display: grid; place-items: center; background: var(--i-paper); }
.s-wash { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(ellipse 55% 36% at 12% 12%, color-mix(in srgb, var(--i-gold) 34%, transparent), transparent 72%),
  radial-gradient(ellipse 45% 34% at 94% 22%, color-mix(in srgb, var(--i-gold) 24%, transparent), transparent 72%),
  radial-gradient(ellipse 55% 34% at 90% 92%, color-mix(in srgb, var(--i-gold) 30%, transparent), transparent 72%),
  radial-gradient(ellipse 40% 30% at 4% 80%, color-mix(in srgb, var(--i-gold) 20%, transparent), transparent 72%); }
.s-mg { position: absolute; z-index: 1; width: 72cqi; pointer-events: none; }
.s-mg.tl { top: -8cqi; left: -14cqi; }
.s-mg.tr { top: -6cqi; right: -18cqi; width: 60cqi; transform: scaleX(-1) rotate(8deg); }
.s-mg.bl { bottom: -12cqi; left: -18cqi; width: 56cqi; transform: scaleY(-1) rotate(-6deg); }
.s-mg.br { bottom: -10cqi; right: -14cqi; width: 70cqi; transform: scale(-1, -1); }
.s-paper-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 3cqi; padding: 30cqi 12cqi 20cqi; text-align: center; width: 100%; }
.s-paper .s-kick { font-family: var(--i-serif); font-weight: 500; letter-spacing: .22em; font-size: clamp(14px, 4.4cqi, 20px); color: var(--i-ink); }
.s-paper .s-name { color: var(--i-ink); font-size: clamp(54px, 16.5cqi, 94px); }
.s-paper .s-name .amp { color: var(--i-ink); font-size: .55em; }
.s-paper .s-pp { margin: 0; font-family: var(--i-serif); font-style: normal; font-size: clamp(15px, 4.5cqi, 20px); color: var(--i-ink); max-width: 28ch; line-height: 1.4; }
.s-paper .s-drow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4cqi; width: 100%; font-family: var(--i-serif); color: var(--i-ink); }
.s-drow span { border-top: 1px solid var(--i-gold); border-bottom: 1px solid var(--i-gold); padding: 1.4cqi 0; font-size: clamp(15px, 4.8cqi, 22px); }
.s-drow b { font-size: clamp(34px, 11cqi, 52px); font-weight: 400; line-height: 1; }
.s-paper .s-pcols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 4cqi; align-items: center; width: 100%; font-family: var(--i-serif); font-size: clamp(13px, 4cqi, 18px); line-height: 1.35; color: var(--i-ink); font-style: normal; }
.s-pcols p { margin: 0; }
.s-pcols i { width: 1px; align-self: stretch; background: var(--i-ink); opacity: .55; }
.s-paper .s-prsvp { margin: 2cqi 0 0; font-family: var(--i-serif); font-style: italic; font-size: clamp(13px, 4cqi, 18px); color: var(--i-ink); }

.s-anim .s-cover .s-strip, .s-anim .s-cover .s-invite, .s-anim .s-cover .s-mg, .s-anim .s-cover .s-flr { opacity: 0; }
.s-anim.s-live .s-cover .s-strip { opacity: 1; animation: sstrip 1.2s calc(.15s + var(--i) * .2s) cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-invite { opacity: 1; animation: sup 1s .45s both; }
.s-anim.s-live .s-cover .s-mg { opacity: 1; animation: smg 1.8s .2s cubic-bezier(.2, .8, .2, 1) both, ssway 7s 2s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-mg.tr, .s-anim.s-live .s-cover .s-mg.br { animation-delay: .45s, 2.3s; }
.s-anim.s-live .s-cover .s-flr { opacity: 1; animation: sfade .6s .2s both; }
.s-anim.s-live .s-cover .s-flr path { stroke-dasharray: 260; animation: sdrawf 2.6s .3s ease both; }
.s-anim.s-live .s-cover .s-flr.br path { animation-delay: .8s; }
.s-anim.s-live .s-cover .s-flr g[fill] { animation: sfade 1s 1.8s both; }
@keyframes sstrip { from { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateY(24px); } to { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes smg { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
@keyframes ssway { from { rotate: 0deg; } to { rotate: 2.2deg; } }
@keyframes sdrawf { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
/* Capas de fondo de estas portadas (ganan a «.i-cover > :not(.i-deco)») */
.i-cover > .s-shade { position: absolute; inset: 0; z-index: 1; }
.i-cover.s-strips > .s-ph { position: absolute; inset: 0; z-index: 0; }
.i-cover > .s-flr { position: absolute; z-index: 2; }
.i-cover > .s-mg { position: absolute; z-index: 1; }
.i-cover > .s-wash { position: absolute; inset: 0; z-index: 0; }
.i-cover.s-strips > .i-fx { z-index: 3; }

/* ===== XV: Retrato, Ensueño, Violeta y Clásica ===== */
.s-xv { display: inline-flex; align-items: flex-start; font-family: 'Cormorant Garamond', var(--i-serif); font-weight: 400; font-style: normal; line-height: .8; }
.s-xv i { font-style: normal; }
.s-xv i + i { margin-left: -.26em; transform: translateY(.1em); opacity: .82; }

/* Retrato */
.s-shade.soft { background: linear-gradient(180deg, rgba(40, 20, 28, .08) 30%, rgba(40, 20, 28, .38) 55%, rgba(40, 20, 28, .5)); }
.s-por-in { position: relative; z-index: 2; display: grid; justify-items: center; align-content: end; gap: 1.6cqi; min-height: inherit; padding: 0 6cqi 16cqi; text-align: center; }
.s-portrait .s-por-mis { font-family: var(--i-serif); text-transform: none; letter-spacing: .02em; font-size: clamp(22px, 7cqi, 34px); font-weight: 500; }
.s-por-xv { margin: 0; font-family: var(--i-script); font-size: clamp(40px, 13cqi, 68px); line-height: 1; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.s-full .s-name.s-por-name { color: color-mix(in srgb, var(--i-acc) 55%, #fff); font-size: clamp(56px, 17cqi, 92px); text-shadow: 0 0 22px rgba(255, 255, 255, .35), 0 2px 12px rgba(0, 0, 0, .25); }
.s-portrait .s-sur { color: rgba(255, 255, 255, .9); }

/* Ensueño */
.i-cover.s-cover.s-dream { position: relative; overflow: hidden; min-height: min(100svh, 200cqi); color: #fff; display: grid; justify-items: center; align-content: start;
  background: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(255, 255, 255, .18), transparent 70%), radial-gradient(ellipse 70% 40% at 50% 70%, rgba(214, 180, 255, .45), transparent 70%), linear-gradient(180deg, #3a1d63 0%, #6a3fa6 45%, #b48ce4 80%, #d9c3f2 100%); }
.i-cover > .s-frame2 { position: absolute; inset: 4cqi 4cqi 14cqi; z-index: 1; border: 1px solid rgba(255, 255, 255, .5); border-bottom: 0; border-radius: 2px; pointer-events: none; }
.i-cover > .s-fleur { position: absolute; z-index: 2; top: 2cqi; width: 9cqi; opacity: .95; }
.s-fleur.l { left: 1.6cqi; } .s-fleur.r { right: 1.6cqi; }
.i-cover > .s-voluta { position: absolute; z-index: 2; top: 1.2cqi; left: 50%; width: 46cqi; transform: translateX(-50%); opacity: .9; }
.s-dream-in { position: relative; z-index: 3; display: grid; justify-items: center; gap: 1.4cqi; padding: 12cqi 9cqi 0; text-align: center; }
.s-dream .s-xv { font-size: clamp(64px, 24cqi, 120px); color: #fff; text-shadow: 0 0 24px rgba(255, 255, 255, .45); margin-bottom: 1cqi; }
.s-dream .s-kick { letter-spacing: .14em; font-size: clamp(11px, 3.6cqi, 16px); font-family: var(--i-serif); font-weight: 600; }
.s-dream-q { margin: 0; font-family: var(--i-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(22px, 7.6cqi, 36px); line-height: 1; }
.s-dream .s-name { color: #fff; font-size: clamp(50px, 15cqi, 84px); text-shadow: 0 0 20px rgba(233, 211, 251, .7); }
.s-dream .s-ftag { margin: 0; font-family: var(--i-serif); font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(11px, 3.4cqi, 15px); color: #fff; }
.s-dream .s-dream-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6cqi; align-items: center; width: 100%; margin-top: 2cqi; font-family: var(--i-serif); color: #fff; font-size: inherit; }
.s-dream-row > div { display: grid; justify-items: center; line-height: 1.15; }
.s-dream-row > div + div { border-left: 1px solid rgba(255, 255, 255, .45); }
.s-dream-row span { font-size: clamp(14px, 4.2cqi, 19px); font-weight: 600; }
.s-dream-row b { font-size: clamp(40px, 13cqi, 64px); font-weight: 600; line-height: 1; }
.s-dream-row b.t { font-size: clamp(20px, 6.4cqi, 30px); font-style: italic; margin-bottom: 1cqi; }
.i-cover > .s-girl { position: relative; z-index: 2; width: 58%; margin-top: 2cqi; margin-bottom: -10cqi; filter: drop-shadow(0 10px 24px rgba(40, 10, 80, .35)); }
.i-cover > .s-clouds { position: absolute; z-index: 4; left: -2%; right: -2%; bottom: -1px; width: 104%; height: 26cqi; }
.s-cover.compact.s-dream { min-height: 100%; }
.s-cover.compact .s-girl { width: 52%; }

/* Violeta */
.i-cover.s-cover.s-split { position: relative; min-height: min(100svh, 190cqi); display: grid; grid-template-columns: 62% 38%; align-items: stretch; overflow: hidden; background: var(--i-paper); }
.s-split-l { position: relative; overflow: hidden; display: grid; align-content: center; background: linear-gradient(170deg, #fbf8ff 0%, #efe6fb 55%, #e3d4f7 100%); }
.s-split-l > .s-wash { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 30% at 70% 20%, rgba(255, 255, 255, .8), transparent 70%), radial-gradient(ellipse 80% 30% at 20% 75%, rgba(196, 168, 238, .35), transparent 70%); }
.s-sf { position: absolute; z-index: 1; width: 40cqi; pointer-events: none; }
.s-sf.tl { top: -6cqi; left: -10cqi; }
.s-sf.bl { bottom: -8cqi; left: -10cqi; transform: scaleY(-1); }
.s-sf.tr { top: -6cqi; right: -14cqi; width: 30cqi; transform: scaleX(-1); }
.s-split-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.6cqi; padding: 18cqi 4cqi 14cqi; text-align: center; color: var(--i-ink); }
.s-split .s-kick { font-family: var(--i-serif); font-weight: 600; letter-spacing: .06em; font-size: clamp(11px, 3.6cqi, 16px); color: var(--i-acc); }
.s-split .s-ico { width: 9cqi; height: 9cqi; color: var(--i-acc); }
.s-xvrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2cqi; width: 100%; font-family: var(--i-serif); font-weight: 600; text-transform: uppercase; font-size: clamp(11px, 3.8cqi, 17px); color: var(--i-acc); }
.s-xvrow span:first-child { text-align: right; } .s-xvrow span:last-child { text-align: left; }
.s-split .s-xv { font-size: clamp(56px, 20cqi, 104px); color: var(--i-acc); }
.s-split .s-name { color: var(--i-acc); font-size: clamp(36px, 11.5cqi, 62px); }
.s-split .s-arcdate { display: grid; justify-items: center; width: 100%; color: var(--i-ink); font-size: inherit; }
.s-arc { width: 74%; height: auto; overflow: visible; }
.s-arc text { font-family: var(--i-script); font-size: 24px; fill: var(--i-acc); }
.s-ad-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2cqi; width: 100%; margin: -1cqi 0; font-family: var(--i-serif); font-size: clamp(11px, 3.4cqi, 15px); }
.s-ad-row span { display: grid; line-height: 1.15; border-top: 1px solid var(--i-gold); border-bottom: 1px solid var(--i-gold); padding: 1cqi 0; }
.s-ad-row span:empty { border: 0; }
.s-ad-row em { font-size: clamp(13px, 4.2cqi, 19px); font-weight: 600; }
.s-ad-row b { font-family: var(--i-serif); font-size: clamp(36px, 12cqi, 60px); font-weight: 600; line-height: 1; color: var(--i-acc); }
.s-split .s-split-a { margin: 1cqi 0 0; font-family: var(--i-serif); font-style: italic; font-size: clamp(12px, 3.8cqi, 17px); color: var(--i-ink); }
.s-bfs { display: flex; gap: 6cqi; } .s-bfs .cs { width: 8cqi; } .s-bfs .cs + img { transform: scaleX(-1) rotate(-12deg); width: 6cqi; }
.s-split .s-split-c { margin: 0; font-family: var(--i-serif); font-weight: 600; font-size: clamp(11px, 3.4cqi, 15px); color: var(--i-acc); font-style: normal; }
.s-split-r { position: relative; overflow: hidden; }
.s-split-r .s-ph { position: absolute; inset: 0; }
.s-split-r .s-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.s-split-l { z-index: 2; margin-right: -7cqi; border-radius: 0 7cqi 7cqi 0; box-shadow: 10px 0 26px -10px rgba(75, 45, 122, .35); }
.s-cover.compact.s-split, .s-cover.compact.s-mono { min-height: 100%; }

/* Clásica */
.i-cover.s-cover.s-mono { position: relative; min-height: min(100svh, 180cqi); display: grid; grid-template-columns: 44% 1fr; gap: 4cqi; padding: 5cqi; align-items: stretch; background: #fff; color: #1f1f1f; }
.s-mono-ph { position: relative; overflow: hidden; }
.s-mono-ph .s-ph { position: absolute; inset: 0; }
.s-mono-ph .s-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); }
.s-mono-in { display: grid; justify-items: center; align-content: center; gap: 1.4cqi; text-align: center; padding: 4cqi 0; }
.s-mono .s-ftag { margin: 0; font-family: var(--i-serif); font-style: italic; color: #2a2a2a; font-size: clamp(12px, 3.8cqi, 17px); line-height: 1.35; }
.s-mono .s-mono-xv { font-family: var(--i-serif); font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: clamp(44px, 15cqi, 76px); line-height: .9; color: #1a1a1a; }
.s-mono-an { margin: -1cqi 0 0; font-family: var(--i-serif); font-style: italic; font-size: clamp(16px, 5cqi, 24px); }
.s-mono .s-name { color: #1a1a1a; font-size: clamp(40px, 13cqi, 70px); }
.s-mono .s-rule { width: 24%; background: #1f1f1f; height: 1px; margin: 2cqi auto; }
.s-mono .s-mono-d { font-family: var(--i-serif); font-size: clamp(26px, 8.4cqi, 42px); color: #1a1a1a; letter-spacing: .02em; }
.s-mono .s-mono-h { margin-top: -1cqi; }

.s-anim .s-cover .s-girl, .s-anim .s-cover .s-clouds, .s-anim .s-cover .s-fleur, .s-anim .s-cover .s-voluta, .s-anim .s-cover .s-xv, .s-anim .s-cover .s-sf, .s-anim .s-cover .s-xvrow, .s-anim .s-cover .s-dream-q, .s-anim .s-cover .s-por-xv, .s-anim .s-cover .s-mono-an, .s-anim .s-cover .s-mono-ph { opacity: 0; }
.s-anim.s-live .s-cover .s-xv, .s-anim.s-live .s-cover .s-xvrow { opacity: 1; animation: sxv 1.4s .2s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-dream-q, .s-anim.s-live .s-cover .s-por-xv, .s-anim.s-live .s-cover .s-mono-an { opacity: 1; animation: sup 1s .5s both; }
.s-anim.s-live .s-cover .s-girl { opacity: 1; animation: sgirl 1.8s .8s cubic-bezier(.2, .8, .2, 1) both, sfloat 7s 2.6s ease-in-out infinite alternate; }
.s-anim.s-live .s-cover .s-clouds { opacity: 1; animation: sclouds 1.6s .3s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-fleur, .s-anim.s-live .s-cover .s-voluta { opacity: 1; animation: sfade 1.2s .2s both; }
.s-anim.s-live .s-cover .s-sf { opacity: 1; animation: smg 1.6s .2s cubic-bezier(.2, .8, .2, 1) both; }
.s-anim.s-live .s-cover .s-mono-ph { opacity: 1; animation: sstrip 1.4s .1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sxv { from { opacity: 0; transform: scale(.7); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sgirl { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes sclouds { from { opacity: 0; transform: translateY(30%); } to { opacity: 1; transform: none; } }
.i-cover.s-cover.s-split, .i-cover.s-cover.s-mono { align-content: stretch; justify-content: stretch; justify-items: stretch; }
.i-cover.s-cover.s-split > *, .i-cover.s-cover.s-mono > * { min-height: 0; align-self: stretch; }

/* =====================================================================
   Versión 6 · Sistema «Degradé»: fondos hechos con degradados (sin imágenes planas ni texturas),
   ilustraciones en línea fina, nombres con degradado y animaciones nítidas (sin desenfoques).
   Variables: --i-g1/--i-g2/--i-g3 (fondo), --i-acc2 (mezcla del color principal y el dorado).
   ===================================================================== */
.inv-root.sig .inv { background: linear-gradient(180deg, var(--i-g1) 0%, var(--i-g2) 14%, var(--i-g3) 32%, var(--i-g2) 50%, var(--i-g1) 66%, var(--i-g3) 84%, var(--i-g2) 100%); box-shadow: none; }
.inv-root.sig .i-sec, .inv-root.sig .s-sec { background: transparent; }
.inv-root.sig .i-cover.s-cover:not(.s-full):not(.s-strips):not(.s-dream):not(.s-mono) { background: linear-gradient(165deg, var(--i-g1) 0%, var(--i-g2) 55%, var(--i-g3) 100%); }

/* Nombres y títulos con degradado (en portadas sin foto y en las secciones) */
.inv-root.sig:not(.is-foil) .s-cover:not(.s-full):not(.s-strips) .s-name > span:not(.amp),
.inv-root.sig:not(.is-foil) .s-close .s-name > span:not(.amp),
.inv-root.sig:not(.is-foil) .s-title, .inv-root.sig:not(.is-foil) .s-script:not(.light) {
  background: linear-gradient(100deg, var(--i-acc) 0%, var(--i-acc2) 45%, var(--i-acc) 70%, var(--i-acc2) 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--i-acc); }
.inv-root.sig.is-dark:not(.is-foil) .s-title, .inv-root.sig.is-dark:not(.is-foil) .s-script:not(.light),
.inv-root.sig.is-dark:not(.is-foil) .s-cover:not(.s-full):not(.s-strips) .s-name > span:not(.amp) { background-image: linear-gradient(100deg, var(--i-gold), #fff 45%, var(--i-gold) 70%, #fff 100%); }
@media (prefers-reduced-motion: no-preference) {
  .inv-root.sig:not(.is-foil) .s-title { animation: sshine 9s ease-in-out infinite alternate; }
}
@keyframes sshine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.s-rule { background: linear-gradient(90deg, transparent, var(--i-acc2), var(--i-gold), transparent); }

/* Botones y tarjetas */
.inv-root.sig .s-pill:not(.ghost):not(.glass) { background: linear-gradient(120deg, var(--i-acc), var(--i-acc2)); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--i-acc) 70%, transparent); border: 0; }
.inv-root.sig .s-pill.glass, .inv-root.sig .s-countphoto .i-countdown div { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .18); }
.inv-root.sig .i-btn:not(.out) { background: linear-gradient(120deg, var(--i-acc), var(--i-acc2)); border: 0; }
.inv-root.sig .s-venue.filled, .inv-root.sig .i-sec.s-band.s-band { background: linear-gradient(140deg, var(--i-acc), var(--i-acc2)); }
.inv-root.sig .s-band .s-wv { display: none; }
.inv-root.sig .i-sec.s-band { margin: 6cqi 6cqi; border-radius: 28px; }
.inv-root.sig .i-gcard, .inv-root.sig .i-faq details, .inv-root.sig .i-msgs > *, .inv-root.sig #confirmar form, .inv-root.sig #confirmar .i-rsvp {
  background: linear-gradient(var(--i-paper), var(--i-paper)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--i-acc) 35%, transparent), color-mix(in srgb, var(--i-gold) 45%, transparent)) border-box;
  border: 1px solid transparent; box-shadow: 0 18px 40px -32px color-mix(in srgb, var(--i-ink) 60%, transparent); }
.inv-root.sig .s-tl-i { background: linear-gradient(160deg, var(--i-paper), var(--i-g3)); }

/* Pétalos con degradado, sin sombras sucias */
.inv-root.sig .fx-petals i { background: linear-gradient(135deg, var(--i-fxc), color-mix(in srgb, var(--i-fxc) 45%, #fff)); box-shadow: none; opacity: .75; }

/* Portadas: fondos 100% con degradados (sin manchas) */
.inv-root.sig .s-wash { background: linear-gradient(160deg, color-mix(in srgb, var(--i-gold) 22%, transparent) 0%, transparent 38%, transparent 62%, color-mix(in srgb, var(--i-acc) 14%, transparent) 100%); }
.s-split-l { background: linear-gradient(165deg, var(--i-paper) 0%, var(--i-g2) 50%, var(--i-g3) 100%); }
.i-cover.s-cover.s-dream { background: linear-gradient(180deg, color-mix(in srgb, var(--i-bg) 70%, #000) 0%, var(--i-bg) 22%, color-mix(in srgb, var(--i-acc) 45%, var(--i-bg)) 62%, color-mix(in srgb, var(--i-acc) 70%, #fff) 100%); }
.i-cover.s-cover.s-strips { background: var(--i-bg); }
.inv-root.sig .s-envelope { background: linear-gradient(170deg, var(--i-g1), var(--i-g2) 50%, var(--i-g3)); }

/* Animaciones nítidas: se reemplazan los desenfoques por movimientos limpios */
@keyframes sframe { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sxv { from { opacity: 0; transform: scale(.8); letter-spacing: .2em; } to { opacity: 1; transform: none; } }
.s-anim .s-rv[data-rv="blur"]:not(.in) { filter: none; opacity: 0; transform: translateY(24px); }
.inv-root.sig .s-pair > .cs { filter: none; }
/* Sobre tarjetas y franjas de color: texto claro y botones en papel */
.inv-root.sig .s-venue.filled .s-title, .inv-root.sig .s-venue.filled .s-script, .inv-root.sig .s-band .s-title { background: none; -webkit-text-fill-color: var(--i-on-acc); color: var(--i-on-acc); animation: none; }
.inv-root.sig .s-venue.filled .s-pill:not(.ghost) { background: var(--i-paper); color: var(--i-acc); box-shadow: none; }

/* =====================================================================
   Adornos 100% CSS (versión 6.1): flores, hojas, mariposas, íconos, nubes, quinceañera,
   filigranas, sello y lazo. Sin imágenes ni SVG: solo bordes, formas, recortes y degradados.
   ===================================================================== */
.inv-root { --k-s: color-mix(in srgb, var(--i-acc) 62%, var(--i-gold)); --k-p1: color-mix(in srgb, var(--i-acc) 10%, #fff); --k-p2: color-mix(in srgb, var(--i-acc) 34%, #fff); --k-l1: color-mix(in srgb, var(--i-gold) 16%, #fff); --k-l2: color-mix(in srgb, var(--i-gold) 42%, #fff); --k-c: var(--i-gold); --ci-t: 1.6px; }
.inv-root.is-dark { --k-s: color-mix(in srgb, var(--i-gold) 85%, #fff); --k-p1: color-mix(in srgb, var(--i-gold) 14%, transparent); --k-p2: color-mix(in srgb, var(--i-acc) 38%, transparent); --k-l1: color-mix(in srgb, var(--i-gold) 8%, transparent); --k-l2: color-mix(in srgb, var(--i-gold) 26%, transparent); }
:where(.cs) { display: block; position: relative; container-type: inline-size; pointer-events: none; }
.cs > i, .cs > b, .cs i, .cs b, .cs u { position: absolute; display: block; box-sizing: border-box; }
.k-st { height: 0; border-top: max(1px, .42cqw) solid var(--k-s); transform-origin: 0 0; transform: rotate(var(--r)); opacity: .9; }
.k-lf { width: var(--w); aspect-ratio: 1; border-radius: 0 100% 0 100%; transform-origin: 0 0; transform: rotate(var(--r)); border: max(1px, .3cqw) solid var(--k-s);
  background: linear-gradient(to top right, transparent calc(50% - .5px), var(--k-s) 50%, transparent calc(50% + .5px)), linear-gradient(135deg, var(--k-l2), var(--k-l1)); }
.k-rl { width: var(--w); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: max(1px, .3cqw) solid var(--k-s); background: radial-gradient(circle at 35% 30%, var(--k-l1), var(--k-l2)); }
.k-ring { left: 8.67%; top: 8.67%; width: 82.67%; aspect-ratio: 1; border-radius: 50%; border: max(1px, .3cqw) solid var(--k-s); opacity: .75; }
.k-fl { width: var(--w); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--r)); }
.k-fl b, .k-fl u { border: max(1px, .3cqw) solid var(--k-s); }
.k-rose b { left: 50%; top: 50%; width: 52%; height: 52%; border-radius: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateX(46%); background: radial-gradient(circle at 70% 50%, var(--k-p2), var(--k-p1) 75%); }
.k-rose u { left: 50%; top: 50%; width: 46%; height: 46%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--k-p2) 0 16%, var(--k-p1) 17% 36%, var(--k-p2) 37% 40%, var(--k-p1) 41% 62%, var(--k-p2) 63% 66%, var(--k-p1) 67%); }
.k-peony b { left: 50%; top: 50%; width: 42%; height: 38%; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-62%); background: linear-gradient(180deg, var(--k-p1), var(--k-p2)); }
.k-peony b.in { width: 32%; height: 30%; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-40%); background: linear-gradient(180deg, var(--k-p2), var(--k-p1)); }
.k-peony u { left: 50%; top: 50%; width: 22%; height: 22%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--k-c) 0 22%, var(--k-p1) 24%); }
.k-daisy b { left: 50%; top: 50%; width: 48%; height: 14%; border-radius: 50%; transform-origin: 0 50%; transform: translateY(-50%) rotate(var(--a)); background: linear-gradient(90deg, var(--k-p2), var(--k-p1)); }
.k-daisy u { left: 50%; top: 50%; width: 28%; height: 28%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--k-c) 50%, #fff), var(--k-c)); }
.k-magnolia b { left: 37%; top: -10%; width: 26%; height: 64%; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; transform-origin: 50% 100%; transform: rotate(var(--a)); background: linear-gradient(0deg, var(--k-p2), var(--k-p1) 70%); }
.k-magnolia u { left: 44%; top: 48%; width: 12%; height: 14%; border-radius: 30% 30% 50% 50%; background: var(--k-l2); }
.k-bd { width: var(--w); aspect-ratio: .62; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; transform-origin: 50% 100%; transform: translate(-50%, -100%) rotate(var(--r)); border: max(1px, .3cqw) solid var(--k-s); background: linear-gradient(0deg, var(--k-p2), var(--k-p1)); }
.k-lv { width: var(--w); height: 0; border-top: max(1px, .35cqw) solid var(--k-s); transform-origin: 0 0; transform: rotate(var(--r)); }
.k-lv b { left: calc(36% + var(--i) * 7.4%); width: 13%; aspect-ratio: 1.9; margin-top: -8%; border-radius: 50%; transform: rotate(-32deg); border: max(1px, .25cqw) solid var(--k-s); background: linear-gradient(90deg, var(--k-p2), var(--k-p1)); }
.k-lv b:nth-child(even) { margin-top: .5%; transform: rotate(32deg); }

/* Mariposa */
.k-bf { aspect-ratio: 1.25; }
.k-bf i { border: max(1px, .9cqw) solid var(--k-s); background: linear-gradient(160deg, var(--k-p1), var(--k-p2)); }
.k-bf .w1 { left: 4%; top: 4%; width: 46%; height: 50%; border-radius: 85% 15% 40% 60% / 80% 20% 70% 40%; }
.k-bf .w2 { right: 4%; top: 4%; width: 46%; height: 50%; border-radius: 15% 85% 60% 40% / 20% 80% 40% 70%; }
.k-bf .w3 { left: 16%; top: 50%; width: 34%; height: 40%; border-radius: 40% 10% 60% 80% / 30% 10% 70% 80%; }
.k-bf .w4 { right: 16%; top: 50%; width: 34%; height: 40%; border-radius: 10% 40% 80% 60% / 10% 30% 80% 70%; }
.k-bf b { left: 48.5%; top: 18%; width: 3%; height: 62%; border-radius: 9cqw; background: var(--k-s); }
.k-bf .w1, .k-bf .w3 { transform-origin: 100% 50%; } .k-bf .w2, .k-bf .w4 { transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .k-bf .w1, .k-bf .w3 { animation: kflapl 1.1s ease-in-out infinite alternate; }
  .k-bf .w2, .k-bf .w4 { animation: kflapr 1.1s ease-in-out infinite alternate; }
}
@keyframes kflapl { to { transform: scaleX(.72) skewY(4deg); } }
@keyframes kflapr { to { transform: scaleX(.72) skewY(-4deg); } }

/* Luna creciente con estrellas */
.k-moon { aspect-ratio: 1; }
.k-moon i { left: 20%; top: 16%; width: 52%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 7cqw -3cqw 0 0 var(--i-gold); transform: rotate(-20deg); }
.k-moon b { width: 9%; aspect-ratio: 1; background: var(--i-gold); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.k-moon b:nth-of-type(1) { left: 74%; top: 12%; } .k-moon b:nth-of-type(2) { left: 80%; top: 52%; width: 6%; } .k-moon b:nth-of-type(3) { left: 8%; top: 70%; width: 7%; }

/* Íconos (cuadrícula de 48) */
.ci { position: relative; display: inline-block; width: 46px; height: 46px; container-type: size; color: var(--i-acc); flex: none; }
.ci > i, .ci > b, .ci::before, .ci::after { position: absolute; display: block; box-sizing: border-box; }
.ci::before, .ci::after { content: none; }
.ci-rings::before, .ci-church::before, .ci-church::after, .ci-glasses::before, .ci-glasses::after, .ci-disco::before, .ci-cake::before, .ci-cake::after, .ci-music::before, .ci-music::after, .ci-camera::before, .ci-gift::before, .ci-gift::after, .ci-calendar::before, .ci-clock::before, .ci-clock::after { content: ""; }
.inv-root.is-dark .ci { color: var(--i-gold); }
.ci-rings > i { left:10.42cqw;top:35.42cqw;width:45.83cqw;height:45.83cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-rings > b { left:41.67cqw;top:35.42cqw;width:45.83cqw;height:45.83cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-rings::before { left:40.62cqw;top:12.5cqw;width:16.67cqw;height:16.67cqw;border:var(--ci-t) solid currentColor;transform:rotate(45deg); }
.ci-crown > i { left:20.83cqw;top:70.83cqw;width:58.33cqw;height:5.0cqw;background:currentColor;border-radius:2px; }
.ci-crown > b { left:20.83cqw;top:25.0cqw;width:58.33cqw;height:41.67cqw;background:linear-gradient(180deg,var(--i-acc2),currentColor);clip-path:polygon(0 100%,0 18%,26% 55%,50% 0,74% 55%,100% 18%,100% 100%);opacity:.9; }
.ci-sparkle > b { left:20.83cqw;top:16.67cqw;width:58.33cqw;height:66.67cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); }
.ci-star > b { left:18.75cqw;top:16.67cqw;width:62.5cqw;height:62.5cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.ci-dance > b { left:20.83cqw;top:16.67cqw;width:58.33cqw;height:66.67cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); }
.ci-bed > b { left:18.75cqw;top:16.67cqw;width:62.5cqw;height:62.5cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.ci-church > i { left:27.08cqw;top:35.42cqw;width:45.83cqw;height:52.08cqw;border:var(--ci-t) solid currentColor;border-radius:11cqw 11cqw 0 0; }
.ci-church > b { left:41.67cqw;top:64.58cqw;width:16.67cqw;height:22.92cqw;border:var(--ci-t) solid currentColor;border-bottom:0;border-radius:4cqw 4cqw 0 0; }
.ci-church::before { left:47.92cqw;top:6.25cqw;width:4.17cqw;height:22.92cqw;background:currentColor; }
.ci-church::after { left:40.62cqw;top:12.5cqw;width:18.75cqw;height:4.17cqw;background:currentColor; }
.ci-glasses > i { left:22.92cqw;top:14.58cqw;width:20.83cqw;height:31.25cqw;border:var(--ci-t) solid currentColor;border-top-width:var(--ci-t);border-radius:0 0 5cqw 5cqw;transform:rotate(-12deg); }
.ci-glasses > b { left:56.25cqw;top:14.58cqw;width:20.83cqw;height:31.25cqw;border:var(--ci-t) solid currentColor;border-radius:0 0 5cqw 5cqw;transform:rotate(12deg); }
.ci-glasses::before { left:35.42cqw;top:47.92cqw;width:3.33cqw;height:31.25cqw;background:currentColor;transform:rotate(-12deg); }
.ci-glasses::after { left:61.46cqw;top:47.92cqw;width:3.33cqw;height:31.25cqw;background:currentColor;transform:rotate(12deg); }
.ci-disco > i { left:20.83cqw;top:25.0cqw;width:58.33cqw;height:58.33cqw;border:var(--ci-t) solid currentColor;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 18%,color-mix(in srgb,currentColor 35%,transparent) 18% 21%),repeating-linear-gradient(90deg,transparent 0 18%,color-mix(in srgb,currentColor 35%,transparent) 18% 21%); }
.ci-disco::before { left:48.33cqw;top:6.25cqw;width:3.33cqw;height:18.75cqw;background:currentColor; }
.ci-dress > i { left:20.83cqw;top:10.42cqw;width:58.33cqw;height:79.17cqw;background:linear-gradient(180deg,var(--i-acc2),currentColor);opacity:.85;clip-path:polygon(36% 0,42% 0,50% 12%,58% 0,64% 0,66% 30%,60% 38%,100% 100%,0 100%,40% 38%,34% 30%); }
.ci-suit > i { left:20.83cqw;top:14.58cqw;width:58.33cqw;height:72.92cqw;border:var(--ci-t) solid currentColor;border-radius:4cqw 4cqw 1cqw 1cqw; }
.ci-suit > b { left:33.33cqw;top:14.58cqw;width:33.33cqw;height:33.33cqw;background:linear-gradient(to bottom right,transparent calc(50% - 1px),currentColor 50%,transparent calc(50% + 1px)),linear-gradient(to bottom left,transparent calc(50% - 1px),currentColor 50%,transparent calc(50% + 1px)); }
.ci-letter > i { left:12.5cqw;top:27.08cqw;width:75.0cqw;height:50.0cqw;border:var(--ci-t) solid currentColor;border-radius:2cqw; }
.ci-letter > b { left:27.08cqw;top:6.25cqw;width:45.83cqw;height:45.83cqw;border-right:var(--ci-t) solid currentColor;border-bottom:var(--ci-t) solid currentColor;transform:rotate(45deg) scale(.95); }
.ci-cake > i { left:18.75cqw;top:56.25cqw;width:62.5cqw;height:27.08cqw;border:var(--ci-t) solid currentColor;border-radius:2cqw; }
.ci-cake > b { left:29.17cqw;top:37.5cqw;width:41.67cqw;height:18.75cqw;border:var(--ci-t) solid currentColor;border-bottom:0;border-radius:2cqw 2cqw 0 0; }
.ci-cake::before { left:48.33cqw;top:18.75cqw;width:3.33cqw;height:16.67cqw;background:currentColor; }
.ci-cake::after { left:44.79cqw;top:10.42cqw;width:10.42cqw;height:10.42cqw;background:currentColor;border-radius:50% 50% 50% 0;transform:rotate(-45deg); }
.ci-music > i { left:18.75cqw;top:64.58cqw;width:22.92cqw;height:16.67cqw;background:currentColor;border-radius:50%;transform:rotate(-20deg); }
.ci-music > b { left:56.25cqw;top:56.25cqw;width:22.92cqw;height:16.67cqw;background:currentColor;border-radius:50%;transform:rotate(-20deg); }
.ci-music::before { left:37.5cqw;top:20.83cqw;width:3.75cqw;height:50.0cqw;background:currentColor;box-shadow:37.5cqw -4cqw 0 currentColor; }
.ci-music::after { left:37.5cqw;top:16.67cqw;width:41.67cqw;height:10.42cqw;background:currentColor;transform:skewY(-12deg); }
.ci-camera > i { left:12.5cqw;top:31.25cqw;width:75.0cqw;height:52.08cqw;border:var(--ci-t) solid currentColor;border-radius:4cqw; }
.ci-camera > b { left:35.42cqw;top:41.67cqw;width:29.17cqw;height:29.17cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-camera::before { left:33.33cqw;top:18.75cqw;width:33.33cqw;height:14.58cqw;border:var(--ci-t) solid currentColor;border-bottom:0;border-radius:2cqw 2cqw 0 0; }
.ci-gift > i { left:18.75cqw;top:39.58cqw;width:62.5cqw;height:43.75cqw;border:var(--ci-t) solid currentColor;border-top:0; }
.ci-gift > b { left:14.58cqw;top:27.08cqw;width:70.83cqw;height:14.58cqw;border:var(--ci-t) solid currentColor;border-radius:1cqw; }
.ci-gift::before { left:48.33cqw;top:27.08cqw;width:3.33cqw;height:56.25cqw;background:currentColor; }
.ci-gift::after { left:37.5cqw;top:8.33cqw;width:25.0cqw;height:20.83cqw;border:var(--ci-t) solid currentColor;border-radius:50% 50% 10% 10%; }
.ci-calendar > i { left:16.67cqw;top:20.83cqw;width:66.67cqw;height:62.5cqw;border:var(--ci-t) solid currentColor;border-top-width:calc(var(--ci-t) * 3.5);border-radius:3cqw; }
.ci-calendar > b { left:31.25cqw;top:12.5cqw;width:4.17cqw;height:16.67cqw;background:currentColor;box-shadow:33.33cqw 0 0 currentColor; }
.ci-calendar::before { left:39.58cqw;top:47.92cqw;width:20.83cqw;height:20.83cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 100%,0 40%,10% 10%,30% 0,50% 22%,70% 0,90% 10%,100% 40%); }
.ci-clock > i { left:16.67cqw;top:16.67cqw;width:66.67cqw;height:66.67cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-clock::before { left:48.33cqw;top:29.17cqw;width:3.33cqw;height:22.92cqw;background:currentColor; }
.ci-clock::after { left:50.0cqw;top:48.96cqw;width:16.67cqw;height:3.33cqw;background:currentColor; }
.ci-plate > i { left:20.83cqw;top:20.83cqw;width:58.33cqw;height:58.33cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-plate > b { left:33.33cqw;top:33.33cqw;width:33.33cqw;height:33.33cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-heart > b { left:20.83cqw;top:20.83cqw;width:58.33cqw;height:54.17cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 100%,6% 52%,0 30%,6% 12%,22% 2%,38% 4%,50% 18%,62% 4%,78% 2%,94% 12%,100% 30%,94% 52%); }
.ci-pin > i { left:29.17cqw;top:14.58cqw;width:41.67cqw;height:41.67cqw;border:var(--ci-t) solid currentColor;border-radius:50% 50% 50% 0;transform:rotate(-45deg);transform-origin:50% 50%; }
.ci-pin > b { left:42.71cqw;top:28.12cqw;width:14.58cqw;height:14.58cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-ask > i { left:16.67cqw;top:16.67cqw;width:66.67cqw;height:66.67cqw;border:var(--ci-t) solid currentColor;border-radius:50%; }
.ci-ask > b { left:16.67cqw;top:16.67cqw;width:66.67cqw;height:66.67cqw;display:grid;place-items:center; }
.ci-ask > b::after { content:'?';position:static;font:500 41.67cqw/1 Georgia,serif;color:currentColor; }
.ci-chat > i { left:14.58cqw;top:18.75cqw;width:70.83cqw;height:47.92cqw;border:var(--ci-t) solid currentColor;border-radius:4cqw; }
.ci-chat > b { left:27.08cqw;top:62.5cqw;width:18.75cqw;height:18.75cqw;border-left:var(--ci-t) solid currentColor;border-bottom:var(--ci-t) solid currentColor;background:transparent;transform:skewX(30deg); }
.ci-phone > i { left:31.25cqw;top:10.42cqw;width:37.5cqw;height:79.17cqw;border:var(--ci-t) solid currentColor;border-radius:4cqw; }
.ci-phone > b { left:43.75cqw;top:75.0cqw;width:12.5cqw;height:3.75cqw;background:currentColor;border-radius:1px; }
.ci-bank > i { left:12.5cqw;top:12.5cqw;width:75.0cqw;height:25.0cqw;background:linear-gradient(160deg,var(--i-acc2),currentColor);clip-path:polygon(50% 0,100% 100%,0 100%);opacity:.9; }
.ci-bank > b { left:18.75cqw;top:41.67cqw;width:62.5cqw;height:37.5cqw;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 25%);border-bottom:var(--ci-t) solid currentColor; }

/* Nubes en capas (Ensueño) */
.k-clouds { aspect-ratio: 400 / 150; }
.k-clouds i { inset: 0; }
.k-clouds i:nth-child(1) { background: radial-gradient(circle 10.5cqw at 5% 61%, var(--kc1) 98%, transparent), radial-gradient(circle 11.5cqw at 19.5% 52%, var(--kc1) 98%, transparent), radial-gradient(circle 10cqw at 35% 59%, var(--kc1) 98%, transparent), radial-gradient(circle 12cqw at 50% 47%, var(--kc1) 98%, transparent), radial-gradient(circle 10.5cqw at 65.5% 57%, var(--kc1) 98%, transparent), radial-gradient(circle 11.5cqw at 80.5% 49%, var(--kc1) 98%, transparent), radial-gradient(circle 11cqw at 96% 60%, var(--kc1) 98%, transparent), linear-gradient(transparent 60%, var(--kc1) 60%); }
.k-clouds i:nth-child(2) { background: radial-gradient(circle 10cqw at 0% 77%, var(--kc2) 98%, transparent), radial-gradient(circle 9.5cqw at 13% 69%, var(--kc2) 98%, transparent), radial-gradient(circle 9cqw at 28% 75%, var(--kc2) 98%, transparent), radial-gradient(circle 10cqw at 43% 67%, var(--kc2) 98%, transparent), radial-gradient(circle 9cqw at 59% 73%, var(--kc2) 98%, transparent), radial-gradient(circle 10cqw at 74% 67%, var(--kc2) 98%, transparent), radial-gradient(circle 9.5cqw at 89% 72%, var(--kc2) 98%, transparent), radial-gradient(circle 8.5cqw at 100% 76%, var(--kc2) 98%, transparent), linear-gradient(transparent 75%, var(--kc2) 75%); }
.k-clouds i:nth-child(3) { background: radial-gradient(circle 7cqw at 6% 89%, #fff 98%, transparent), radial-gradient(circle 6.5cqw at 18.5% 85%, #fff 98%, transparent), radial-gradient(circle 6.5cqw at 32% 91%, #fff 98%, transparent), radial-gradient(circle 7cqw at 46% 84%, #fff 98%, transparent), radial-gradient(circle 6.5cqw at 60% 89%, #fff 98%, transparent), radial-gradient(circle 7cqw at 74% 84%, #fff 98%, transparent), radial-gradient(circle 6.5cqw at 87.5% 89%, #fff 98%, transparent), radial-gradient(circle 6.5cqw at 99.5% 85%, #fff 98%, transparent), linear-gradient(transparent 89%, #fff 89%); }
.k-clouds { --kc1: color-mix(in srgb, var(--i-acc) 22%, #fff); --kc2: color-mix(in srgb, var(--i-acc) 10%, #fff); }

/* Quinceañera de espaldas (Ensueño) */
.k-girl { aspect-ratio: 300 / 420; --gd1: color-mix(in srgb, var(--i-acc) 30%, #fff); --gd2: color-mix(in srgb, var(--i-acc) 70%, #fff); --gd3: color-mix(in srgb, var(--i-acc) 85%, #000); --skin: #ebc5aa; --hair1: #3b2422; --hair2: #5a3630; }
.k-girl .skirt { left: 2%; top: 47.6%; width: 96%; height: 52%; background: linear-gradient(180deg, var(--gd1), var(--gd2) 55%, var(--gd3)); clip-path: polygon(58.0% 0.0%,59.2% 7.1%,61.0% 14.3%,63.2% 21.4%,65.7% 28.6%,68.5% 35.7%,71.4% 42.9%,74.5% 50.0%,77.7% 57.1%,81.1% 64.3%,84.7% 71.4%,88.3% 78.6%,92.1% 85.7%,96.0% 92.9%,100% 100.0%,97.6% 98.9%,95.2% 98.1%,92.9% 97.8%,90.5% 98.1%,88.1% 98.9%,85.7% 100.0%,83.3% 98.9%,81.0% 98.1%,78.6% 97.8%,76.2% 98.1%,73.8% 98.9%,71.4% 100.0%,69.0% 98.9%,66.7% 98.1%,64.3% 97.8%,61.9% 98.1%,59.5% 98.9%,57.1% 100.0%,54.8% 98.9%,52.4% 98.1%,50.0% 97.8%,47.6% 98.1%,45.2% 98.9%,42.9% 100.0%,40.5% 98.9%,38.1% 98.1%,35.7% 97.8%,33.3% 98.1%,31.0% 98.9%,28.6% 100.0%,26.2% 98.9%,23.8% 98.1%,21.4% 97.8%,19.0% 98.1%,16.7% 98.9%,14.3% 100.0%,11.9% 98.9%,9.5% 98.1%,7.1% 97.8%,4.8% 98.1%,2.4% 98.9%,0% 100.0%,4.0% 92.9%,7.9% 85.7%,11.7% 78.6%,15.3% 71.4%,18.9% 64.3%,22.3% 57.1%,25.5% 50.0%,28.6% 42.9%,31.5% 35.7%,34.3% 28.6%,36.8% 21.4%,39.0% 14.3%,40.8% 7.1%,42.0% 0.0%); }
.k-girl .skirt::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 15%, rgba(255, 255, 255, .22) 15% 15.6%); }
.k-girl .tulle { left: 19%; top: 47.6%; width: 62%; height: 32%; background: linear-gradient(180deg, rgba(255, 255, 255, .85), color-mix(in srgb, var(--i-acc) 24%, rgba(255, 255, 255, .6))); clip-path: polygon(59.0% 0.0%,60.3% 7.1%,61.9% 14.3%,63.7% 21.4%,65.7% 28.6%,67.7% 35.7%,69.9% 42.9%,72.1% 50.0%,74.3% 57.1%,76.7% 64.3%,79.0% 71.4%,81.5% 78.6%,83.9% 85.7%,86.4% 92.9%,89.0% 100.0%,86.8% 98.0%,84.7% 96.5%,82.5% 96.0%,80.3% 96.5%,78.2% 98.0%,76.0% 100.0%,73.8% 98.0%,71.7% 96.5%,69.5% 96.0%,67.3% 96.5%,65.2% 98.0%,63.0% 100.0%,60.8% 98.0%,58.7% 96.5%,56.5% 96.0%,54.3% 96.5%,52.2% 98.0%,50.0% 100.0%,47.8% 98.0%,45.7% 96.5%,43.5% 96.0%,41.3% 96.5%,39.2% 98.0%,37.0% 100.0%,34.8% 98.0%,32.7% 96.5%,30.5% 96.0%,28.3% 96.5%,26.2% 98.0%,24.0% 100.0%,21.8% 98.0%,19.7% 96.5%,17.5% 96.0%,15.3% 96.5%,13.2% 98.0%,11.0% 100.0%,13.6% 92.9%,16.1% 85.7%,18.5% 78.6%,21.0% 71.4%,23.3% 64.3%,25.7% 57.1%,27.9% 50.0%,30.1% 42.9%,32.3% 35.7%,34.3% 28.6%,36.3% 21.4%,38.1% 14.3%,39.7% 7.1%,41.0% 0.0%); }
.k-girl .arm { top: 35.5%; width: 1.9%; height: 17%; border-radius: 99px; background: var(--skin); }
.k-girl .arm.l { left: 35%; transform: rotate(18deg); transform-origin: top; }
.k-girl .arm.r { left: 63.2%; transform: rotate(-6deg); transform-origin: top; }
.k-girl .back { left: 37.5%; top: 29%; width: 25%; height: 8%; border-radius: 40% 40% 20% 20%; background: var(--skin); }
.k-girl .bodice { left: 37.5%; top: 33.5%; width: 25%; height: 15.5%; background: linear-gradient(180deg, var(--gd2), var(--gd3)); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); border-radius: 30% 30% 0 0 / 12% 12% 0 0; }
.k-girl .bodice::before { content: ""; position: absolute; left: -8%; right: -8%; top: 0; height: 18%; background: var(--gd1); border-radius: 99px; }
.k-girl .neck { left: 47.5%; top: 22%; width: 5%; height: 8%; background: var(--skin); }
.k-girl .hair { left: 41.5%; top: 11.5%; width: 17%; height: 37.5%; border-radius: 50% 50% 46% 46% / 22% 22% 78% 78%; background: linear-gradient(180deg, var(--hair1), var(--hair2)); }
.k-girl .hair::after { content: ""; position: absolute; left: 30%; top: 12%; width: 40%; height: 80%; border-left: 1px solid rgba(255, 255, 255, .16); border-right: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; }
.k-girl .tiara { left: 44%; top: 9.6%; width: 12%; height: 3.6%; background: linear-gradient(90deg, #f6e3a8, #fff6d8, #f6e3a8); clip-path: polygon(0 100%, 8% 30%, 22% 70%, 36% 10%, 50% 60%, 64% 10%, 78% 70%, 92% 30%, 100% 100%); }
.k-girl .spark { width: 3.6%; aspect-ratio: 1; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.k-girl .s1 { left: 22%; top: 84%; } .k-girl .s2 { left: 74%; top: 72%; width: 3%; } .k-girl .s3 { left: 49%; top: 62%; width: 2.6%; }
@media (prefers-reduced-motion: no-preference) { .k-girl .spark { animation: ktw 2.4s ease-in-out infinite alternate; } .k-girl .s2 { animation-delay: .8s; } .k-girl .s3 { animation-delay: 1.5s; } }
@keyframes ktw { from { opacity: .3; transform: scale(.6); } to { opacity: 1; transform: scale(1.1); } }

/* Filigrana de esquina (Orilla) */
.k-fil { aspect-ratio: 1; color: rgba(255, 255, 255, .92); }
.k-fil i { border: 1.3px solid currentColor; border-radius: 50%; }
.k-fil .c1 { left: 4%; top: 4%; width: 92%; height: 92%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(0deg); }
.k-fil .c2 { left: 52%; top: 0%; width: 24%; height: 24%; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.k-fil .c3 { left: 0%; top: 52%; width: 24%; height: 24%; border-top-color: transparent; border-right-color: transparent; transform: rotate(-10deg); }
.k-fil .c4 { left: 16%; top: 16%; width: 46%; height: 46%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(8deg); }
.k-fil .lf { width: 11%; aspect-ratio: 1; border: 0; border-radius: 0 100% 0 100%; background: currentColor; }
.k-fil .l1 { left: 30%; top: 22%; transform: rotate(-20deg); } .k-fil .l2 { left: 22%; top: 30%; transform: rotate(110deg); }
.k-fil b { width: 2.6%; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.k-fil .d1 { left: 74%; top: 8%; } .k-fil .d2 { left: 8%; top: 74%; } .k-fil .d3 { left: 40%; top: 40%; width: 2%; }

/* Esquinas con rombo y voluta central (Ensueño) */
.k-corn { aspect-ratio: 1; color: rgba(255, 255, 255, .9); }
.k-corn i { background: currentColor; }
.k-corn i:nth-child(1) { left: 30%; top: 30%; width: 70%; height: 1px; } .k-corn i:nth-child(2) { left: 30%; top: 30%; width: 1px; height: 70%; }
.k-corn b { left: 16%; top: 16%; width: 22%; aspect-ratio: 1; border: 1px solid currentColor; transform: rotate(45deg); box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px currentColor; }
.k-scroll { aspect-ratio: 200 / 40; color: rgba(255, 255, 255, .9); }
.k-scroll i { top: 49%; height: 1px; width: 38%; background: currentColor; }
.k-scroll i:nth-child(1) { left: 0; background: linear-gradient(90deg, transparent, currentColor); } .k-scroll i:nth-child(2) { right: 0; background: linear-gradient(270deg, transparent, currentColor); }
.k-scroll b { left: 50%; top: 50%; width: 7%; aspect-ratio: 1; border: 1px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); background: currentColor; box-shadow: -9cqw 0 0 -1.5cqw currentColor, 9cqw 0 0 -1.5cqw currentColor; }

/* Sello de lacre */
.k-seal { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--s-sealc, var(--i-gold)) 45%, #fff), var(--s-sealc, var(--i-gold)) 55%, color-mix(in srgb, var(--s-sealc, var(--i-gold)) 75%, #000));
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--s-sealc, var(--i-gold)) 80%, #000), inset 0 0 0 5px color-mix(in srgb, var(--s-sealc, var(--i-gold)) 55%, #fff), 0 4px 10px -3px rgba(0, 0, 0, .35); }
.k-seal::before { content: ""; position: absolute; inset: -5%; border-radius: 50%; background: repeating-conic-gradient(var(--s-sealc, var(--i-gold)) 0 10deg, transparent 10deg 20deg); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); mask: radial-gradient(circle, transparent 66%, #000 67%); opacity: .9; }
.k-seal b { position: relative; font: 500 clamp(14px, 32%, 26px)/1 var(--i-serif); color: color-mix(in srgb, var(--s-sealc, var(--i-gold)) 30%, #000); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); letter-spacing: .02em; font-size: 1.1em; }

/* Lazo de satén */
.k-bow { position: absolute; display: block; }
.k-bow i, .k-bow b { position: absolute; display: block; }
.k-bow .lp { top: 6%; width: 44%; height: 50%; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--i-acc) 70%, #fff), var(--i-acc) 60%, color-mix(in srgb, var(--i-acc) 80%, #000)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.k-bow .lp.l { left: 4%; transform: rotate(-18deg); } .k-bow .lp.r { right: 4%; transform: rotate(18deg); }
.k-bow .tl { top: 40%; width: 16%; height: 56%; background: linear-gradient(180deg, var(--i-acc), color-mix(in srgb, var(--i-acc) 80%, #000)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); }
.k-bow .tl.l { left: 34%; transform: rotate(20deg); } .k-bow .tl.r { right: 34%; transform: rotate(-20deg); }
.k-bow b { left: 42%; top: 24%; width: 16%; height: 24%; border-radius: 40%; background: linear-gradient(180deg, color-mix(in srgb, var(--i-acc) 80%, #fff), var(--i-acc)); }

/* Detalles en CSS que reemplazan trazos: flecha de «Desliza», corazón del calendario, ola de la portada */
.s-swipe .k-arrow { display: block; width: 1px; height: 18px; background: currentColor; position: relative; margin: 2px auto 0; }
.s-swipe .k-arrow::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.s-cal-g .on .k-heart { position: absolute; inset: 0; margin: auto; width: 34px; height: 32px; background: linear-gradient(160deg, var(--i-acc2), var(--i-acc)); clip-path: polygon(50% 100%, 6% 52%, 0 30%, 6% 12%, 22% 2%, 38% 4%, 50% 18%, 62% 4%, 78% 2%, 94% 12%, 100% 30%, 94% 52%); }
.s-hero.k-wave { clip-path: ellipse(120% 100% at 50% 0); }
.s-ph.k-noph { background: linear-gradient(160deg, var(--i-g1), var(--i-g3)); }
.s-ph.k-noph::before { content: ""; position: absolute; left: 50%; top: 30%; width: 22%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: linear-gradient(180deg, color-mix(in srgb, var(--i-gold) 60%, #fff), var(--i-gold)); }
.s-ph.k-noph::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 45%; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--i-acc) 45%, #fff), var(--i-acc)); }
/* Ajustes de los adornos CSS dentro de la invitación */
.s-ico.ci { display: block; width: clamp(40px, 13cqi, 58px); height: auto; aspect-ratio: 1; margin-inline: auto; }
.s-split .s-ico.ci { width: 9cqi; }
.s-tl-i .ci { width: 28px; height: 28px; }
.s-dressicons .ci { width: 52px; height: 52px; }
.i-gico .ci { width: 28px; height: 28px; }
.i-notice > .ci { width: 44px; height: 44px; }
.s-venue.filled .ci { color: var(--i-on-acc); }
.s-anim .s-rv .s-ico.ci { transform: scale(.6) rotate(-8deg); opacity: 0; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .2s, opacity .8s .2s; }
.s-anim .s-rv.in .s-ico.ci { transform: none; opacity: 1; }
.s-pair > .cs { flex: none; }
.s-bfs .cs { width: 8cqi; } .s-bfs .cs + .cs { width: 6cqi; transform: scaleX(-1) rotate(-12deg); }
.s-fly .cs { width: 100%; }
.s-arc { display: block; width: auto; font-family: var(--i-script); font-size: clamp(18px, 6.4cqi, 30px); line-height: 1.1; color: var(--i-acc); }
.s-arc.up { transform: rotate(-3deg); } .s-arc.dn { transform: rotate(3deg); margin-top: 1cqi; }
.s-bow { display: block; aspect-ratio: 200 / 150; filter: none; }
.s-bow .k-bow { inset: 0; }
.k-envarrow { display: block; aspect-ratio: 130 / 90; }
.k-envarrow::before { content: ""; position: absolute; left: 4%; top: 22%; width: 86%; height: 140%; border: 2px dashed var(--i-gold); border-color: var(--i-gold) transparent transparent var(--i-gold); border-radius: 50%; transform: rotate(8deg); }
.k-envarrow i { position: absolute; right: 2%; top: 16%; width: 12%; aspect-ratio: 1; border-top: 2px solid var(--i-gold); border-right: 2px solid var(--i-gold); transform: rotate(50deg); }
.s-go .k-arrow { display: block; width: 1.6px; height: 14px; background: currentColor; position: relative; margin: 0 auto 2px; }
.s-go .k-arrow::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.k-post { display: grid !important; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 50%; border: 2px solid currentColor; box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px currentColor; line-height: 1.1; text-align: center; }
.k-post small { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; } .k-post b { font-weight: 500; font-size: 14px; }
.i-tick .k-check { display: block; width: 10px; height: 5.5px; border-left: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.i-ch-ico .ci { width: 26px; height: 26px; color: currentColor; }
.i-choice.yes:has(input:checked) .i-ch-ico .ci { animation: ibeat 1.3s .2s ease-in-out; }
.i-music .ci { width: 22px; height: 22px; color: currentColor; }
.s-env-seal .k-seal, .i-env-seal .k-seal { width: 100%; }
.ci-check > i { left: 16.67cqw; top: 16.67cqw; width: 66.67cqw; height: 66.67cqw; border: var(--ci-t) solid currentColor; border-radius: 50%; }
.ci-check > b { left: 35cqw; top: 31cqw; width: 18cqw; height: 32cqw; border-right: var(--ci-t) solid currentColor; border-bottom: var(--ci-t) solid currentColor; transform: rotate(45deg); }
.ci-qr > i { left: 10cqw; top: 10cqw; width: 80cqw; height: 80cqw; background: conic-gradient(from 90deg at 2.5cqw 2.5cqw, transparent 25%, currentColor 0) 0 0 / 50% 50%; -webkit-mask: radial-gradient(transparent 0 0); }
.ci-qr > i { background: linear-gradient(currentColor, currentColor) 0 0 / 30% 30% no-repeat, linear-gradient(currentColor, currentColor) 100% 0 / 30% 30% no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 30% 30% no-repeat, linear-gradient(currentColor, currentColor) 70% 70% / 12% 12% no-repeat, linear-gradient(currentColor, currentColor) 100% 100% / 12% 12% no-repeat, linear-gradient(currentColor, currentColor) 70% 100% / 12% 12% no-repeat; -webkit-mask: none; mask: none; opacity: .85; }
.ci-qr > b { left: 15cqw; top: 15cqw; width: 14cqw; height: 14cqw; background: var(--papel, #fff); box-shadow: 56cqw 0 0 var(--papel, #fff), 0 56cqw 0 var(--papel, #fff); }

/* =====================================================================
   XV años · v7 — estilo «Mis XV años»
   Una sola familia tipográfica en todos los diseños de XV: Great Vibes para el nombre y los títulos,
   Lora para los textos. Rótulos en versalitas espaciadas, filas de adornos ✢ con líneas finas.
   Portada adaptable (.s-q7): en celular, foto arriba con borde curvo y datos debajo; desde 880 px de
   ancho, la foto ocupa la mitad izquierda a toda la altura y los datos la mitad derecha.
   El resto de la invitación va en una columna legible (.s-body) centrada sobre el degradado.
   ===================================================================== */
.inv-root.xv7 .inv { max-width: none; box-shadow: none; }
.inv-root.xv7 .s-body { container-type: inline-size; max-width: 680px; margin-inline: auto; }
.inv-root.xv7 .s-cwrap { container-type: inline-size; max-width: 560px; margin-inline: auto; }

/* Fila de adornos: ✢ — ✢ — ✢ */
.s-orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--i-gold); font: 400 12px/1 'Lora', Georgia, serif; -webkit-text-fill-color: var(--i-gold); }
.s-orn > span:nth-child(3) { font-size: 17px; }
.s-orn > i { width: clamp(34px, 11cqi, 64px); height: 1px; background: linear-gradient(90deg, transparent, var(--i-gold)); opacity: .75; }
.s-orn > i:last-of-type { background: linear-gradient(270deg, transparent, var(--i-gold)); }

/* ---------- Portada ---------- */
.i-cover.s-cover.s-q7 { display: grid; grid-template-columns: 1fr; align-content: start; justify-items: stretch; min-height: 0; padding: 0 0 13cqi; text-align: center; }
.i-cover.s-q7 > .i-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.s-q7-ph { position: relative; }
.s-q7-img { position: relative; overflow: hidden; background: var(--i-g2); }
.s-q7-img > .s-ph { position: absolute; inset: 0; }
.s-q7-tx { display: grid; justify-items: center; align-content: center; gap: 4.2cqi; padding: 9cqi 7cqi 0; }
.s-q7 .s-q7-k { font: 500 13px/1.3 var(--i-serif); letter-spacing: .3em; text-transform: uppercase; color: var(--i-ink); margin: 0; }
.s-q7 .s-q7-n { font-family: var(--i-script); font-size: clamp(76px, 25cqi, 132px); line-height: .92; padding: .06em .12em .1em; margin: -1cqi 0; color: var(--i-acc); text-shadow: none; }
.s-q7 .s-q7-s { font: 300 15px/1.3 var(--i-serif); letter-spacing: .3em; text-transform: uppercase; color: var(--i-ink); margin: 0; padding-left: .3em; }
.s-q7 .s-q7-p { font: italic 400 17px/1.65 var(--i-serif); color: var(--i-muted); max-width: 30ch; margin: 0; }
.s-q7 .s-q7-d { font: 400 15px/1.4 var(--i-serif); letter-spacing: .06em; color: var(--i-ink); margin: 0; }
.s-q7 .s-swipe { margin-top: 2cqi; font-family: var(--i-serif); font-weight: 500; }

/* Formas de la foto */
.s-q7-curve .s-q7-img { height: min(124cqi, 64svh); clip-path: ellipse(125% 100% at 50% 0%); }
.s-q7-arch .s-q7-ph, .s-q7-frame .s-q7-ph, .s-q7-circle .s-q7-ph { width: 70cqi; margin: 13cqi auto 0; }
.s-q7-arch .s-q7-img { aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; outline: 1px solid color-mix(in srgb, var(--i-gold) 80%, transparent); outline-offset: 9px; }
.s-q7-frame .s-q7-img { aspect-ratio: 4 / 5; border-radius: 4px; outline: 1px solid color-mix(in srgb, var(--i-gold) 80%, transparent); outline-offset: 10px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-gold) 45%, transparent); }
.s-q7-frame .s-fc { width: 46%; z-index: 2; }
.s-q7-frame .s-fc.tl { top: -14%; left: -18%; }
.s-q7-frame .s-fc.br { bottom: -16%; right: -18%; }
.s-q7-circle .s-q7-ph { width: 66cqi; margin-top: 16cqi; }
.s-q7-circle .s-q7-img { aspect-ratio: 1; border-radius: 50%; outline: 1px solid color-mix(in srgb, var(--i-gold) 80%, transparent); outline-offset: 8px; }
.s-q7-circle .s-wreath { inset: -17%; width: 134%; height: 134%; z-index: 2; }
.s-q7-circle:not(:has(.s-wreath)) .s-q7-img { outline-offset: 12px; }

/* En pantallas anchas: foto a la izquierda, datos a la derecha */
@container (min-width: 880px) {
  .i-cover.s-cover.s-q7 { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 100svh; padding: 0; }
  .s-q7-tx { gap: clamp(16px, 2.2cqi, 30px); padding: 8svh 5cqi; }
  .s-q7 .s-q7-k { font-size: 15px; }
  .s-q7 .s-q7-n { font-size: clamp(110px, 11cqi, 172px); margin: -.6cqi 0; }
  .s-q7 .s-q7-s { font-size: clamp(16px, 1.45cqi, 21px); }
  .s-q7 .s-q7-p { font-size: clamp(18px, 1.5cqi, 21px); max-width: 26em; }
  .s-q7 .s-q7-d { font-size: 17px; }
  .s-orn > i { width: clamp(48px, 4.6cqi, 80px); }
  .s-q7-curve .s-q7-ph { min-height: 100svh; }
  .s-q7-curve .s-q7-img { position: absolute; inset: 0; height: auto; clip-path: ellipse(100% 150% at 0% 50%); }
  .s-q7-arch .s-q7-ph, .s-q7-frame .s-q7-ph, .s-q7-circle .s-q7-ph { align-self: center; justify-self: center; margin: 8svh auto; }
  .s-q7-arch .s-q7-ph, .s-q7-frame .s-q7-ph { width: min(29cqi, 58svh); }
  .s-q7-circle .s-q7-ph { width: min(30cqi, 58svh); }
  .inv-root.sig .i-cover.s-cover.s-q7:not(.s-q7-curve) { background: linear-gradient(90deg, color-mix(in srgb, var(--i-acc) 7%, var(--i-g2)) 0 50%, transparent 50%), linear-gradient(165deg, var(--i-g1) 0%, var(--i-g2) 55%, var(--i-g3) 100%); }
  .inv-root.xv7 .s-cwrap { display: none; }
  .inv-root .i-cover.s-cover.s-q7.s-q7-desk { display: grid; }
}

/* Aparición de los adornos de la portada */
.s-anim .s-cover .s-orn { opacity: 0; }
.s-anim.s-live .s-cover .s-orn { opacity: 1; animation: sfade 1.2s .9s both; }
.s-anim.s-live .s-cover .s-orn ~ .s-orn { animation-delay: 2.1s; }
.s-anim .s-q7 .s-q7-img { opacity: 0; }
.s-anim.s-live .s-q7 .s-q7-img { opacity: 1; animation: sfade 1.2s both; }

/* ---------- Secciones ---------- */
.inv-root.xv7 .s-sec > .s-ico { display: none; }
.inv-root.xv7 .s-title { font-size: clamp(42px, 12.5cqi, 64px); line-height: 1.08; padding: 0 .1em .08em; }
.inv-root.xv7 .s-title::before { content: "✢"; display: block; width: min(230px, 62cqi); margin: 0 auto .42em; font: 400 15px/1 'Lora', Georgia, serif; letter-spacing: 0; text-align: center; color: var(--i-gold); -webkit-text-fill-color: var(--i-gold);
  background: linear-gradient(90deg, transparent, var(--i-gold)) left center / 40% 1px no-repeat, linear-gradient(270deg, transparent, var(--i-gold)) right center / 40% 1px no-repeat; }
.inv-root.xv7 .s-venue .s-title::before, .inv-root.xv7 .s-band .s-title::before { content: none; }
.inv-root.xv7 .s-venue .s-title { font-size: clamp(36px, 10.5cqi, 52px); }
.inv-root.xv7 :is(.s-kick, .s-sur, .s-swipe, .s-role) { font-family: var(--i-serif); }
.inv-root.xv7 :is(.s-p, .s-phrase) { font-size: clamp(17px, 4.6cqi, 19px); line-height: 1.7; }
.inv-root.xv7 .s-sec { gap: 3.6cqi; }
.inv-root.xv7 .s-gran .s-script.huge { font-size: clamp(46px, 13cqi, 70px); }
@container (min-width: 640px) {
  .inv-root.xv7 .s-countphoto { min-height: 520px; border-radius: 24px; margin: 3cqi 0; }
  .inv-root.xv7 .s-sec { padding-block: 9cqi; }
}
@media (prefers-reduced-motion: reduce) {
  .s-anim .s-cover .s-orn, .s-anim .s-q7 .s-q7-img { opacity: 1; animation: none; }
}
.s-q7 .s-q7-n > span { display: inline-block; padding: .2em .22em .14em; margin: -.2em -.22em -.14em; }
.s-q7 .s-swipe { color: color-mix(in srgb, var(--i-ink) 62%, transparent); }
/* Portada dividida solo para computadora (diseños con portada propia en celular) */
.i-cover.s-cover.s-q7.s-q7-desk { display: none; }
.inv-root[data-template="clasica"] .s-q7 .s-ph img { filter: grayscale(1) contrast(1.04); }
/* Paralaje: la foto se mueve solo en la portada curva; en arco, marco y círculo queda quieta */
.s-q7-curve .s-q7-img > .s-ph { inset: -12% 0 0; height: auto; }
.s-q7:not(.s-q7-curve) .s-ph { transform: none !important; }
/* Miniaturas del catálogo y del panel: foto más baja para que se vea el nombre */
.s-q7.compact { padding-bottom: 6cqi; }
.s-q7.compact .s-q7-tx { padding-top: 6cqi; gap: 3cqi; }
.s-q7-curve.compact .s-q7-img { height: 86cqi; }
.s-q7-arch.compact .s-q7-ph, .s-q7-frame.compact .s-q7-ph { width: 50cqi; margin-top: 10cqi; }
.s-q7-circle.compact .s-q7-ph { width: 48cqi; margin-top: 12cqi; }
.s-q7.compact .s-q7-n { font-size: 22cqi; }

/* =====================================================================
   Confirmación de asistencia (versión 7.1): solo una tarjeta con su botón.
   Al tocarlo se abre una ventana con dos opciones: «¡Sí, asistiré!» y «No podré asistir».
   ===================================================================== */
.i-rsvp-card { width: min(100%, 520px); margin: 0 auto; padding: 30px 24px 32px; border-radius: 16px; display: grid; justify-items: center; gap: 10px; text-align: center;
  background: linear-gradient(135deg, var(--i-acc) 0%, color-mix(in srgb, var(--i-acc) 80%, var(--i-gold)) 100%); color: var(--i-on-acc, #fff); box-shadow: 0 24px 50px -34px color-mix(in srgb, var(--i-acc) 70%, #000); }
.inv-root .i-rsvp-card .i-rsvp-t { margin: 0; font-family: var(--i-script); font-weight: 400; font-size: clamp(40px, 11cqi, 58px); line-height: 1.12; letter-spacing: 0; text-transform: none; color: inherit; -webkit-text-fill-color: currentColor; background: none; padding: 0 .12em .06em; }
.i-rsvp-s { margin: 0; font: italic 400 17px/1.5 var(--i-serif); opacity: .94; max-width: 32ch; }
.i-rsvp-btn { margin-top: 12px; min-width: min(100%, 290px); min-height: 58px; padding: 14px 30px; border: 0; border-radius: 11px; background: #fff; color: var(--i-acc-ink, var(--i-acc)); font: 500 17px/1.2 var(--i-serif); cursor: pointer; display: inline-grid; place-items: center; box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .45); transition: transform .2s, box-shadow .2s; }
.i-rsvp-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.i-rsvp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.i-modal.i-rsvp-wrap .i-modal-box { width: min(520px, 100%); padding: 0; gap: 0; border-radius: 16px; overflow: hidden; background: var(--i-paper); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); animation: rsvpin .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rsvpin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.i-rsvp-mh { padding: 32px 24px 26px; text-align: center; background: color-mix(in srgb, var(--i-ink) 3%, var(--i-paper)); }
.i-rsvp-m .i-rsvp-mh h2 { margin: 0; font-family: var(--i-script); font-weight: 400; font-size: clamp(38px, 10vw, 50px); line-height: 1.12; color: var(--i-ink); }
.i-rsvp-mh p { margin: 6px 0 0; font: italic 400 17px/1.5 var(--i-serif); color: var(--i-muted); }
.i-rsvp-mb { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px; background: color-mix(in srgb, #fff 70%, var(--i-paper)); }
.inv-root.is-dark .i-rsvp-mb { background: var(--i-paper); }
.i-rsvp-mb button { min-height: 52px; padding: 10px 12px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 15.5px/1.2 var(--i-serif); cursor: pointer; transition: filter .2s, transform .2s; }
.i-rsvp-mb button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.i-rsvp-mb .yes { background: var(--i-acc); border: 2px solid var(--i-acc); color: var(--i-on-acc, #fff); }
.i-rsvp-mb .no { background: transparent; border: 2px solid color-mix(in srgb, var(--i-ink) 78%, transparent); color: var(--i-ink); }
.i-rsvp-mb .k-ok { width: 12px; height: 6.5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); flex: none; }
.i-rsvp-mb .k-no { position: relative; width: 12px; height: 12px; flex: none; }
.i-rsvp-mb .k-no::before, .i-rsvp-mb .k-no::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.i-rsvp-mb .k-no::after { transform: translate(-50%, -50%) rotate(-45deg); }
.i-rsvp-m .i-err { margin: 0; padding: 0 24px 20px; text-align: center; }
@media (max-width: 340px) { .i-rsvp-mb { grid-template-columns: 1fr; } }
.i-rsvp-mb { padding: 22px 20px; gap: 10px; }
.i-rsvp-mb button { white-space: nowrap; padding: 10px 6px; gap: 8px; font-size: clamp(14px, 3.9vw, 15.5px); }

/* =====================================================================
   v7.2 · Nombres bien encuadrados
   La letra caligráfica tiene trazos (la «C» de Camila, la «R») que salen de su caja; con el texto en degradado
   esa parte quedaba cortada y el nombre se veía corrido. Se da aire a cada nombre sin mover el diseño.
   ===================================================================== */
.inv-root.sig .s-name > span:not(.amp) { padding: .24em .3em .18em; margin: -.24em -.3em -.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.inv-root.sig :is(.s-title, .s-script, .s-name, .i-rsvp-t) { word-spacing: .12em; }
.inv-root.sig .s-title { padding-top: .14em; margin-top: -.14em; }
.inv-root.sig .s-script { padding: .12em .2em .08em; margin: -.12em -.2em -.08em; }
/* Padres y padrinos: columnas más anchas, cada nombre en dos líneas parejas cuando no entra */
.inv-root.sig .s-cols { max-width: 560px; }
.inv-root.sig .s-cols > div { padding: 0 4cqi; display: grid; align-content: end; justify-items: center; gap: 4px; }
.inv-root.sig .s-cols .s-script { overflow-wrap: normal; text-wrap: balance; line-height: 1.18; }

/* =====================================================================
   v7.4 · Lugares en tarjetas: foto opcional arriba con esquineros finos, título caligráfico entre filetes,
   lugar, día y hora, dirección y botón «Ver mapa». Sin foto, la tarjeta queda solo con los datos.
   Hojas de helecho dibujadas con CSS en las esquinas de abajo.
   ===================================================================== */
.i-sec.s-venues.s-v2 { display: grid; gap: 7cqi; padding: 11cqi 5cqi 10cqi; }
.s-vhead { display: grid; justify-items: center; gap: 2.6cqi; text-align: center; }
.inv-root .s-vhead .s-title::before { content: none; }
.s-vpin { display: flex; align-items: center; gap: 14px; color: var(--i-gold); }
.s-vpin::before, .s-vpin::after { content: ""; width: clamp(54px, 20cqi, 96px); height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: .75; }
.s-vpin::after { transform: scaleX(-1); }
.s-vpin i { position: relative; width: 19px; height: 19px; border: 1.6px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-bottom: 4px; }
.s-vpin i::after { content: ""; position: absolute; inset: 4.5px; border-radius: 50%; border: 1.4px solid currentColor; }
.inv-root .s-vhead .s-p { max-width: 30ch; font-style: normal; font-size: clamp(17px, 4.9cqi, 22px); line-height: 1.5; color: var(--i-ink); }
.s-vlist { display: grid; gap: 6cqi; width: 100%; max-width: 620px; margin-inline: auto; }
.s-vcard { position: relative; overflow: hidden; border-radius: 18px; text-align: center; background: color-mix(in srgb, var(--i-paper) 92%, #fff);
  border: 1px solid color-mix(in srgb, var(--i-gold) 32%, transparent); box-shadow: 0 24px 44px -32px color-mix(in srgb, var(--i-ink) 60%, transparent); }
.inv-root.is-dark .s-vcard { background: color-mix(in srgb, var(--i-paper) 92%, #fff 8%); }
.s-vc-ph { position: relative; aspect-ratio: 16 / 7.4; overflow: hidden; background: var(--i-g2); }
.s-vc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-vc-cn { position: absolute; top: 8%; width: 9%; aspect-ratio: 1; border-top: 1.5px solid color-mix(in srgb, var(--i-gold) 80%, #fff); opacity: .95; }
.s-vc-cn.l { left: 4%; border-left: 1.5px solid color-mix(in srgb, var(--i-gold) 80%, #fff); }
.s-vc-cn.r { right: 4%; border-right: 1.5px solid color-mix(in srgb, var(--i-gold) 80%, #fff); }
.s-vc-body { position: relative; display: grid; justify-items: center; gap: 2.8cqi; padding: 7cqi 7cqi 9cqi; }
.s-vcard:not(.has-ph) .s-vc-body { padding-top: 9cqi; }
.s-vc-orn { display: block; width: min(250px, 62%); height: 7px; opacity: .8;
  background: radial-gradient(circle, var(--i-gold) 0 1.5px, transparent 2px) center / 7px 7px no-repeat,
    linear-gradient(90deg, transparent 0%, var(--i-gold) 38%, transparent 44%, transparent 56%, var(--i-gold) 62%, transparent 100%) center / 100% 1px no-repeat; }
.inv-root .s-vc-t { margin: 0; padding: .12em .2em .04em; font-family: var(--i-script); font-weight: 400; font-size: clamp(38px, 11.5cqi, 58px); line-height: 1.12; word-spacing: .12em; color: var(--i-acc-text, var(--i-acc)); }
.s-vc-place { margin: 1.4cqi 0 0; font: 500 clamp(19px, 5.4cqi, 25px)/1.3 var(--i-serif); color: var(--i-ink); text-wrap: balance; }
.s-vc-when { margin: 0; font: 600 clamp(16px, 4.5cqi, 20px)/1.4 var(--i-serif); color: var(--i-acc-text, var(--i-acc)); }
.s-vc-addr { margin: 0; max-width: 32ch; font: 400 clamp(15px, 4.2cqi, 18px)/1.5 var(--i-serif); color: var(--i-muted); text-wrap: balance; }
.s-vc-acts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin-top: 3.4cqi; }
.s-vc-btn { display: inline-grid; place-items: center; min-height: 46px; padding: 10px 30px; border-radius: 6px; background: var(--i-acc-btn, var(--i-acc)); color: var(--i-on-acc-btn, var(--i-on-acc)); font: 600 14px/1 'Manrope', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 12px 22px -14px var(--i-acc); transition: transform .2s, filter .2s; }
.s-vc-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.s-vc-link { font: 500 15px/1 var(--i-serif); color: var(--i-acc-text, var(--i-acc)); text-decoration: underline; text-underline-offset: 4px; }
.s-vc-fern { position: absolute; bottom: -2%; width: 21%; aspect-ratio: 1; color: var(--i-gold); opacity: .5; pointer-events: none; z-index: 0; }
.s-vc-fern.l { left: 2%; }
.s-vc-fern.r { right: 2%; transform: scaleX(-1); }
.s-vc-fern i { position: absolute; left: 44%; bottom: 0; width: 22%; height: 66%; border: 1.1px solid currentColor; border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; transform-origin: 50% 100%; transform: rotate(var(--a)); }
.s-vc-fern i::after { content: ""; position: absolute; left: 50%; top: 10%; bottom: 0; width: 1px; background: currentColor; opacity: .7; }
.s-vc-fern i:nth-child(1) { --a: -58deg; height: 46%; }
.s-vc-fern i:nth-child(2) { --a: -30deg; height: 60%; }
.s-vc-fern i:nth-child(3) { --a: -4deg; height: 74%; }
.s-vc-fern i:nth-child(4) { --a: 24deg; height: 58%; }
.s-vc-fern i:nth-child(5) { --a: 50deg; height: 42%; }
@container (min-width: 600px) {
  .s-vc-body { gap: 16px; padding: 40px 48px 52px; }
  .s-vcard:not(.has-ph) .s-vc-body { padding-top: 52px; }
  .s-vc-fern { width: 120px; }
}

/* =====================================================================
   v7.5 · Efectos 3D (clase .fx3d en la invitación; se apagan desde el panel o con «reducir movimiento»)
   1) Tarjetas que se inclinan con el mouse o al girar el celular, con un brillo que sigue la luz.
   2) Las secciones entran en 3D (se despliegan desde abajo o giran desde los lados).
   3) Cuenta regresiva con fichas que voltean como un reloj de estación.
   4) Galería «Momentos» en carrusel 3D que gira solo y se arrastra.
   ===================================================================== */
.fx3d :is([data-tilt], .i-rsvp-card, .i-gcard, .s-q7-arch .s-q7-img, .s-q7-frame .s-q7-img, .s-q7-circle .s-q7-img) {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s; }
.fx3d .tilting { transition: transform .1s linear, box-shadow .3s; box-shadow: calc(var(--px, 0) * -18px) calc(18px + var(--py, 0) * -12px) 40px -22px color-mix(in srgb, var(--i-ink) 55%, transparent); }
.fx3d :is(.i-rsvp-card, .i-gcard) { position: relative; overflow: hidden; }
.s-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; opacity: var(--go, 0); transition: opacity .5s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 52%); mix-blend-mode: soft-light; }
.fx3d .s-vc-ph img { transform: scale(1.1) translate(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.fx3d .tilting .s-vc-ph img { transition-duration: .1s; }

/* Entradas en 3D */
.s-anim .s-rv[data-rv="fold"]:not(.in) { transform: translateY(44px); }
.s-anim.fx3d .s-rv[data-rv="fold"]:not(.in) { transform: perspective(1000px) rotateX(48deg) translateY(60px) scale(.94); transform-origin: 50% 100%; }
.s-anim.fx3d .s-rv[data-rv="up"]:not(.in) { transform: perspective(1200px) rotateX(26deg) translateY(50px); transform-origin: 50% 100%; }
.s-anim.fx3d .s-rv[data-rv="zoom"]:not(.in) { transform: perspective(1200px) translateZ(-180px); }
.s-anim.fx3d .s-rv[data-rv="left"]:not(.in) { transform: perspective(1200px) rotateY(28deg) translateX(-30px); transform-origin: 0 50%; }
.s-anim.fx3d .s-rv[data-rv="right"]:not(.in) { transform: perspective(1200px) rotateY(-28deg) translateX(30px); transform-origin: 100% 50%; }
.s-anim.fx3d .s-rv.s-vcard { transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.2, .8, .2, 1); }

/* Cuenta regresiva con fichas que voltean */
.inv-root.fx3d .s-count { perspective: 600px; gap: 10px; }
.inv-root.fx3d .s-count > div { border: 0; padding: 0; }
.inv-root.fx3d .s-count b { position: relative; display: inline-grid; place-items: center; min-width: 2.1em; padding: .18em .2em .14em; border-radius: 10px; transform-style: preserve-3d;
  background: linear-gradient(180deg, color-mix(in srgb, var(--i-paper) 70%, #fff) 0 49.4%, color-mix(in srgb, var(--i-ink) 14%, transparent) 49.5% 50.5%, color-mix(in srgb, var(--i-paper) 86%, var(--i-ink) 6%) 50.6% 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 20px -14px color-mix(in srgb, var(--i-ink) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--i-gold) 35%, transparent);
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--i-acc); color: var(--i-acc); }
.inv-root.fx3d.is-dark .s-count b { background: linear-gradient(180deg, color-mix(in srgb, var(--i-paper) 80%, #fff 10%) 0 49.4%, rgba(0, 0, 0, .35) 49.5% 50.5%, color-mix(in srgb, var(--i-paper) 92%, #000) 50.6% 100%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-gold) 35%, transparent), 0 12px 22px -14px #000; }
.inv-root.fx3d .s-count b.flip { animation: flip3d .62s cubic-bezier(.3, .7, .3, 1); }
@keyframes flip3d { 0% { transform: rotateX(0); } 45% { transform: rotateX(-88deg); filter: brightness(.85); } 55% { transform: rotateX(88deg); filter: brightness(.9); } 100% { transform: rotateX(0); } }
.inv-root.fx3d .s-countphoto .s-count b { background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); -webkit-text-fill-color: #fff; color: #fff; }

/* Galería en carrusel 3D */
.s-g3d { --w: min(46cqi, 260px); --r: calc(var(--w) / 2 / tan(180deg / var(--n)) + 18px); position: relative; width: 100%; height: calc(var(--w) * 1.33 + 70px); perspective: 1100px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.s-g3d.grab { cursor: grabbing; }
.s-g3d-ring { position: absolute; left: 50%; top: 20px; width: var(--w); aspect-ratio: 3 / 4; margin-left: calc(var(--w) / -2); transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(var(--rot, 0deg)); }
.s-g3d-it { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--i-g2); cursor: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-gold) 45%, transparent), 0 26px 40px -26px rgba(0, 0, 0, .55); }
.s-g3d-it img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.s-g3d-it::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.s-g3d-it:focus-visible { outline: 2px solid var(--i-acc); outline-offset: 3px; }
.s-g3d-floor { position: absolute; left: 12%; right: 12%; bottom: 8px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--i-ink) 22%, transparent), transparent); }
.s-g3d-hint { margin: 0; font: italic 400 14px/1.4 var(--i-serif); color: var(--i-muted); }
.s-g3d-sec { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .fx3d :is([data-tilt], .i-rsvp-card, .i-gcard) { transform: none !important; }
}
.inv-root.fx3d .s-count.i-countdown > div, .inv-root.fx3d .s-count.i-countdown > div + div { border: 0; background: transparent; display: grid; justify-items: center; gap: 6px; max-width: 80px; }

/* Miniatura del catálogo (iframe con ?mini=1) */
html.is-mini, html.is-mini body { overflow: hidden !important; scrollbar-width: none; }
html.is-mini::-webkit-scrollbar, html.is-mini body::-webkit-scrollbar { display: none; }
html.is-mini :is(.i-fab, .i-music, .i-demobar, .i-banner) { display: none !important; }
/* Ensueño: nubes al pie de la portada (celular y computadora iguales) */
.i-cover.s-q7 > .s-q7-clouds { position: absolute; left: -2%; right: -2%; bottom: -1px; width: 104%; z-index: 0; pointer-events: none; opacity: .92; }
.i-cover.s-q7:has(.s-q7-clouds) { padding-bottom: 24cqi; }
.s-q7 .s-q7-clouds { --kc1: color-mix(in srgb, var(--i-acc) 40%, var(--i-bg)); --kc2: color-mix(in srgb, var(--i-acc) 26%, var(--i-bg)); }
.s-q7 .s-q7-clouds i:nth-child(3) { opacity: .35; }
.i-cover.s-q7 > .s-q7-clouds.r { display: none; }
@container (min-width: 880px) {
  .i-cover.s-q7:has(.s-q7-clouds) { padding-bottom: 0; }
  .i-cover.s-q7 > .s-q7-clouds { left: -1%; right: auto; width: 51%; max-height: 30svh; }
  .i-cover.s-q7 > .s-q7-clouds.r { display: block; left: auto; right: -1%; transform: scaleX(-1); }
}


/* =====================================================================
   v8 · XV años «cute»: cada diseño con su forma de foto, adorno, tarjetas, fondo y detalles flotantes.
   Todo con CSS (máscaras, degradados, bordes y clip-path). Raíz: .cute .card-<forma> .pat-<fondo>; portada: .s-q7-<forma>.
   ===================================================================== */
.inv-root.cute .s-title::before { content: var(--orn, "✢"); }
.inv-root.cute .s-vhead .s-title::before, .inv-root.cute .s-venue .s-title::before, .inv-root.cute .s-band .s-title::before { content: none; }
.inv-root.cute .s-orn > span { font-family: 'Lora', 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; }

/* ---- Dibujo de fondo de la portada (suave, con el color del diseño) ---- */
.inv-root.cute .i-cover.s-cover.s-q7 { --pc: color-mix(in srgb, var(--i-acc) 11%, transparent); --base: linear-gradient(165deg, var(--i-g1) 0%, var(--i-g2) 55%, var(--i-g3) 100%); }
.inv-root.sig.cute.pat-dots .i-cover.s-cover.s-q7.s-q7 { background: radial-gradient(var(--pc) 2px, transparent 2.6px) 0 0 / 20px 20px, var(--base); }
.inv-root.sig.cute.pat-gingham .i-cover.s-cover.s-q7.s-q7 { background: repeating-linear-gradient(0deg, var(--pc) 0 13px, transparent 13px 26px), repeating-linear-gradient(90deg, var(--pc) 0 13px, transparent 13px 26px), var(--base); }
.inv-root.sig.cute.pat-stripes .i-cover.s-cover.s-q7.s-q7 { background: repeating-linear-gradient(90deg, var(--pc) 0 16px, transparent 16px 32px), var(--base); }
.inv-root.sig.cute.pat-diag .i-cover.s-cover.s-q7.s-q7 { background: repeating-linear-gradient(45deg, var(--pc) 0 2px, transparent 2px 14px), var(--base); }
.inv-root.sig.cute.pat-confetti .i-cover.s-cover.s-q7.s-q7 { background: radial-gradient(circle at 20% 30%, var(--pc) 0 3px, transparent 3.5px) 0 0 / 46px 46px, radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--i-gold) 22%, transparent) 0 2.5px, transparent 3px) 0 0 / 46px 46px, var(--base); }

/* ---- Detalles flotantes ---- */
.s-cute { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.i-cover.s-q7 > .s-cute { position: absolute; }
.s-cute i { position: absolute; width: calc(22px * var(--s)); aspect-ratio: 1; animation: cutefloat 5.5s ease-in-out var(--d) infinite alternate; }
@keyframes cutefloat { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-12px) rotate(8deg); } }
.k-hearts i { background: radial-gradient(circle at 30% 32%, var(--c, color-mix(in srgb, var(--i-acc) 70%, #fff)) 0 28%, transparent 29%), radial-gradient(circle at 70% 32%, var(--c, color-mix(in srgb, var(--i-acc) 70%, #fff)) 0 28%, transparent 29%), conic-gradient(from -45deg at 50% 94%, var(--c, color-mix(in srgb, var(--i-acc) 70%, #fff)) 0 90deg, transparent 0); opacity: .85; }
.k-hearts i:nth-child(even) { --c: color-mix(in srgb, var(--i-gold) 70%, #fff); }
.k-stars i { background: color-mix(in srgb, var(--i-gold) 75%, #fff); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--i-gold) 60%, transparent)); }
.k-stars i:nth-child(3n) { background: #fff; }
.k-bubbles i { width: calc(30px * var(--s)); border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 12%, rgba(255, 255, 255, .15) 22%, transparent 60%), radial-gradient(circle, transparent 58%, color-mix(in srgb, var(--i-acc) 35%, #fff) 70%, rgba(255, 210, 240, .7) 82%, rgba(190, 230, 255, .7) 92%, transparent 100%); }
.k-pearls i { width: calc(14px * var(--s)); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0 18%, #f2eef0 40%, #d9d2d8 75%, #bdb3bb); box-shadow: 0 2px 4px rgba(0, 0, 0, .18); }
.k-flowers i { background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--i-gold) 80%, #fff) 0 14%, transparent 15%), radial-gradient(circle at 50% 18%, var(--fc, color-mix(in srgb, var(--i-acc) 55%, #fff)) 0 19%, transparent 20%), radial-gradient(circle at 80% 40%, var(--fc, color-mix(in srgb, var(--i-acc) 55%, #fff)) 0 19%, transparent 20%), radial-gradient(circle at 69% 77%, var(--fc, color-mix(in srgb, var(--i-acc) 55%, #fff)) 0 19%, transparent 20%), radial-gradient(circle at 31% 77%, var(--fc, color-mix(in srgb, var(--i-acc) 55%, #fff)) 0 19%, transparent 20%), radial-gradient(circle at 20% 40%, var(--fc, color-mix(in srgb, var(--i-acc) 55%, #fff)) 0 19%, transparent 20%); }
.k-flowers i:nth-child(even) { --fc: #fff; }
@media (prefers-reduced-motion: reduce) { .s-cute i { animation: none; } }

/* ---- Formas de la foto ---- */
/* Óvalo con moño y perlas (Lazo Rosa) */
.s-q7-bow .s-q7-ph { width: 62cqi; margin: 18cqi auto 0; }
.s-q7-bow .s-q7-img { aspect-ratio: 3 / 4; border-radius: 50%; }
.s-q7-bow .s-q7-bow { top: -11%; left: 50%; width: 46%; aspect-ratio: 1.7; transform: translateX(-50%); z-index: 3; }
.s-q7-pearls { position: absolute; inset: -9px; border-radius: 50%; border: 9px dotted #fffaf4; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)) drop-shadow(0 0 3px rgba(255, 255, 255, .6)); pointer-events: none; z-index: 2; }
/* Corazón con corona (Princesa) */
.s-q7-heart .s-q7-ph { width: 76cqi; margin: 18cqi auto 0; }
.s-q7-heart .s-q7-img { aspect-ratio: 1 / .9; clip-path: polygon(50.0% 23.9%, 50.1% 22.7%, 50.9% 19.4%, 52.8% 14.6%, 56.2% 9.2%, 61.3% 4.4%, 67.7% 1.1%, 75.0% 0.0%, 82.5% 1.5%, 89.4% 5.4%, 95.1% 11.5%, 98.7% 19.0%, 100.0% 27.4%, 98.7% 36.0%, 95.1% 44.5%, 89.4% 52.6%, 82.5% 60.2%, 75.0% 67.5%, 67.7% 74.4%, 61.3% 81.0%, 56.2% 87.1%, 52.8% 92.3%, 50.9% 96.4%, 50.1% 99.1%, 50.0% 100.0%, 49.9% 99.1%, 49.1% 96.4%, 47.2% 92.3%, 43.8% 87.1%, 38.7% 81.0%, 32.3% 74.4%, 25.0% 67.5%, 17.5% 60.2%, 10.6% 52.6%, 4.9% 44.5%, 1.3% 36.0%, 0.0% 27.4%, 1.3% 19.0%, 4.9% 11.5%, 10.6% 5.4%, 17.5% 1.5%, 25.0% 0.0%, 32.3% 1.1%, 38.7% 4.4%, 43.7% 9.2%, 47.2% 14.6%, 49.1% 19.4%, 49.9% 22.7%); }
.s-q7-heart .s-q7-img .s-ph img { object-position: 50% 28%; }
.s-q7-heart .s-q7-ph::before { content: ""; position: absolute; inset: -4.5% -4.5% -5%; background: linear-gradient(135deg, color-mix(in srgb, var(--i-acc) 60%, #fff), var(--i-acc)); clip-path: polygon(50.0% 23.9%, 50.1% 22.7%, 50.9% 19.4%, 52.8% 14.6%, 56.2% 9.2%, 61.3% 4.4%, 67.7% 1.1%, 75.0% 0.0%, 82.5% 1.5%, 89.4% 5.4%, 95.1% 11.5%, 98.7% 19.0%, 100.0% 27.4%, 98.7% 36.0%, 95.1% 44.5%, 89.4% 52.6%, 82.5% 60.2%, 75.0% 67.5%, 67.7% 74.4%, 61.3% 81.0%, 56.2% 87.1%, 52.8% 92.3%, 50.9% 96.4%, 50.1% 99.1%, 50.0% 100.0%, 49.9% 99.1%, 49.1% 96.4%, 47.2% 92.3%, 43.8% 87.1%, 38.7% 81.0%, 32.3% 74.4%, 25.0% 67.5%, 17.5% 60.2%, 10.6% 52.6%, 4.9% 44.5%, 1.3% 36.0%, 0.0% 27.4%, 1.3% 19.0%, 4.9% 11.5%, 10.6% 5.4%, 17.5% 1.5%, 25.0% 0.0%, 32.3% 1.1%, 38.7% 4.4%, 43.7% 9.2%, 47.2% 14.6%, 49.1% 19.4%, 49.9% 22.7%); }
.s-q7-crown { position: absolute; left: 50%; top: -17%; transform: translateX(-50%) rotate(-4deg); z-index: 3; }
.s-q7-crown .ci { width: 76px; height: 76px; color: var(--i-gold); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .15)); }
/* Burbuja que respira con mariposas (Mariposa Rosa) */
.s-q7-blob .s-q7-ph { width: 74cqi; margin: 15cqi auto 0; }
.s-q7-blob .s-q7-img { aspect-ratio: 1; border-radius: 58% 42% 55% 45% / 46% 54% 46% 54%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--i-acc) 25%, #fff), 0 20px 40px -24px var(--i-acc); animation: blobby 9s ease-in-out infinite alternate; }
@keyframes blobby { 0% { border-radius: 58% 42% 55% 45% / 46% 54% 46% 54%; } 50% { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; } 100% { border-radius: 52% 48% 60% 40% / 42% 58% 44% 56%; } }
.s-q7-bf { position: absolute; width: 20%; z-index: 3; }
.s-q7-bf.a { top: -6%; right: -4%; transform: rotate(14deg); }
.s-q7-bf.b { bottom: 4%; left: -8%; width: 15%; transform: rotate(-18deg); }
/* Aro de caramelo (Coral) */
.s-q7-candy .s-q7-ph { width: 74cqi; margin: 15cqi auto 0; padding: 4.2%; border-radius: 50%; background: repeating-conic-gradient(var(--i-acc) 0 10deg, color-mix(in srgb, var(--i-acc) 20%, #fff) 10deg 20deg); box-shadow: 0 20px 40px -24px var(--i-acc); }
.s-q7-candy .s-q7-img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 5px #fff; }
/* Arco con encaje (Rubí) */
.s-q7-lace .s-q7-ph { width: 66cqi; margin: 15cqi auto 0; }
.s-q7-lace .s-q7-img { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; }
.s-q7-lace .s-q7-ph::before { content: ""; position: absolute; inset: -14px; border-radius: 999px 999px 26px 26px; padding: 9px; background: radial-gradient(circle, var(--i-acc) 0 2.6px, transparent 3px) 0 0 / 11px 11px, color-mix(in srgb, var(--i-acc) 12%, #fff);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* Nube (Lila) */
.s-q7-cloud .s-q7-ph { width: 86cqi; margin: 14cqi auto 0; filter: drop-shadow(0 16px 24px color-mix(in srgb, var(--i-acc) 35%, transparent)); }
.s-q7-cloud .s-q7-img { aspect-ratio: 1.18; background: transparent;
  -webkit-mask: radial-gradient(circle at 24% 52%, #000 0 22%, transparent 22.4%), radial-gradient(circle at 46% 34%, #000 0 30%, transparent 30.4%), radial-gradient(circle at 72% 44%, #000 0 26%, transparent 26.4%), radial-gradient(ellipse 44% 30% at 50% 68%, #000 0 99%, transparent 100%);
  mask: radial-gradient(circle at 24% 52%, #000 0 22%, transparent 22.4%), radial-gradient(circle at 46% 34%, #000 0 30%, transparent 30.4%), radial-gradient(circle at 72% 44%, #000 0 26%, transparent 26.4%), radial-gradient(ellipse 44% 30% at 50% 68%, #000 0 99%, transparent 100%); }
.s-q7-cloud .s-q7-img .s-ph img { object-position: 50% 22%; }
/* Pompa de jabón (Mariposa Celeste) */
.s-q7-bubble .s-q7-ph { width: 74cqi; margin: 15cqi auto 0; }
.s-q7-bubble .s-q7-img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 24px 44px -26px var(--i-acc); }
.s-q7-irid { position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none; background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .7) 0 4%, rgba(255, 255, 255, 0) 9%), radial-gradient(circle, transparent 66%, rgba(255, 220, 245, .55) 78%, rgba(190, 235, 255, .7) 88%, rgba(255, 255, 255, .9) 99%); }
/* Polaroid con cinta (Tiffany) */
.s-q7-polaroid .s-q7-ph { width: 70cqi; margin: 15cqi auto 0; padding: 3.2% 3.2% 17%; background: #fff; border-radius: 6px; transform: rotate(-3.5deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 22px 36px -20px rgba(0, 0, 0, .35); }
.s-q7-polaroid .s-q7-img { aspect-ratio: 1; border-radius: 3px; }
.s-q7-tape { position: absolute; top: -5%; left: 50%; width: 36%; height: 9%; transform: translateX(-50%) rotate(4deg); background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--i-acc) 55%, #fff) 0 6px, color-mix(in srgb, var(--i-acc) 30%, #fff) 6px 12px); opacity: .85; z-index: 3; }
.s-q7-cap { position: absolute; left: 0; right: 0; bottom: 3.5%; text-align: center; font: 400 clamp(22px, 7cqi, 34px)/1 var(--i-script); color: var(--i-acc); }
/* Óvalo de perlas (Perla) */
.s-q7-pearl .s-q7-ph { width: 62cqi; margin: 15cqi auto 0; }
.s-q7-pearl .s-q7-img { aspect-ratio: 3 / 4; border-radius: 50%; }
.s-q7-pearl .s-q7-pearls { inset: -12px; border-width: 11px; }
.s-q7-drop { position: absolute; left: 50%; bottom: -8%; width: 18px; height: 24px; transform: translateX(-50%); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 36% 30%, #fff 0 16%, #ece6ea 45%, #c9bec6); box-shadow: 0 3px 6px rgba(0, 0, 0, .2); z-index: 3; }
/* Estampilla con matasellos (Dorada) */
.s-q7-stamp .s-q7-ph { width: 68cqi; margin: 15cqi auto 0; padding: 4.5%; background: #fffdf8; transform: rotate(2deg); filter: drop-shadow(0 16px 20px rgba(80, 60, 20, .22)); overflow: visible;
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 20px) calc(100% - 20px) no-repeat, radial-gradient(circle 7px, transparent 98%, #000) -7px -7px / 20px 20px round; mask: linear-gradient(#000 0 0) center / calc(100% - 20px) calc(100% - 20px) no-repeat, radial-gradient(circle 7px, transparent 98%, #000) -7px -7px / 20px 20px round; }
.s-q7-stamp .s-q7-img { aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-gold) 60%, transparent); }
.s-q7-post { position: absolute; right: 5%; bottom: 7%; z-index: 3; width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--i-acc); border: 2px solid currentColor; box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px currentColor; transform: rotate(-14deg); background: rgba(255, 253, 248, .55); }
.s-q7-post b { font: 600 clamp(18px, 6cqi, 28px)/1 var(--i-serif); } .s-q7-post small { font: 600 9px/1.2 var(--i-serif); letter-spacing: .2em; }
/* Luna creciente (Noche Estrellada) */
.s-q7-moon .s-q7-ph { width: 66cqi; margin: 17cqi auto 0; }
.s-q7-moon .s-q7-img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 2px color-mix(in srgb, var(--i-gold) 70%, transparent), 0 0 40px 4px color-mix(in srgb, var(--i-gold) 25%, transparent); }
.s-q7-moon .s-q7-moon { position: absolute; inset: -12%; border-radius: 50%; box-shadow: inset -16px 10px 0 0 color-mix(in srgb, var(--i-gold) 85%, #fff); transform: rotate(-24deg); opacity: .9; pointer-events: none; }
/* Espejo ovalado (Esmeralda) */
.s-q7-mirror .s-q7-ph { width: 60cqi; margin: 17cqi auto 0; padding: 3.4%; border-radius: 50%; background: linear-gradient(135deg, #f6e2a8, var(--i-gold) 40%, #8a6a2c 70%, #f6e2a8); box-shadow: 0 0 0 4px color-mix(in srgb, var(--i-bg) 70%, #000), 0 0 0 6px color-mix(in srgb, var(--i-gold) 60%, transparent), 0 26px 44px -24px #000; }
.s-q7-mirror .s-q7-img { aspect-ratio: 3 / 4.1; border-radius: 50%; }
.s-q7-mtop { position: absolute; left: 50%; top: -9%; transform: translateX(-50%); font-size: 30px; color: var(--i-gold); text-shadow: 0 0 10px color-mix(in srgb, var(--i-gold) 70%, transparent); }
/* Foto completa con velo (Retrato) */
.i-cover.s-cover.s-q7-poster { min-height: min(100svh, 216cqi); align-content: end; padding: 0 0 12cqi; }
.i-cover.s-q7-poster > .s-q7-ph { position: absolute; inset: 0; z-index: 0; }
.s-q7-poster .s-q7-img { height: 100%; }
.s-q7-poster .s-q7-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--i-acc) 30%, rgba(40, 10, 25, .5)) 62%, color-mix(in srgb, var(--i-acc) 50%, rgba(30, 8, 20, .82)) 100%); }
.s-q7-poster .s-q7-tx { --i-ink: #fff; --i-muted: rgba(255, 255, 255, .88); text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.s-q7-poster .s-q7-n { color: #fff; }
.inv-root .s-q7-poster .s-q7-n > span { background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--i-acc) 30%, #fff), #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.s-q7-poster .s-orn { --i-gold: #fff; }
/* Franja: panel con texto y foto al lado (Violeta: foto a la derecha con festón · Clásica: foto a la izquierda en blanco y negro con moño) */
.i-cover.s-cover:is(.s-q7-strip, .s-q7-mono) { grid-template-columns: 1fr 41%; grid-template-rows: minmax(100%, auto); align-items: stretch; min-height: min(100svh, 200cqi); padding: 0; }
.s-q7-mono.i-cover.s-cover { grid-template-columns: 41% 1fr; }
:is(.s-q7-strip, .s-q7-mono) .s-q7-ph { grid-row: 1; align-self: stretch; position: relative; margin: 0; }
.s-q7-strip .s-q7-ph { grid-column: 2; } .s-q7-mono .s-q7-ph { grid-column: 1; }
:is(.s-q7-strip, .s-q7-mono) .s-q7-img { position: absolute; inset: 0; }
.s-q7-strip .s-q7-img { -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) 0 0 / 100% 26px; mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) 0 0 / 100% 26px; }
.s-q7-mono .s-q7-img { -webkit-mask: radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) 0 0 / 100% 22px; mask: radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) 0 0 / 100% 22px; }
.s-q7-mono .s-q7-img img { filter: grayscale(1) contrast(1.05); }
.s-q7-mono .s-q7-bow { top: 7%; right: -18%; left: auto; width: 46%; aspect-ratio: 1.7; z-index: 4; transform: rotate(10deg); }
:is(.s-q7-strip, .s-q7-mono) .s-q7-tx { grid-row: 1; padding: 12cqi 5cqi; gap: 3.4cqi; }
.s-q7-strip .s-q7-tx { grid-column: 1; } .s-q7-mono .s-q7-tx { grid-column: 2; }
:is(.s-q7-strip, .s-q7-mono) .s-q7-n { font-size: clamp(50px, 15cqi, 140px); }
:is(.s-q7-strip, .s-q7-mono) :is(.s-q7-k, .s-q7-s) { font-size: 11px; letter-spacing: .22em; }
:is(.s-q7-strip, .s-q7-mono) .s-q7-p { font-size: 14px; } :is(.s-q7-strip, .s-q7-mono) .s-q7-d { font-size: 13px; }
:is(.s-q7-strip, .s-q7-mono) .s-orn > i { width: clamp(18px, 6cqi, 60px); }

@container (min-width: 880px) {
  .s-q7:is(.s-q7-bow, .s-q7-heart, .s-q7-blob, .s-q7-candy, .s-q7-lace, .s-q7-bubble, .s-q7-polaroid, .s-q7-pearl, .s-q7-stamp, .s-q7-moon, .s-q7-mirror) .s-q7-ph { align-self: center; justify-self: center; margin: 10svh auto; width: min(30cqi, 62svh); }
  .s-q7-cloud .s-q7-ph { align-self: center; justify-self: center; margin: 8svh auto; width: min(40cqi, 80svh); }
  .s-q7:is(.s-q7-bow, .s-q7-pearl, .s-q7-mirror, .s-q7-lace) .s-q7-ph { width: min(25cqi, 50svh); }
  .i-cover.s-cover.s-q7-poster { grid-template-columns: 1fr 1fr; min-height: 100svh; align-content: stretch; }
  .s-q7-poster .s-q7-tx { grid-column: 2; }
  .s-q7-poster .s-q7-ph::after { background: linear-gradient(90deg, transparent 35%, color-mix(in srgb, var(--i-acc) 30%, rgba(40, 10, 25, .45)) 60%, color-mix(in srgb, var(--i-acc) 45%, rgba(30, 8, 20, .78)) 100%); }
  .i-cover.s-cover:is(.s-q7-strip, .s-q7-mono) { min-height: 100svh; grid-template-columns: 1fr 44%; }
  .s-q7-mono.i-cover.s-cover { grid-template-columns: 44% 1fr; }
  :is(.s-q7-strip, .s-q7-mono) .s-q7-tx { padding: 8svh 6cqi; gap: clamp(14px, 2cqi, 26px); }
  :is(.s-q7-strip, .s-q7-mono) .s-q7-n { font-size: clamp(100px, 9.5cqi, 160px); }
  :is(.s-q7-strip, .s-q7-mono) :is(.s-q7-k, .s-q7-s) { font-size: 15px; letter-spacing: .3em; }
  :is(.s-q7-strip, .s-q7-mono) .s-q7-p { font-size: 19px; } :is(.s-q7-strip, .s-q7-mono) .s-q7-d { font-size: 17px; }
}

/* ---- Tarjetas según el diseño ---- */
.inv-root.cute.card-pill :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 34px; }
.inv-root.cute.card-pill .s-count b { border-radius: 999px; min-width: 2.4em; }
.inv-root.cute.card-bubble :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 40px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 24px 44px -30px color-mix(in srgb, var(--i-acc) 70%, transparent); }
.inv-root.cute.card-bubble .s-count b { border-radius: 50%; aspect-ratio: 1; min-width: 2.2em; }
.inv-root.cute.card-pearl :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 26px; border: 7px dotted color-mix(in srgb, #fff 60%, var(--i-gold)); }
.inv-root.cute.card-pearl .s-count b { border-radius: 16px; }
.inv-root.cute.card-lace :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 22px; outline: 2px dashed color-mix(in srgb, var(--i-acc) 45%, transparent); outline-offset: -11px; }
.inv-root.cute.card-scallop :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 18px;
  -webkit-mask: radial-gradient(circle 9px at 50% 0, transparent 98%, #000) 0 0 / 26px 51% repeat-x, radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 100% / 26px 51% repeat-x;
  mask: radial-gradient(circle 9px at 50% 0, transparent 98%, #000) 0 0 / 26px 51% repeat-x, radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 100% / 26px 51% repeat-x; }
.inv-root.cute.card-scallop .s-vc-ph { margin-top: 6px; }
.inv-root.cute.card-stamp :is(.s-vcard, .i-rsvp-card, .i-gcard) { border-radius: 4px;
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 18px) calc(100% - 18px) no-repeat, radial-gradient(circle 6px, transparent 98%, #000) -6px -6px / 18px 18px round; mask: linear-gradient(#000 0 0) center / calc(100% - 18px) calc(100% - 18px) no-repeat, radial-gradient(circle 6px, transparent 98%, #000) -6px -6px / 18px 18px round; }
.inv-root.cute.card-stamp .s-vc-body { padding-inline: 9cqi; }
/* ---- Bloque de texto distinto por diseño ---- */
/* Tarjeta: el texto va en una tarjeta blanca que se monta sobre la foto (Lazo Rosa, Perla, Rubí, Tiffany) */
.s-q7.s-tx-card .s-q7-tx { position: relative; z-index: 2; width: min(86%, 520px); margin: -3cqi auto 0; padding: 8cqi 6cqi 7cqi; border-radius: 26px; background: color-mix(in srgb, #fff 82%, var(--i-bg)); box-shadow: 0 24px 46px -30px color-mix(in srgb, var(--i-acc) 70%, #000), 0 0 0 1px color-mix(in srgb, var(--i-gold) 25%, transparent); }
.s-q7.s-tx-card .s-swipe { display: none; }
/* Cinta: «Mis XV años» dentro de una cinta de color con puntas (Princesa, Coral, Mariposa Rosa, Dorada) */
.s-q7.s-tx-ribbon .s-q7-k { position: relative; padding: 9px 26px 8px; color: var(--i-on-acc, #fff); background: var(--i-acc); letter-spacing: .26em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%); box-shadow: none; }
.s-q7.s-tx-ribbon .s-q7-k + .s-orn { display: none; }
/* XV grande: números enormes con contorno detrás del rótulo (Lila, Mariposa Celeste, Esmeralda, Noche Estrellada) */
.s-q7-xv { margin: 0 0 -6cqi; font: 500 clamp(70px, 26cqi, 150px)/.9 var(--i-serif); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--i-gold) 80%, transparent); opacity: .9; }
.s-q7.s-tx-big .s-q7-k { position: relative; }
@container (min-width: 880px) {
  .s-q7.s-tx-card .s-q7-tx { align-self: center; margin: 8svh auto; width: min(82%, 520px); padding: 48px 40px; }
  .s-q7-xv { font-size: clamp(110px, 10cqi, 170px); margin-bottom: -2cqi; }
}


/* =====================================================================
   v8.4 · Portadas de XV con acabado profesional
   Criterio: la foto manda; marcos limpios con filetes finos (1 px) y sombra suave; sin adornos flotantes
   ni dibujos de fondo en la portada; un halo de color muy suave detrás de la foto para dar profundidad;
   en computadora, foto y texto comparten una retícula centrada de 1280 px (sin vacío en el medio).
   ===================================================================== */
:root { --q7-hair: color-mix(in srgb, var(--i-gold) 70%, transparent); }
.inv-root.sig.cute[class*="pat-"] .i-cover.s-cover.s-q7.s-q7 { --halo: color-mix(in srgb, var(--i-acc) 10%, transparent);
  background: radial-gradient(circle at 50% 24%, var(--halo) 0, transparent 46cqi), linear-gradient(170deg, var(--i-g1) 0%, var(--i-g2) 60%, var(--i-g3) 100%); }
.inv-root.sig.cute.is-dark[class*="pat-"] .i-cover.s-cover.s-q7.s-q7 { --halo: color-mix(in srgb, var(--i-gold) 9%, transparent); }
.inv-root.cute .s-q7 .s-q7-ph { filter: drop-shadow(0 26px 34px color-mix(in srgb, var(--i-ink) 22%, transparent)); }
.inv-root.cute.is-dark .s-q7 .s-q7-ph { filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45)); }
.inv-root.cute .s-q7 :is(.s-q7-strip, .s-q7-mono, .s-q7-poster) .s-q7-ph, .inv-root.cute .s-q7:is(.s-q7-strip, .s-q7-mono, .s-q7-poster) .s-q7-ph { filter: none; }

/* Texto: jerarquía clara y aire */
.inv-root.cute .s-q7 .s-q7-k { font-size: 12px; letter-spacing: .34em; }
.inv-root.cute .s-q7 .s-q7-n { letter-spacing: 0; }
.inv-root.cute .s-q7 .s-q7-s { letter-spacing: .38em; }
/* Rótulo «Mis XV años» en cápsula fina (antes cinta de color) */
.s-q7.s-tx-ribbon .s-q7-k { clip-path: none; background: transparent; color: var(--i-acc); padding: 8px 20px 7px 24px; border: 1px solid color-mix(in srgb, var(--i-acc) 55%, transparent); border-radius: 999px; letter-spacing: .34em; }
.s-q7.s-tx-ribbon .s-q7-k + .s-orn { display: flex; }
.s-q7.s-tx-card .s-q7-tx { border-radius: 4px; background: color-mix(in srgb, #fff 90%, var(--i-bg)); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--i-ink) 55%, transparent); outline: 1px solid var(--q7-hair); outline-offset: -10px; }
.s-q7-xv { -webkit-text-stroke: 1px color-mix(in srgb, var(--i-gold) 85%, transparent); }

/* Corazón: curva suave, filete dorado y sin corona */
.s-q7-heart .s-q7-ph { width: 78cqi; margin-top: 16cqi; }
.s-q7-heart .s-q7-img { aspect-ratio: 1 / .92; clip-path: polygon(50.00% 23.94%, 50.00% 23.85%, 50.02% 23.59%, 50.06% 23.17%, 50.13% 22.58%, 50.26% 21.84%, 50.45% 20.96%, 50.71% 19.95%, 51.05% 18.82%, 51.48% 17.60%, 52.00% 16.29%, 52.63% 14.92%, 53.36% 13.51%, 54.21% 12.07%, 55.17% 10.63%, 56.25% 9.21%, 57.44% 7.83%, 58.74% 6.51%, 60.15% 5.27%, 61.67% 4.12%, 63.28% 3.09%, 64.98% 2.18%, 66.76% 1.42%, 68.61% 0.81%, 70.52% 0.37%, 72.48% 0.09%, 74.47% 0.00%, 76.48% 0.09%, 78.49% 0.36%, 80.50% 0.82%, 82.48% 1.46%, 84.42% 2.28%, 86.30% 3.28%, 88.12% 4.44%, 89.85% 5.75%, 91.49% 7.22%, 93.01% 8.82%, 94.41% 10.55%, 95.68% 12.39%, 96.79% 14.34%, 97.76% 16.37%, 98.55% 18.47%, 99.18% 20.64%, 99.64% 22.86%, 99.91% 25.11%, 100.00% 27.39%, 99.91% 29.69%, 99.64% 32.00%, 99.18% 34.31%, 98.55% 36.61%, 97.76% 38.89%, 96.79% 41.15%, 95.68% 43.39%, 94.41% 45.61%, 93.01% 47.79%, 91.49% 49.94%, 89.85% 52.06%, 88.12% 54.15%, 86.30% 56.21%, 84.42% 58.24%, 82.48% 60.24%, 80.50% 62.21%, 78.49% 64.16%, 76.48% 66.08%, 74.47% 67.98%, 72.48% 69.85%, 70.52% 71.70%, 68.61% 73.53%, 66.76% 75.34%, 64.98% 77.12%, 63.28% 78.87%, 61.67% 80.58%, 60.15% 82.27%, 58.74% 83.91%, 57.44% 85.51%, 56.25% 87.06%, 55.17% 88.56%, 54.21% 89.99%, 53.36% 91.35%, 52.63% 92.64%, 52.00% 93.85%, 51.48% 94.96%, 51.05% 95.98%, 50.71% 96.89%, 50.45% 97.70%, 50.26% 98.39%, 50.13% 98.97%, 50.06% 99.42%, 50.02% 99.74%, 50.00% 99.93%, 50.00% 100.00%, 50.00% 99.93%, 49.98% 99.74%, 49.94% 99.42%, 49.87% 98.97%, 49.74% 98.39%, 49.55% 97.70%, 49.29% 96.89%, 48.95% 95.98%, 48.52% 94.96%, 48.00% 93.85%, 47.37% 92.64%, 46.64% 91.35%, 45.79% 89.99%, 44.83% 88.56%, 43.75% 87.06%, 42.56% 85.51%, 41.26% 83.91%, 39.85% 82.27%, 38.33% 80.58%, 36.72% 78.87%, 35.02% 77.12%, 33.24% 75.34%, 31.39% 73.53%, 29.48% 71.70%, 27.52% 69.85%, 25.53% 67.98%, 23.52% 66.08%, 21.51% 64.16%, 19.50% 62.21%, 17.52% 60.24%, 15.58% 58.24%, 13.70% 56.21%, 11.88% 54.15%, 10.15% 52.06%, 8.51% 49.94%, 6.99% 47.79%, 5.59% 45.61%, 4.32% 43.39%, 3.21% 41.15%, 2.24% 38.89%, 1.45% 36.61%, 0.82% 34.31%, 0.36% 32.00%, 0.09% 29.69%, 0.00% 27.39%, 0.09% 25.11%, 0.36% 22.86%, 0.82% 20.64%, 1.45% 18.47%, 2.24% 16.37%, 3.21% 14.34%, 4.32% 12.39%, 5.59% 10.55%, 6.99% 8.82%, 8.51% 7.22%, 10.15% 5.75%, 11.88% 4.44%, 13.70% 3.28%, 15.58% 2.28%, 17.52% 1.46%, 19.50% 0.82%, 21.51% 0.36%, 23.52% 0.09%, 25.53% 0.00%, 27.52% 0.09%, 29.48% 0.37%, 31.39% 0.81%, 33.24% 1.42%, 35.02% 2.18%, 36.72% 3.09%, 38.33% 4.12%, 39.85% 5.27%, 41.26% 6.51%, 42.56% 7.83%, 43.75% 9.21%, 44.83% 10.63%, 45.79% 12.07%, 46.64% 13.51%, 47.37% 14.92%, 48.00% 16.29%, 48.52% 17.60%, 48.95% 18.82%, 49.29% 19.95%, 49.55% 20.96%, 49.74% 21.84%, 49.87% 22.58%, 49.94% 23.17%, 49.98% 23.59%, 50.00% 23.85%); }
.s-q7-heart .s-q7-ph::before { inset: -14px -14px -15px; background: var(--q7-hair); clip-path: polygon(50.00% 23.94%, 50.00% 23.85%, 50.02% 23.59%, 50.06% 23.17%, 50.13% 22.58%, 50.26% 21.84%, 50.45% 20.96%, 50.71% 19.95%, 51.05% 18.82%, 51.48% 17.60%, 52.00% 16.29%, 52.63% 14.92%, 53.36% 13.51%, 54.21% 12.07%, 55.17% 10.63%, 56.25% 9.21%, 57.44% 7.83%, 58.74% 6.51%, 60.15% 5.27%, 61.67% 4.12%, 63.28% 3.09%, 64.98% 2.18%, 66.76% 1.42%, 68.61% 0.81%, 70.52% 0.37%, 72.48% 0.09%, 74.47% 0.00%, 76.48% 0.09%, 78.49% 0.36%, 80.50% 0.82%, 82.48% 1.46%, 84.42% 2.28%, 86.30% 3.28%, 88.12% 4.44%, 89.85% 5.75%, 91.49% 7.22%, 93.01% 8.82%, 94.41% 10.55%, 95.68% 12.39%, 96.79% 14.34%, 97.76% 16.37%, 98.55% 18.47%, 99.18% 20.64%, 99.64% 22.86%, 99.91% 25.11%, 100.00% 27.39%, 99.91% 29.69%, 99.64% 32.00%, 99.18% 34.31%, 98.55% 36.61%, 97.76% 38.89%, 96.79% 41.15%, 95.68% 43.39%, 94.41% 45.61%, 93.01% 47.79%, 91.49% 49.94%, 89.85% 52.06%, 88.12% 54.15%, 86.30% 56.21%, 84.42% 58.24%, 82.48% 60.24%, 80.50% 62.21%, 78.49% 64.16%, 76.48% 66.08%, 74.47% 67.98%, 72.48% 69.85%, 70.52% 71.70%, 68.61% 73.53%, 66.76% 75.34%, 64.98% 77.12%, 63.28% 78.87%, 61.67% 80.58%, 60.15% 82.27%, 58.74% 83.91%, 57.44% 85.51%, 56.25% 87.06%, 55.17% 88.56%, 54.21% 89.99%, 53.36% 91.35%, 52.63% 92.64%, 52.00% 93.85%, 51.48% 94.96%, 51.05% 95.98%, 50.71% 96.89%, 50.45% 97.70%, 50.26% 98.39%, 50.13% 98.97%, 50.06% 99.42%, 50.02% 99.74%, 50.00% 99.93%, 50.00% 100.00%, 50.00% 99.93%, 49.98% 99.74%, 49.94% 99.42%, 49.87% 98.97%, 49.74% 98.39%, 49.55% 97.70%, 49.29% 96.89%, 48.95% 95.98%, 48.52% 94.96%, 48.00% 93.85%, 47.37% 92.64%, 46.64% 91.35%, 45.79% 89.99%, 44.83% 88.56%, 43.75% 87.06%, 42.56% 85.51%, 41.26% 83.91%, 39.85% 82.27%, 38.33% 80.58%, 36.72% 78.87%, 35.02% 77.12%, 33.24% 75.34%, 31.39% 73.53%, 29.48% 71.70%, 27.52% 69.85%, 25.53% 67.98%, 23.52% 66.08%, 21.51% 64.16%, 19.50% 62.21%, 17.52% 60.24%, 15.58% 58.24%, 13.70% 56.21%, 11.88% 54.15%, 10.15% 52.06%, 8.51% 49.94%, 6.99% 47.79%, 5.59% 45.61%, 4.32% 43.39%, 3.21% 41.15%, 2.24% 38.89%, 1.45% 36.61%, 0.82% 34.31%, 0.36% 32.00%, 0.09% 29.69%, 0.00% 27.39%, 0.09% 25.11%, 0.36% 22.86%, 0.82% 20.64%, 1.45% 18.47%, 2.24% 16.37%, 3.21% 14.34%, 4.32% 12.39%, 5.59% 10.55%, 6.99% 8.82%, 8.51% 7.22%, 10.15% 5.75%, 11.88% 4.44%, 13.70% 3.28%, 15.58% 2.28%, 17.52% 1.46%, 19.50% 0.82%, 21.51% 0.36%, 23.52% 0.09%, 25.53% 0.00%, 27.52% 0.09%, 29.48% 0.37%, 31.39% 0.81%, 33.24% 1.42%, 35.02% 2.18%, 36.72% 3.09%, 38.33% 4.12%, 39.85% 5.27%, 41.26% 6.51%, 42.56% 7.83%, 43.75% 9.21%, 44.83% 10.63%, 45.79% 12.07%, 46.64% 13.51%, 47.37% 14.92%, 48.00% 16.29%, 48.52% 17.60%, 48.95% 18.82%, 49.29% 19.95%, 49.55% 20.96%, 49.74% 21.84%, 49.87% 22.58%, 49.94% 23.17%, 49.98% 23.59%, 50.00% 23.85%); }
.s-q7-heart .s-q7-hline { position: absolute; inset: -12.6px -12.6px -13.5px; background: var(--i-g2); clip-path: polygon(50.00% 23.94%, 50.00% 23.85%, 50.02% 23.59%, 50.06% 23.17%, 50.13% 22.58%, 50.26% 21.84%, 50.45% 20.96%, 50.71% 19.95%, 51.05% 18.82%, 51.48% 17.60%, 52.00% 16.29%, 52.63% 14.92%, 53.36% 13.51%, 54.21% 12.07%, 55.17% 10.63%, 56.25% 9.21%, 57.44% 7.83%, 58.74% 6.51%, 60.15% 5.27%, 61.67% 4.12%, 63.28% 3.09%, 64.98% 2.18%, 66.76% 1.42%, 68.61% 0.81%, 70.52% 0.37%, 72.48% 0.09%, 74.47% 0.00%, 76.48% 0.09%, 78.49% 0.36%, 80.50% 0.82%, 82.48% 1.46%, 84.42% 2.28%, 86.30% 3.28%, 88.12% 4.44%, 89.85% 5.75%, 91.49% 7.22%, 93.01% 8.82%, 94.41% 10.55%, 95.68% 12.39%, 96.79% 14.34%, 97.76% 16.37%, 98.55% 18.47%, 99.18% 20.64%, 99.64% 22.86%, 99.91% 25.11%, 100.00% 27.39%, 99.91% 29.69%, 99.64% 32.00%, 99.18% 34.31%, 98.55% 36.61%, 97.76% 38.89%, 96.79% 41.15%, 95.68% 43.39%, 94.41% 45.61%, 93.01% 47.79%, 91.49% 49.94%, 89.85% 52.06%, 88.12% 54.15%, 86.30% 56.21%, 84.42% 58.24%, 82.48% 60.24%, 80.50% 62.21%, 78.49% 64.16%, 76.48% 66.08%, 74.47% 67.98%, 72.48% 69.85%, 70.52% 71.70%, 68.61% 73.53%, 66.76% 75.34%, 64.98% 77.12%, 63.28% 78.87%, 61.67% 80.58%, 60.15% 82.27%, 58.74% 83.91%, 57.44% 85.51%, 56.25% 87.06%, 55.17% 88.56%, 54.21% 89.99%, 53.36% 91.35%, 52.63% 92.64%, 52.00% 93.85%, 51.48% 94.96%, 51.05% 95.98%, 50.71% 96.89%, 50.45% 97.70%, 50.26% 98.39%, 50.13% 98.97%, 50.06% 99.42%, 50.02% 99.74%, 50.00% 99.93%, 50.00% 100.00%, 50.00% 99.93%, 49.98% 99.74%, 49.94% 99.42%, 49.87% 98.97%, 49.74% 98.39%, 49.55% 97.70%, 49.29% 96.89%, 48.95% 95.98%, 48.52% 94.96%, 48.00% 93.85%, 47.37% 92.64%, 46.64% 91.35%, 45.79% 89.99%, 44.83% 88.56%, 43.75% 87.06%, 42.56% 85.51%, 41.26% 83.91%, 39.85% 82.27%, 38.33% 80.58%, 36.72% 78.87%, 35.02% 77.12%, 33.24% 75.34%, 31.39% 73.53%, 29.48% 71.70%, 27.52% 69.85%, 25.53% 67.98%, 23.52% 66.08%, 21.51% 64.16%, 19.50% 62.21%, 17.52% 60.24%, 15.58% 58.24%, 13.70% 56.21%, 11.88% 54.15%, 10.15% 52.06%, 8.51% 49.94%, 6.99% 47.79%, 5.59% 45.61%, 4.32% 43.39%, 3.21% 41.15%, 2.24% 38.89%, 1.45% 36.61%, 0.82% 34.31%, 0.36% 32.00%, 0.09% 29.69%, 0.00% 27.39%, 0.09% 25.11%, 0.36% 22.86%, 0.82% 20.64%, 1.45% 18.47%, 2.24% 16.37%, 3.21% 14.34%, 4.32% 12.39%, 5.59% 10.55%, 6.99% 8.82%, 8.51% 7.22%, 10.15% 5.75%, 11.88% 4.44%, 13.70% 3.28%, 15.58% 2.28%, 17.52% 1.46%, 19.50% 0.82%, 21.51% 0.36%, 23.52% 0.09%, 25.53% 0.00%, 27.52% 0.09%, 29.48% 0.37%, 31.39% 0.81%, 33.24% 1.42%, 35.02% 2.18%, 36.72% 3.09%, 38.33% 4.12%, 39.85% 5.27%, 41.26% 6.51%, 42.56% 7.83%, 43.75% 9.21%, 44.83% 10.63%, 45.79% 12.07%, 46.64% 13.51%, 47.37% 14.92%, 48.00% 16.29%, 48.52% 17.60%, 48.95% 18.82%, 49.29% 19.95%, 49.55% 20.96%, 49.74% 21.84%, 49.87% 22.58%, 49.94% 23.17%, 49.98% 23.59%, 50.00% 23.85%); z-index: 0; }
.s-q7-heart .s-q7-img { position: relative; z-index: 1; }
.s-q7-heart .s-q7-crown { display: none; }
/* Óvalo con moño: perlas finas y moño más pequeño */
.s-q7-bow .s-q7-bow { width: 36%; top: -8%; }
.s-q7-pearls { inset: -12px; border-width: 6px; border-color: #fffaf3; }
/* Burbuja: anillo fino en lugar de borde grueso */
.s-q7-blob .s-q7-img { box-shadow: 0 0 0 1px var(--q7-hair), 0 0 0 10px color-mix(in srgb, #fff 55%, transparent), 0 0 0 11px var(--q7-hair); }
.s-q7-bf.a { width: 15%; } .s-q7-bf.b { width: 11%; }
/* Coral: bisel de líneas finas tipo guilloché (antes aro de caramelo a rayas) */
.s-q7-candy .s-q7-ph { padding: 3.2%; background: repeating-conic-gradient(var(--q7-hair) 0 .7deg, transparent .7deg 5deg); box-shadow: none; }
.s-q7-candy .s-q7-img { box-shadow: 0 0 0 1px var(--q7-hair), 0 0 0 6px color-mix(in srgb, #fff 80%, var(--i-bg)); }
/* Rubí: arco con doble filete (antes borde de puntitos) */
.s-q7-lace .s-q7-ph::before { inset: -11px; padding: 0; background: none; border: 1px solid var(--q7-hair); border-radius: 999px 999px 8px 8px; -webkit-mask: none; mask: none; }
.s-q7-lace .s-q7-img { border-radius: 999px 999px 6px 6px; box-shadow: 0 0 0 1px var(--q7-hair); }
/* Pompa, nube, polaroid, perla, estampilla, luna y espejo: filetes y sombras más finos */
.s-q7-bubble .s-q7-img { box-shadow: 0 0 0 1px var(--q7-hair); }
.s-q7-polaroid .s-q7-ph { transform: rotate(-2deg); border-radius: 2px; }
.s-q7-tape { opacity: .7; height: 7%; }
.s-q7-pearl .s-q7-pearls { inset: -13px; border-width: 7px; }
.s-q7-moon .s-q7-moon { box-shadow: inset -10px 6px 0 0 color-mix(in srgb, var(--i-gold) 80%, #fff); }
.s-q7-mirror .s-q7-ph { padding: 2.2%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--i-gold) 50%, transparent); }
.s-q7-mirror .s-q7-ph::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--q7-hair); pointer-events: none; }

@container (min-width: 880px) {
  /* Retícula centrada: la foto y el texto se acercan; el vacío del medio desaparece */
  .i-cover.s-cover.s-q7:is(.s-q7-heart, .s-q7-bow, .s-q7-blob, .s-q7-candy, .s-q7-lace, .s-q7-cloud, .s-q7-bubble, .s-q7-polaroid, .s-q7-pearl, .s-q7-stamp, .s-q7-moon, .s-q7-mirror, .s-q7-circle) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 4cqi; padding-inline: max(4cqi, calc((100% - 1280px) / 2)); }
  .s-q7:is(.s-q7-heart, .s-q7-bow, .s-q7-blob, .s-q7-candy, .s-q7-lace, .s-q7-bubble, .s-q7-polaroid, .s-q7-pearl, .s-q7-stamp, .s-q7-moon, .s-q7-mirror) .s-q7-ph { width: min(100%, 68svh, 560px); margin: 9svh auto; }
  .s-q7:is(.s-q7-bow, .s-q7-pearl, .s-q7-mirror, .s-q7-lace, .s-q7-stamp) .s-q7-ph { width: min(80%, 54svh, 440px); }
  .s-q7-heart .s-q7-ph { width: min(100%, 74svh, 600px); }
  .s-q7-cloud .s-q7-ph { width: min(100%, 86svh, 640px); }
  .s-q7 .s-q7-tx { padding-inline: 0; }
  .inv-root.sig.cute[class*="pat-"] .i-cover.s-cover.s-q7.s-q7 { background: radial-gradient(circle at 28% 50%, var(--halo) 0, transparent 34cqi), linear-gradient(170deg, var(--i-g1) 0%, var(--i-g2) 60%, var(--i-g3) 100%); }
}
@container (min-width: 880px) {
  .s-q7.s-tx-card .s-q7-tx { width: min(100%, 580px); padding: 56px 44px 52px; }
  .s-q7.s-tx-card .s-q7-n { font-size: clamp(92px, 7.4cqi, 136px); }
}
.s-q7.s-tx-card .s-q7-n { font-size: clamp(64px, 19cqi, 110px); }

/* =====================================================================
   v8.5 · Portadas editoriales de XV (sin «formitas»)
   Cada diseño es una composición distinta, como en una revista o un estudio de fotografía:
   a sangre, duotono, portada de revista, fotos superpuestas, corte diagonal, arco, «15» monumental,
   collage, tríptico, camafeo, bloque desplazado, ventana alta y lámina con paspartú.
   En computadora: las de foto a sangre se parten 56 / 44; las enmarcadas usan una retícula centrada de 1280 px.
   ===================================================================== */
.inv-root { --q7-hair: color-mix(in srgb, var(--i-gold) 75%, transparent); }
.s-q7 .s-q7-img .s-ph img { object-fit: cover; object-position: 50% 20%; }

/* ---------- A sangre (Retrato) y revista (Princesa): la foto llena la portada; el texto va encima, abajo ---------- */
.i-cover.s-cover:is(.s-q7-bleed, .s-q7-magazine) { min-height: min(100svh, 210cqi); align-content: end; padding: 0 0 11cqi; }
:is(.s-q7-bleed, .s-q7-magazine) > .s-q7-ph { position: absolute; inset: 0; z-index: 0; }
:is(.s-q7-bleed, .s-q7-magazine) .s-q7-img { position: absolute; inset: 0; }
:is(.s-q7-bleed, .s-q7-magazine) .s-q7-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 14, 0) 38%, rgba(20, 8, 14, .38) 62%, rgba(20, 8, 14, .78) 100%); pointer-events: none; }
:is(.s-q7-bleed, .s-q7-magazine) .s-q7-tx { position: relative; z-index: 2; --i-ink: #fff; --i-muted: rgba(255, 255, 255, .86); --i-gold: #f3e2c4; }
.inv-root :is(.s-q7-bleed, .s-q7-magazine) .s-q7-n > span { background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.s-q7-mag { position: absolute; top: 4%; left: 0; right: 0; z-index: 2; text-align: center; font: 500 clamp(120px, 52cqi, 300px)/.8 var(--i-serif); letter-spacing: -.02em; color: #fff; opacity: .92; mix-blend-mode: soft-light; pointer-events: none; }
.s-q7-issue { position: absolute; top: 3.2%; right: 5%; z-index: 3; font: 600 10px/1 var(--i-serif); letter-spacing: .3em; text-transform: uppercase; color: #fff; opacity: .9; }

/* ---------- Duotono (Lazo Rosa) ---------- */
.s-q7-duotone .s-q7-img { height: min(132cqi, 68svh); background: color-mix(in srgb, var(--i-acc) 55%, #fff); }
.s-q7-duotone .s-q7-img img { filter: grayscale(1) contrast(1.08) brightness(1.06); mix-blend-mode: multiply; }
.s-q7-duotone .s-q7-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--i-gold) 40%, transparent), transparent 55%); mix-blend-mode: screen; }

/* ---------- Corte diagonal (Coral) ---------- */
.s-q7-diagonal .s-q7-img { height: min(132cqi, 68svh); clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.s-q7-diagonal .s-q7-ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2.4cqi; height: 100%; background: var(--i-acc); clip-path: polygon(0 calc(100% - 2px), 100% 82%, 100% calc(82% + 2px), 0 100%); opacity: .7; }

/* ---------- Enmarcadas (celular) ---------- */
.s-q7:is(.s-q7-stack, .s-q7-numeral, .s-q7-collage, .s-q7-triptych, .s-q7-cameo, .s-q7-offset, .s-q7-portal, .s-q7-mat) .s-q7-ph { margin: 15cqi auto 0; }
/* Fotos superpuestas (Mariposa Rosa) */
.s-q7-stack .s-q7-ph { width: 64cqi; margin-top: 17cqi; }
.s-q7-stack .s-q7-img { aspect-ratio: 4 / 5; border: 2.6cqi solid #fff; border-bottom-width: 9cqi; box-shadow: 0 18px 34px -20px rgba(40, 20, 30, .45); transform: rotate(-4deg); z-index: 1; }
.s-q7-stack .s-q7-img.back { position: absolute; inset: 0; transform: translate(12%, -7%) rotate(6deg); z-index: 0; filter: saturate(.85); }
/* Arco con doble filete (Rubí) */
.s-q7-arch .s-q7-ph { width: 64cqi; }
.s-q7-arch .s-q7-img { aspect-ratio: 3 / 4.3; border-radius: 999px 999px 0 0; outline: 0; }
.s-q7-arch .s-q7-line { position: absolute; inset: -12px -12px -12px; border: 1px solid var(--q7-hair); border-radius: 999px 999px 0 0; pointer-events: none; }
/* «15» monumental (Lila) */
.s-q7-numeral .s-q7-ph { width: 84cqi; display: grid; place-items: center; }
.s-q7-num { position: absolute; inset: auto 0; top: 50%; transform: translateY(-50%); text-align: center; font: 400 clamp(180px, 92cqi, 420px)/.8 var(--i-serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--i-acc) 55%, transparent); pointer-events: none; }
.s-q7-numeral .s-q7-img { width: 64%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 8px color-mix(in srgb, var(--i-g1) 92%, transparent); }
/* Collage (Mariposa Celeste) */
.s-q7-collage .s-q7-ph { width: 88cqi; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 2cqi; aspect-ratio: 1 / 1.05; }
.s-q7-collage .s-q7-img { border-radius: 2px; }
.s-q7-collage .s-q7-img:first-child { grid-row: 1 / 3; }
/* Tríptico (Tiffany) */
.s-q7-triptych .s-q7-ph { width: 90cqi; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 2.4cqi; align-items: center; }
.s-q7-triptych .s-q7-img { aspect-ratio: 1 / 2.3; border-radius: 999px; }
.s-q7-triptych .s-q7-img.side { aspect-ratio: 1 / 2.6; opacity: .95; }
/* Camafeo (Perla) */
.s-q7-cameo .s-q7-ph { width: 60cqi; }
.s-q7-cameo .s-q7-img { aspect-ratio: 3 / 4; border-radius: 50%; }
.s-q7-cameo .s-q7-line { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--q7-hair); box-shadow: 0 0 0 5px transparent, 0 0 0 6px color-mix(in srgb, var(--i-gold) 40%, transparent); pointer-events: none; }
/* Bloque desplazado (Dorada) */
.s-q7-offset .s-q7-ph { width: 64cqi; margin-left: auto; margin-right: auto; transform: translateX(-3cqi); }
.s-q7-offset .s-q7-block { position: absolute; inset: 0; transform: translate(6cqi, 6cqi); background: linear-gradient(135deg, color-mix(in srgb, var(--i-gold) 65%, #fff), var(--i-acc)); }
.s-q7-offset .s-q7-img { aspect-ratio: 4 / 5; }
/* Ventana alta (Noche Estrellada) */
.s-q7-portal .s-q7-ph { width: 56cqi; }
.s-q7-portal .s-q7-img { aspect-ratio: 1 / 1.75; border-radius: 999px; }
.s-q7-portal .s-q7-line { position: absolute; inset: -12px; border-radius: 999px; border: 1px solid var(--q7-hair); pointer-events: none; }
/* Lámina con paspartú (Esmeralda) */
.s-q7-mat .s-q7-ph { width: 74cqi; padding: 8% 8% 15%; background: #fbf8f1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 28px 50px -26px rgba(0, 0, 0, .6); }
.s-q7-mat .s-q7-img { aspect-ratio: 4 / 5; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.s-q7-cap2 { position: absolute; left: 0; right: 0; bottom: 5%; text-align: center; font: 500 11px/1 var(--i-serif); letter-spacing: .4em; color: #6b5a3a; }
.inv-root.cute .s-q7:is(.s-q7-mat, .s-q7-offset, .s-q7-stack) .s-q7-ph { filter: none; }

/* Nombre sobre la foto a sangre (celular): sombra suave para que se lea aunque la foto tenga el mismo tono */
.inv-root :is(.s-q7-bleed, .s-q7-magazine) .s-q7-n { filter: drop-shadow(0 1px 1px rgba(20, 8, 14, .35)) drop-shadow(0 4px 14px rgba(20, 8, 14, .45)); }
/* ---------- Computadora ---------- */
@container (min-width: 880px) {
  .inv-root :is(.s-q7-bleed, .s-q7-magazine) .s-q7-n { filter: none; }
  /* a sangre: la foto ocupa 56 % a lo alto; el texto, el resto sobre el degradado */
  .i-cover.s-cover:is(.s-q7-bleed, .s-q7-magazine, .s-q7-duotone, .s-q7-diagonal) { grid-template-columns: 56% 1fr; min-height: 100svh; padding: 0; align-content: stretch; align-items: stretch; }
  :is(.s-q7-bleed, .s-q7-magazine) > .s-q7-ph { position: relative; inset: auto; grid-column: 1; grid-row: 1; }
  :is(.s-q7-bleed, .s-q7-magazine) .s-q7-ph::after { background: linear-gradient(90deg, transparent 70%, rgba(20, 8, 14, .12)); }
  :is(.s-q7-bleed, .s-q7-magazine) .s-q7-tx { grid-column: 2; grid-row: 1; --i-ink: initial; --i-muted: initial; --i-gold: initial; }
  .inv-root :is(.s-q7-bleed, .s-q7-magazine) .s-q7-tx { --i-ink: inherit; }
  .inv-root :is(.s-q7-bleed, .s-q7-magazine) .s-q7-n > span { -webkit-text-fill-color: transparent; background: linear-gradient(90deg, var(--i-acc), color-mix(in srgb, var(--i-acc) 55%, var(--i-gold))); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
  :is(.s-q7-duotone, .s-q7-diagonal) .s-q7-ph { grid-column: 1; grid-row: 1; position: relative; }
  :is(.s-q7-duotone, .s-q7-diagonal) .s-q7-img { position: absolute; inset: 0; height: auto; }
  .s-q7-diagonal .s-q7-img { clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
  .s-q7-diagonal .s-q7-ph::after { inset: 0; bottom: 0; height: auto; clip-path: polygon(calc(100% - 2px) 0, 100% 0, 84% 100%, calc(84% - 2px) 100%); transform: translateX(2.4cqi); }
  :is(.s-q7-duotone, .s-q7-diagonal) .s-q7-tx { grid-column: 2; grid-row: 1; }
  .s-q7-mag { font-size: clamp(200px, 22cqi, 380px); top: 5%; }
  /* enmarcadas: retícula centrada */
  .i-cover.s-cover.s-q7:is(.s-q7-stack, .s-q7-arch, .s-q7-numeral, .s-q7-collage, .s-q7-triptych, .s-q7-cameo, .s-q7-offset, .s-q7-portal, .s-q7-mat) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 4cqi; padding-inline: max(4cqi, calc((100% - 1280px) / 2)); min-height: 100svh; padding-block: 0; align-items: center; }
  .s-q7:is(.s-q7-stack, .s-q7-arch, .s-q7-cameo, .s-q7-offset, .s-q7-mat) .s-q7-ph { width: min(78%, 50svh, 440px); margin: 10svh auto; transform: none; }
  .s-q7-portal .s-q7-ph { width: min(60%, 42svh, 360px); margin: 8svh auto; }
  .s-q7-numeral .s-q7-ph { width: min(100%, 76svh, 620px); margin: 6svh auto; }
  .s-q7-collage .s-q7-ph { width: min(100%, 78svh, 620px); margin: 8svh auto; }
  .s-q7-triptych .s-q7-ph { width: min(100%, 62svh, 560px); margin: 8svh auto; }
  .s-q7-stack .s-q7-img { border-width: 12px 12px 40px; }
  .s-q7-offset .s-q7-block { transform: translate(28px, 28px); }
  .s-q7 .s-q7-tx { padding-inline: 2cqi; }
}
.s-q7-mag { mix-blend-mode: normal; color: rgba(255, 255, 255, .9); text-shadow: 0 6px 40px rgba(0, 0, 0, .18); font-weight: 400; }
.s-q7-numeral .s-q7-ph { aspect-ratio: 1; align-content: center; justify-items: center; }
.s-q7-numeral .s-q7-img { position: relative; z-index: 1; }
@container (min-width: 880px) { .s-q7-numeral .s-q7-ph { width: min(100%, 70svh, 600px); align-self: center; } .s-q7-num { font-size: min(64svh, 30cqi); } }
@container (min-width: 880px) {
  .i-cover.s-cover.s-q7:is(.s-q7-stack, .s-q7-arch, .s-q7-numeral, .s-q7-collage, .s-q7-triptych, .s-q7-cameo, .s-q7-offset, .s-q7-portal, .s-q7-mat) > .s-q7-ph { margin: 7svh auto; align-self: center; }
  .i-cover.s-cover.s-q7.s-q7-collage > .s-q7-ph { width: min(100%, 76svh, 640px); }
  .i-cover.s-cover.s-q7.s-q7-triptych > .s-q7-ph { width: min(100%, 88svh, 660px); }
  .i-cover.s-cover.s-q7.s-q7-numeral > .s-q7-ph { width: min(100%, 78svh, 640px); }
  .i-cover.s-cover.s-q7:is(.s-q7-stack, .s-q7-arch, .s-q7-cameo, .s-q7-offset, .s-q7-mat) > .s-q7-ph { width: min(78%, 54svh, 460px); }
  .i-cover.s-cover.s-q7.s-q7-portal > .s-q7-ph { width: min(60%, 44svh, 380px); }
}
.s-q7-numeral .s-q7-img { width: 62%; }
.s-q7-num { -webkit-text-stroke: 1.5px color-mix(in srgb, var(--i-acc) 60%, transparent); }
@container (min-width: 880px) {
  .i-cover.s-cover.s-q7 > .s-q7-tx { align-self: center; }
  .s-q7-num { font-size: min(76svh, 36cqi); letter-spacing: -.06em; }
}
@container (min-width: 880px) {
  .i-cover.s-q7 > .s-q7-clouds { width: min(51%, 46svh * 2.67); }
  .i-cover.s-q7 > .s-q7-clouds { width: min(51%, 640px); }
}

/* =====================================================================
   Bodas en la misma familia de portadas que XV años (.s-w7): cada diseño con su composición
   (arco, ventana, polaroid, collage, círculo, marco, paspartú, fotos superpuestas, revista, tríptico,
   bloque desplazado), sus colores y su caligrafía. Los dos nombres van en tres líneas con un «&» fino.
   ===================================================================== */
.s-w7 .s-w7-n { display: grid; justify-items: center; font-size: clamp(56px, 17cqi, 96px); line-height: .98; margin: 0; }
.s-w7 .s-w7-n > span { display: block; }
.inv-root .s-w7 .s-w7-n > .s-w7-amp { font: italic 400 .4em/1 var(--i-serif); letter-spacing: .04em; margin: .02em 0 .1em; padding: 0; color: var(--i-gold); -webkit-text-fill-color: var(--i-gold); background: none; text-shadow: none; }
.s-w7-caps .s-w7-n { font-family: var(--i-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(32px, 9.6cqi, 54px); line-height: 1.12; padding-left: .16em; }
.s-w7-caps .s-w7-n > .s-w7-amp { font-size: .62em; text-transform: none; letter-spacing: 0; }
.s-w7 .s-q7-k { letter-spacing: .34em; }
.s-w7.compact .s-w7-n { font-size: 13cqi; }
.s-w7-caps.compact .s-w7-n { font-size: 8cqi; }
/* Revista: monograma de iniciales en vez del «XV» */
.s-q7-mag.w { font-size: clamp(96px, 36cqi, 220px); letter-spacing: -.01em; top: 6%; }
/* Paspartú: iniciales en versalitas espaciadas */
.s-w7 .s-q7-cap2 { letter-spacing: .32em; }
/* Polaroid: la leyenda en la caligrafía del diseño */
.s-w7 .s-q7-cap { font-size: clamp(20px, 6.4cqi, 30px); }
/* Diseños oscuros (Noche de Gala): marco y textos en dorado sobre la noche */
.inv-root.is-dark .s-w7 .s-q7-k, .inv-root.is-dark .s-w7 .s-q7-d { color: var(--i-ink); }
/* Flores del diseño junto a la foto (bodas) */
.s-w7 .s-q7-ph > .s-wf { position: absolute; width: 38%; z-index: 3; pointer-events: none; }
.s-w7 .s-q7-ph > .s-wf.tl { top: -9%; left: -13%; transform: rotate(-8deg); }
.s-w7 .s-q7-ph > .s-wf.br { bottom: -11%; right: -13%; transform: rotate(172deg) scaleX(-1); }
.s-w7.s-q7-collage .s-q7-ph > .s-wf, .s-w7.s-q7-triptych .s-q7-ph > .s-wf { width: 30%; }
.s-w7.s-q7-collage .s-q7-ph > .s-wf.tl, .s-w7.s-q7-triptych .s-q7-ph > .s-wf.tl { top: -7%; left: -6%; }
.s-w7.s-q7-collage .s-q7-ph > .s-wf.br, .s-w7.s-q7-triptych .s-q7-ph > .s-wf.br { bottom: -8%; right: -6%; }
.s-w7.compact .s-q7-ph > .s-wf { width: 30%; }

/* v9.0 · Un solo fondo continuo: el degradado va en toda la página, no solo en la columna central,
   para que en computadora no se vean bordes ni franjas de otro tono a los lados. */
.inv-root.sig:not(.xv7) { background: linear-gradient(180deg, var(--i-g1) 0%, var(--i-g2) 14%, var(--i-g3) 32%, var(--i-g2) 50%, var(--i-g1) 66%, var(--i-g3) 84%, var(--i-g2) 100%); min-height: 100vh; }
.inv-root.sig:not(.xv7) .inv { background: transparent; box-shadow: none; }
@media (min-width: 600px) {
  .inv-root.sig:not(.xv7) .i-cover.s-cover:not(.s-full):not(.s-strips):not(.s-dream):not(.s-mono) { background: transparent; }
  /* sin borde visible, los ramos entre secciones no deben quedar cortados a los lados */
  .inv-root.sig:not(.xv7) .inv > .s-pair { margin-inline: 0; padding-inline: 3cqi; }
}
