:root {
    --accent: #8C1C20;
    --accent-deep: #6e1419;
    --ink: #1a1614;
    --cream: #f9f6f1;
    --muted: #8a8076;
    --paper-white: #ffffff;
}

@font-face {
    font-family: 'Baskerville';
    src: url('/invitacion/fonts/Baskerville.ttc') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'BigCaslon';
    src: url('/invitacion/fonts/BigCaslon.ttf') format('truetype');
    font-display: swap;
}

#inv-root * {
    box-sizing: border-box;
}

#inv-root {
    color: var(--ink);
    background-color: var(--paper-white);
    -webkit-font-smoothing: antialiased;
    font-family: 'Baskerville', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

html,
body {
    overflow-x: hidden;
}

#inv-root img {
    max-width: 100%;
}

#inv-root a {
    text-decoration: none;
}

#inv-root ::selection {
    background: var(--accent);
    color: #fff;
}

/* ===== INTRO SOBRE ===== */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
    pointer-events: all;
    cursor: pointer;
}

#intro-top,
#intro-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

#intro-top {
    top: 0;
}

#intro-bottom {
    bottom: 0;
}

#intro-top-inner,
#intro-bottom-inner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200%;
    background: url('/invitacion/fotos/fondo_003.webp') repeat;
    background-size: 420px auto;
}

#intro-top-inner {
    top: 0;
}

#intro-bottom-inner {
    bottom: 0;
}

#intro-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(140, 28, 32, 0.25);
}

#intro-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#intro-seal-img {
    width: clamp(400px, 110vw, 600px);
    max-width: none;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 18px rgba(140, 28, 32, 0.35));
    animation: sealPulse 2.2s ease-in-out infinite;
}

#intro-hint {
    font-family: 'Baskerville', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8C1C20;
    margin-top: 1rem;
    opacity: 0.8;
    animation: hintBlink 2.2s ease-in-out infinite;
}

#intro-overlay.is-opening #intro-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    pointer-events: none;
}

#intro-overlay.is-opening #intro-top {
    transform: translateY(-100%);
}

#intro-overlay.is-opening #intro-bottom {
    transform: translateY(100%);
}

#intro-overlay.is-done {
    display: none;
}

/* ===== NAVBAR ===== */

/* ── Barra principal ─────────────────────────────────────── */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f4efe6;
    border-bottom: 1px solid rgba(33, 28, 26, .08);
    /* 3 columnas: logo | links | end */
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0.9rem clamp(1.5rem, 4vw, 3.5rem);
    transition: box-shadow 0.3s ease;
}

.nav-bar--scrolled {
    box-shadow: 0 2px 22px rgba(33, 28, 26, .10);
}

/* ── Logo ───────────────────────────────────────────────── */
.nav-bar__brand {
    font-family: 'BigCaslon', serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: .22em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    white-space: nowrap;
}

.nav-bar__amp {
    color: var(--accent);
    font-weight: 400;
    font-size: 1.1rem;
    font-style: italic;
}

/* ── Lista de links (desktop) ───────────────────────────── */
.nav-bar__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.1rem, 1.5vw, 0.5rem);
}

.nav-bar__item {
    display: flex;
}

.nav-bar__link {
    font-family: 'Baskerville', sans-serif;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    padding: .5rem .75rem;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-bar__link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: .75rem;
    right: .75rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-bar__link:hover {
    color: var(--accent);
}

.nav-bar__link:hover::after {
    transform: scaleX(1);
}

/* ── End: CTA + Hamburger ───────────────────────────────── */
.nav-bar__end {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.nav-bar__cta {
    font-family: 'Baskerville', sans-serif;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: .65rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}

.nav-bar__cta:hover {
    background: var(--accent-deep);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Hamburger (mobile) ─────────────────────────────────── */
.nav-bar__toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
}

.nav-bar__toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

/* ── Mobile drawer ──────────────────────────────────────── */
.nav-bar__drawer {
    display: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .nav-bar {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
    }

    .nav-bar__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .nav-bar__end {
        grid-column: 2;
        grid-row: 1;
    }

    .nav-bar__links {
        display: none;
    }

    /* hidden on mobile, drawer used instead */
    .nav-bar__cta {
        display: none;
    }

    /* shown inside drawer */
    .nav-bar__toggler {
        display: flex;
    }

    /* Drawer */
    .nav-bar__drawer {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(33, 28, 26, .08);
    }

    .nav-bar__drawer--open {
        display: flex;
    }

    .nav-bar__drawer-link {
        font-family: 'Baskerville', sans-serif;
        font-size: .75rem;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: var(--ink);
        text-decoration: none;
        padding: .75rem 1.5rem;
        width: 100%;
        text-align: center;
        transition: color 0.2s, background 0.2s;
    }

    .nav-bar__drawer-link:hover {
        color: var(--accent);
        background: rgba(140, 28, 32, .05);
    }

    .nav-bar__drawer-cta {
        font-family: 'Baskerville', sans-serif;
        font-size: .75rem;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: #fff;
        background: var(--accent);
        padding: .7rem 2.5rem;
        border-radius: 2px;
        text-decoration: none;
        margin-top: 0.75rem;
        transition: background 0.2s;
    }

    .nav-bar__drawer-cta:hover {
        background: var(--accent-deep);
    }
}

/* ===== HERO ===== */
.hero-section {
    scroll-margin-top: 84px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 130px 0 2rem;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 100svh;
        padding: 140px 0 6rem;
    }
}

.hero-bg-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    max-width: 700px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-bg-deco {
        width: 60%;
        max-width: 650px;
    }
}

.hero-frame-wrapper {
    position: relative;
    width: 105%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-frame-wrapper {
        width: 90%;
        max-width: 640px;
    }
}

.hero-photo-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-floral-frame {
    width: 90%;
    height: auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero-name-band {
    position: absolute;
    width: 100%;
    top: 56% !important;
    left: 0;
    margin: 0;
    background-color: #8C1C20;
    padding: 1.4rem 0;
    text-align: center;
    z-index: 3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
    .hero-name-band {
        top: 50% !important;
    }
}

.hero-name-title {
    font-family: 'BigCaslon', serif;
    font-size: clamp(1.8rem, 8.5vw, 5rem);
    color: #fff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ===== HISTORIA / STORY ===== */
.story-section {
    scroll-margin-top: 84px;
    padding: 3rem 0;
    position: relative;
    background: #ffffff url('/invitacion/fotos/fondo_01.webp') center/cover no-repeat;
}

@media (min-width: 768px) {
    .story-section {
        padding: 6rem 0;
    }
}

.story-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.story-heading {
    order: 1;
    font-family: 'BigCaslon', serif;
    font-size: clamp(1.8rem, 11vw, 9.5rem);
    font-weight: 400;
    color: #fae4dd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    line-height: 0.95;
    white-space: nowrap;
}

.historia-slider {
    order: 3;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: none;
}

.historia-slider::-webkit-scrollbar {
    display: none;
}

.historia-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .historia-item {
        flex: 0 0 calc(20% - 1.2rem);
    }
}

.historia-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.story-text-wrap {
    order: 2;
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .historia-slider {
        order: 2;
    }

    .story-text-wrap {
        order: 3;
        margin-top: 3rem;
        margin-bottom: 0;
    }
}

.story-text {
    font-family: 'BigCaslon', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.5;
    margin: 0;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 0;
}

.gallery-modal-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    background: #ffffff;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.countdown-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 3vw, 3rem);
}

.countdown-floral {
    width: clamp(60px, 20vw, 210px);
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.countdown-center {
    flex: 0 1 auto;
    text-align: center;
}

.countdown-label {
    font-family: 'BigCaslon', serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.countdown-timer {
    font-family: 'BigCaslon', serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 8vw, 6rem);
    line-height: 1;
    color: #8C1C20;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ===== MÚSICA ===== */
.music-section {
    padding: 5rem 0;
    overflow: hidden;
    background-color: #f9f6f1;
    background-image: url('/invitacion/fotos/fondo_003.webp');
    background-size: 520px auto;
    background-repeat: repeat;
}

@media (min-width: 768px) {
    .music-section {
        padding: 7rem 0;
    }
}

.music-text-col {
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .music-text-col {
        padding-left: 3rem;
        padding-right: 1rem;
    }
}

.music-heading {
    font-family: 'BigCaslon', serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 4vw, 3.2rem);
    color: var(--ink);
    margin-bottom: 2.5rem;
}

.music-controls {
    gap: 1.5rem;
}

.music-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: #8C1C20;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3);
    transition: transform 0.2s;
    animation: pulseGlow 2.5s infinite;
}

.music-play-btn:hover {
    transform: scale(1.05);
    background: #7a181b;
}

.music-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== VENUE ===== */
.venue-section {
    scroll-margin-top: 84px;
    padding: 5rem 0;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .venue-section {
        padding: 7rem 0;
    }
}

.venue-address-card {
    background-color: #8C1C20;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .venue-address-card {
        padding: 4rem 3rem;
    }
}

.venue-icon {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
}

.venue-name {
    font-family: 'BigCaslon', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.venue-address-text {
    font-family: 'BigCaslon', serif;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}

.venue-date {
    font-family: 'BigCaslon', serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #8C1C20;
    margin-bottom: 0.2rem;
    letter-spacing: 0.05em;
}

.venue-date-sep {
    font-weight: 300;
    margin: 0 0.5rem;
}

.venue-time {
    font-family: 'BigCaslon', serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #8C1C20;
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
}

.venue-btn-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s;
}

.venue-btn-wrap:hover {
    transform: scale(1.05) translateY(-3px);
}

.venue-btn-wrap:hover .venue-map-btn {
    background-color: #7a181b;
    color: #fff;
}

.venue-btn-deco {
    position: absolute;
    left: -100px;
    bottom: -25px;
    width: 140px;
    height: auto;
    z-index: 3;
}

.venue-map-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'BigCaslon', serif;
    font-size: 1.4rem;
    color: #fff;
    background-color: #8C1C20;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3);
    transition: background-color 0.2s;
    animation: pulseGlow 2.5s infinite;
    pointer-events: none;
    /* Make the button click pass through to the wrapper (or React handles onClick on a link/button wrapping this, wait!) */
}

/* ===== DRESSCODE ===== */
.dresscode-section {
    scroll-margin-top: 84px;
    background: #ffffff url('/invitacion/fotos/fondo_01.webp') center/cover no-repeat;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .dresscode-section {
        padding: 7rem 0;
    }
}

.dresscode-couple-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
}

.dresscode-heading {
    font-family: 'BigCaslon', serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    color: #8C1C20;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dresscode-subtitle {
    font-family: 'BigCaslon', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 2.5rem;
}

.dresscode-illustration {
    width: 75%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .dresscode-illustration {
        width: 100%;
    }
}

/* ===== PHOTOS ===== */
.photos-section {
    scroll-margin-top: 84px;
    background: #f9f6f1 url('/invitacion/fotos/fondo_003.webp') center/520px auto repeat;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .photos-section {
        padding: 7rem 0;
    }
}

.photos-heading {
    font-family: 'BigCaslon', serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--ink);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.photos-upload-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.photos-upload-wrap:hover {
    transform: scale(1.05) translateY(-3px);
}

.photos-upload-wrap:hover .photos-upload-btn {
    background-color: #7a181b;
}

.photos-upload-deco {
    position: absolute;
    left: -80px;
    top: -10px;
    width: 130px;
    height: auto;
    z-index: 3;
}

.photos-file-input {
    display: none;
}

.photos-upload-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'BigCaslon', serif;
    font-size: 1.4rem;
    color: #fff;
    background-color: #8C1C20;
    border: none;
    padding: 0.9rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3);
    transition: background-color 0.2s;
    animation: pulseGlow 2.5s infinite;
    pointer-events: none;
    /* Let the wrapper handle the clicks */
}

.photos-status-msg {
    font-family: 'Baskerville', sans-serif;
    font-size: .9rem;
    color: #8C1C20;
    margin-top: 1rem;
    position: absolute;
    width: 100%;
    left: 0;
}

.photos-placeholder-sq {
    background-color: #222;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 2px;
}

.photos-placeholder-wide {
    background-color: #222;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 2px;
}

/* ===== GIFT ===== */
.gift-section {
    background: #ffffff;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .gift-section {
        padding: 7rem 0;
    }
}

.gift-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.gift-card-left {
    background-color: #8C1C20;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .gift-card-left {
        padding: 4.5rem 3.5rem;
    }
}

.gift-card-icon {
    width: 90px;
    height: auto;
    margin-bottom: 1.5rem;
}

.gift-card-text {
    font-family: 'BigCaslon', serif;
    font-size: 1.6rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

.gift-card-right {
    background-color: #ffffff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .gift-card-right {
        padding: 3rem 2.5rem;
    }
}

.gift-account-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
    animation: pulseGlow 2.5s infinite;
}

.gift-account-img:hover {
    transform: scale(1.02);
}

/* ===== RSVP ===== */
.rsvp-section {
    scroll-margin-top: 84px;
    background-color: #f5f2ec;
    background-image: url('/invitacion/img/recurso_23.webp');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    padding: 4rem 0 45vw;
    /* Usa vw para escalar proporcionalmente con la imagen de fondo */
}

@media (min-width: 768px) {
    .rsvp-section {
        padding: 7rem 0 35vw;
    }
}

@media (min-width: 1200px) {
    .rsvp-section {
        padding: 7rem 0 28vw;
    }
}

.rsvp-header {
    margin-bottom: 3rem;
    padding: 0 0.5rem;
}

.rsvp-eyebrow {
    display: none;
}

.rsvp-heading {
    font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 7.5vw, 4.5rem);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
    line-height: 1;
}

.rsvp-label {
    font-family: 'Baskerville', sans-serif;
    font-size: 1.1rem;
    color: var(--ink);
    display: block;
    margin-bottom: .5rem;
}

.rsvp-input {
    width: 100%;
    font-family: 'Baskerville', sans-serif;
    font-size: 1.3rem;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(33, 28, 26, .28);
    padding: .6rem .1rem;
    outline: none;
}

.rsvp-input:focus {
    border-bottom-color: var(--accent);
}

.rsvp-form-footer {
    gap: 1.4rem;
    margin-top: 2.4rem;
}

.rsvp-privacy-note {
    font-family: 'Baskerville', sans-serif;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 24rem;
    margin: 0;
}

.rsvp-submit-btn {
    flex: 0 0 auto;
    font-family: 'Baskerville', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    background: #1a1614;
    border: none;
    padding: 1rem 2.4rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.rsvp-submit-btn:hover {
    background: #8C1C20;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(140, 28, 32, 0.3);
}

.rsvp-success-wrap {
    text-align: center;
    padding: 1rem 0;
}

.rsvp-success-icon {
    font-size: 3.4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .8rem;
}

.rsvp-success-msg {
    font-family: 'BigCaslon', serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #c583ff;
    color: #cfc6bb;
    padding: 3.5rem 1rem;
    text-align: center;
}

.footer-tagline {
    font-family: 'BigCaslon', serif;
    font-size: 1.6rem;
    color: #f4efe6;
    margin-bottom: 0.5rem;
}

.footer-link {
    font-family: 'Baskerville', sans-serif;
    font-size: 1.1rem;
    letter-spacing: .1em;
    color: #8C1C20;
    font-weight: 500;
}

/* ===== ANIMACIONES ===== */
@keyframes sealPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 18px rgba(140, 28, 32, 0.35));
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 6px 26px rgba(140, 28, 32, 0.55));
    }
}

@keyframes hintBlink {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1.5deg);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3), 0 0 0 0 rgba(140, 28, 32, 0.4);
    }

    70% {
        box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3), 0 0 0 15px rgba(140, 28, 32, 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(140, 28, 32, 0.3), 0 0 0 0 rgba(140, 28, 32, 0);
    }
}

.float-anim {
    animation: floatAnimation 7s ease-in-out infinite;
}