@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&family=Sacramento&display=swap');

@font-face {
    font-family: 'Citadel Script';
    src: url('citadel-script-std-regular/Citadel%20Script%20Std%20Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    width: 100%;
    overflow-x: hidden
}

:root {
    --sage: #7a9070;
    --sage-l: #b8ccb0;
    --sage-d: #4a6040;
    --cream: #f5f0e6;
    --warm: #faf7f0;
    --gold: #b0885a;
    --gold-l: #e0c890;
    --dark: #1c1810;
    --muted: #6a6050;
    --border: rgba(120, 140, 100, 0.22);
}

body {
    background: var(--warm);
    font-family: 'Jost', sans-serif;
    color: var(--dark);
    font-size: 16px
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(250, 247, 240, 0.96);
    backdrop-filter: blur(6px);
    width: 100%
}

.nav-logo {
    font-family: 'Sacramento', cursive;
    font-size: 2rem;
    color: var(--dark)
}

.nav-links {
    display: flex;
    gap: 2rem
}

.nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    text-decoration: none
}

.nav-links a:hover {
    color: var(--sage-d)
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0
}

.burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--muted)
}

@media(max-width:700px) {
    .nav-links {
        display: none
    }

    .burger {
        display: flex
    }
}

.mob-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--warm);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 5%;
    gap: 1.2rem
}

.mob-menu a {
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 500px;
    max-height: 960px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end
}

.hero img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: sepia(0.3) contrast(0.88) brightness(0.76)
}

.hero-vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 25%, rgba(14, 10, 4, 0.72)100%)
}

.hero-grad {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(transparent, rgba(12, 8, 2, 0.88))
}

.hero-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(220, 190, 130, 0.18);
    pointer-events: none
}

.hero-frame::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(220, 190, 130, 0.07)
}

.hero-cnt {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5% 5rem;
    width: 100%
}

.hero-eye {
    font-size: 0.75rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(220, 195, 140, 0.7);
    margin-bottom: 0.8rem
}

.hero-nm {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(5rem, 12vw, 9rem);
    color: #f2e8d5;
    line-height: 0.95;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5)
}

.hero-nm em {
    color: rgba(210, 175, 110, 0.9);
    font-style: normal
}

.hero-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 1.2rem 0
}

.hero-rule::before,
.hero-rule::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: rgba(200, 165, 100, 0.4)
}

.hero-dia {
    width: 6px;
    height: 6px;
    background: rgba(200, 165, 100, 0.6);
    transform: rotate(45deg)
}

.hero-date {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(230, 210, 175, 0.8)
}

.scroll-h {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 175, 120, 0.4);
    cursor: pointer
}

.scroll-ln {
    width: 1px;
    height: 32px;
    background: rgba(200, 165, 100, 0.35);
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: .3
    }

    50% {
        opacity: .8
    }
}

/* COUNTDOWN */
.cd-band {
    background: var(--dark);
    display: flex;
    width: 100%
}

.cd-item {
    flex: 1;
    text-align: center;
    padding: 1.4rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06)
}

.cd-item:last-child {
    border: none
}

.cd-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #e0c890;
    line-height: 1
}

.cd-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 5px
}

/* SHARED */
.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 6%
}

.wrap-bg {
    background: var(--warm)
}

.sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--sage-d);
    text-align: center;
    margin-bottom: 2.5rem
}

.sep {
    display: none
}

/* BIBLE VERSE */
.bible-section {
    width: 100%;
    background: var(--warm);
    padding: 3.5rem 15%;
    display: flex;
    justify-content: center;
    align-items: center
}

.bible-card {
    position: relative;
    max-width: 520px;
    width: 100%;
    text-align: center
}

.bible-flower-top {
    width: 88%;
    margin-left: 16%;
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: -150px;
    pointer-events: none
}

.bible-flower-bottom {
    width: 88%;
    margin-left: -6%;
    display: block;
    position: relative;
    z-index: 2;
    margin-top: -150px;
    pointer-events: none
}

.bible-frame {
    border: 1px solid rgba(176, 136, 90, 0.5);
    padding: 5.5rem 3rem 5.5rem;
    background: rgba(255, 255, 255, 0.82);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px)
}

.bible-frame::before,
.bible-frame::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 136, 90, 0.4), transparent)
}

.bible-frame::before {
    top: 12px
}

.bible-frame::after {
    bottom: 12px
}

.bible-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    color: var(--dark);
    line-height: 2;
    font-style: italic;
    font-weight: 300
}

.bible-ref {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    color: var(--gold);
    margin-top: 1rem;
    letter-spacing: 0.1em;
    font-style: normal;
    display: block
}

/* FAMILY — floral oval style */
.fam-section {
    padding: 2.5rem 5%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.fam-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0
}

@media(max-width: 599px) {

    .fam-video-bg,
    .fam-video-overlay {
        display: none
    }

}

.fam-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 4, 0.52);
    z-index: 1
}

/* Marco dorado sobre el video */
.fam-section::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(220, 190, 130, 0.38);
    pointer-events: none;
    z-index: 3
}

.fam-section::before {
    content: '';
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(220, 190, 130, 0.14);
    pointer-events: none;
    z-index: 3
}

@media(max-width: 599px) {

    .fam-section::after,
    .fam-section::before {
        content: none
    }
}

.fam-section .fam-card {
    position: relative;
    z-index: 2
}

.fam-card {
    position: relative;
    max-width: 440px;
    width: 100%;
    text-align: center
}

.fam-flower-top {
    width: 78%;
    margin: 0 11%;
    display: block;
    position: relative;
    z-index: 3;
    margin-bottom: -65px;
    pointer-events: none
}

.fam-oval {
    border: 1px solid rgba(176, 136, 90, 0.65);
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    padding: 5.5rem 3rem 4.8rem;
    background: #fff;
    position: relative;
    z-index: 1
}

.fam-oval::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(176, 136, 90, 0.22);
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    pointer-events: none
}

.fam-intro {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 0.9rem
}

.fam-names {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(2.6rem, 6vw, 3.2rem);
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 0.7rem
}

.fam-sub {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0.8rem
}

.fam-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 136, 90, 0.45), transparent);
    margin: 0.7rem 0
}

.fam-cols {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    margin: 0.8rem 0
}

.fam-divider {
    background: rgba(176, 136, 90, 0.3)
}

.fam-col {
    padding: 0 0.6rem
}

.fam-col-title {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(1.9rem, 3vw, 1.4rem);
    color: var(--gold);
    margin-bottom: 0.35rem
}

.fam-title-lg {
    font-size: 2.6rem;
    text-align: center
}

.fam-col p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: var(--dark);
    line-height: 1.75
}

.fam-cross {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    vertical-align: middle;
}

.fam-heaven {
    font-size: 0.68rem;
    color: var(--sage-d);
    font-style: italic;
    display: block
}

.fam-closing {
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 0.8rem
}

.fam-bottom {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    margin-top: -115px;
    pointer-events: none
}

.fam-flower-bl,
.fam-flower-br {
    width: 50%;
    display: block
}

/* STORY */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem
}

@media(min-width:720px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
        align-items: start
    }
}

.mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px
}

.mi {
    border-radius: 4px;
    overflow: hidden;
    position: relative
}

.mi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15) contrast(0.95);
    display: block
}

.mi.tall {
    grid-row: span 2;
    height: clamp(280px, 38vw, 420px)
}

.mi.sh {
    height: clamp(135px, 18vw, 205px)
}

.mi-lbl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(12, 8, 2, 0.6));
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75)
}

.chap {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.0rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem
}

.chap-mt {
    margin-top: 1.3rem
}

.story-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark)
}

.story-text p {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 1rem
}

.story-quote {
    border-left: 2px solid var(--sage-l);
    padding-left: 1.2rem;
    margin: 1.4rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    color: var(--sage-d);
    line-height: 1.6
}

/* VENUE */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem
}

@media(min-width:580px) {
    .two-col {
        grid-template-columns: 1fr 1fr
    }
}

.vc {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    text-align: center
}

.vc-inner {
    max-width: 480px;
    margin: 0 auto
}

.vc-recepcion-img {
    width: 160px;
    display: block;
    margin: 1rem auto;
    opacity: 0.85
}

.vc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage-l), var(--gold))
}

.vc-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-d);
    background: rgba(120, 150, 100, 0.12);
    padding: 3px 11px;
    border-radius: 20px;
    margin-bottom: 0.6rem
}

.vc h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.5rem
}

.vc p {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--muted);
    line-height: 1.75
}

.venue-photo {
    width: 100%;
    max-width: 560px;
    display: block;
    margin: 1.8rem auto 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border)
}

.venue-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
    filter: sepia(0.1) contrast(0.95)
}

/* GALLERY */
.gal {
    background: #13100b;
    padding: 3rem 4%
}

.gal .sec-title {
    color: rgba(190, 168, 120, 0.6)
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px
}

.gc {
    border-radius: 3px;
    overflow: hidden;
    position: relative
}

.gc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.2) contrast(0.92) brightness(0.88);
    transition: transform 0.5s, filter 0.4s
}

.gc:hover img {
    transform: scale(1.05);
    filter: sepia(0.05) contrast(1) brightness(1)
}

.gc.wide {
    grid-column: span 2
}

.gc.tall {
    grid-row: span 2
}

.gc-h {
    height: clamp(130px, 16vw, 210px)
}

.gc.tall {
    height: calc(clamp(130px, 16vw, 210px)*2 + 6px)
}

.gc.wide {
    height: clamp(130px, 16vw, 210px)
}

.gc-lbl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(8, 5, 1, 0.65));
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s
}

.gc:hover .gc-lbl {
    opacity: 1
}

/* DRESS */
.dress {
    background: #1c1810;
    padding: 3rem 5%;
    text-align: center
}

.dress-img {
    width: 160px;
    display: block;
    margin: 1rem auto;
    opacity: 0.85
}

.cierre-wrap {
    text-align: center
}

.cierre-img {
    width: 350px;
    max-width: 100%;
    display: inline-block;
    margin: 1rem auto
}

.dress .sec-title {
    color: rgba(190, 168, 120, 0.6)
}

.dress p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: rgba(235, 220, 185, 0.55);
    line-height: 1.85;
    max-width: 460px;
    margin: 0 auto
}

.dress-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: rgba(224, 200, 144, 0.7);
    display: block;
    margin-bottom: 0.8rem
}

/* ITINERARY */
.tl-wrap {
    max-width: 640px;
    margin: 0 auto
}

.tl-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.2rem;
    padding-bottom: 1.6rem;
    position: relative;
    align-items: start
}

.tl-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: 0;
    width: 1px;
    background: var(--border)
}

.tl-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid var(--sage-l);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px
}

.tl-dot svg {
    opacity: 0.7
}

.tl-dot i {
    font-size: 13px
}

.ic-sage {
    color: var(--sage-d)
}

.ic-gold {
    color: var(--gold)
}

.ic-muted {
    color: var(--muted)
}

.tl-time {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1px
}

.tl-right h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.2
}

.tl-right p {
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    color: var(--muted);
    line-height: 1.5;
    margin-top: 2px
}

.tl-group {
    margin-bottom: 0.5rem
}

.tl-group-label {
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sage-d);
    margin: 1.5rem 0 1rem;
    padding-left: 44px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem
}

/* HOTELS */
.hg {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem
}

@media(min-width:580px) {
    .hg {
        grid-template-columns: 1fr 1fr
    }
}

.hc {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.hc.feat {
    border-color: var(--sage);
    background: #eef3ea
}

.hbadge {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-d);
    background: rgba(100, 140, 80, 0.14);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 4px
}

.hname {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--dark)
}

.hstars {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 1px
}

.haddr {
    font-size: clamp(0.82rem, 1.3vw, 0.92rem);
    color: var(--muted);
    line-height: 1.5
}

.hnote {
    font-size: clamp(0.82rem, 1.3vw, 0.92rem);
    color: var(--muted);
    line-height: 1.6;
    margin-top: 3px
}

.htag {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-d);
    background: rgba(100, 140, 80, 0.1);
    padding: 2px 9px;
    border-radius: 20px;
    margin-top: 3px;
    width: fit-content
}

.map-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin-top: 1.2rem
}

.map-box p {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase
}

.map-btn {
    padding: 9px 20px;
    margin-top: 1rem;
    border: 1px solid var(--sage);
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-d);
    background: none;
    cursor: pointer;
    transition: all .2s
}

.map-btn:hover {
    background: var(--sage);
    color: #fff
}

.vc-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem
}

.vc-pin svg {
    opacity: 0.7
}

.ubicacion-toggle {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-d);
    cursor: pointer;
    border-bottom: 1px dashed var(--sage-l);
    padding-bottom: 1px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Jost', sans-serif
}

.ubicacion-toggle:hover {
    color: var(--sage)
}

.ubicacion-img-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.52s cubic-bezier(.4, 0, .2, 1), opacity 0.42s ease, margin-top 0.3s ease
}

.ubicacion-img-wrap.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 1rem
}

.ubicacion-img-wrap img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: block
}

/* FECHA CARD */
.fecha-section {
    width: 100%;
    background: var(--warm);
    padding: 3rem 15%;
    display: flex;
    justify-content: center;
    align-items: center
}

.fecha-card {
    position: relative;
    max-width: 380px;
    width: 100%;
    text-align: center
}

.fecha-flower-top {
    width: 88%;
    display: block;
    z-index: 2;
    margin: 0 -16% -200px;
    pointer-events: none
}

.fecha-flower-bottom {
    width: 88%;
    display: block;
    position: relative;
    z-index: 2;
    margin: -155px 26% 0;
    pointer-events: none
}

.fecha-frame {
    border: 1px solid rgba(176, 136, 90, 0.55);
    padding: 4.0rem 2.8rem 7.5rem;
    background: #fff;
    position: relative;
    z-index: 1
}

.fecha-coronado-img {
    width: 72%;
    display: block;
    margin: 0.6rem auto 1rem;
    opacity: 0.88;
    pointer-events: none
}

.fecha-frame::before,
.fecha-frame::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 136, 90, 0.38), transparent)
}

.fecha-frame::before {
    top: 10px
}

.fecha-frame::after {
    bottom: 10px
}

.fecha-honor {
    font-size: 0.70rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 2;
    margin-bottom: 1.6rem
}

.fecha-mes {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(2.5rem, 4vw, 5.2rem);
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.2rem
}

.fecha-dia-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.7rem 0 0.9rem
}

.fecha-dia-row::before,
.fecha-dia-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(176, 136, 90, 0.38)
}

.fecha-dia-label {
    font-size: 0.70rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark);
    flex-shrink: 0
}

.fecha-dia-num {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0
}

.fecha-dia-year {
    font-size: 0.80rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark);
    flex-shrink: 0
}

.fecha-hora {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.2rem
}

@media(max-width:600px) {
    .fecha-section {
        padding: 2.5rem 8%
    }
}

/* TIMER HERO */
.timer-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.timer-hero img.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: sepia(0.3) contrast(0.88) brightness(0.72)
}

.timer-vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(14, 10, 4, 0.75)100%)
}

.timer-grad {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 2, 0.38)
}

.timer-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(220, 190, 130, 0.18);
    pointer-events: none
}

.timer-frame::after {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(220, 190, 130, 0.07)
}

.timer-cnt {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5%
}

.timer-eye {
    font-size: 0.82rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(220, 195, 140, 0.65);
    margin-bottom: 2.2rem
}

.timer-band {
    display: flex;
    justify-content: center
}

.timer-item {
    text-align: center;
    padding: 0 clamp(1rem, 3vw, 2.2rem);
    border-right: 1px solid rgba(200, 165, 100, 0.2)
}

.timer-item:last-child {
    border: none
}

.timer-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 300;
    color: #e0c890;
    line-height: 1
}

.timer-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 8px
}

/* GIFTS — nueva versión */
.gifts-bg {
    /* background: var(--cream); */
    border-top: 1px solid var(--border)
}

.gifts-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center
}

.gifts-intro {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2rem
}

.gift-cards {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem
}

.gift-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--warm);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s
}

.gift-card:hover {
    box-shadow: 0 4px 18px rgba(176, 136, 90, 0.18);
    transform: translateY(-2px)
}

.gift-store-logo {
    width: auto;
    height: 60px;
    max-width: 140px;
    object-fit: contain
}

.gift-card-cta {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage-d);
    border: 1px solid var(--sage-l);
    border-radius: 3px;
    padding: 8px 18px;
    background: transparent;
    transition: background .25s, color .25s, border-color .25s
}

.gift-card:hover .gift-card-cta {
    background: var(--sage);
    color: var(--cream);
    border-color: var(--sage)
}

@media(max-width: 480px) {
    .gift-cards {
        flex-direction: column;
        align-items: center
    }

    .gift-card {
        width: 100%;
        max-width: 320px
    }
}

/* RSVP */
.rsvp {
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 4rem 5%;
    text-align: center
}

.rsvp .desc {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--muted);
    max-width: 380px;
    margin: 0 auto 1.6rem;
    line-height: 1.85
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto
}

.ri {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(120, 140, 100, 0.28);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.65);
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.92rem, 1.3vw, 1rem);
    color: var(--dark);
    outline: none
}

.ri:focus {
    border-color: var(--sage)
}

select.ri {
    appearance: none
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

@media(max-width:440px) {
    .row2 {
        grid-template-columns: 1fr
    }
}

.rsvp-btn {
    background: var(--dark);
    color: rgba(235, 215, 175, 0.9);
    border: none;
    padding: 15px;
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    margin-top: 4px
}

.rsvp-btn:hover {
    background: #2e2618
}

/* LIGHTBOX */
.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(8, 5, 2, 0.94);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    cursor: zoom-out
}

.lb-overlay.open {
    display: flex
}

@keyframes _lbIn {
    from { opacity: 0; transform: scale(0.92) }
    to   { opacity: 1; transform: scale(1) }
}

.lb-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7);
    cursor: default;
    animation: _lbIn 0.28s cubic-bezier(.22, 1, .36, 1) both;
    display: block
}

.lb-close {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: color .2s;
    z-index: 1
}

.lb-close:hover {
    color: #fff
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    z-index: 1
}

.lb-prev { left: 1.2rem }
.lb-next { right: 1.2rem }

.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff
}

.lb-prev.hidden,
.lb-next.hidden {
    display: none
}

/* Cursor pointer en imágenes de las secciones */
.mi img,
.gc img {
    cursor: zoom-in
}

/* FOOTER */
.footer {
    background: var(--dark);
    text-align: center;
    padding: 3rem 5%
}

.footer-nm {
    font-family: 'Sacramento', cursive;
    font-size: clamp(2.8rem, 6vw, 4rem);
    color: rgba(220, 192, 140, 0.85)
}

.footer p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-top: 10px
}

/* INLINE MUSIC PLAYER */
.inline-player-section {
    background: var(--warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.8rem 5%;
    text-align: center
}

.inline-player {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem
}

.ip-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%
}

.ip-eyebrow::before,
.ip-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(176, 136, 90, 0.35)
}

.ip-track {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    font-style: italic;
    color: var(--dark);
    letter-spacing: 0.04em
}

.ip-progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(176, 136, 90, 0.18);
    border-radius: 2px;
    cursor: pointer;
    position: relative
}

.ip-progress-fill {
    height: 100%;
    background: rgba(176, 136, 90, 0.72);
    border-radius: 2px;
    width: 0%;
    pointer-events: none
}

.ip-times {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    font-family: 'Jost', sans-serif;
    margin-top: -0.5rem
}

.ip-play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(224, 200, 144, 0.9);
    font-size: 1.4rem;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    flex-shrink: 0
}

.ip-play-btn:hover {
    background: #2e2618;
    transform: scale(1.06)
}

.ip-play-btn:active {
    transform: scale(0.96)
}

/* Pulse hint when autoplay was blocked */
@keyframes _ipPulse {

    0%,
    100% {
        box-shadow: 0 4px 18px rgba(0, 0, 0, .16), 0 0 0 0 rgba(176, 136, 90, .55)
    }

    50% {
        box-shadow: 0 4px 18px rgba(0, 0, 0, .16), 0 0 0 10px rgba(176, 136, 90, 0)
    }
}

.ip-play-pulse {
    animation: _ipPulse 1.6s ease-in-out infinite
}

/* ===== ANIMATIONS ===== */
@keyframes _fadeUp {
    from {
        opacity: 0;
        transform: translateY(38px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes _fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes _scaleIn {
    from {
        opacity: 0;
        transform: scale(0.93)
    }

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

@keyframes _slideLeft {
    from {
        opacity: 0;
        transform: translateX(-38px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes _slideRight {
    from {
        opacity: 0;
        transform: translateX(38px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes _pageLoad {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes _ripple {
    to {
        transform: scale(4);
        opacity: 0
    }
}

@keyframes _pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(176, 136, 90, 0.45)
    }

    70% {
        box-shadow: 0 0 0 14px rgba(176, 136, 90, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(176, 136, 90, 0)
    }
}

@keyframes _shimmer {

    0%,
    100% {
        opacity: 0.6
    }

    50% {
        opacity: 1
    }
}

/* Page load */
body {
    animation: _pageLoad 0.55s ease both
}

/* Hero entrance */
.hero-eye {
    opacity: 0;
    animation: _fadeIn 0.9s ease 0.4s both
}

.hero-nm {
    opacity: 0;
    animation: _fadeUp 1.1s cubic-bezier(.22, 1, .36, 1) 0.7s both
}

.hero-rule {
    opacity: 0;
    animation: _fadeIn 0.8s ease 1.2s both
}

.hero-date {
    opacity: 0;
    animation: _fadeIn 0.8s ease 1.4s both
}

.scroll-h {
    opacity: 0;
    animation: _fadeIn 1s ease 1.9s both
}

/* Timer eyebrow shimmer */
.timer-eye {
    animation: _shimmer 2.8s ease-in-out infinite
}

/* Scroll reveal base states */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.78s cubic-bezier(.22, 1, .36, 1), transform 0.78s cubic-bezier(.22, 1, .36, 1)
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.78s cubic-bezier(.22, 1, .36, 1), transform 0.78s cubic-bezier(.22, 1, .36, 1)
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.78s cubic-bezier(.22, 1, .36, 1), transform 0.78s cubic-bezier(.22, 1, .36, 1)
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.78s cubic-bezier(.22, 1, .36, 1), transform 0.78s cubic-bezier(.22, 1, .36, 1)
}

.reveal.vis,
.reveal-left.vis,
.reveal-right.vis,
.reveal-scale.vis {
    opacity: 1;
    transform: none
}

/* Ripple */
.map-btn,
.rsvp-btn {
    position: relative;
    overflow: hidden
}

.ripple-fx {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    width: 8px;
    height: 8px;
    margin: -4px;
    pointer-events: none;
    animation: _ripple 0.65s linear;
    transform-origin: center
}

/* Timeline dot pulse */
.tl-dot.pulsed {
    animation: _pulseRing 1.1s ease-out
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: .01ms !important;
        transition-duration: .01ms !important
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none
    }
}

/* ===== SPLASH OVERLAY ===== */
@keyframes _splashFadeOut {
    to {
        opacity: 0;
        pointer-events: none
    }
}

@keyframes _splashItemIn {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes _carouselFade {
    0% {
        opacity: 0
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0d0a06;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.9s ease;
    overflow: hidden;
}

/* carousel slides */
.splash-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.splash-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.splash-slide.active {
    opacity: 1
}

/* overlays */
.splash-vig {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(8, 5, 1, 0.82) 100%);
}

.splash-grad {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 6, 2, 0.52);
}

/* decorative frame lines */
.splash-frame {
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(220, 190, 130, 0.18);
    pointer-events: none;
}

.splash-frame::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(220, 190, 130, 0.08);
}

/* flower corners */
.splash-flower-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, 90%);
    z-index: 3;
    pointer-events: none;
    opacity: 0.82;
}

.splash-flower-bot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, 90%);
    z-index: 3;
    pointer-events: none;
    opacity: 0.82;
}

@media(min-width:600px) {

    .splash-flower-top,
    .splash-flower-bot {
        display: none
    }
}

/* content */
.splash-cnt {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.7rem, 2vh, 1.2rem);
    padding: 0 1.5rem;
}

.splash-eye {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(235, 210, 160, 0.92);
    animation: _splashItemIn 0.8s ease 0.5s both;
}

.splash-eye::before,
.splash-eye::after {
    content: '';
    width: 36px;
    height: 1px;
    background: rgba(220, 185, 120, 0.6);
    flex-shrink: 0;
}

.splash-nm {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(4rem, 14vw, 7rem);
    color: rgba(240, 215, 155, 1);
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.6);
    animation: _splashItemIn 0.9s cubic-bezier(.22, 1, .36, 1) 0.65s both;
}

.splash-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(280px, 70%);
    animation: _splashItemIn 0.7s ease 0.85s both;
}

.splash-rule::before,
.splash-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(220, 185, 120, 0.6)
}

.splash-dia {
    width: 5px;
    height: 5px;
    background: rgba(220, 185, 120, 0.8);
    transform: rotate(45deg);
    flex-shrink: 0
}

.splash-sub {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.62rem, 2vw, 0.75rem);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: rgba(225, 200, 150, 0.85);
    animation: _splashItemIn 0.7s ease 1s both;
}

.splash-btn {
    margin-top: clamp(0.4rem, 1.5vh, 0.8rem);
    padding: clamp(13px, 2.5vh, 16px) clamp(32px, 8vw, 52px);
    border: 1px solid rgba(220, 185, 120, 0.8);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.25);
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(240, 215, 155, 1);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .3s, border-color .3s, transform .2s;
    animation: _splashItemIn 0.7s ease 1.15s both;
}

.splash-btn:hover {
    background: rgba(176, 136, 90, 0.35);
    border-color: #e0c890;
    transform: translateY(-2px)
}

.splash-btn:active {
    transform: translateY(1px)
}

.splash-note {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.5rem, 1.5vw, 0.58rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(220, 195, 140, 0.55);
    margin-top: -0.3rem;
    animation: _splashItemIn 0.7s ease 1.3s both;
}

/* dots indicator */
.splash-dots {
    display: flex;
    gap: 7px;
    position: absolute;
    bottom: clamp(1.2rem, 4vh, 2.2rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.splash-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: background .4s, transform .3s;
}

.splash-dot.on {
    background: rgba(224, 200, 144, 0.8);
    transform: scale(1.3)
}

/* ===== SPLASH — MOBILE SPLIT (≤599px): foto arriba + tarjeta dorada abajo ===== */
@keyframes _splashCardIn {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes _sobreFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg)
    }

    50% {
        transform: translateY(-6px) rotate(1deg)
    }
}

.splash-mobile-card {
    display: none;
    flex-direction: column;
    align-items: center;
    background: #faf7f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.038'/%3E%3C/svg%3E");
    padding: 2.2rem 2rem 3rem;
    gap: 0.85rem;
    position: relative;
    z-index: 5;
    width: 100%;
    border-top: 1px solid rgba(176, 136, 90, 0.45);
    animation: _splashCardIn 0.85s cubic-bezier(.22, 1, .36, 1) 0.1s both;
}

.splash-mobile-card::before,
.splash-mobile-card::after {
    content: '';
    position: absolute;
    top: 0;
    height: 52%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(176, 136, 90, 0.42), transparent);
    pointer-events: none;
}

.splash-mobile-card::before {
    left: 0
}

.splash-mobile-card::after {
    right: 0
}

/* triple diamante */
.smc-dia-sm {
    width: 3px;
    height: 3px;
    background: rgba(176, 136, 90, 0.45);
    transform: rotate(45deg);
    flex-shrink: 0
}

/* sobre botón */
.smc-envelope {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    animation: _splashItemIn 0.7s ease 1.0s both;
    -webkit-tap-highlight-color: transparent;
}

.smc-envelope img {
    width: clamp(140px, 48vw, 190px);
    filter: drop-shadow(0 8px 22px rgba(60, 80, 40, 0.32));
    animation: _sobreFloat 3.8s ease-in-out 1.8s infinite;
    transition: filter .3s, transform .2s;
    display: block;
}

.smc-envelope:active img {
    transform: scale(0.96);
    filter: drop-shadow(0 4px 10px rgba(60, 80, 40, 0.22))
}

.smc-envelope-lbl {
    font-family: 'Jost', sans-serif;
    font-size: 0.63rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sage-d);
    border-bottom: 1px solid rgba(120, 150, 100, 0.35);
    padding-bottom: 1px;
}

.smc-eye {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 0.57rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--muted);
    animation: _splashItemIn 0.6s ease 0.5s both;
}

.smc-eye::before,
.smc-eye::after {
    content: '';
    width: 22px;
    height: 1px;
    background: rgba(176, 136, 90, 0.38);
    flex-shrink: 0
}

.smc-nm {
    font-family: 'Citadel Script', 'Sacramento', cursive;
    font-size: clamp(3.6rem, 14vw, 5.5rem);
    color: var(--gold);
    line-height: 1.05;
    animation: _splashItemIn 0.6s ease 0.65s both;
}

.smc-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 65%;
    animation: _splashItemIn 0.6s ease 0.78s both
}

.smc-rule::before,
.smc-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(176, 136, 90, 0.35)
}

.smc-dia {
    width: 5px;
    height: 5px;
    background: rgba(176, 136, 90, 0.55);
    transform: rotate(45deg);
    flex-shrink: 0
}

.smc-sub {
    font-family: 'Jost', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--muted);
    animation: _splashItemIn 0.6s ease 0.9s both;
}

.smc-btn {
    display: none
}

.smc-note {
    font-family: 'Jost', sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(106, 96, 80, 0.32);
    margin-top: -0.4rem;
    animation: _splashItemIn 0.6s ease 1.2s both;
}

/* Switch layouts at 599px — dos bloques: foto arriba + tarjeta abajo */
@media(max-width:599px) {

    /* contenedor: columna de arriba a abajo */
    .splash {
        background: #faf7f0;
        overflow: hidden;
        padding: 0;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
    }

    /* ── Bloque superior: fotos ── */
    .splash-photo-block {
        display: block;
        position: relative;
        flex-shrink: 0;
        width: 100%;
    }

    .splash-slides {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        width: 100%;
        height: 56svh;
        min-height: 260px;
        overflow: hidden;
        /* borde dorado exterior */
        border: 1.5px solid rgba(176, 136, 90, 0.75);
        box-sizing: border-box;
    }

    /* marco interior dorado decorativo */
    .splash-slides::after {
        content: '';
        position: absolute;
        inset: 9px;
        border: 1px solid rgba(220, 185, 120, 0.3);
        pointer-events: none;
        z-index: 3;
    }

    .splash-slide {
        background-position: center top !important;
    }

    /* Ocultar overlays del desktop */
    .splash-vig {
        display: none !important
    }

    .splash-grad {
        display: none !important
    }

    .splash-frame,
    .splash-dots,
    .splash-flower-top,
    .splash-flower-bot,
    .splash-cnt {
        display: none !important
    }

    /* ── Bloque inferior: tarjeta "Nos casamos" ── */
    .splash-mobile-card {
        display: flex
    }
}

/* Overlay oscuro + frase sobre el carrusel móvil */
.splash-mobile-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 8, 4, 0.70) 0%, rgba(12, 8, 4, 0.25) 52%, transparent 100%);
    z-index: 5;
    pointer-events: none;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.6rem;
}

.splash-mobile-phrase {
    font-family: 'Citadel Script Std Regular', 'Sacramento', cursive;
    font-size: clamp(1.65rem, 7.5vw, 2.3rem);
    color: #f0e8d4;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.2;
}

@media(max-width:599px) {
    .splash-mobile-overlay {
        display: flex
    }
}

/* Flores decorativas esquinas inferiores del bloque foto (solo móvil) */
@media(min-width:600px) {
    .splash-photo-block {
        display: contents
    }

    /* desktop: wrapper transparente */
}

.splash-inv-bot1,
.splash-inv-bot2 {
    display: none;
    position: absolute;
    bottom: 0;
    pointer-events: none;
    z-index: 2050;
}

.splash-inv-bot1 {
    left: 0
}

.splash-inv-bot2 {
    right: 0
}

/* ── Móvil ancho ≥ 400px (ej. 430×932, 414×896) ── */
@media(max-width:599px) and (min-width:400px) {

    .splash-inv-bot1,
    .splash-inv-bot2 {
        display: block;
        width: clamp(110px, 28vw, 140px)
    }
}

/* ── Móvil mediano 360–399px (ej. 375×812, 390×844) ── */
@media(max-width:399px) and (min-width:360px) {

    .splash-inv-bot1,
    .splash-inv-bot2 {
        display: block;
        width: clamp(95px, 26vw, 120px)
    }
}

/* ── Móvil pequeño <360px ── */
@media(max-width:359px) {

    .splash-inv-bot1,
    .splash-inv-bot2 {
        display: block;
        width: clamp(80px, 24vw, 100px)
    }
}

/* Pantallas cortas (375×667): comprimir foto */
@media(max-width:599px) and (max-height:700px) {
    .splash-slides {
        height: 40svh;
        min-height: 200px
    }
}

/* Pantallas cortas y estrechas (360×740) */
@media(max-width:360px) and (max-height:780px) {
    .splash-slides {
        height: 42svh;
        min-height: 200px
    }

    .splash-mobile-card {
        padding: 1.2rem 2rem 1.6rem;
        gap: 0.5rem
    }

    .smc-envelope img {
        width: clamp(110px, 38vw, 150px)
    }
}