@font-face {
    font-family: ClassicDisplay;
    src: url('../fonsts/title.woff2') format('woff2');
    font-display: swap;
    font-weight: 400
}

@font-face {
    font-family: ClassicText;
    src: url('../fonsts/body.woff2') format('woff2');
    font-display: swap;
    font-weight: 400
}

@font-face {
    font-family: ClassicText;
    src: url('../fonsts/body-bold.woff2') format('woff2');
    font-display: swap;
    font-weight: 700
}

@font-face {
    font-family: ClassicAccent;
    src: url('../fonsts/cover.ttf') format('truetype');
    font-display: swap;
    font-weight: 400
}

:root {
    --paper: #f4f0e7;
    --cream: #fffefa;
    --sage: #99a6a5;
    --sage-deep: #788886;
    --ink: #303733;
    --muted: #636b65;
    --line: rgba(255, 255, 255, .35);
    --serif: ClassicDisplay, Georgia, serif;
    --sans: ClassicText, Arial, sans-serif;
    --accent: ClassicAccent, Georgia, serif
}

* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
    font: inherit
}

a {
    color: inherit;
    text-decoration: none
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

::selection {
    background: #c7d0c8;
    color: #252b28
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    touch-action: manipulation;
    outline: none
}

.intro:focus-visible {
    outline: 2px solid #fafaf8;
    outline-offset: -8px
}

.intro.is-leaving {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease, visibility 1.2s ease
}

.intro-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.invitation {
    position: relative;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    overflow: hidden;
    background: var(--paper)
}

.invitation.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none
}

main {
    width: 100%;
    overflow: visible
}

section {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(50px, 8vh, 92px) clamp(22px, 6vw, 90px);
    text-align: center;
    scroll-snap-align: start
}

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 0 0 15px;
    color: #687875;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .21em;
    text-transform: uppercase
}

.section-kicker span {
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .7
}

.section-kicker-light {
    color: #f5f4ed
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-weight: 400
}

h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 8vw, 82px);
    line-height: .98;
    letter-spacing: -.035em
}

h2 i {
    color: var(--sage-deep);
    font-family: var(--accent);
    font-size: .94em;
    font-weight: 400;
    font-style: normal
}

.section-lead {
    max-width: 570px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8
}

.invitation-section {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
}

.welcome-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0;
    color: #fff
}

.cover-photo {
    --flower-size: clamp(130px, 32vw, 290px);
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #77827c
}

.portrait-photo,
.photo-reveal-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.portrait-photo {
    z-index: 0;
    object-position: 50% 0%;
    clip-path: inset(0);
    filter: none;
    transform: scale(1)
}

.photo-reveal-video {
    z-index: 1;
    opacity: 0;
    mix-blend-mode: screen;
    filter: contrast(1.08) saturate(.72);
    pointer-events: none;
    will-change: opacity, transform
}

.corner-source {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 2px;
    opacity: 0;
    pointer-events: none
}

.corner-flower {
    position: absolute;
    z-index: 3;
    display: block;
    width: var(--flower-size);
    height: auto;
    aspect-ratio: 1268/970;
    pointer-events: none
}

.corner-flower-bl {
    left: 0;
    bottom: 0
}

.corner-flower-br {
    right: 0;
    bottom: 0;
    transform: scaleX(-1)
}

.corner-flower-tl {
    left: 0;
    top: 0;
    transform: scaleY(-1)
}

.corner-flower-tr {
    right: 0;
    top: 0;
    transform: scale(-1, -1)
}

.cover-photo.is-blend-fallback .corner-flower {
    mix-blend-mode: screen
}

.cover-photo.is-revealing .portrait-photo,
.story-photo-screen.is-revealing .story-photo-image {
    animation: photo-uncover 3s cubic-bezier(.2, .8, .2, 1) both
}

.cover-photo.is-revealing .photo-reveal-video,
.story-photo-screen.is-revealing .photo-reveal-video {
    animation: blend-wash 3s ease-out both
}

.cover-photo.is-revealed .portrait-photo,
.story-photo-screen.is-revealed .story-photo-image {
    clip-path: inset(0);
    filter: none;
    transform: scale(1)
}

.cover-photo.is-revealed .photo-reveal-video,
.story-photo-screen.is-revealed .photo-reveal-video {
    opacity: 0
}

.cover-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 31, 27, .02) 8%, rgba(23, 30, 27, .04) 32%, rgba(25, 31, 28, .32) 58%, rgba(24, 30, 27, .76) 100%)
}

.cover-leaf {
    position: absolute;
    z-index: 3;
    width: clamp(76px, 12vw, 130px);
    opacity: .82
}

.cover-leaf-left {
    top: 8%;
    left: clamp(10px, 4vw, 54px);
    transform: rotate(-18deg)
}

.cover-leaf-right {
    right: clamp(10px, 4vw, 54px);
    bottom: 12%;
    transform: rotate(150deg) scaleX(-1)
}

.welcome-content {
    position: relative;
    z-index: 4;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 50px 20px clamp(42px, 6vh, 68px)
}

.welcome-content .section-kicker {
    color: rgba(255, 255, 255, .88)
}

.welcome-section h1 {
    margin: 10px 0 15px;
    color: #fffdf6;
    font-family: var(--serif);
    font-size: clamp(52px, 9vw, 90px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.04em;
    text-shadow: 0 3px 24px rgba(20, 27, 24, .17)
}

.welcome-section h1 i {
    color: #e7e4d8;
    font-family: var(--accent);
    font-size: .72em;
    font-style: normal
}

.welcome-callout {
    margin: 8px 0 9px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase
}

.date-lockup {
    margin: 0;
    color: #fffdf5;
    font-family: var(--serif);
    font-size: clamp(24px, 5vw, 32px);
    letter-spacing: .12em
}

.date-lockup span {
    color: #e2dfd2;
    font-family: var(--accent)
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(9px, 2.7vw, 24px);
    margin: 20px auto 17px
}

.countdown div {
    display: flex;
    min-width: 38px;
    align-items: center;
    flex-direction: column;
    gap: 4px
}

.countdown strong {
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(23px, 5vw, 35px);
    font-weight: 400
}

.countdown div span {
    color: rgba(255, 255, 255, .85);
    font-size: 7px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.countdown>i {
    margin-top: -9px;
    color: rgba(255, 255, 255, .65);
    font-family: var(--serif);
    font-size: 21px;
    font-style: normal
}

.countdown-section {
    background: linear-gradient(rgba(37, 47, 42, .5), rgba(37, 47, 42, .64)), var(--bg-cuenta, url('../imagenes/foto-5.jpg')) center 40%/cover;
    color: #fff
}

.countdown-section h2 {
    max-width: 700px;
    color: #fff
}

.countdown-section h2 i {
    color: #e8e3d8
}

.countdown-section .section-lead {
    color: rgba(255, 255, 255, .88)
}

.countdown-section .countdown {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 3vw, 36px);
    width: max-content;
    max-width: 100%;
    margin: 34px auto 22px
}

.countdown-section .countdown>div {
    display: flex;
    min-width: clamp(52px, 14vw, 110px);
    align-items: center;
    flex-direction: column;
    gap: 8px
}

.countdown-section .countdown strong {
    color: #fff;
    font-size: clamp(40px, 11vw, 86px);
    line-height: 1;
    text-shadow: 0 2px 18px rgba(20, 27, 24, .3)
}

.countdown-section .countdown div span {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(8px, 2.2vw, 11px);
    letter-spacing: .18em
}

.countdown-section .countdown>i {
    margin-top: -24px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(28px, 7vw, 54px)
}

.countdown-date {
    margin: 0;
    color: #f0ebdf;
    font-family: var(--accent);
    font-size: clamp(18px, 4vw, 26px)
}

.host-note {
    margin: 10px 0 0;
    color: #fff;
    font-family: var(--accent);
    font-size: 14px;
    line-height: 1.5
}

.host-note span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .77);
    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: .05em
}

.scroll-cue {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    margin-top: 21px;
    color: rgba(255, 255, 255, .82);
    font-size: 7px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.scroll-cue span {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .7);
    animation: cue 1.9s ease-in-out infinite
}

.section-divider {
    position: relative;
    z-index: 10;
    height: 0;
    margin: 0;
    overflow: visible;
    pointer-events: none
}

.section-divider .divider-paper {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: clamp(42px, 5vw, 72px);
    object-fit: cover;
    object-position: center 30%;
    transform: translateY(-50%);
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .16))
}

.section-divider.divider-flip .divider-paper {
    transform: translateY(-50%) scaleY(-1)
}

.section-divider .divider-flower {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: auto;
    width: clamp(55px, 8vw, 86px);
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 2px 3px rgba(32, 40, 37, .12))
}

.section-divider .divider-flower-left {
    left: -4px;
    transform: translateY(-20%) rotate(-118deg);
    transform-origin: bottom left;
    --bloom-delay: .1s
}

.section-divider .divider-flower-right {
    right: -4px;
    transform: translateY(-20%) rotate(112deg) scaleX(-1);
    transform-origin: bottom right;
    --bloom-delay: .28s
}

.section-divider .divider-flower.is-grown {
    opacity: 1;
    animation: breeze 5.4s ease-in-out infinite alternate
}

.story-section {
    color: #fff;
    background: linear-gradient(145deg, rgba(51, 61, 55, .63), rgba(75, 86, 79, .52)), var(--bg-historia, url('../imagenes/foto-2.jpg')) center 36%/cover
}

.section-content {
    position: relative;
    z-index: 2;
    width: min(790px, 100%);
    margin: auto;
    text-align: center
}

.story-content h2 {
    color: #fff
}

.story-content h2 i {
    color: #e6e7dd
}

.story-content .section-lead {
    color: rgba(255, 255, 255, .87)
}

.story-timeline {
    max-width: 650px;
    margin: 30px auto 0;
    text-align: left
}

.story-moment {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .38);
    padding: 14px 0
}

.story-moment:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .38)
}

.moment-number {
    color: #e5e4d8;
    font-family: var(--accent);
    font-size: 19px
}

.story-moment h3 {
    margin: 0 0 4px;
    color: #fff;
    font-family: var(--serif);
    font-size: 21px
}

.story-moment p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 11px;
    line-height: 1.6
}

.cutlery-note {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    letter-spacing: .1em
}

.story-photo-screen {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
    color: #fff
}

.story-photo-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%
}

.story-photo-screen .photo-reveal-video {
    z-index: 1
}

.photo-caption-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 30, 26, .04) 30%, rgba(25, 31, 28, .68) 100%)
}

.full-screen-caption {
    position: relative;
    z-index: 3;
    width: min(760px, 100%);
    margin: auto;
    padding: 50px 22px 70px;
    text-align: center
}

.full-screen-caption h2 {
    color: #fff
}

.full-screen-caption h2 i {
    color: #e7e1d3
}

.full-screen-caption>p:last-child {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .86);
    font-family: var(--accent);
    font-size: 17px
}

/* ---------- Galería "Recuerdos que nos acompañan" ---------- */
.moments-section {
    position: relative;
    display: block;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    padding: 0;
    background: #596660;
    color: #fff
}

.moments-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(39, 49, 43, .36), rgba(91, 105, 96, .26)), url('../imagenes/foto-2.jpg') center/cover
}

.moments-heading {
    position: absolute;
    top: clamp(28px, 7vh, 70px);
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 22px;
    text-align: center;
    text-shadow: 0 2px 15px rgba(20, 27, 23, .4);
    pointer-events: none
}

.moments-heading .section-kicker {
    color: rgba(255, 255, 255, .9)
}

.moments-heading h2 {
    color: #fff
}

.moments-heading h2 i {
    color: #e8e1d5
}

.moments-gallery {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    outline: none;
    touch-action: pan-y
}

.moment-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease, visibility .8s ease
}

.moment-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.moment-photo-slot {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(145deg, #718078, #b6ad95);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.035);
    transition: transform 5s ease
}

.moment-slide.is-active .moment-photo-slot {
    transform: scale(1)
}

.moment-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 36, 31, .22), transparent 36%, rgba(23, 30, 26, .13) 60%, rgba(22, 28, 25, .64) 100%);
    pointer-events: none
}

.moment-caption {
    position: absolute;
    right: 20px;
    bottom: clamp(98px, 15vh, 142px);
    left: 20px;
    z-index: 3;
    margin: 0;
    color: #fff;
    font-family: var(--accent);
    font-size: clamp(22px, 5vw, 34px);
    text-align: center;
    text-shadow: 0 2px 18px rgba(18, 24, 21, .48);
    pointer-events: none
}

.moment-caption span {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase
}

.moments-controls {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 4vw, 34px)
}

.moments-controls>button {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(38, 48, 42, .23);
    color: #fff;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1;
    backdrop-filter: blur(7px)
}

.moments-controls>button:hover {
    background: rgba(255, 255, 255, .2)
}

.moment-dots {
    display: flex;
    align-items: center;
    gap: 8px
}

.moment-dots button {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    padding: 0;
    cursor: pointer
}

.moment-dots button[aria-current=true] {
    width: 19px;
    border-radius: 8px;
    background: #fff
}

.moments-gallery:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -8px
}

@media(max-width:700px) {
    .moments-heading {
        top: 34px
    }

    .moments-controls {
        bottom: 16px
    }

    .moments-controls>button {
        width: 38px;
        height: 38px
    }
}

.venue-screen {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(44px, 7vh, 76px) 23px;
    color: #fff
}

.venue-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center
}

.venue-photo-two {
    background-image: linear-gradient(rgba(57, 66, 59, .44), rgba(49, 60, 54, .58)), var(--bg-ceremonia, url('../imagenes/foto-4.jpg'));
    background-position: center 38%
}

.venue-photo-three {
    background-image: linear-gradient(rgba(57, 66, 59, .45), rgba(49, 60, 54, .62)), var(--bg-recepcion, url('../imagenes/foto-1.jpg'));
    background-position: center 30%
}

.venue-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center
}

.venue-content h2 {
    color: #fff
}

.venue-content h2 i {
    color: #e8e3d8
}

.venue-icon {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin: 18px 0 11px;
    filter: brightness(0) invert(1)
}

.venue-name {
    margin: 8px 0;
    color: #fff;
    font-family: var(--accent);
    font-size: clamp(35px, 7vw, 55px)
}

.venue-detail {
    margin: 10px 0 20px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 1.8
}

.location-link {
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    padding: 0 0 5px;
    color: #fff;
    font-size: 8px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.location-link span {
    margin-left: 6px
}

.itinerary-screen {
    background: linear-gradient(140deg, #f7f4ec, #eae8de);
    color: var(--ink)
}

.timer-icon {
    width: 57px;
    height: 57px;
    object-fit: contain;
    margin: 20px 0 12px;
    opacity: .74
}

.itinerary-screen h2 {
    max-width: 700px
}

.itinerary-list {
    width: min(640px, 100%);
    margin: 24px auto 0;
    padding: 0;
    list-style: none;
    text-align: left
}

.itinerary-list li {
    display: grid;
    grid-template-columns: 35px 1fr 45px;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(81, 92, 84, .19);
    padding: 13px 0
}

.itinerary-list li:last-child {
    border-bottom: 1px solid rgba(81, 92, 84, .19)
}

.itinerary-list li>span {
    color: var(--sage-deep);
    font-family: var(--accent);
    font-size: 18px
}

.itinerary-list p {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0
}

.itinerary-list strong {
    font-size: 12px;
    font-weight: 700
}

.itinerary-list small {
    color: var(--muted);
    font-size: 9px
}

.itinerary-list img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    opacity: .68
}

.dress-section {
    background: linear-gradient(rgba(119, 137, 134, .77), rgba(119, 137, 134, .85)), var(--bg-vestimenta, url('../imagenes/foto-3.jpg')) center 40%/cover;
    color: #fff
}

.dress-section h2,
.dress-section h2 i {
    color: #fff
}

.dress-section .section-lead {
    color: rgba(255, 255, 255, .9)
}

.couple-attire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 6vw, 55px);
    margin: 34px auto 28px
}

.couple-attire article {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    font-family: var(--accent);
    font-size: 17px
}

.couple-attire img {
    width: 72px;
    height: 74px;
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.attire-and {
    color: #e5e9e1;
    font-family: var(--accent);
    font-size: 30px
}

.palette-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    max-width: 570px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .35);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding: 16px 8px;
    text-align: left
}

.palette-dots {
    display: flex;
    gap: 4px;
    flex: 0 0 auto
}

.palette-dots i {
    width: 13px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    background: #d8cebd
}

.palette-dots i:nth-child(2) {
    background: #c0b49e
}

.palette-dots i:nth-child(3) {
    background: #ece8de
}

.palette-dots i:nth-child(4) {
    background: #59615d
}

.palette-note p {
    margin: 0;
    color: rgba(255, 255, 255, .93);
    font-size: 10px;
    line-height: 1.6
}

.palette-note strong {
    color: #fff;
    font-size: 11px
}

.dress-level {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 8px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.gift-section {
    background: linear-gradient(rgba(248, 246, 239, .89), rgba(248, 246, 239, .92)), var(--bg-regalos, url('../imagenes/foto-10.jpg')) center/cover;
    color: var(--ink)
}

.gift-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 23px auto 12px
}

.gift-section h2 {
    font-size: clamp(44px, 8vw, 70px)
}

.gift-section h2 i {
    color: var(--sage-deep)
}

.gift-section .section-lead {
    max-width: 420px
}

.gift-note {
    max-width: 520px;
    margin: 29px auto 0;
    border-top: 1px solid rgba(85, 96, 87, .22);
    border-bottom: 1px solid rgba(85, 96, 87, .22);
    padding: 20px 14px;
    text-align: center
}

.gift-note strong {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400
}

.gift-note p {
    margin: 10px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7
}

.gift-note span {
    color: #818981;
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.rsvp-section {
    background: linear-gradient(rgba(113, 132, 128, .81), rgba(105, 124, 121, .88)), var(--bg-confirmacion, url('../imagenes/foto-2.jpg')) center 38%/cover;
    color: #fff
}

.rsvp-envelope {
    width: 76px;
    height: 57px;
    object-fit: contain;
    margin: 18px auto 10px;
    filter: brightness(0) invert(1);
    opacity: .9
}

.rsvp-section h2 {
    font-size: clamp(46px, 8vw, 74px)
}

.rsvp-section h2 i {
    color: #ece8dd
}

.rsvp-deadline {
    max-width: 500px;
    margin: 17px auto;
    background: rgba(255, 255, 255, .1);
    padding: 9px 13px;
    color: rgba(255, 255, 255, .91);
    font-size: 9px;
    letter-spacing: .08em
}

.rsvp-guest {
    margin: 6px auto 0;
    color: #fff
}

.rsvp-hello {
    margin: 0;
    font-family: var(--accent);
    font-size: 26px
}

.rsvp-seats {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 11px;
    letter-spacing: .08em
}

.form-card {
    display: grid;
    width: min(560px, 100%);
    gap: 7px;
    margin: 18px auto 0;
    padding: 0;
    background: transparent;
    color: #303733;
    text-align: left
}

.form-card label,
.interactive-form label {
    margin-top: 6px;
    color: rgba(255, 255, 255, .92);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.form-card input,
.form-card select,
.form-card textarea,
.interactive-form input,
.interactive-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .54);
    border-radius: 0;
    outline: none;
    background: rgba(255, 255, 255, .08);
    padding: 10px 8px;
    color: #fff;
    font-family: var(--sans);
    font-size: 12px
}

.form-card select option {
    color: #303733
}

.form-card input::placeholder,
.form-card textarea::placeholder,
.interactive-form input::placeholder,
.interactive-form textarea::placeholder {
    color: rgba(255, 255, 255, .65)
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.interactive-form input:focus,
.interactive-form textarea:focus {
    border-color: #fff
}

.form-card textarea,
.interactive-form textarea {
    resize: vertical
}

.form-card button,
.interactive-form button {
    margin-top: 13px;
    border: 1px solid rgba(255, 255, 255, .74);
    background: transparent;
    padding: 13px;
    color: #fff;
    cursor: pointer;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase
}

.form-card button:hover,
.interactive-form button:hover {
    background: #fff;
    color: #52615d
}

.form-result {
    width: min(560px, 100%);
    margin: 12px auto 0;
    background: rgba(255, 255, 255, .94);
    padding: 12px;
    color: #34403b;
    font-size: 10px;
    line-height: 1.65;
    text-align: left;
    white-space: pre-wrap
}

.form-disclaimer,
.music-note {
    max-width: 520px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, .75);
    font-size: 8px;
    line-height: 1.5
}

.light-form label {
    color: #5f6e68
}

.light-form input,
.light-form select,
.light-form textarea {
    border-bottom: 1px solid #aeb8b0;
    background: rgba(255, 255, 255, .6);
    color: #303733
}

.light-form input::placeholder,
.light-form textarea::placeholder {
    color: #78817b
}

.light-form input:focus,
.light-form select:focus,
.light-form textarea:focus {
    border-color: var(--sage-deep)
}

.light-form button {
    border: 0;
    background: var(--sage-deep);
    color: #fff
}

.light-form button:hover {
    background: #657571;
    color: #fff
}

.interactive-section .music-note {
    color: var(--muted);
    font-size: 10px
}

.interactive-section {
    background: linear-gradient(135deg, #f8f5ed, #e9e8dd);
    color: var(--ink)
}

.interactive-section h2 {
    font-size: clamp(43px, 8vw, 72px)
}

.party-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin: 19px auto 10px
}

.interactive-section .section-lead {
    max-width: 470px
}

.interactive-form {
    display: grid;
    width: min(520px, 100%);
    gap: 7px;
    margin: 23px auto 0;
    text-align: left
}

.interactive-form label {
    color: #74827c
}

.interactive-form input,
.interactive-form textarea {
    border-bottom: 1px solid #aeb8b0;
    background: rgba(255, 255, 255, .22);
    color: #303733
}

.interactive-form input::placeholder,
.interactive-form textarea::placeholder {
    color: #78817b
}

.interactive-form button {
    border: 0;
    background: var(--sage-deep);
    color: #fff
}

.interactive-form button:hover {
    background: #657571;
    color: #fff
}

.interactive-section .form-result {
    border: 1px solid var(--line);
    background: #fffefa
}

.album-section {
    color: #fff
}

.section-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center
}

.section-backdrop-album {
    background-image: linear-gradient(rgba(48, 57, 51, .57), rgba(40, 50, 45, .7)), var(--bg-album, url('../imagenes/foto-4.jpg'));
    background-position: center 40%
}

.section-backdrop-travel {
    background-image: linear-gradient(rgba(51, 63, 57, .74), rgba(53, 64, 58, .82)), var(--bg-viaje, url('../imagenes/foto-5.jpg'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #4b5a53
}

.album-content,
.travel-content {
    position: relative;
    z-index: 1;
    max-width: 800px
}

.album-icon {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin: 21px auto 14px;
    filter: brightness(0) invert(1);
    opacity: .9
}

.album-content h2,
.travel-content h2 {
    color: #fff
}

.album-content h2 i,
.travel-content h2 i {
    color: #e8e2d4
}

.album-content>p:not(.section-kicker) {
    max-width: 470px;
    margin: 17px auto;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 1.8
}

.hashtag {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding: 11px 25px;
    color: #fff;
    font-family: var(--accent);
    font-size: 21px
}

.hashtag small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .74);
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.wishes-section {
    background: linear-gradient(rgba(246, 243, 235, .93), rgba(246, 243, 235, .96)), var(--bg-deseos, url('../imagenes/foto-11.jpg')) center 37%/cover;
    color: var(--ink)
}

.wish-flower {
    width: 90px;
    height: 78px;
    object-fit: contain;
    margin: 10px auto 13px
}

.wishes-section h2 {
    font-size: clamp(44px, 8vw, 72px)
}

.wishes-section h2 i {
    color: var(--sage-deep)
}

.wishes-section .section-lead {
    max-width: 420px
}

.wishes-section .interactive-form label {
    color: #74827c
}

.wishes-section .interactive-form input,
.wishes-section .interactive-form textarea {
    border-bottom: 1px solid #b8c0b9;
    background: rgba(255, 255, 255, .45);
    color: #303733
}

.wishes-section .interactive-form input::placeholder,
.wishes-section .interactive-form textarea::placeholder {
    color: #78817b
}

.wishes-section .interactive-form button {
    background: #849291;
    color: #fff
}

.wishes-section .form-result {
    border: 1px solid var(--line);
    background: #fffefa
}

.travel-section {
    color: #fff
}

.travel-content .section-lead {
    color: rgba(255, 255, 255, .87)
}

.travel-content .location-link {
    display: inline-block;
    margin-top: 24px
}

.travel-list {
    width: min(650px, 100%);
    margin: 24px auto 0;
    text-align: left
}

.travel-list article {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .36);
    padding: 13px 4px
}

.travel-list article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .36)
}

.travel-list img {
    width: 38px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .88
}

.travel-list h3 {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-size: 19px
}

.travel-list p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 10px;
    line-height: 1.5
}

.faq-section {
    background: linear-gradient(rgba(249, 247, 241, .95), rgba(249, 247, 241, .97)), var(--bg-preguntas, url('../imagenes/foto-12.jpg')) center/cover;
    color: var(--ink)
}

.faq-section h2 {
    font-size: clamp(42px, 8vw, 68px)
}

.faq-list {
    width: min(660px, 100%);
    margin: 25px auto 0;
    text-align: left
}

.faq-list details {
    border-top: 1px solid rgba(81, 92, 84, .24);
    padding: 14px 1px
}

.faq-list details:last-child {
    border-bottom: 1px solid rgba(81, 92, 84, .24)
}

.faq-list summary {
    position: relative;
    padding-right: 28px;
    color: #2f3833;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.5;
    list-style: none
}

.faq-list summary::-webkit-details-marker {
    display: none
}

.faq-list summary::after {
    position: absolute;
    right: 3px;
    content: '+';
    color: var(--sage-deep);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1
}

.faq-list details[open] summary::after {
    content: '−'
}

.faq-list details p {
    margin: 8px 28px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7
}

.closing-section {
    position: relative;
    color: #fff;
    background: linear-gradient(rgba(80, 95, 88, .75), rgba(67, 82, 76, .82)), var(--bg-cierre, url('../imagenes/foto-3.jpg')) center 36%/cover
}

.closing-section h2 {
    font-size: clamp(58px, 10vw, 92px);
    line-height: .93
}

.closing-section h2 i {
    color: #e9e3d5
}

.closing-date {
    margin: 20px 0;
    color: rgba(255, 255, 255, .9);
    font-family: var(--accent);
    font-size: 17px
}

.closing-message {
    margin: 18px 0;
    color: rgba(255, 255, 255, .87);
    font-size: 11px;
    line-height: 1.8
}

.closing-message strong {
    color: #fff;
    font-family: var(--accent);
    font-size: 22px;
    font-weight: 400
}

.contact-note {
    display: grid;
    gap: 4px;
    max-width: 360px;
    margin: 17px auto 0;
    border-top: 1px solid rgba(255, 255, 255, .32);
    padding-top: 12px
}

.contact-note span {
    color: rgba(255, 255, 255, .77);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.contact-note strong {
    font-size: 10px;
    font-weight: 400
}

.calendar-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    padding: 12px 17px;
    color: #fff;
    font-size: 8px;
    letter-spacing: .13em;
    text-transform: uppercase
}

.closing-flower {
    position: absolute;
    right: 4vw;
    bottom: 6vh;
    width: clamp(70px, 10vw, 120px);
    opacity: .58
}

.site-footer {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    z-index: 3;
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 7px;
    letter-spacing: .11em;
    text-transform: uppercase
}

.site-footer span:first-child {
    font-family: var(--accent);
    font-size: 14px
}

.site-footer a {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 2px
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.botanical {
    --bloom-delay: 0s;
    scale: .03;
    opacity: 0;
    transform-origin: 50% 90%;
    pointer-events: none
}

.botanical.is-growing {
    animation: bloom 1.25s var(--bloom-delay) cubic-bezier(.2, .75, .2, 1) both
}

.botanical.is-grown {
    scale: 1;
    opacity: 1;
    animation: breeze 5.4s ease-in-out infinite alternate
}

.section-divider .divider-flower.is-grown {
    animation: breeze 5.4s ease-in-out infinite alternate
}

@keyframes photo-uncover {
    0% {
        clip-path: inset(0 0 100% 0);
        filter: blur(8px) brightness(.72);
        transform: scale(1.1)
    }

    34% {
        clip-path: inset(0 0 56% 0);
        filter: blur(4px) brightness(.84);
        transform: scale(1.06)
    }

    70% {
        clip-path: inset(0 0 18% 0);
        filter: blur(1px) brightness(.96);
        transform: scale(1.02)
    }

    100% {
        clip-path: inset(0);
        filter: blur(0) brightness(1);
        transform: scale(1)
    }
}

@keyframes blend-wash {
    0% {
        opacity: .58;
        transform: scale(1.08)
    }

    65% {
        opacity: .3;
        transform: scale(1.02)
    }

    100% {
        opacity: 0;
        transform: scale(1)
    }
}

@keyframes bloom {
    0% {
        scale: .03;
        opacity: 0
    }

    62% {
        scale: 1.08;
        opacity: 1
    }

    82% {
        scale: .96
    }

    100% {
        scale: 1;
        opacity: 1
    }
}

@keyframes breeze {
    0% {
        rotate: -1.5deg
    }

    100% {
        rotate: 1.8deg
    }
}

@keyframes cue {

    0%,
    100% {
        transform: scaleY(.6);
        transform-origin: top;
        opacity: .45
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1
    }
}

@media(max-width:700px) {
    section {
        padding: clamp(40px, 7vh, 70px) 21px
    }

    .welcome-section {
        padding: 0
    }

    .welcome-content {
        padding: 45px 20px 52px
    }

    .welcome-section h1 {
        font-size: clamp(53px, 13vw, 82px)
    }

    .cover-leaf {
        width: 74px
    }

    .cover-leaf-left {
        left: 5px;
        top: 7%
    }

    .cover-leaf-right {
        right: 5px;
        bottom: 8%
    }

    .story-timeline {
        margin-top: 22px
    }

    .story-moment {
        padding: 10px 0;
        grid-template-columns: 34px 1fr
    }

    .story-moment h3 {
        font-size: 18px
    }

    .story-moment p {
        font-size: 10px
    }

    .cutlery-note {
        font-size: 8px
    }

    .venue-icon {
        width: 70px;
        height: 70px
    }

    .itinerary-list {
        margin-top: 18px
    }

    .itinerary-list li {
        padding: 10px 0
    }

    .itinerary-list img {
        width: 32px;
        height: 32px
    }

    .couple-attire {
        gap: 20px
    }

    .couple-attire img {
        width: 60px;
        height: 62px
    }

    .palette-note {
        padding: 12px 3px
    }

    .form-card {
        max-width: 460px
    }

    .interactive-section .section-lead {
        margin-bottom: 4px
    }

    .travel-list {
        margin-top: 18px
    }

    .travel-list article {
        padding: 10px 0
    }

    .travel-list h3 {
        font-size: 17px
    }

    .faq-list {
        margin-top: 17px
    }

    .faq-list details {
        padding: 12px 1px
    }

    .faq-list summary {
        font-size: 14px
    }

    .closing-section {
        padding-bottom: 75px
    }
}

@media(max-height:720px) {
    section:not(.welcome-section) {
        padding-top: 35px;
        padding-bottom: 35px
    }

    .countdown {
        margin: 12px auto
    }

    .story-timeline {
        margin-top: 16px
    }

    .story-moment {
        padding: 8px 0
    }

    .itinerary-list {
        margin-top: 14px
    }

    .itinerary-list li {
        padding: 8px 0
    }

    .form-card {
        gap: 4px
    }

    .form-card label {
        margin-top: 2px
    }

    .form-card input,
    .form-card select,
    .form-card textarea {
        padding: 7px
    }

    .interactive-form {
        margin-top: 14px
    }

    .interactive-form label {
        margin-top: 2px
    }

    .interactive-form input,
    .interactive-form textarea {
        padding: 7px
    }
}

@media(max-width:700px) {
    .venue-screen {
        padding: 32px 21px
    }

    .venue-icon {
        width: 62px;
        height: 62px;
        margin: 10px 0 5px
    }

    .venue-name {
        margin: 4px 0;
        font-size: 36px
    }

    .venue-detail {
        margin: 7px 0 13px
    }
}

@media(max-height:720px) {
    .venue-screen {
        padding: 23px 18px
    }

    .venue-icon {
        width: 58px;
        height: 58px;
        margin: 7px 0 4px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .portrait-photo,
    .story-photo-image {
        clip-path: inset(0) !important;
        filter: none !important;
        transform: none !important
    }

    .photo-reveal-video,
    .corner-flower,
    .corner-source {
        display: none !important
    }

    .botanical,
    .cover-leaf {
        scale: 1;
        opacity: 1;
        animation: none !important
    }
}

.cover-prompt {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px clamp(38px, 8vh, 72px);
    pointer-events: none;
    transition: opacity .12s ease, visibility .12s ease, transform .12s ease
}

.cover-action {
    margin: 0;
    border: 1px solid rgba(65, 73, 67, .55);
    border-radius: 99px;
    background: rgba(249, 247, 239, .92);
    padding: 13px 22px;
    color: #303a34;
    box-shadow: 0 5px 20px rgba(26, 35, 30, .18);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    backdrop-filter: blur(8px)
}

.intro.is-playing .cover-prompt {
    visibility: hidden;
    opacity: 0;
    transform: translateY(7px);
    pointer-events: none
}

@media(max-height:650px) {
    .cover-prompt {
        padding-bottom: 25px
    }

    .cover-action {
        padding: 10px 18px
    }
}

.cover-photo.is-revealing .cover-shade {
    animation: cover-shade-lift 3s ease-out both
}

@keyframes cover-shade-lift {
    0% {
        opacity: 1
    }

    58% {
        opacity: .86
    }

    100% {
        opacity: .92
    }
}

.music-toggle {
    position: fixed;
    top: auto;
    right: clamp(16px, 4vw, 34px);
    bottom: clamp(18px, 4vh, 34px);
    z-index: 35;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(52, 68, 60, .78);
    padding: 0;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(28, 36, 32, .22);
    backdrop-filter: blur(10px)
}

.music-note-icon {
    position: relative;
    z-index: 2;
    font-family: var(--accent);
    font-size: 31px;
    line-height: 1;
    transform-origin: center
}

.music-toggle[aria-pressed=true] .music-note-icon {
    animation: music-note-spin 4.8s linear infinite
}

.music-toggle::before,
.music-toggle::after {
    position: absolute;
    z-index: 3;
    bottom: 17px;
    color: #fff;
    font-family: var(--accent);
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    pointer-events: none
}

.music-toggle::before {
    left: 5px;
    content: '♫'
}

.music-toggle::after {
    right: 3px;
    content: '♪'
}

.music-toggle[aria-pressed=true]::before {
    animation: music-note-rise 2.4s ease-out infinite
}

.music-toggle[aria-pressed=true]::after {
    animation: music-note-rise 2.8s .85s ease-out infinite
}

.music-toggle:hover {
    background: rgba(42, 51, 47, .95)
}

.music-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px
}

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

@keyframes music-note-spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes music-note-rise {
    0% {
        opacity: 0;
        transform: translate(0, 6px) scale(.65) rotate(-12deg)
    }

    18% {
        opacity: .92
    }

    100% {
        opacity: 0;
        transform: translate(-13px, -72px) scale(1.15) rotate(18deg)
    }
}

/* ---------- Botón de confirmar ---------- */
.rsvp-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px
}

.rsvp-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 99px;
    background: #fffefa;
    color: #52615d;
    padding: 17px 36px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(20, 28, 24, .28);
    animation: rsvp-pulse 2.6s ease-in-out infinite;
    transition: transform .2s ease
}

.rsvp-open span {
    color: #b07a76;
    font-size: 13px
}

.rsvp-open:hover {
    transform: translateY(-2px) scale(1.03)
}

.rsvp-open:disabled {
    opacity: .6;
    cursor: wait;
    animation: none
}

.rsvp-decline-link {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    background: none;
    padding: 0 0 3px;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.rsvp-decline-link:disabled {
    opacity: .5;
    cursor: wait
}

@keyframes rsvp-pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(20, 28, 24, .28), 0 0 0 0 rgba(255, 255, 255, .45)
    }

    50% {
        box-shadow: 0 8px 30px rgba(20, 28, 24, .28), 0 0 0 14px rgba(255, 255, 255, 0)
    }
}

/* ---------- Modal de confirmación ---------- */
.rsvp-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.rsvp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 38, 34, .62);
    backdrop-filter: blur(4px)
}

.rsvp-modal-card {
    position: relative;
    width: min(440px, 100%);
    max-height: 92vh;
    overflow: auto;
    border-radius: 18px;
    background: #fffefa;
    padding: 36px 26px 24px;
    color: var(--ink);
    text-align: center;
    box-shadow: 0 24px 70px rgba(20, 28, 24, .4);
    animation: modal-in .35s cubic-bezier(.2, .8, .2, 1) both
}

@keyframes modal-in {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(.97)
    }

    100% {
        opacity: 1;
        transform: none
    }
}

.rsvp-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #78817b;
    cursor: pointer;
    font-size: 26px;
    line-height: 1
}

.rsvp-modal-close:hover {
    background: #eeeae0
}

.rsvp-modal-kicker {
    margin: 0 0 8px;
    color: var(--sage-deep);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .21em;
    text-transform: uppercase
}

.rsvp-modal-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.05
}

.rsvp-modal-sub {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px
}

.rsvp-modal-field {
    margin-top: 22px;
    text-align: left
}

.rsvp-modal-field label {
    display: block;
    margin-bottom: 8px;
    color: #5f6e68;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

#rsvp-seats-block {
    text-align: center
}

.stepper {
    display: inline-flex;
    align-items: center;
    gap: 22px
}

.stepper button {
    width: 46px;
    height: 46px;
    border: 1px solid #aeb8b0;
    border-radius: 50%;
    background: #fff;
    color: var(--sage-deep);
    cursor: pointer;
    font-size: 24px;
    line-height: 1
}

.stepper button:hover:not(:disabled) {
    background: var(--sage-deep);
    color: #fff
}

.stepper button:disabled {
    opacity: .35;
    cursor: not-allowed
}

.stepper output {
    min-width: 46px;
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1
}

.rsvp-modal-field textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid #c9d0ca;
    border-radius: 8px;
    outline: none;
    background: #fff;
    padding: 11px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px
}

.rsvp-modal-field textarea:focus {
    border-color: var(--sage-deep)
}

.rsvp-modal-submit {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 99px;
    background: var(--sage-deep);
    padding: 16px;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase
}

.rsvp-modal-submit:hover:not(:disabled) {
    background: #657571
}

.rsvp-modal-submit:disabled {
    opacity: .6;
    cursor: wait
}

.rsvp-modal-note {
    margin: 12px 0 0;
    color: #818981;
    font-size: 10px
}

/* =====================================================================
   MEJORAS
   ===================================================================== */

/* 1. Fotos: fundido suave en vez de barrido de arriba hacia abajo */
@keyframes photo-uncover {
    from {
        opacity: 0;
        transform: scale(1.04);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cover-photo.is-revealing .portrait-photo,
.story-photo-screen.is-revealing .story-photo-image {
    animation-duration: 1.4s;
    animation-timing-function: ease-out;
}

.moment-photo-slot {
    transition: transform 5s ease, opacity .6s ease;
}

/* 2. Contraste de textos (solo color y sombra, sin fondos) */
.rsvp-section .section-lead,
.rsvp-section .rsvp-deadline,
.rsvp-section .rsvp-seats,
.rsvp-section .rsvp-hello {
    color: #fff;
    text-shadow: 0 1px 3px rgba(18, 28, 24, .6), 0 0 16px rgba(18, 28, 24, .4);
}

.rsvp-section .section-lead {
    font-size: 15px;
    font-weight: 700;
}

.rsvp-section .rsvp-deadline {
    font-size: 11px;
    font-weight: 700;
}

.rsvp-section .rsvp-seats {
    font-size: 12px;
    font-weight: 700;
}

.countdown-section .section-lead,
.story-content .section-lead,
.dress-section .section-lead,
.album-content>p:not(.section-kicker) {
    text-shadow: 0 1px 3px rgba(18, 28, 24, .55), 0 0 14px rgba(18, 28, 24, .35);
}

/* 3. Lluvia de sobres: texto más grande y legible */
.gift-note {
    max-width: 560px;
    padding: 26px 16px;
}

.gift-note strong {
    font-size: 30px;
    color: #2b332e;
}

.gift-note p {
    font-size: 16px;
    line-height: 1.75;
    color: #38413c;
    margin: 14px 0;
}

.gift-note span {
    font-size: 11px;
    letter-spacing: .12em;
    color: #4a544e;
    font-weight: 700;
}

/* 4. Textos pequeños de formularios */
.form-result {
    font-size: 13px;
    line-height: 1.7;
}

.interactive-section .music-note {
    font-size: 12px;
    line-height: 1.6;
    color: #444e48;
}

.wishes-section .section-lead,
.interactive-section .section-lead {
    color: #3d4641;
}

/* 5. Álbum: botón de cámara */
.camera-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 21px auto 14px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease;
    filter: drop-shadow(0 2px 6px rgba(18, 28, 24, .45));
}

.camera-btn:hover {
    transform: scale(1.06);
}

.camera-btn:active {
    transform: scale(.95);
}

.camera-btn:disabled {
    opacity: .6;
    cursor: wait;
}

.camera-btn svg {
    width: 44px;
    height: 44px;
}

.camera-status {
    display: block;
    min-height: 20px;
    margin: 4px auto 0;
    max-width: 420px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(18, 28, 24, .65);
}

.hashtag small {
    font-size: 9px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(18, 28, 24, .6);
}

/* 6. Enlace al álbum completo */
.album-link {
    display: block;
    width: fit-content;
    margin: 26px auto 0;
    padding: 0 2px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(18, 28, 24, .65);
}

.album-link:hover {
    border-bottom-color: #fff;
}