@font-face {
    font-family: "Century-Light";
    src: url('ITCCenturyFSSPX-Light.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('librefranklin-thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Libre Franklin', sans-serif;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Century-Light", serif;
    font-weight: 100;
}


/* Paleta de colores FSSPX */
:root {
    --fsspx-blue: #002855;
    --fsspx-gold: #C5A059;
    --fsspx-gold-light: #F4EEDC;
    --fsspx-red: #800000;
    --light-grey: #f4f4f4;
    --white: #ffffff;

    --transition-smooth: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    background-color: var(--light-grey);
    color: #333;
    margin: 0;
    line-height: 1.6;
}

header {
    background-color: var(--fsspx-blue);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 4px solid var(--fsspx-gold);
}

header .logo {
    height: 50px;
}

header .header-content {
    max-width: 800px;
    margin: 0 auto;
}

header .motto {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--fsspx-gold);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

header .subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}


.divisor_imagen {
    position: relative;
    height: 40vh;
    background-color: #000;
    padding: 50px 0;
}

.divisor_imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/iglesia.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-attachment: fixed; */
    height: 100%;
    width: 100%;
    opacity: 0.2;
    z-index: 1;
}

html {
    scroll-behavior: smooth;

     /* Estilos para el video */
    .video-container iframe {
        width: 100%;
        height: auto;
        min-height: 300px;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(197, 160, 89, 0.3);
        /* Un toque sutil de oro */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background-color: #000;
        outline: none;
    }

    .video-container iframe:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }


}

.divisor_imagen .contenedor_especial {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.divisor_imagen .contenedor_especial svg {
    width: 100%;
    height: 250px;
    opacity: 0.4;
}

.divisor_imagen .contenedor_especial h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: var(--white);
    text-align: center;
    font-size: 50px;
}

.divisor_imagen .contenedor_especial h2 {
    color: var(--white);
    text-align: center;
    font-size: 40px;
}

.container {
    max-width: 1000px;
    margin: -30px auto 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Slider de Fotos */
.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.slider-container img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border: 3px solid var(--fsspx-gold);
    border-radius: 4px;
}

/* Barra de Progreso Interactiva */
.progress-wrapper {
    margin: 40px 0;
    position: relative;
}

.progress-bg {
    background: #e0e0e0;
    border-radius: 50px;
    height: 35px;
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.progress-fill {
    background: linear-gradient(90deg, var(--fsspx-blue), var(--fsspx-gold));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    transition: width 1.5s cubic-bezier(0.1, 0, 0.2, 1);
}

/* El nuevo contenedor para el monto abajo a la derecha */
.progress-footer {
    display: flex;
    justify-content: flex-end;
    /* Alinea todo al final (derecha) */
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

.total-label {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.amount-recollected {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--fsspx-blue);
    border-bottom: 2px solid var(--fsspx-gold);
}

/* Tabla de Donantes */
.donors-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.donors-table th {
    background-color: var(--fsspx-blue);
    color: white;
    padding: 12px;
}

.donors-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

/* Botones de Acción */
.btn-pay {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    background-color: var(--fsspx-red);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.2s;
}

.btn-pay:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Estilos para el formulario dinámico */
.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-family: 'Georgia', serif;
}

#montoLibre {
    padding: 12px;
    border: 2px solid #d4af37;
    /* Color dorado */
    border-radius: 4px;
    width: 150px;
    font-size: 1.1rem;
    text-align: center;
    margin: 0 10px;
}

.currency-prefix,
.currency-suffix {
    font-weight: bold;
    color: #555;
}

.btn-pay {
    background-color: #d4af37;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-pay:hover {
    background-color: #b8962d;
}


/* Paleta de colores FSSPX (Asegúrate de tener esto al inicio) */
:root {
    --fsspx-blue: #002855;
    --fsspx-gold: #C5A059;
    --fsspx-red: #800000;
}

/* EL TRUCO: Flexbox en el contenedor principal */
.main-container {
    display: flex;
    width: 95%;
    max-width: 1450px;
    margin: 0 auto;
    gap: 30px;
    padding: 50px 20px;


}

.left-column {
    width: 60%;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}



/* Responsive: si el celular es pequeño, se pone uno debajo del otro */
@media (max-width: 850px) {
    .main-container {
        flex-direction: column;
    }
}

/* Estilos extra para articles y aside a la izquierda */
.info-article {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.info-article.b2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.info-article.b2 p {
    /* width: 60%; */
}

.info-article.b2 img {
    width: 40%;
    border-radius: 10px;
}

.info-aside {
    font-style: italic;
    color: var(--fsspx-blue);
    border-left: 4px solid var(--fsspx-gold);
    padding-left: 15px;
    margin-top: 20px;
}

/* Estilos para la sección de Donación en el Sidebar */
.pasarela-sidebar {
    margin-top: 30px;
    padding: 20px;
    background-color: #fffdf7;
    /* Un tono crema suave para resaltar */
    border: 2px solid var(--fsspx-gold);
    border-radius: 8px;
    text-align: center;
}

.pasarela-sidebar h3 {
    color: var(--fsspx-blue);
    margin-top: 0;
}

.input-group-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

#montoLibre {
    width: 100%;
    max-width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 1.1rem;
}

.btn-pay-sidebar {
    width: 100%;
    background-color: var(--fsspx-red);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-pay-sidebar:hover {
    background-color: #a00000;
}

.secure-text {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
}

/* Ajuste visual para la cabecera de la tabla */
.table-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.table-header-flex h4 {
    margin: 0;
    color: var(--fsspx-blue);
}

.btn-small {
    padding: 2px 8px;
    font-size: 1.2rem;
}




/* izquierda */
.right-column {
    position: sticky;
    top: 20px;
    align-self: flex-start;

    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Espacio elegante entre widgets */

}

/* Estilo Base de Widget Premium */
.widget {
    background: var(--white);
    padding: 30px;
    /* Padding generoso */
    border-radius: 8px;
    /* Bordes redondeados sutiles */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    /* Sombra muy suave */
    border: 1px solid rgba(0, 0, 0, 0.02);
    /* Borde sutil */
    transition: var(--transition-smooth);
}

.widget-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--fsspx-blue);
    letter-spacing: 1.5px;
    /* Espaciado de letras elegante */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Subrayado de oro FSSPX sutil */
.widget-header h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--fsspx-gold);
}

/* -----------------------------------------
   WIDGET DE PROGRESO - DISEÑO REFINADO
   ----------------------------------------- */
.meta-section-refined {
    text-align: center;
}

.goal-group,
.recollected-group {
    margin-bottom: 25px;
}

.goal-label,
.total-label {
    font-size: 0.8rem;
    color: var(--text-grey);
    font-style: italic;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.goal-amount {
    font-size: 2.2rem;
    color: var(--fsspx-blue);
    margin-top: 0;
}

.progress-container-refined {
    margin: 30px 0;
}

.progress-bg {
    background-color: var(--light-grey);
    border-radius: 50px;
    height: 20px;
    /* Más fina y elegante */
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.progress-fill {
    /* Un gradiente sofisticado de azul FSSPX a oro FSSPX */
    background: linear-gradient(90deg, var(--fsspx-blue), var(--fsspx-gold));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Texto al final */
    color: var(--white);
    transition: var(--transition-smooth);
    width: 0;
    /* Ancho inicial */
}

/* El truco del ancho se mantiene con la variable CSS --progreso */
.progress-fill {
    width: var(--progreso);
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
    margin-right: 10px;
}

.amount-recollected {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--fsspx-blue);
    display: inline-block;
    border-bottom: 2px solid var(--fsspx-gold);
    /* Subrayado de oro sutil */
    padding-bottom: 5px;
}

.currency {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-grey);
}

/* -----------------------------------------
   WIDGET DE DONANTES - TABLA SOFISTICADA
   ----------------------------------------- */
.widget-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.widget-header-flex h3 {
    margin-bottom: 0;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--fsspx-blue);
    letter-spacing: 1.5px;
}

.table-controls-refined {
    font-size: 0.8rem;
    color: var(--text-grey);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sobrio-select {
    padding: 5px;
    border: 1px solid var(--fsspx-gold);
    /* Borde de oro */
    background: transparent;
    font-family: 'Libre Franklin', sans-serif;
    border-radius: 4px;
    color: var(--text-black);
}

/* La Tabla Desmaterializada - LOOK SOFISTICADO */
.donors-table-sophisticated {
    width: 100%;
    border-collapse: separate;
    /* Permite bordes de celda sutiles */
    border-spacing: 0;
    /* Sin espacio entre celdas */
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.donors-table-sophisticated th {
    text-align: left;
    color: var(--text-grey);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--fsspx-gold);
    /* Unico borde de celda visible en header */
}

.donors-table-sophisticated td {
    padding: 15px 10px;
    /* Padding generoso */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Borde de celda casi invisible */
}

/* Efecto hover suave en las filas */
.donors-table-sophisticated tbody tr:hover {
    background-color: var(--fsspx-gold-light);
    /* Fondo oro pálido sutil */
}

.monto-head,
.donor-monto-cell {
    text-align: right;
    /* Montos alineados a la derecha */
}

/* Estilo para el Placeholder de las Iniciales */
.donor-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.initial-placeholder {
    width: 30px;
    height: 30px;
    background-color: var(--fsspx-gold);
    color: var(--fsspx-blue);
    /* Letra azul oscuro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.donor-monto-cell {
    font-weight: bold;
    color: var(--text-black);
}

.donor-fecha-cell {
    color: var(--text-grey);
    font-style: italic;
}

/* Paginación Sobria y Profesional */
.pagination-sobria {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-grey);
}

.btn-pag {
    background: transparent;
    border: 1px solid var(--fsspx-gold);
    /* Borde de oro */
    color: var(--fsspx-blue);
    padding: 6px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.btn-pag:hover {
    background-color: var(--fsspx-gold);
    color: var(--white);
}

/* -----------------------------------------
   WIDGET DE PASARELA - DISEÑO PREMIUM
   ----------------------------------------- */
.pasarela-sidebar-premium {
    text-align: center;
    border: 1px solid var(--fsspx-gold);
    /* Borde completo de oro */
    position: relative;
    /* Para el badge */
    background-color: #fffdfc;
    /* Un tono crema sutil */
}

/* Hover effect para resaltar el widget de pago */
.pasarela-sidebar-premium:hover {
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.2);
    /* Sombra con toque de oro */
}

/* Badge Premium "Apoyo Sagrado" */
.premium-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: var(--fsspx-gold);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 50px;
    letter-spacing: 1px;
}

.pasarela-sidebar-premium h3 {
    color: var(--fsspx-blue);
    font-size: 1.2rem;
    margin-top: 15px;
    /* Dejar espacio para el badge */
    margin-bottom: 25px;
}

.input-group-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* Bordes redondeados sutiles */
    background-color: var(--white);
    padding: 10px;
    margin-bottom: 20px;
}

.input-group-premium .currency-prefix,
.input-group-premium .currency-suffix {
    font-weight: bold;
    color: var(--text-grey);
}

#montoLibre {
    border: none;
    font-size: 1.5rem;
    /* Monto grande */
    font-weight: 600;
    color: var(--text-black);
    text-align: center;
    width: 100%;
}

/* Eliminar el borde de focus por defecto */
#montoLibre:focus {
    outline: none;
}

.btn-pay-premium {
    width: 100%;
    background-color: var(--fsspx-gold);
    /* Mantengo el rojo FSSPX para el botón de acción */
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    /* Bordes redondeados sutiles */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-pay-premium:hover {
    background-color: var(--fsspx-gold);
    /* Un rojo más intenso al hover */
    transform: translateY(-2px);
    /* Un pequeño salto hacia arriba */
}

.secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.secure-text {
    font-size: 0.75rem;
    color: var(--text-grey);
    margin: 0;
}

footer {
    background-color: white;
    padding: 50px 0;
}

footer .ancho {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer svg {
    height: 50px;
}

.mobile-only-bar {
    display: none;
}


/* =========================================
   ESTILOS ESPECÍFICOS PARA MOBILE (SOLUCIÓN UNIFICADA)
   ========================================= */

/* Base para que no se vea en desktop */
.mobile-only-bar {
    display: none;
}

/* Estados de visibilidad para el widget de donación que controla el JS */
.mobile-hidden-state {
    display: none !important;
}

.mobile-visible-state {
    display: block !important;
    margin-top: 30px !important;
    /* Espacio para que respire al aparecer */
    border: 3px solid var(--fsspx-gold) !important;
    /* Resaltarlo doradito */
    border-radius: 12px;
    animation: fadeInSmooth 0.5s ease;
    /* Animación sutil */
}

/* Estilos para jerarquía de texto */
.motto-small {
    display: block;
    color: var(--fsspx-gold);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.lista-necesidades {
    padding-left: 20px;
    margin: 15px 0;
}

.lista-necesidades li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Acordeón Profesional */
.faq-section {
    margin-top: 50px;
}

.accordion-item {
    border: 1px solid rgba(197, 160, 89, 0.2);
    margin-bottom: 10px;
    border-radius: 6px;
}

.accordion-header {
    width: 100%;
    padding: 18px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Century-Light", serif;
    font-size: 1.05rem;
    color: var(--fsspx-blue);
    cursor: pointer;
    text-align: left;
    border-radius: 6px;
}

.accordion-header span {
    color: var(--fsspx-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

.accordion-content {
    max-height: 100%;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fcfcfc;
}

.accordion-content p {
    padding: 20px;
    color: #444;
    line-height: 1.6;
    border-top: 1px inset rgba(0, 0, 0, 0.05);
}

/* Tabla comparativa */
.comparativa-section {
    margin: 40px 0;
    background: #fdfbf7;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

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

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


/* Solo aplica para pantallas menores a 850px */
@media screen and (max-width: 850px) {

    .comparativa-section .donors-table-sophisticated thead {
        display: none;
    }

    /* Escondemos el header */

    .comparativa-section .donors-table-sophisticated tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--fsspx-gold);
        border-radius: 8px;
        padding: 10px;
        background: white;
    }

    .comparativa-section .donors-table-sophisticated td {
        display: flex;
        justify-content: space-between;
        padding: 8px 5px;
        border: none;
        text-align: right;
        font-size: 0.85rem;
    }

    .comparativa-section .donors-table-sophisticated td::before {
        content: attr(data-label);
        /* Usa el atributo data-label del HTML */
        font-weight: bold;
        color: var(--fsspx-blue);
        text-align: left;
    }

    /* 1. AJUSTES GENERALES DE LAYOUT MOBILE */
    .main-container {
        flex-direction: column;
        /* Normal, uno debajo de otro */
        padding: 50px 0 120px 0;
        width: 95%;
    }

    .left-column,
    .right-column {
        width: 100% !important;
        padding: 0 10px;
        /* Un poco de padding lateral */
        box-sizing: border-box;
    }

    .left-column {
        padding: 15px;
    }

    .right-column {
        position: static;
        /* Quitamos sticky */
        order: 2;
        /* Columna derecha va DESPUÉS de la izquierda (artículos) */
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Asegurar que el título en el header sea responsive */
    .divisor_imagen .contenedor_especial h1 {
        color: var(--white);
        text-align: center;
        font-size: 22px;
        /* Un poco más pequeño */
        padding: 0 15px;
    }

    /* Ajustes para las imágenes de los artículos en b2 */
    article.info-article.b2 {
        flex-direction: column-reverse;
        /* Imagen abajo del texto */
        gap: 15px;
    }

    article.info-article.b2 p,
    article.info-article.b2 img {
        width: 100% !important;
        max-width: 100%;
    }

    /* Mantenemos visible el widget de donantes */
    .donors-widget {
        display: block !important;
        order: 1;
        /* Donantes primero en la columna derecha */
    }

    /* ¡OJO! Ocultamos los widgets que el JS moverá o controlará */
    /* Usamos clases específicas para no romper Desktop */
    .right-column .progress-widget {
        display: none !important;
    }

    /* El widget de Wompi NO lo ocultamos aquí con display:none,
       de eso se encarga el JS añadiendo la clase .mobile-hidden-state
       para que el scrollIntoView funcione luego. */
    .right-column #wompi-donate-widget {
        order: 2;
        /* Widget de Wompi después de donantes */
    }


    /* 2. ESTILOS DE LA BARRA FIJA HTML (Usada por tu JS) */
    #mobile-sticky-bar.mobile-only-bar {
        display: flex;
        /* Se activa */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: var(--white);
        border-top: 3px solid var(--fsspx-gold);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
        z-index: 99999;
        /* Siempre encima */
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* 3. ESTILOS INTERNOS DE LA BARRA (Insertados por JS) */

    .mobile-bar-progress {
        flex: 1;
        margin-right: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mobile-bar-meta-text {
        font-family: "Century-Light", serif;
        font-size: 0.9rem;
        color: var(--fsspx-blue);
        font-weight: bold;
    }

    .mobile-bar-action {
        flex-shrink: 0;
    }

    /* El botón trigger "Quiero Donar" */
    .btn-cool-trigger {
        background-color: var(--fsspx-gold);
        color: var(--white);
        padding: 12px 24px;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(190, 164, 19, 0.3);
    }

    .btn-cool-trigger:hover {
        background-color: var(--fsspx-gold);
        transform: translateY(-2px);
    }

    /* Ajuste para el footer para que no lo tape la barra */
    footer {
        padding-bottom: 100px !important;
    }
}


/* Imagenes   */

/* 1. Centrar la imagen de Modificaciones */
.info-article.b2 img[src*="Modificaciones.jpeg"] {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 2. Estilos para las imágenes clickeables */
.info-article.b2 img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.info-article.b2 img:hover {
    transform: scale(1.02);
}

/* 3. Estilos del Modal (Efecto expansión) */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 40, 85, 0.9); /* Azul FSSPX con opacidad */
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    margin-top: 5vh;
    border: 3px solid var(--fsspx-gold);
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#modal-caption {
    text-align: center;
    color: var(--fsspx-gold);
    padding: 10px;
    font-family: "Century-Light", serif;
    font-size: 1.2rem;
}