/* =========================================================
   INVITACIÓN PERSONALIZADA - SOBRE
   ========================================================= */

:root {
    --paper: #f5f0e7;
    --paper-light: #fbf8f2;
    --ink: #3d3a35;
    --accent: #8b6f5a;
    --accent-dark: #6e5644;
    --shadow: rgba(40, 30, 20, 0.15);
}

/* Bloqueamos el scroll mientras el sobre está cerrado */
body.invitation-locked {
    overflow: hidden;
}

/* ---------------------------------------------------------
   CAPA DEL SOBRE
   --------------------------------------------------------- */

#invitation-envelope {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at center,
            rgba(255,255,255,0.45) 0%,
            rgba(245,240,231,0.96) 70%),
        var(--paper);

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease;
}

/* Cuando se abre */
#invitation-envelope.is-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---------------------------------------------------------
   CONTENIDO
   --------------------------------------------------------- */

.invitation-envelope-content {
    width: min(88vw, 430px);
    text-align: center;
    color: var(--ink);
}

/* ---------------------------------------------------------
   NOMBRES
   --------------------------------------------------------- */

.invitation-guest-label {
    margin-bottom: 24px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.75;
}

.invitation-guest-names {
    margin-bottom: 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 8vw, 42px);
    line-height: 1.15;
    font-weight: 400;

    color: var(--ink);
}

.invitation-guest-names-kids {
    margin-bottom: 42px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.3;
    font-style: italic;

    opacity: 0.7;

    color: var(--ink);
}

/* ---------------------------------------------------------
   SOBRE
   --------------------------------------------------------- */

.envelope {
    position: relative;

    width: 100%;
    aspect-ratio: 1.5;

    margin: 0 auto 30px;

    cursor: pointer;

    box-shadow: 0 16px 25px var(--shadow);

    transition:
        transform 1.8s cubic-bezier(.22,.61,.36,1),
        opacity 1.25s ease;
}

/* El sobre se desliza hacia abajo y desaparece,
   dejando ver la web que va apareciendo detrás */
.envelope.is-sliding {
    transform: translateY(140%) scale(0.95);
    opacity: 0;
    pointer-events: none;
}

/* Cuerpo */
.envelope-body {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(115deg, rgba(0,0,0,0.1), transparent 38%),
        linear-gradient(245deg, rgba(0,0,0,0.1), transparent 38%),
        var(--paper-light);

    border: 1px solid rgba(61,58,53,0.15);
    border-radius: 3px;

    box-shadow:
        inset 0 -12px 25px -10px rgba(40,30,20,0.25);

    overflow: hidden;
}

/* El bolsillo inferior ya no se dibuja como un triángulo
   de color distinto: el volumen del papel lo da solo
   la sombra de la solapa (más abajo), no un cambio de tono */

/* Solapa superior */
.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 58%;

    z-index: 3;

    /* Mismo tono que el cuerpo: nada de degradado de dos
       colores, el volumen lo da la sombra proyectada */
    background: var(--paper-light);

    /* filter en vez de box-shadow: box-shadow se recorta
       junto con el clip-path y no se proyectaría sobre el
       cuerpo; drop-shadow sí cae por encima, dando la
       sensación de solapa de papel real doblada hacia dentro */
    filter: drop-shadow(0 7px 9px rgba(40,30,20,0.38));

    clip-path: polygon(
        0 0,
        100% 0,
        50% 100%
    );

    transform-origin: top center;

    transition:
        transform 1.2s cubic-bezier(.22,.61,.36,1);
}

/* Animación de apertura */
.envelope.is-opening .envelope-flap {
    transform: rotateX(180deg);
}

/* ---------------------------------------------------------
   SELLO
   --------------------------------------------------------- */

.envelope-seal {
    position: absolute;

    left: 50%;
    top: 58%;

    transform: translate(-50%, -50%);

    width: 96px;
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    overflow: hidden;

    background: var(--accent);
    color: #fffaf3;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;

    box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.35),
    inset 0 -3px 6px rgba(0,0,0,0.25),
    0 4px 10px rgba(0,0,0,0.15);

    z-index: 5;

    transition:
        transform 0.8s ease,
        opacity 0.7s ease;
}

.envelope-seal img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;
}

.envelope.is-opening .envelope-seal {
    transform:
        translate(-50%, -50%)
        scale(0.7)
        rotate(-12deg);

    opacity: 0;
}

/* Foto decorativa dentro del sobre (ramita, flor...) */
.envelope-decor {
    position: absolute;

    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);

    width: 70px;
    height: 40px;

    background-image: url('../img/decor-sobre.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    z-index: 2;
    pointer-events: none;
    display: none;
}

/* ---------------------------------------------------------
   TEXTO INFERIOR
   --------------------------------------------------------- */

.invitation-open-hint {
    margin-top: 15px;

    font-family: Arial, sans-serif;
    font-size: 12px;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.65;

    animation: invitation-pulse 2.5s ease-in-out infinite;
}

@keyframes invitation-pulse {
    0%, 100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.9;
    }
}

/* ---------------------------------------------------------
   INDICADOR DE DESLIZAR
   --------------------------------------------------------- */

.invitation-swipe {
    margin-top: 18px;

    font-size: 20px;

    opacity: 0.45;

    animation:
        invitation-arrow 1.8s ease-in-out infinite;
}

@keyframes invitation-arrow {

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

    50% {
        transform: translateY(7px);
    }
}

/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .invitation-envelope-content {
        width: 86vw;
    }

    .invitation-guest-names {
        margin-bottom: 30px;
    }

    .envelope-seal {
        width: 58px;
        height: 58px;
        font-size: 16px;
    }
}

/* =========================================================
   WEB DE LA BODA
   ========================================================= */

body.our-site-mode > *:not(#custom-wedding-site):not(#invitation-envelope):not(#rsvp-modal) {
    display: none !important;
}

body.our-site-mode {
    margin: 0;
    padding: 0;
    background: #f4efe6;
    color: #3f3a34;
}


/* ---------------------------------------------------------
   ESTRUCTURA
   --------------------------------------------------------- */

#custom-wedding-site {
    width: 100%;
    overflow-x: hidden;
}

.wedding-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    padding: 80px 24px;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   PORTADA  anteriormente ../img/FOTO_PORTADA.jpg'
   --------------------------------------------------------- */

.wedding-cover {
    min-height: 100svh;

    background:
        linear-gradient(
             rgba(40,35,30,0.50),
             rgba(40,35,30,0.50)
        ),
        url('../img/FOTO_BODA.webp');

    background-size: cover;
    background-position: center;
}

.wedding-cover-content {
    position: relative;

    z-index: 2;

    text-align: center;

    color: white;

    max-width: 700px;
}

.wedding-small-title {
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.wedding-cover h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 12vw, 92px);

    font-weight: 400;

    margin: 0;
}

.wedding-cover h1 span {
    font-style: italic;
}

.wedding-date {
    margin-top: 25px;

    font-size: 14px;

    letter-spacing: 0.25em;
}


/* ---------------------------------------------------------
   CUENTA ATRÁS
   --------------------------------------------------------- */

.wedding-countdown {
    display: flex;
    justify-content: center;
    gap: 24px;

    margin-top: 45px;
}

.wedding-countdown > div {
    display: flex;
    flex-direction: column;
}

.wedding-countdown strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
    font-weight: 400;
}

.wedding-countdown span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
}


/* ---------------------------------------------------------
   SCROLL
   --------------------------------------------------------- */

.wedding-scroll-hint {
    margin-top: 55px;

    font-size: 26px;

    animation:
        wedding-scroll 2s ease-in-out infinite;
}

@keyframes wedding-scroll {

    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }

}


/* ---------------------------------------------------------
   CONTENIDO
   --------------------------------------------------------- */

.wedding-content {
    width: min(100%, 900px);
    text-align: center;
}

.wedding-kicker {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.65;
}

.wedding-content h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px, 8vw, 64px);

    font-weight: 400;

    margin:
        15px 0 50px;
}

.wedding-text {
    max-width: 550px;
    margin: 0 auto 35px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   EVENTO
   --------------------------------------------------------- */

.wedding-event {
    background: #f8f4ec;
}

.event-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 45px;

    max-width: 560px;

    margin:
        0 auto 50px;
}

.event-detail h3 {
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.event-detail p {
    line-height: 1.6;
}

.event-address {
    opacity: 0.65;
    font-size: 14px;
}

.event-icon {
    font-size: 28px;
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

.wedding-button {
    display: inline-block;

    border: 1px solid #65594d;

    padding:
        15px 28px;

    color: #3f3a34;

    background: transparent;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    transition:
        all 0.25s ease;

    cursor: pointer;
}

.wedding-button:hover {
    background: #3f3a34;
    color: #fff;
}

.wedding-button-main {
    background: #65594d;
    color: #fff;
}


/* ---------------------------------------------------------
   APORTACIONES / IBAN
   --------------------------------------------------------- */

.iban-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(63,58,52,0.15);
    background: rgba(255,255,255,0.35);
    box-sizing: border-box;
}

.iban-container span {
    flex: 1;
    min-width: 0;
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.04em;
    word-break: break-all;
}

.copy-iban-btn {
    flex-shrink: 0;
    border: 1px solid #65594d;
    padding: 10px 15px;
    background: transparent;
    color: #3f3a34;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.copy-iban-btn:hover {
    background: #3f3a34;
    color: #fff;
}

.copy-iban-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

@media (max-width: 700px) {
    .iban-container {
        align-items: stretch;
        flex-direction: column;
    }

    .iban-container span {
        text-align: center;
        font-size: 13px;
    }

    .copy-iban-btn {
        width: 100%;
    }
}

/* ---------------------------------------------------------
   RSVP
   --------------------------------------------------------- */

.wedding-rsvp {
    background: #eee7dc;
}


/* ---------------------------------------------------------
   MÚSICA / PLAYLIST
   --------------------------------------------------------- */

.wedding-music {
    background: #f4efe6;
}

.spotify-embed-wrapper {
    max-width: 550px;

    margin: 0 auto 35px;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 12px 30px var(--shadow);
}

.spotify-embed-wrapper iframe {
    display: block;
}

.song-form-intro {
    margin-top: 30px !important;
}

.song-form {
    max-width: 420px;

    margin: 0 auto;

    text-align: left;
}

.song-form label {
    display: block;

    margin: 16px 0 8px;

    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.song-form input[type="text"] {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid rgba(63,58,52,0.20);

    background: #fffdf9;

    color: #3f3a34;

    font-family: inherit;
    font-size: 15px;

    outline: none;
}

.song-form input[type="text"]:focus {
    border-color: #65594d;
}

.song-form button {
    display: block;

    width: 100%;

    margin-top: 22px;
}

.song-form .rsvp-message {
    text-align: center;
}


/* ---------------------------------------------------------
   INFORMACIÓN
   --------------------------------------------------------- */

.wedding-info {
    background: #f8f4ec;
    align-items: flex-start;
}

.info-card {
    max-width: 700px;

    margin:
        0 auto 18px;

    padding:
        25px 30px;

    border:
        1px solid rgba(63,58,52,0.15);

    text-align: left;
}

.info-card h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    font-size: 25px;

    margin-top: 0;
}

.info-card p {
    line-height: 1.7;
    opacity: 0.8;
}


/* ---------------------------------------------------------
   PIE
   --------------------------------------------------------- */

.wedding-footer {
    padding:
        50px 20px;

    text-align: center;

    background: #e4dbcf;
}

.wedding-footer p {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;
}

.wedding-footer span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Foto decorativa junto a "Pilar & Sofía" en el pie */
.footer-decor {
    display: block;
    width: 90px;
    height: auto;
    margin: 0 auto 15px;
}


/* ---------------------------------------------------------
   ANIMACIONES DE APARICIÓN AL HACER SCROLL
   --------------------------------------------------------- */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity 1.4s ease,
        transform 1.4s ease;
}

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

/* Las tarjetas de información aparecen una detrás de otra */
.info-card.reveal-on-scroll:nth-of-type(1) { transition-delay: 0s; }
.info-card.reveal-on-scroll:nth-of-type(2) { transition-delay: 0.25s; }
.info-card.reveal-on-scroll:nth-of-type(3) { transition-delay: 0.5s; }

/* Respeta a quien prefiere pocas animaciones */
@media (prefers-reduced-motion: reduce) {

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .envelope,
    .envelope-flap,
    .envelope-seal {
        transition-duration: 0.2s;
    }
}


/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 700px) {

   .wedding-cover {
    min-height: 100dvh;
    height: 100dvh;
    padding: 30px 20px;
    box-sizing: border-box;
    background-size: cover;
    background-position: 30% center;
    background-repeat: no-repeat;
}

    .wedding-cover-content {

        width: 100%;

        max-width: 90vw;

        padding:
            0 10px;
       
        box-sizing: border-box;
        transform: translateY(-100px);

        margin:
            0 auto;
    }

    .wedding-small-title {

        font-size: 11px;

        letter-spacing:
            0.20em;

        margin-bottom:
            18px;
    }

    .wedding-cover h1 {

        font-size:
            clamp(42px, 12vw, 64px);

        line-height:
            1.05;
    }

    .wedding-date {

        margin-top:
            18px;

        font-size:
            12px;

        line-height:
            1.5;

        letter-spacing:
            0.16em;
    }

    .wedding-countdown {

        gap:
            12px;

        margin-top:
            30px;

        width:
            100%;
    }

    .wedding-countdown > div {

        min-width:
            52px;
    }

    .wedding-countdown strong {

        font-size:
            23px;
    }

    .wedding-countdown span {

        font-size:
            8px;

        letter-spacing:
            0.08em;
    }

    .wedding-scroll-hint {

        margin-top:
            32px;

        font-size:
            23px;
    }

    .wedding-section {

        min-height:
            auto;

        padding:
            56px 20px;
    }

    .event-details {

        grid-template-columns:
            1fr;

        gap:
            26px;
    }

    .wedding-content h2 {

        margin:
            8px 0 26px;

        font-size:
            clamp(32px, 9vw, 44px);

        line-height:
            1.1;
    }

    .wedding-text {

        margin:
            0 auto 22px;

        line-height:
            1.6;
    }

    .wedding-kicker {

        font-size:
            10px;
    }

    .info-card {

        padding:
            18px 20px;

        margin:
            0 auto 14px;
    }

    .info-card h3 {

        font-size:
            20px;
    }

    .wedding-button {

        padding:
            13px 22px;
    }

    .spotify-embed-wrapper iframe {

        height:
            280px;
    }

    .wedding-footer {

        padding:
            34px 20px;
    }

    .wedding-footer p {

        font-size:
            21px;
    }

}

/* =========================================================
   FORMULARIO RSVP
   ========================================================= */

body.rsvp-open {
    overflow: hidden;
}

#rsvp-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#rsvp-modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.rsvp-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(45, 39, 33, 0.55);
}

.rsvp-panel {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -47%);

    width: min(
        calc(100% - 30px),
        760px
    );

    max-height: 90vh;

    overflow-y: auto;

    background: #f8f4ec;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.22);

    border-radius: 3px;

    transition:
        transform 0.35s ease;
}

#rsvp-modal.is-visible .rsvp-panel {
    transform:
        translate(-50%, -50%);
}

.rsvp-inner {
    padding:
        55px 45px 50px;
}

.rsvp-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    border: none;
    background: transparent;

    font-size: 32px;
    line-height: 1;

    color: #4d463f;

    cursor: pointer;
}

.rsvp-intro {
    max-width: 550px;

    margin:
        -20px auto 40px;

    line-height: 1.7;

    opacity: 0.75;
}

.rsvp-person {
    padding:
        28px 0 32px;

    border-top:
        1px solid rgba(63,58,52,0.16);
}

.rsvp-person:first-child {
    border-top: none;
}

.rsvp-person-title h3 {
    margin:
        0 0 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
    font-weight: 400;
}

.rsvp-field {
    margin-bottom: 25px;
}

.rsvp-field > label {
    display: block;

    margin-bottom: 10px;

    font-size: 12px;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.rsvp-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rsvp-option {
    position: relative;
}

.rsvp-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rsvp-option span {
    display: inline-block;

    padding:
        11px 16px;

    border:
        1px solid rgba(63,58,52,0.22);

    background: transparent;

    cursor: pointer;

    transition:
        all 0.2s ease;
}

.rsvp-option input:checked + span {
    background: #65594d;
    color: #fff;
    border-color: #65594d;
}

.rsvp-field select,
.rsvp-field input[type="text"],
.rsvp-field textarea,
.rsvp-general textarea {
    width: 100%;

    box-sizing: border-box;

    padding:
        13px 14px;

    border:
        1px solid rgba(63,58,52,0.20);

    border-radius: 0;

    background: #fffdf9;

    color: #3f3a34;

    font-family: inherit;

    font-size: 15px;

    outline: none;
}

.rsvp-field textarea,
.rsvp-general textarea {
    resize: vertical;
}

.rsvp-field select:focus,
.rsvp-field input[type="text"]:focus,
.rsvp-field textarea:focus,
.rsvp-general textarea:focus {
    border-color: #65594d;
}

.rsvp-extra-fields.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.rsvp-general {
    margin:
        15px 0 30px;
}

.rsvp-general > label {
    display: block;

    margin-bottom: 10px;

    font-size: 12px;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.rsvp-save {
    margin-top: 15px;
}

.rsvp-message {
    margin-top: 20px;

    padding:
        12px 15px;

    line-height: 1.5;

    font-size: 14px;
}

.rsvp-message.success {
    background: #e8eee4;
}

.rsvp-message.error {
    background: #f3e1df;
}

.rsvp-loading {
    padding:
        30px 0;

    text-align: center;

    opacity: 0.6;
}

.rsvp-error {
    padding: 15px;

    background: #f3e1df;
}

@media (max-width: 600px) {

    .rsvp-panel {
        width: calc(100% - 16px);
        max-height: 94vh;
    }

    .rsvp-inner {
        padding:
            45px 24px 35px;
    }

    .rsvp-person-title h3 {
        font-size: 25px;
    }

    .rsvp-options {
        flex-direction: column;
    }

    .rsvp-option span {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}


/* =========================================================
   RSVP NUEVO
   ========================================================= */

#rsvp-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;

    background: #f8f4ec;

    overflow-y: auto;

    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

#rsvp-screen.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-screen-inner {
    width: min(
        760px,
        calc(100% - 32px)
    );

    margin: 0 auto;

    padding:
        60px 0 80px;
}

.rsvp-close {
    position: fixed;

    top: 20px;
    right: 25px;

    width: 42px;
    height: 42px;

    border:
        1px solid #8c7d6d;

    border-radius: 50%;

    background:
        #f8f4ec;

    color:
        #3f3a34;

    font-size:
        25px;

    cursor: pointer;

    z-index: 10;
}

.rsvp-header {
    text-align: center;

    margin-bottom:
        45px;
}

.rsvp-header h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(40px, 8vw, 60px);

    font-weight:
        400;

    margin:
        12px 0 20px;
}

.rsvp-intro {
    max-width: 560px;

    margin:
        auto;

    line-height:
        1.7;

    opacity:
        .75;
}

.rsvp-person {
    padding:
        30px 0;

    border-top:
        1px solid rgba(
            63,
            58,
            52,
            .15
        );
}

.rsvp-person h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        30px;

    font-weight:
        400;

    margin:
        0 0 20px;
}

.rsvp-person-tag {
    margin:
        -14px 0 20px;

    font-size:
        12px;

    letter-spacing:
        .06em;

    text-transform:
        uppercase;

    color:
        var(--accent, #8b6f5a);

    opacity:
        .85;
}

.rsvp-question {
    font-size:
        12px;

    letter-spacing:
        .1em;

    text-transform:
        uppercase;
}

.rsvp-options {
    display:
        flex;

    gap:
        10px;

    flex-wrap:
        wrap;

    margin:
        12px 0 25px;
}

.rsvp-options label {
    cursor:
        pointer;
}

.rsvp-options input {
    display:
        none;
}

.rsvp-options span {
    display:
        inline-block;

    padding:
        12px 18px;

    border:
        1px solid #cfc5b8;

    background:
        transparent;

    transition:
        all .2s ease;
}

.rsvp-options input:checked + span {
    background:
        #65594d;

    color:
        white;

    border-color:
        #65594d;
}

.rsvp-extra[hidden] {
    display:
        none;
}

.rsvp-extra-note {
    margin:
        -2px 0 12px;

    font-size:
        13px;

    line-height:
        1.5;

    opacity:
        .65;
}

.rsvp-note {
    max-width: 560px;

    margin:
        14px auto 0;

    font-size:
        13px;

    line-height:
        1.6;

    opacity:
        .65;
}

.rsvp-extra label,
.rsvp-general label {
    display:
        block;

    margin:
        18px 0 8px;

    font-size:
        11px;

    letter-spacing:
        .1em;

    text-transform:
        uppercase;
}

.rsvp-extra input[type="text"],
.rsvp-extra textarea,
.rsvp-general textarea {
    width:
        100%;

    box-sizing:
        border-box;

    padding:
        13px;

    border:
        1px solid #cfc5b8;

    background:
        #fffdf9;

    font:
        inherit;
}

.rsvp-general {
    margin:
        30px 0;
}

.rsvp-message {
    text-align:
        center;

    margin-top:
        20px;
}

.imagen-asistencia {
  text-align: center;
  margin-top: 10px;
}

.imagen-asistencia img {
  max-width: 400px;  /* cambia el tamaño a tu gusto */
  width: 100%;
  height: auto;
    opacity:
        .65;
}
