.video-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 10, 30, 0.75), rgba(0, 10, 30, 0.85));
    z-index: -1;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #ffffff;
}

nav {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 15px;
    text-align: center;
    z-index: 10;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #00d4ff;
}

.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

h1, h2, h3 {
    color: #00d4ff;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-top: 40px;
    font-size: 14px;
}

.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 70px;
    font-weight: 700;
}

.hero {
    animation: fadeIn 1.5s ease-in-out;
}

.versiculo {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
    color: #d0ecff;
}

.boton-principal {
    padding: 15px 35px;
    background: #00d4ff;
    color: #002033;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.boton-principal:hover {
    background: #00aacc;
    transform: scale(1.05);
}

.intro {
    padding: 80px 20px;
}

.mision {
    padding: 80px 20px;
    text-align: center;
}

.mision h2 {
    margin-bottom: 20px;
}

.pilares {
    padding: 60px 20px;
}

.pilares-grid div {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.pilares-grid div:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.65);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.llamado-final {
    padding: 100px 20px;
    text-align: center;
}

.llamado-final h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.frase-impacto {
    font-size: 22px;
    margin-bottom: 35px;
    color: #cfeaff;
}

.boton-secundario {
    padding: 15px 40px;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.boton-secundario:hover {
    background: #00d4ff;
    color: #002033;
}

.hero-articulos {
    padding: 120px 20px 60px 20px;
    text-align: center;
}

.hero-articulos h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

.hero-articulos p {
    color: #cfeaff;
}

.lista-articulos {
    padding: 60px 20px 100px 20px;
}

.grid-articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tarjeta-articulo {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.tarjeta-articulo:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.75);
}

.tarjeta-articulo h3 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.imagen-destacada {
    margin-top: 80px;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.imagen-destacada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.articulo-hero {
    text-align: center;
    padding: 40px 20px;
}

.articulo-hero h1 {
    font-size: 48px;
    max-width: 900px;
    margin: auto;
}

.fecha {
    color: #b8e8ff;
    margin-top: 10px;
}

.articulo-contenido {
    padding: 40px 20px 100px 20px;
}

.lectura {
    line-height: 1.9;
    font-size: 18px;
}

.versiculo-destacado {
    font-size: 22px;
    font-style: italic;
    color: #00d4ff;
    margin-bottom: 40px;
    border-left: 4px solid #00d4ff;
    padding-left: 20px;
}

.llamado-final {
    margin-top: 60px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    text-align: center;
}

.hero-articulo-imagen {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-articulo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.overlay-articulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 900px;
}

.overlay-articulo h1 {
    font-size: 52px;
    margin-bottom: 15px;
}

.overlay-articulo .fecha {
    color: #b8e8ff;
}

/* ======== OPTIMIZACIÓN MÓVIL ======== */

@media (max-width: 768px) {

    .hero-articulo-imagen {
        height: 350px;
        margin-top: 60px;
    }

    .overlay-articulo h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .overlay-articulo .fecha {
        font-size: 14px;
    }

    .lectura {
        font-size: 16px;
        line-height: 1.8;
    }

    .versiculo-destacado {
        font-size: 18px;
    }

    .llamado-final {
        padding: 25px;
    }

    .boton-principal {
        padding: 12px 25px;
        font-size: 14px;
    }

    .hero-simple h1 {
        font-size: 32px;
    }    

    .boton-donacion {
        font-size: 16px;
        padding: 14px 30px;
    }

    .video-fondo {
        display: none;
    }
}

/* ===== HERO SIMPLE ===== */

.hero-simple {
    padding: 140px 20px 80px 20px;
    text-align: center;
}

.hero-simple h1 {
    font-size: 55px;
    margin-bottom: 15px;
}

.hero-simple p {
    color: #cfeaff;
}

/* ===== TESTIMONIOS ===== */

.seccion-testimonios {
    padding: 60px 20px 100px 20px;
}

.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tarjeta-testimonio {
    background: rgba(0, 0, 0, 0.6);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.tarjeta-testimonio:hover {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.75);
}

.texto-testimonio {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.autor {
    color: #00d4ff;
    font-weight: bold;
}

/* ===== LLAMADO FINAL ===== */

.llamado-seccion {
    padding: 80px 20px;
    text-align: center;
}

.llamado-seccion h2 {
    margin-bottom: 20px;
}

.llamado-seccion p {
    margin-bottom: 30px;
}

.llamado-seccion .boton-principal {
    display: inline-block;
    margin-top: 10px;
}

/* ===== RECURSOS ===== */

.seccion-recursos {
    padding: 60px 20px 100px 20px;
}

.grid-recursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tarjeta-recurso {
    background: rgba(0, 0, 0, 0.6);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    text-align: center;
    transition: 0.3s;
}

.tarjeta-recurso:hover {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.75);
}

.tarjeta-recurso h3 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.boton-secundario {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.boton-secundario:hover {
    background: #00d4ff;
    color: #002033;
}

/* ===== DONACIONES ===== */

.seccion-donacion {
    padding: 60px 20px 120px 20px;
    text-align: center;
}

.donacion-contenido {
    max-width: 800px;
}

.texto-donacion {
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 18px;
}

.boton-donacion-container {
    margin: 40px 0;
}

.boton-donacion {
    padding: 18px 45px;
    background: linear-gradient(45deg, #00d4ff, #00aacc);
    color: #002033;
    text-decoration: none;
    font-weight: bold;
    border-radius: 40px;
    font-size: 18px;
    transition: 0.3s;
}

.boton-donacion:hover {
    transform: scale(1.08);
}

.nota-transparencia {
    font-size: 14px;
    color: #b8e8ff;
    margin-top: 20px;
}

/* ===== CONTACTO ===== */

.seccion-contacto {
    padding: 60px 20px 120px 20px;
}

.formulario-contacto {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.formulario-contacto textarea {
    resize: none;
}

/* ===== FONDO INTERNO MÁS SOBRIO ===== */

body {
    background: linear-gradient(180deg, #001428, #000814);
    background-attachment: fixed;
}

/* ===== SECCION LEGAL ===== */
.seccion-legal {
    padding: 60px 20px 120px 20px;
}

/* ===== FOOTER ===== */
footer a {
    color: #00d4ff;
    text-decoration: none;
    margin-left: 8px;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== GRACIAS ===== */

.seccion-gracias {
    padding: 60px 20px 120px 20px;
    text-align: center;
}

.mensaje-gracias {
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
    line-height: 1.9;
    font-size: 18px;
}