:root {
    /* Paleta temática */
    --spidey-red: #e10600;
    --spidey-blue: #0a3d91;
    --spidey-dark: #0b0d16;
    --spidey-light: #f7f7fb;
    --ink: #ffffff;

    --maxw: 1024px;
    --shadow-hero: 0 20px 60px rgba(0, 0, 0, .45);
    --shadow-text: 0 10px 30px rgba(0, 0, 0, .55);
    --radius-xl: 22px;

    /* Paleta dulce/pastel para bautizo */
    --bauti-rose: #f7cfe3;
    --bauti-lilac: #c9c2ff;
    --bauti-cream: #fff8f2;
    --bauti-ink: #2b2b2b;

    --bauti-maxw: 1024px;
    --bauti-radius-xl: 24px;
    --bauti-shadow-hero: 0 24px 60px rgba(0, 0, 0, .15);
    --bauti-shadow-text: 0 10px 30px rgba(0, 0, 0, .25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== Layout general (dos temas) ===== */
.body_spiderman {
    margin: 0;
    color: var(--spidey-light);
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--spidey-dark);
    min-height: 100vh;
    display: block;
}

.theme_spiderman,
.theme_bautizo {
    width: 100%;
    min-height: 100svh;
    display: none;
}

.theme_spiderman.is-active,
.theme_bautizo.is-active {
    display: block;
}

.theme_spiderman img,
.theme_spiderman svg,
.theme_bautizo img,
.theme_bautizo svg {
    max-width: 100%;
    height: auto;
}

/* ===== Hero Spiderman ===== */
#theme_spiderman .hero_spiderman {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: clamp(16px, 3vw, 32px);
    overflow: hidden;
    /* Imagen principal (puedes cambiar a ruta local) */
    --hero-img-spiderman: url('../img/spiderman.png');
    /* Capas: halo + degradé + imagen */
    background:
        radial-gradient(40% 40% at 50% 48%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, var(--spidey-red) 0%, #b10509 24%, #12192f 50%, #0a2a7a 76%, var(--spidey-blue) 100%),
        var(--hero-img-spiderman);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
    background-size: auto, auto, cover;
    /* Mezcla para que el degradé no tape la foto */
    background-blend-mode: overlay, overlay, normal;
    isolation: isolate;
}

#theme_spiderman .hero_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    mix-blend-mode: soft-light;
    background:
        radial-gradient(circle at 10% 15%, rgba(255, 255, 255, .22) 2px, transparent 3px) 0 0/22px 22px,
        radial-gradient(circle at 90% 85%, rgba(255, 255, 255, .18) 2px, transparent 3px) 0 0/24px 24px;
}

#theme_spiderman .hero_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1150px 55% at 50% 70%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35));
}

#theme_spiderman .hero__content_spiderman {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    width: min(94vw, var(--maxw));
    text-align: center;
    filter: drop-shadow(var(--shadow-text));
    animation: fadeUp_spiderman .9s ease-out both;
}

#theme_spiderman .tag_spiderman {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

#theme_spiderman .title_spiderman {
    margin: 14px auto 8px;
    color: #fff;
    font-family: "Bangers", system-ui, sans-serif;
    font-size: clamp(2.2rem, 7vw, 4.6rem);
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 8px 30px rgba(0, 0, 0, .65);
}

#theme_spiderman .hero__subtitle_spiderman {
    margin: 8px auto 26px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.02rem, 2.2vw, 1.35rem);
}

#theme_spiderman .btn-web_spiderman {
    --ring: rgba(255, 255, 255, .28);
    position: relative;
    display: inline-grid;
    place-items: center;
    gap: 8px;
    padding: 14px 22px 14px 54px;
    color: var(--spidey-light);
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

#theme_spiderman .btn-web_spiderman:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
}

#theme_spiderman .btn-web_spiderman:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

#theme_spiderman .btn-web__orb_spiderman {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #ff4242, #b10509 65%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 4px 14px rgba(0, 0, 0, .5);
}

#theme_spiderman .btn-web__orb_spiderman svg {
    width: 22px;
    height: 22px;
}

/* Telarañas decoración hero */
#theme_spiderman .web-corner_spiderman {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    stroke: rgba(255, 255, 255, .95);
    fill: none;
    stroke-width: 1.6;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}

#theme_spiderman .web-corner--tl_spiderman {
    top: 0;
    left: 0;
    width: clamp(120px, 24vw, 320px);
}

#theme_spiderman .web-corner--tr_spiderman {
    top: 0;
    right: 0;
    width: clamp(120px, 24vw, 320px);
    transform: scaleX(-1);
}

#theme_spiderman .draw_spiderman path {
    stroke-dasharray: 560;
    stroke-dashoffset: 560;
    animation: draw_spiderman 2.4s ease-out forwards;
}

/* Skyline hero */
#theme_spiderman .skyline_spiderman {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -1px;
    height: min(34vh, 280px);
    z-index: 0;
    opacity: .9;
}

#theme_spiderman .skyline__layer_spiderman {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}

#theme_spiderman .skyline__layer_spiderman svg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
}

#theme_spiderman .layer--back_spiderman {
    opacity: .55;
    filter: blur(.2px);
    animation: pan_spiderman 38s linear infinite;
}

#theme_spiderman .layer--front_spiderman {
    opacity: .95;
    animation: pan_spiderman 26s linear infinite reverse;
}

/* Accesibilidad */
@media (prefers-reduced-motion:reduce) {
    #theme_spiderman .draw_spiderman path {
        animation: none;
        stroke-dashoffset: 0;
    }

    #theme_spiderman .layer--back_spiderman,
    #theme_spiderman .layer--front_spiderman,
    #theme_spiderman .btn-web_spiderman,
    #theme_spiderman .hero__content_spiderman {
        animation: none !important;
    }
}

/* Pantallas grandes: viñeta más suave */
@media (min-width:1200px) {
    #theme_spiderman .hero_spiderman::after {
        background: radial-gradient(1250px 55% at 50% 68%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .28));
    }
}

/* Animaciones base */
@keyframes draw_spiderman {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pan_spiderman {
    to {
        transform: translateX(-50%);
    }
}

@keyframes fadeUp_spiderman {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ===== Sección 2: Cumpleañero ===== */
#theme_spiderman .cumpleanero_spiderman {
    position: relative;
    padding: clamp(28px, 6vw, 60px) clamp(16px, 4vw, 32px);
    background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .6));
    color: #fff;
    /* Fondo de la sección (editable por CSS o JS) */
    --cumple-bg_spiderman: url('../img/fondo_sec_dos.webp');
    isolation: isolate;
}

#theme_spiderman .cumpleanero_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--cumple-bg_spiderman);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#theme_spiderman .cumpleanero_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45));
}

#theme_spiderman .cumple_grid_spiderman {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 28px);
}

@media (min-width:860px) {
    #theme_spiderman .cumple_grid_spiderman {
        grid-template-columns: 1.1fr .9fr;
        align-items: center;
    }
}

#theme_spiderman .cumple_media_spiderman {
    position: relative;
    display: grid;
    place-items: center;
}

#theme_spiderman .mask_wrap_spiderman {
    position: relative;
    width: min(82vw, 420px);
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .5), inset 0 0 0 4px rgba(255, 255, 255, .08);
}

#theme_spiderman .foto_spiderman {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

#theme_spiderman .cumple_texto_spiderman {
    text-align: center;
}

@media (min-width:860px) {
    #theme_spiderman .cumple_texto_spiderman {
        text-align: left;
    }
}

#theme_spiderman .cumple_titulo_spiderman {
    font-family: Bangers, system-ui, sans-serif;
    font-size: clamp(1.8rem, 4.6vw, 3rem);
    margin: 0 0 6px;
    letter-spacing: .02em;
}

#theme_spiderman .cumple_sub_spiderman {
    font-weight: 800;
    margin: 0 0 10px;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

#theme_spiderman .cumple_copy_spiderman {
    margin: 0;
    opacity: .92;
    max-width: 60ch;
}

/* Ajustes móvil para ver mejor el fondo de la sección 2 */
@media (max-width:640px) {
    #theme_spiderman .cumpleanero_spiderman::before {
        background-position: 50% 30%;
    }

    #theme_spiderman .cumpleanero_spiderman::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, .20), rgba(0, 0, 0, .35));
    }

    #theme_spiderman .cumpleanero_spiderman {
        padding: clamp(20px, 7vh, 48px) clamp(14px, 5vw, 28px);
    }

    #theme_spiderman .mask_wrap_spiderman {
        width: min(86vw, 360px);
    }

    #theme_spiderman .cumple_texto_spiderman {
        text-align: center;
        max-width: 36ch;
        margin: 0 auto;
    }
}

/* ===== Sección 3: Detalles del evento ===== */

/* NUEVO: Estilos para el fondo de video */
#theme_spiderman .video-bg-wrap_spiderman {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#theme_spiderman .video-bg-wrap_spiderman::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 22, 0);
    /* Capa oscura para opacidad */
    z-index: 1;
}

#theme_spiderman .video-bg-wrap_spiderman iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh;
    /* 100/56.25 (relación 16:9) */
    min-width: 100%;
    height: 56.25vw;
    /* 100/177.77 */
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Evita interacción con el video */
}

#theme_spiderman .detalles_spiderman {
    padding: clamp(40px, 8vw, 120px) clamp(16px, 3vw, 32px);
    position: relative;
}

#theme_spiderman .card_evento_spiderman {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hero);
    overflow: hidden;
}

#theme_spiderman .card_head_spiderman {
    padding: 20px 24px;
    background: rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

#theme_spiderman .chip_spiderman {
    display: inline-block;
    padding: 6px 14px;
    background: var(--spidey-red);
    color: var(--spidey-light);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 999px;
}

/* cuerpo (lista + mapa) */
#theme_spiderman .card_body_spiderman {
    display: grid;
    gap: 24px;
    padding: 24px;
}

#theme_spiderman .list_evento_spiderman {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

#theme_spiderman .row_evento_spiderman {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

#theme_spiderman .ico_spiderman {
    font-size: 1.4rem;
}

/* mapa embebido */
#theme_spiderman .map_wrap_spiderman {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
}

#theme_spiderman .map_iframe_spiderman {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Desktop: dos columnas equilibradas */
@media (min-width: 992px) {
    #theme_spiderman .card_body_spiderman {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 32px;
        padding: 32px;
    }
}

/* ===== Sección 4: Cuenta regresiva ===== */
#theme_spiderman #countdown_spiderman {
    position: relative;
    padding: clamp(28px, 6vw, 60px) clamp(16px, 4vw, 32px);
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(180deg, #081020, #0e1422);
    --countdown-bg-spiderman: url('../img/fondo_araña.jpg');
    /* RUTA A TU IMAGEN */
    isolation: isolate;
}

#theme_spiderman #countdown_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    /* Detrás de la capa de opacidad y del contenido */
    background-image: var(--countdown-bg-spiderman);
    background-size: cover;
    background-position: center;
}

#theme_spiderman #countdown_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Entre la imagen y el contenido */
    background: rgba(11, 13, 22, 0.88);
    /* Opacidad oscura */
}

#theme_spiderman .countdown_card_spiderman {
    width: min(92vw, 980px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 22px;
    padding: clamp(16px, 3.5vw, 28px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

#theme_spiderman .countdown_head_spiderman {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: clamp(12px, 2vw, 18px);
}

#theme_spiderman .countdown_chip_spiderman {
    font-family: Bangers, system-ui, sans-serif;
    letter-spacing: .02em;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    background: var(--spidey-red);
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(225, 6, 0, .35);
}

#theme_spiderman .countdown_meta_spiderman {
    opacity: .85;
    font-size: .9rem;
}

#theme_spiderman .countdown_grid_spiderman {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 16px);
}

#theme_spiderman .cd_unit_spiderman {
    text-align: center;
}

#theme_spiderman .cd_digits_spiderman {
    /* estilo digital rojo/azul */
    font-family: "Bangers", system-ui, sans-serif;
    font-size: clamp(2.2rem, 7vw, 5rem);
    letter-spacing: .04em;
    padding: .25em .35em;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .25)),
        radial-gradient(120% 120% at 30% 0%, rgba(225, 6, 0, .9), rgba(10, 61, 145, .9));
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, .15),
        0 10px 30px rgba(0, 0, 0, .45);
    text-shadow: 0 0 14px rgba(255, 255, 255, .2);
}

#theme_spiderman .cd_label_spiderman {
    margin-top: 6px;
    font-weight: 800;
    letter-spacing: .09em;
    font-size: .9rem;
    opacity: .92;
}

#theme_spiderman .cd_sep_spiderman {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    opacity: .9;
    animation: cd_blink_spiderman 1s steps(2, jump-none) infinite;
}

@keyframes cd_blink_spiderman {
    50% {
        opacity: .25;
    }
}

#theme_spiderman .countdown_caption_spiderman {
    margin-top: clamp(10px, 2.2vw, 16px);
    text-align: center;
    opacity: .92;
}

/* móvil: compactar un poco */
@media (max-width:640px) {
    #theme_spiderman .countdown_head_spiderman {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    #theme_spiderman .countdown_meta_spiderman {
        font-size: .85rem;
        opacity: .8;
    }
}

/* ===== NUEVO: Sección 5: Galería ===== */
#theme_spiderman .galeria_spiderman {
    position: relative;
    /* Añadido para posicionar los pseudo-elementos */
    padding: clamp(40px, 8vw, 100px) clamp(16px, 3vw, 32px);
    isolation: isolate;
    /* Añadido para el contexto de apilamiento */
    --gallery-bg-spiderman: url('../img/spiderman_gallery.png');
    /* RUTA A TU IMAGEN DE FONDO */
}

/* NUEVO: Pseudo-elemento para la imagen de fondo */
#theme_spiderman .galeria_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--gallery-bg-spiderman);
    background-size: cover;
    background-position: center;
}

/* NUEVO: Pseudo-elemento para la capa de opacidad */
#theme_spiderman .galeria_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 13, 22, 0.92);
    /* Capa oscura para dar contraste */
}

#theme_spiderman .galeria_container_spiderman {
    position: relative;
    /* Añadido para que el contenido esté sobre el fondo */
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    text-align: center;
}

#theme_spiderman .galeria_titulo_spiderman {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--spidey-light);
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0 var(--spidey-red);
}

#theme_spiderman .galeria_grid_spiderman {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#theme_spiderman .galeria_item_spiderman {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--spidey-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#theme_spiderman .galeria_item_spiderman:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

#theme_spiderman .galeria_item_spiderman img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== NUEVO: Sección 6: Confirmación (RSVP) ===== */
#theme_spiderman .rsvp_spiderman {
    padding: clamp(40px, 8vw, 100px) clamp(16px, 3vw, 32px);
    background-color: var(--spidey-dark);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ==== Fondo para sección de contacto (RSVP) ==== */
#theme_spiderman #rsvp_spiderman {
    --contacto-bg-spiderman: url('../img/fondo_contacto.png');
    position: relative;
    isolation: isolate;
    /* que las capas no afecten al contenido */
}

/* Imagen de fondo */
#theme_spiderman #rsvp_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--contacto-bg-spiderman);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay para contraste */
#theme_spiderman #rsvp_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 13, 22, .8), rgba(0, 0, 0, .85));
}

#theme_spiderman .rsvp_container_spiderman {
    max-width: 600px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 40px);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hero);
    text-align: center;
}

#theme_spiderman .rsvp_titulo_spiderman {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--spidey-light);
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-shadow: 2px 2px 0 var(--spidey-blue);
}

#theme_spiderman .rsvp_texto_spiderman {
    color: rgba(255, 255, 255, 0.8);
    max-width: 45ch;
    margin: 0 auto 32px;
}

#theme_spiderman .rsvp_form_spiderman {
    display: grid;
    gap: 20px;
}

#theme_spiderman .form_group_spiderman {
    text-align: left;
}

#theme_spiderman .form_label_spiderman {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

#theme_spiderman .form_input_spiderman {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#theme_spiderman .form_input_spiderman:focus {
    outline: none;
    border-color: var(--spidey-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 37, 0.5);
}

#theme_spiderman .rsvp_btn_spiderman {
    background: var(--spidey-red);
    color: var(--spidey-light);
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 16px;
}

#theme_spiderman .rsvp_btn_spiderman:hover {
    background: #ff3d44;
    transform: translateY(-2px);
}

/* ===== NUEVO: Sección 7: Trivia ===== */
#theme_spiderman .trivia_spiderman {
    padding: clamp(40px, 8vw, 100px) clamp(16px, 3vw, 32px);
    background-color: var(--spidey-dark-blue);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ==== Fondo para Sección 7: Trivia temática ==== */
#theme_spiderman #trivia_spiderman {
    /* ruta relativa al CSS (assets/css → ../img/) */
    --trivia-bg_spiderman: url('../img/fondo_dinamica.jpg');
    position: relative;
    isolation: isolate;
    /* para que las capas no afecten al contenido */
}

/* Capa de imagen */
#theme_spiderman #trivia_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--trivia-bg_spiderman);
    background-size: cover;
    /* se adapta a todo el alto/ancho */
    background-position: center;
    /* centra el motivo */
    background-repeat: no-repeat;
    z-index: 0;
}

/* Capa de oscurecido para legibilidad del texto */
#theme_spiderman #trivia_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .55));
    z-index: 0;
}

#theme_spiderman .trivia_container_spiderman {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

#theme_spiderman .trivia_titulo_spiderman {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--spidey-light);
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 var(--spidey-red);
}

#theme_spiderman .trivia_juego_spiderman {
    display: grid;
    gap: 24px;
}

#theme_spiderman .trivia_pregunta_spiderman {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: left;
}

#theme_spiderman .pregunta_texto_spiderman {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 16px 0;
}

#theme_spiderman .pregunta_opciones_spiderman {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#theme_spiderman .pregunta_opciones_spiderman button {
    padding: 10px 16px;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

#theme_spiderman .pregunta_opciones_spiderman button:hover:not(:disabled) {
    background: var(--spidey-blue);
    border-color: var(--spidey-blue);
}

/* Estilos para respuestas */
#theme_spiderman .pregunta_opciones_spiderman button.correcta {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

#theme_spiderman .pregunta_opciones_spiderman button.incorrecta {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

#theme_spiderman .pregunta_opciones_spiderman button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#theme_spiderman .pregunta_feedback_spiderman {
    font-weight: bold;
    margin: 16px 0 0 0;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: none;
    /* Oculto por defecto */
}

#theme_spiderman .pregunta_feedback_spiderman.correcta {
    color: #d4edda;
    background-color: #155724;
}

#theme_spiderman .pregunta_feedback_spiderman.incorrecta {
    color: #f8d7da;
    background-color: #721c24;
}

/* ===== NUEVO: Sección 8: Cierre / Despedida ===== */

/* Fondo negro + GIF centrado detrás del contenido ya existente */
#theme_spiderman #cierre_spiderman {
    position: relative;
    background-color: #000;
    /* base negra para el resto de la pantalla */
    overflow: hidden;
    isolation: isolate;
    /* asegura el layering correcto */
}

/* Capa de fondo con el GIF (no se deforma) */
#theme_spiderman #cierre_spiderman::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    /* detrás de todo lo que ya tienes */
    background-color: #000;
    /* por si el GIF no cubre por completo */
    background-image: url('../img/spiderman_logo.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* se adapta sin forzar tamaño (no se pixelea) */
    pointer-events: none;
    /* no bloquea clics en tus botones/enlaces */
}

#theme_spiderman #cierre_spiderman::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    /* misma capa que el GIF pero encima de él */
    background: rgba(0, 0, 0, .45);
    /* ajusta el .45 según necesites */
    pointer-events: none;
}

/* Asegura que tu contenido actual quede por encima del GIF */
#theme_spiderman #cierre_spiderman>* {
    position: relative;
    z-index: 1;
}

#theme_spiderman .cierre_spiderman {
    padding: clamp(60px, 10vw, 120px) clamp(16px, 3vw, 32px);
    background-color: var(--spidey-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#theme_spiderman .cierre_container_spiderman {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#theme_spiderman .cierre_img_spiderman {
    max-width: 180px;
    margin-bottom: 24px;
    animation: swing 4s ease-in-out infinite;
}

#theme_spiderman .cierre_titulo_spiderman {
    font-family: 'Bangers', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--spidey-light);
    letter-spacing: 1px;
    line-height: 1.3;
    max-width: 20ch;
    margin: 0 auto 32px;
    text-shadow: 2px 2px 0 var(--spidey-red);
}

#theme_spiderman .cierre_btn_spiderman {
    background: var(--spidey-blue);
    color: var(--spidey-light);
    font-family: 'Bangers', 'Montserrat', system-ui, sans-serif;
    /* igual que otros títulos/CTAs */
    letter-spacing: .5px;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    text-transform: none;
    /* cámbialo a uppercase si lo prefieres */
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#theme_spiderman .cierre_btn_spiderman:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

#theme_spiderman .cierre_btn_spiderman:hover {
    background: #1c64f2;
    transform: translateY(-2px);
}

/* Animación para la imagen */
@keyframes swing {
    0% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

/* ===== NUEVO: Footer del Sitio ===== */
.site-footer {
    padding: 24px;
    text-align: center;
    background-color: #0c0f1a;
    /* Color base oscuro */
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/**ESTILOS BAUTIZO**/

/* Asegura aislamiento por tema */
.theme_bautizo {
    width: 100%;
    min-height: 100svh;
    display: none;
}

.theme_bautizo.is-active {
    display: block;
}

/* Tipografías del tema */
.title_bautizo,
.rsvp_titulo_bautizo,
.galeria_titulo_bautizo {
    font-family: "Playfair Display", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.hero__subtitle_bautizo,
.tag_bautizo,
.btn_bautizo {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== HERO Bautizo ===== */
#theme_bautizo .hero_bautizo {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: clamp(16px, 4vw, 40px);
    color: var(--bauti-ink);

    /* Imagen principal (puedes cambiarla vía var) */

    background:
        radial-gradient(50% 40% at 50% 46%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, #fff 0%, var(--bauti-rose) 28%, var(--bauti-lilac) 64%, #fff 100%);
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-blend-mode: overlay, soft-light, normal;
    isolation: isolate;
    box-shadow: inset 0 -80px 120px rgba(0, 0, 0, .06);
}

#theme_bautizo .hero_bautizo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .55) 2px, transparent 3px) 0 0/22px 22px,
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, .45) 2px, transparent 3px) 0 0/28px 28px;
    opacity: .75;
    pointer-events: none;
}

#theme_bautizo .hero__content_bautizo {
    position: relative;
    z-index: 2;
    max-width: var(--bauti-maxw);
    width: min(94vw, var(--bauti-maxw));
    text-align: center;
    filter: drop-shadow(var(--bauti-shadow-text));
    animation: fadeUp_bautizo .9s ease-out both;
}

#theme_bautizo .tag_bautizo {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(0, 0, 0, .06);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .9rem;
}

#theme_bautizo .title_bautizo {
    margin: 14px auto 8px;
    font-size: clamp(2rem, 6.4vw, 4rem);
    line-height: 1.05;
    letter-spacing: .01em;
    color: #2a2a33;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .75), 0 8px 30px rgba(0, 0, 0, .08);
}

#theme_bautizo #nombre_bautizo {
    font-family: "Great Vibes", cursive;
    font-size: 1.15em;
    color: #2a2a33;
}

#theme_bautizo .hero__subtitle_bautizo {
    margin: 8px auto 26px;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: rgba(0, 0, 0, .7);
}

#theme_bautizo .btn_bautizo {
    position: relative;
    display: inline-grid;
    place-items: center;
    gap: 8px;
    padding: 14px 22px 14px 54px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
    backdrop-filter: blur(4px);
}

#theme_bautizo .btn_bautizo:hover {
    transform: translateY(-1px);
}

#theme_bautizo .btn_bautizo:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

#theme_bautizo .btn__icon_bautizo {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #ffd0de, #b9b3ff 65%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), 0 4px 14px rgba(0, 0, 0, .15);
}

#theme_bautizo .btn__icon_bautizo svg {
    width: 20px;
    height: 20px;
}

/* Esquinas/ornamentos */
#theme_bautizo .butter-corner_bautizo {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    stroke: rgba(0, 0, 0, .35);
    fill: none;
    stroke-width: 1.6;
    filter: drop-shadow(0 1px 6px rgba(255, 255, 255, .45));
}

#theme_bautizo .butter-corner--tl_bautizo {
    top: 0;
    left: 0;
    width: clamp(110px, 22vw, 260px);
}

#theme_bautizo .butter-corner--tr_bautizo {
    top: 0;
    right: 0;
    width: clamp(110px, 22vw, 260px);
    transform: scaleX(-1);
}

#theme_bautizo .draw_bautizo path {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw_bautizo 2.2s ease-out forwards;
}

/* Mariposas flotando */
#theme_bautizo .butterfly_bautizo {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    /* coloca aquí tu PNG/SVG de mariposa */
    opacity: .9;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .15));
}

#theme_bautizo .butterfly--a_bautizo {
    left: 6%;
    bottom: 12%;
    animation: float_bautizo 10s ease-in-out infinite;
}

#theme_bautizo .butterfly--b_bautizo {
    right: 10%;
    top: 18%;
    animation: float_bautizo 12s ease-in-out infinite reverse;
}

#theme_bautizo .butterfly--c_bautizo {
    left: 22%;
    top: 10%;
    animation: float_bautizo 14s ease-in-out infinite;
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
    #theme_bautizo .draw_bautizo path {
        animation: none;
        stroke-dashoffset: 0;
    }

    #theme_bautizo .butterfly_bautizo {
        animation: none;
    }

    #theme_bautizo .hero__content_bautizo {
        animation: none !important;
    }
}

/* Keyframes */
@keyframes draw_bautizo {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeUp_bautizo {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes float_bautizo {
    0% {
        transform: translateY(0) rotate(0deg);
    }

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

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

/******* ESTILOS BAUTIZO ***********/

/* ===== Mariposas (solo bautizo) ===== */
#theme_bautizo .hero_bautizo {
    position: relative;
}

/* referencia para posicionar */
#theme_bautizo .butterfly-layer_bautizo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    perspective: 900px;
    perspective-origin: 50% 45%;
}

/* Animaciones de aleteo */
@keyframes flutter-left_bautizo {
    0% {
        transform: rotate3d(0, 1, 0, 15deg);
    }

    50% {
        transform: rotate3d(0, 1, 0, 38deg);
    }

    100% {
        transform: rotate3d(0, 1, 0, 15deg);
    }
}

@keyframes flutter-right_bautizo {
    0% {
        transform: rotate3d(0, 1, 0, -15deg);
    }

    50% {
        transform: rotate3d(0, 1, 0, -38deg);
    }

    100% {
        transform: rotate3d(0, 1, 0, -15deg);
    }
}

#theme_bautizo .butterfly_bautizo {
    width: 100px;
    height: 100px;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotate3d(1, 0.35, 0, 70deg) rotateZ(-8deg);
    opacity: .9;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .15));
}

#theme_bautizo .left-wing_bautizo,
#theme_bautizo .right-wing_bautizo {
    width: 24px;
    height: 52px;
    position: absolute;
    top: 10px;
}

#theme_bautizo .left-wing_bautizo {
    left: 10px;
    transform-origin: 24px 50%;
    transform: rotate3d(0, 1, 0, 20deg);
    animation: flutter-left_bautizo .3s infinite;
}

#theme_bautizo .right-wing_bautizo {
    left: 34px;
    transform-origin: 0px 50%;
    transform: rotate3d(0, 1, 0, -20deg);
    animation: flutter-right_bautizo .3s infinite;
}

#theme_bautizo .top_bautizo,
#theme_bautizo .bottom_bautizo {
    position: absolute;
    background: #f2b9c9;
    /* rosa pastel */
    opacity: .75;
}

#theme_bautizo .top_bautizo {
    width: 24px;
    height: 24px;
    border-radius: 12px;
}

#theme_bautizo .bottom_bautizo {
    top: 20px;
    width: 28px;
    height: 28px;
    border-radius: 14px;
}

/* ===== Detalles del evento (bautizo) — grid 2 columnas ===== */
#theme_bautizo .detalles_bautizo {
    padding: clamp(36px, 7vw, 110px) clamp(16px, 4vw, 36px);
    background:
        radial-gradient(55% 45% at 50% 35%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 65%, #fff 100%);
}

#theme_bautizo .card_evento_bautizo {
    max-width: var(--bauti-maxw);
    margin: 0 auto;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--bauti-radius-xl);
    box-shadow: var(--bauti-shadow-hero);
    overflow: hidden;
}

#theme_bautizo .card_head_bautizo {
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7));
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

#theme_bautizo .chip_bautizo {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bauti-rose);
    color: #4a3b46;
    font-weight: 700;
    font-size: .9rem;
}

#theme_bautizo .detalles_titulo_bautizo {
    margin: 10px 0 0;
    color: #2a2a33;
    font-size: clamp(1.4rem, 3.6vw, 2rem);
    font-family: "Playfair Display", serif;
}

#theme_bautizo .card_body_bautizo {
    padding: 20px 22px;
}

#theme_bautizo .detalles_grid_bautizo {
    display: grid;
    gap: clamp(16px, 3vw, 24px);
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    #theme_bautizo .detalles_grid_bautizo {
        grid-template-columns: 1fr 1fr;
    }
}

#theme_bautizo .detalle_box_bautizo {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 14px;
}

#theme_bautizo .subt_bautizo {
    margin: 0;
    font-family: "Playfair Display", serif;
    color: #2a2a33;
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
}

#theme_bautizo .list_evento_bautizo {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--bauti-ink);
}

#theme_bautizo .row_evento_bautizo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.02rem;
}

#theme_bautizo .ico_bautizo {
    font-size: 1.2rem;
}

#theme_bautizo .cta_group_bautizo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#theme_bautizo .btn_bautizo.secondary_bautizo {
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .6));
    color: #333;
    border: 1px solid rgba(0, 0, 0, .12);
}

#theme_bautizo .map_wrap_bautizo {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

#theme_bautizo .map_iframe_bautizo {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Retrato de la bautizada ===== */
#theme_bautizo .retrato_bautizo {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35)),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 65%, #ffffff 100%),
        url('../img/seccion_detalle.png');
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-blend-mode: normal, soft-light, normal;
    position: relative;
    padding: clamp(36px, 7vw, 110px) clamp(16px, 4vw, 36px);
}

#theme_bautizo .retrato_wrap_bautizo {
    max-width: var(--bauti-maxw);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

#theme_bautizo .retrato_grid_bautizo {
    display: grid;
    gap: clamp(16px, 3vw, 28px);
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
}

@media (min-width: 980px) {
    #theme_bautizo .retrato_grid_bautizo {
        grid-template-columns: 1.05fr .95fr;
    }
}

#theme_bautizo .retrato_frame_bautizo {
    position: relative;
    width: min(92vw, 560px);
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(0, 0, 0, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .15));
}

#theme_bautizo .retrato_frame_bautizo img {
    width: 100%;
    height: clamp(360px, 62vw, 620px);
    object-fit: cover;
    display: block;
    filter: saturate(1.04) contrast(1.02);
}

#theme_bautizo .retrato_caption_bautizo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    color: #2a2a33;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92));
}

#theme_bautizo .retrato_nombre_bautizo {
    display: block;
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
    line-height: 1;
}

#theme_bautizo .retrato_frase_bautizo {
    display: block;
    opacity: .75;
    font-size: .98rem;
    margin-top: 4px;
}

#theme_bautizo .retrato_info_bautizo {
    display: grid;
    gap: 16px;
}

#theme_bautizo .badge_list_bautizo {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#theme_bautizo .badge_bautizo {
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
    border: 1px solid rgba(0, 0, 0, .08);
    color: #2a2a33;
}

#theme_bautizo .versiculo_bautizo {
    margin: 0;
    padding: 14px 16px;
    border-left: 4px solid var(--bauti-lilac);
    background: rgba(255, 255, 255, .65);
    border-radius: 12px;
    font-style: italic;
    color: #30303a;
}

#theme_bautizo .btns_bautizo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== Card Padres & Padrinos (bautizo) ===== */
#theme_bautizo .familia_card_bautizo {
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .72));
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
    border-radius: 18px;
    padding: 16px 16px 12px;
    backdrop-filter: blur(6px);
    width: min(92vw, 560px);
    /* igual que el retrato */
    max-width: none;
    /* quita el límite de 420px */
    margin: 0 auto;
    /* centrada */
}

#theme_bautizo .familia_title_bautizo {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin: 2px 0 10px;
    color: var(--bauti-ink);
    letter-spacing: .2px;
}

#theme_bautizo .familia_list_bautizo {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

#theme_bautizo .familia_item_bautizo {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35));
    border: 1px solid rgba(0, 0, 0, .05);
}

#theme_bautizo .familia_ico_bautizo {
    display: inline-grid;
    place-items: center;
    color: #7a6fd6;
    /* tono lila */
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    width: 24px;
    height: 24px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

#theme_bautizo .familia_text_bautizo .label_bautizo {
    display: block;
    font-size: .78rem;
    letter-spacing: .3px;
    color: rgba(0, 0, 0, .55);
}

#theme_bautizo .familia_text_bautizo .value_bautizo {
    display: block;
    font-weight: 700;
    color: #2a2a33;
}

#theme_bautizo .familia_hashtags_bautizo {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#theme_bautizo .chip_bautizo {
    display: inline-block;
    padding: 6px 12px;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

#theme_bautizo .chip_bautizo:hover {
    filter: saturate(1.08) brightness(1.02);
}

/* En tablet/desktop vuelve a una anchura razonable en la columna derecha */
@media (min-width: 980px) {
    #theme_bautizo .retrato_grid_bautizo {
        justify-items: start;
    }

    #theme_bautizo .familia_card_bautizo {
        width: 100%;
        max-width: 520px;
        /* puedes subir/bajar este valor */
        margin: 0;
    }
}

#theme_bautizo .familia_verso_bautizo {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75));
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

#theme_bautizo .verso_text_bautizo {
    margin: 0;
    font-style: italic;
    color: #2a2a33;
}

#theme_bautizo .verso_ref_bautizo {
    font-style: normal;
    font-weight: 600;
    color: #6c63d9;
}

/* ===== Cuenta regresiva (bautizo) ===== */
#theme_bautizo #countdown_bautizo {
    position: relative;
    padding: clamp(28px, 6vw, 60px) clamp(16px, 4vw, 32px);
    display: grid;
    place-items: center;
    color: var(--bauti-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35)),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 65%, #ffffff 100%),
        url('../img/fondo_contador.png');
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-blend-mode: normal, soft-light, normal;
    position: relative;
    padding: clamp(36px, 7vw, 110px) clamp(16px, 4vw, 36px);
}

#theme_bautizo .countdown_card_bautizo {
    width: min(92vw, 980px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .75));
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
    padding: clamp(16px, 3.5vw, 28px);
}

#theme_bautizo .countdown_head_bautizo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: clamp(12px, 2vw, 18px);
}

#theme_bautizo .countdown_chip_bautizo {
    font-weight: 700;
    padding: .4rem .75rem;
    border-radius: 999px;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

#theme_bautizo .countdown_meta_bautizo {
    opacity: .8;
    font-size: .95rem;
}

#theme_bautizo .countdown_grid_bautizo {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 16px);
}

#theme_bautizo .cd_unit_bautizo {
    text-align: center;
}

#theme_bautizo .cd_digits_bautizo {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 7vw, 4.2rem);
    letter-spacing: .04em;
    padding: .25em .35em;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .03)),
        radial-gradient(120% 120% at 30% 0%, var(--bauti-rose), var(--bauti-lilac));
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 10px 30px rgba(0, 0, 0, .15);
    text-shadow: 0 0 14px rgba(255, 255, 255, .45);
}

#theme_bautizo .cd_label_bautizo {
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: .05em;
    font-size: .9rem;
    opacity: .85;
}

#theme_bautizo .cd_sep_bautizo {
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 900;
    opacity: .6;
    animation: cd_blink_bautizo 1s steps(2, jump-none) infinite;
}

@keyframes cd_blink_bautizo {
    50% {
        opacity: .18;
    }
}

#theme_bautizo .countdown_caption_bautizo {
    margin-top: clamp(10px, 2.2vw, 16px);
    text-align: center;
    opacity: .85;
}

/* accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
    #theme_bautizo .cd_sep_bautizo {
        animation: none;
    }
}

/* ===== Galería (bautizo) ===== */
#theme_bautizo .galeria_bautizo {
    position: relative;
    padding: clamp(36px, 7vw, 100px) clamp(16px, 4vw, 32px);
    background:
        radial-gradient(60% 50% at 50% 35%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 45%, #efeaff 100%);
}

#theme_bautizo .galeria_head_bautizo {
    text-align: center;
    margin-bottom: 18px;
}

#theme_bautizo .galeria_titulo_bautizo {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 4.4vw, 2.4rem);
    margin: 0 0 6px;
    color: var(--bauti-ink);
}

#theme_bautizo .galeria_sub_bautizo {
    margin: 0;
    opacity: .75;
    color: var(--bauti-ink);
}

#theme_bautizo .galeria_grid_bautizo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    grid-auto-flow: dense;
    max-width: 1100px;
    margin: 14px auto 0;
}

#theme_bautizo .g_item_bautizo {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

#theme_bautizo .g_item_bautizo:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
}

#theme_bautizo .g_item_bautizo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    /* relación agradable */
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

#theme_bautizo .g_item_bautizo:hover img {
    transform: scale(1.04);
}

/* Algunas piezas más grandes para dinamismo */
#theme_bautizo .g_item_bautizo.span2_bautizo {
    grid-column: span 2;
}

@media (min-width: 900px) {
    #theme_bautizo .g_item_bautizo.span2_bautizo {
        grid-row: span 2;
    }

    #theme_bautizo .g_item_bautizo.span2_bautizo img {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* ===== Lightbox ===== */
#theme_bautizo .lightbox_bautizo {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(2px);
}

#theme_bautizo .lightbox_bautizo[hidden] {
    display: none;
}

#theme_bautizo .lb_stage_bautizo {
    position: relative;
    max-width: 92vw;
    max-height: 86vh;
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .82));
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

#theme_bautizo #lb_img_bautizo {
    max-width: 88vw;
    max-height: 70vh;
    border-radius: 10px;
}

#theme_bautizo #lb_caption_bautizo {
    margin: 0;
    color: #2a2a33;
    font-weight: 600;
    text-align: center;
}

#theme_bautizo .lb_close_bautizo,
#theme_bautizo .lb_prev_bautizo,
#theme_bautizo .lb_next_bautizo {
    position: absolute;
    z-index: 81;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

#theme_bautizo .lb_close_bautizo {
    top: 16px;
    right: 16px;
    font-size: 28px;
    line-height: 1;
}

#theme_bautizo .lb_prev_bautizo {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
}

#theme_bautizo .lb_next_bautizo {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
}

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

    #theme_bautizo .g_item_bautizo,
    #theme_bautizo .g_item_bautizo img {
        transition: none;
    }
}

@media (max-width: 520px) {

    #lightbox_bautizo .lb_prev_bautizo,
    #lightbox_bautizo .lb_next_bautizo {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    #lightbox_bautizo .lb_prev_bautizo {
        left: 16px;
    }

    #lightbox_bautizo .lb_next_bautizo {
        right: 16px;
    }
}

#theme_bautizo #lightbox_bautizo:not([hidden]) ~ .fab_back_bautizo {
    display: none;
    pointer-events: none;
    opacity: 0;
}
/* ===== RSVP (bautizo) ===== */
#theme_bautizo .rsvp_bautizo {
    position: relative;
    padding: clamp(28px, 6vw, 60px) clamp(16px, 4vw, 32px);
    display: grid;
    place-items: center;
    color: var(--bauti-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35)),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 65%, #ffffff 100%),
        url('../img/fondo_confirmacion.png');
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    background-blend-mode: normal, soft-light, normal;
    position: relative;
    padding: clamp(36px, 7vw, 110px) clamp(16px, 4vw, 36px);
}

#theme_bautizo .rsvp_container_bautizo {
    width: min(92vw, 720px);
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .8));
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
    padding: clamp(18px, 3.5vw, 28px);
    text-align: left;
}

#theme_bautizo .rsvp_titulo_bautizo {
    font-family: "Playfair Display", serif;
    margin: 0 0 6px;
    color: var(--bauti-ink);
}

#theme_bautizo .rsvp_texto_bautizo {
    margin: 0 0 16px;
    opacity: .75;
    color: var(--bauti-ink);
}

#theme_bautizo .rsvp_form_bautizo {
    display: grid;
    gap: 14px;
}

#theme_bautizo .form_row_bautizo {
    display: grid;
    gap: 12px;
}

@media (min-width: 720px) {
    #theme_bautizo .form_row_bautizo {
        grid-template-columns: 1fr 1fr;
    }
}

#theme_bautizo .form_group_bautizo {
    display: grid;
    gap: 6px;
}

#theme_bautizo .form_label_bautizo {
    font-weight: 600;
    font-size: .95rem;
    color: rgba(0, 0, 0, .75);
}

#theme_bautizo .form_input_bautizo {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    font-size: 1rem;
    color: #2a2a33;
}

#theme_bautizo .form_input_bautizo:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(201, 194, 255, .55);
}

#theme_bautizo .radio_group_bautizo {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--bauti-ink);
}

#theme_bautizo .rsvp_btn_bautizo {
    margin-top: 6px;
    border: 0;
    cursor: pointer;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

#theme_bautizo .rsvp_btn_bautizo:hover {
    filter: brightness(1.04) saturate(1.04);
    transform: translateY(-1px);
}

#theme_bautizo .rsvp_btn_bautizo:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ===== Cierre / Despedida (bautizo) ===== */
#theme_bautizo .cierre_bautizo {
    position: relative;
    padding: clamp(40px, 8vw, 120px) clamp(16px, 4vw, 32px);
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--bauti-ink);
    background:
        radial-gradient(60% 50% at 50% 40%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, var(--bauti-rose) 0%, var(--bauti-lilac) 45%, #efeaff 100%);
    isolation: isolate;
}

#theme_bautizo .cierre_wrap_bautizo {
    width: min(92vw, 760px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .82));
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .14);
    padding: clamp(22px, 4vw, 32px);
}

#theme_bautizo .cierre_titulo_bautizo {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 4.6vw, 2.4rem);
    margin: 0 0 6px;
}

#theme_bautizo .cierre_sub_bautizo {
    margin: 0 0 16px;
    opacity: .8;
}

#theme_bautizo .btn_agenda_bautizo {
    position: relative;
    display: inline-grid;
    place-items: center;
    padding: 14px 20px 14px 54px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac));
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

#theme_bautizo .btn_agenda_bautizo:hover {
    filter: brightness(1.04) saturate(1.04);
    transform: translateY(-1px);
}

#theme_bautizo .btn_agenda_bautizo:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

#theme_bautizo .btn_orb_bautizo {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #ffd0de, #b9b3ff 65%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), 0 4px 14px rgba(0, 0, 0, .15);
}

#theme_bautizo .cierre_hint_bautizo {
    display: block;
    margin-top: 10px;
    opacity: .65;
    font-size: .9rem;
}

/* ===== Footer simple (bautizo) ===== */
#theme_bautizo .footer_bautizo.footer--simple_bautizo {
    padding: 14px 0;
    text-align: center;
    background: #fff;
    color: var(--bauti-ink);
    border-top: 1px solid rgba(0, 0, 0, .06);
}

#theme_bautizo .footer_text_bautizo {
    margin: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .82));
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .06);
}

#theme_bautizo .footer_link_bautizo {
    color: #5a52d6;
    font-weight: 800;
    text-decoration: none;
}

#theme_bautizo .footer_link_bautizo:hover {
    text-decoration: underline;
}

#theme_bautizo .heart_bautizo {
    color: #ff7aa5;
}

/* ============================
   SWITCH FULL SPLIT (50/50)
============================ */
#switch_dual.switch_dual {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

#switch_dual[hidden] {
    display: none;
}

#switch_dual .switch_fullsplit {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Línea divisoria vertical */
#switch_dual .switch_fullsplit::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .45);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Columnas: el FONDO está en la columna, no en el contenedor */
#switch_dual .switch_side {
    position: relative;
    isolation: isolate;
    cursor: pointer;
    outline: none;
    display: grid;
    place-items: end center;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    transition: transform .25s ease;
}

#switch_dual .switch_side:focus-visible {
    box-shadow: inset 0 0 0 4px rgba(99, 102, 241, .35);
}

#switch_dual .switch_side:hover {
    transform: translateY(-1px);
}

/* Capa de legibilidad */
#switch_dual .switch_side::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55));
}

/* Asigna AQUÍ tus imágenes de fondo */
#switch_dual .switch_side--spiderman {
    --bg: url('../img/inicio_spider.gif');
}

#switch_dual .switch_side--bautizo {
    --bg: url('../img/inicio_bautizo.gif');
}

/* Texto/acciones al pie de cada columna */
#switch_dual .side_content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 0 28px;
    padding: 0 16px;
    color: #fff;
    text-shadow: 0 8px 26px rgba(0, 0, 0, .6);
}

#switch_dual .side_badge {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(4px);
}

#switch_dual .side_title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

#switch_dual .side_btn {
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: radial-gradient(circle at 30% 30%, #ff829f, #8e86ff);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

/* Responsive: en móvil, 2 filas 50/50 (no tarjetas) */
@media (max-width: 900px) {
    #switch_dual .switch_fullsplit {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    #switch_dual .switch_fullsplit::before {
        left: 0;
        right: 0;
        top: 50%;
        bottom: auto;
        height: 1px;
        width: auto;
    }
}

/* ===== Switch: personalización de textos ===== */

/* Spiderman: usa la fuente del theme_spiderman (Bangers) */
#switch_dual .switch_side--spiderman .side_title {
    font-family: "Bangers", system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 8px 26px rgba(0, 0, 0, .7), 0 2px 0 rgba(0, 0, 0, .35);
}

/* Bautizo: asegurar centrado de texto y botón */
#switch_dual .switch_side--bautizo .side_content {
    text-align: center;
    max-width: min(92vw, 720px);
    margin-inline: auto;
}

#switch_dual .switch_side--bautizo .side_title {
    font-family: "Playfair Display", serif;
    /* la misma que ya usas */
    margin-bottom: 12px;
    text-align: center;
}

#switch_dual .switch_side--bautizo .side_btn {
    justify-self: center;
    /* centra en la grid del panel */
    margin-inline: auto;
    /* por si otro estilo empuja */
    display: inline-block;
}

/* === Switch 50/50: centrar contenido en ambas columnas === */
#switch_dual .switch_fullsplit .switch_side {
    place-items: center;
    /* antes estaba en "end center" */
}

#switch_dual .switch_fullsplit .switch_side .side_content {
    margin: 0;
    /* quitamos margen inferior */
}



/* === Switch Spiderman: botón azul con rojo === */
#switch_dual .switch_side--spiderman .side_btn {
    /* cuerpo azul */
    color: var(--spidey-light);
    background:
        radial-gradient(120% 180% at 50% -40%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, var(--spidey-blue) 0%, #061d5f 100%);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .55),
        0 0 0 2px rgba(225, 6, 0, .25) inset;
    /* halo rojo interior */
}

#switch_dual .switch_side--spiderman .side_btn:hover {
    filter: saturate(1.05) brightness(1.04);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, .65),
        0 0 0 3px rgba(225, 6, 0, .28) inset;
    /* un poco más de rojo al hover */
}

/* ===== FAB volver al switch (Spiderman) ===== */
#theme_spiderman .fab_back_spiderman {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9990;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    background:
        radial-gradient(circle at 30% 30%, #ff3b3b, #b10509 65%);
    /* orb rojo */
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .55),
        0 0 0 2px rgba(255, 255, 255, .35) inset;
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(.85);
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease, filter .2s ease;
}

/* aro azul exterior para el estilo Spidey */
#theme_spiderman .fab_back_spiderman::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    box-shadow: 0 0 0 3px rgba(10, 61, 145, .55);
    /* azul */
}

#theme_spiderman .fab_back_spiderman:hover {
    filter: brightness(1.05) saturate(1.05);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, .65),
        0 0 0 3px rgba(255, 255, 255, .38) inset;
}

/* Solo visible cuando Spiderman está activo */
html[data-theme-active="spiderman"] #theme_spiderman .fab_back_spiderman,
#theme_spiderman.is-active .fab_back_spiderman {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Accesibilidad */
#theme_spiderman .fab_back_spiderman:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Opcional: ocultar en pantallas muy pequeñas si estorba
@media (max-width: 360px){
  #theme_spiderman .fab_back_spiderman{ right: 12px; bottom: 12px; width: 52px; height: 52px; }
}
*/


/* ===== FAB volver al switch (Bautizo) ===== */
#theme_bautizo .fab_back_bautizo {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9990;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, var(--bauti-rose), var(--bauti-lilac) 70%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28),
        inset 0 0 0 2px rgba(255, 255, 255, .55);
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: scale(.85);
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease, filter .2s ease;
}

/* aro suave en el borde */
#theme_bautizo .fab_back_bautizo::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    box-shadow: 0 0 0 3px rgba(201, 194, 255, .45);
}

#theme_bautizo .fab_back_bautizo:hover {
    filter: brightness(1.05) saturate(1.05);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, .35),
        inset 0 0 0 3px rgba(255, 255, 255, .6);
}

/* Visible sólo cuando el tema Bautizo está activo */
html[data-theme-active="bautizo"] #theme_bautizo .fab_back_bautizo,
#theme_bautizo.is-active .fab_back_bautizo {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Accesibilidad */
#theme_bautizo .fab_back_bautizo:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Ajuste opcional en pantallas pequeñas
@media (max-width: 360px){
  #theme_bautizo .fab_back_bautizo{ left: 12px; bottom: 12px; width: 52px; height: 52px; }
}
*/