* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    color: #333333;
}

.oculto {
    display: none !important;
}

/* ========================================================
   1. ENCABEZADO Y NAVEGACIÓN
   ======================================================== */
header {
    background-color: #474d55;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-contenedor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-contenedor img {
    max-width: 50px;
    height: auto;
    display: block;
}

.texto-iglesia {
    display: flex;
    flex-direction: column;
}

.titulo-sitio {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.texto-iglesia p {
    color: #fdf907;
    font-size: 0.78rem;
    margin: 2px 0 0 0;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.menu-toggle:hover {
    color: #fdf907;
}

nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    background-color: rgba(0, 0, 0, 0.35);
    color: #fdf907;
}

.btn-nav-vivo {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav-vivo:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.punto-rojo-mini {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulsarAlerta 1.4s infinite;
}

.btn-nav-vivo:hover .punto-rojo-mini {
    background-color: #ffffff;
}

@media (max-width: 990px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #383d44;
        padding: 12px 16px;
        gap: 4px;
        box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 99999;
    }

    nav.active {
        display: flex;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        border-radius: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .btn-nav-vivo {
        justify-content: center;
        margin: 6px 0;
    }

    .titulo-sitio {
        font-size: 0.95rem;
    }

    .texto-iglesia p {
        font-size: 0.72rem;
    }
}

/* ========================================================
   2. SECCIÓN EN VIVO
   ======================================================== */
.seccion-vivo {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.vivo-contenedor {
    max-width: 850px;
    margin: 0 auto;
}

.vivo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.punto-rojo {
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulsarAlerta 1.4s infinite;
}

@keyframes pulsarAlerta {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.seccion-vivo h2 {
    color: #ffffff;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 10px;
    border: none;
}

.seccion-vivo p {
    color: #cbd5e1;
    margin-bottom: 30px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.5;
}

.marco-reproductor-vivo {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marco-reproductor-vivo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .seccion-vivo {
        padding: 40px 14px;
    }

    .marco-reproductor-vivo {
        border-radius: 10px;
        min-height: 200px;
    }
}

/* ========================================================
   3. SECCIÓN INICIO (HERO)
   ======================================================== */
#Inicio {
    background-image: 
        linear-gradient(to right, rgba(10, 15, 30, 0.92) 25%, rgba(10, 15, 30, 0.60) 65%, rgba(10, 15, 30, 0.25) 100%), 
        url('img/inicio.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 45px;
}

#Inicio h1 {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 520px;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

#Inicio p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 480px;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-acciones {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-hero-primario {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-hero-primario:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
}

.btn-hero-secundario {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-hero-secundario:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #Inicio {
        padding: 45px 20px;
        min-height: 340px;
    }

    #Inicio h1 {
        font-size: 32px;
    }

    #Inicio p {
        font-size: 16px;
    }

    .hero-acciones {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* ========================================================
   4. SECCIÓN NUESTROS CULTOS
   ======================================================== */
#Cultos {
    text-align: center;
    padding: 50px 30px;
}

#Cultos h2 {
    color: #1a365d;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    border-bottom: none;
}

.descripcion-seccion {
    color: #475569;
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.contenedor-tarjetas {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.tarjeta-culto {
    background-color: #ffffff;
    border-radius: 12px;
    width: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-culto:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.tarjeta-culto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tarjeta-culto h3 {
    color: #081527;
    font-size: 22px;
    margin: 20px 20px 5px 20px;
}

.tarjeta-culto .hora {
    color: #010205;
    font-size: 20px;
    margin: 0 20px 10px 20px;
}

.tarjeta-culto p:not(.hora) {
    color: #475569;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 20px 25px 20px;
}

/* ========================================================
   5. SECCIÓN PRÓXIMOS EVENTOS (NUEVA)
   ======================================================== */
#Eventos {
    background-color: #ffffff;
    padding: 60px 25px;
    margin: 40px 0;
    border-radius: 18px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.encabezado-eventos {
    text-align: center;
    margin-bottom: 45px;
}

.insignia-eventos {
    display: inline-block;
    color: #2563eb;
    background-color: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

#Eventos h2 {
    color: #0f274a;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.contenedor-eventos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-evento {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-evento:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(15, 39, 74, 0.08);
}

.evento-imagen-marco {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Formato afiche vertical */
    overflow: hidden;
    cursor: pointer;
    background: #0f172a;
}

.evento-imagen-marco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.evento-imagen-marco:hover img {
    transform: scale(1.04);
}

.capa-lupa {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capa-lupa span {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.evento-imagen-marco:hover .capa-lupa {
    opacity: 1;
}

.evento-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.evento-fecha {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.evento-titulo {
    color: #0f274a;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.evento-descripcion {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Modal / Lightbox para ver afiches en grande */
.modal-afiche {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-afiche.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-contenido {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-cerrar {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal-cerrar:hover {
    color: #ef4444;
    transform: scale(1.15);
}

.modal-contenido img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-pie-titulo {
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 14px;
    text-align: center;
}

/* ========================================================
   6. SECCIÓN MINISTERIOS
   ======================================================== */
#Ministerios {
    text-align: center;
    padding: 50px 16px;
    background: #f8fafc;
    width: 100%;
}

#Ministerios h2 {
    color: #1a365d;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.galeria-ministerios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
}

.tarjeta-ministerio {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 
                0 4px 10px -2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.35s ease;
    display: block;
}

.tarjeta-ministerio img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: inherit;
}

@media (hover: hover) {
    .tarjeta-ministerio:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 20px 35px -5px rgba(26, 54, 93, 0.22);
    }
}

.tarjeta-ministerio:active {
    transform: scale(0.98);
}

@media (max-width: 992px) {
    .galeria-ministerios {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
    }
}

@media (max-width: 650px) {
    #Ministerios {
        padding: 35px 14px;
    }

    .galeria-ministerios {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 390px;
    }

    .tarjeta-ministerio {
        border-radius: 18px;
    }
}

/* ========================================================
   7. SECCIÓN TESTIMONIO PASTOR
   ======================================================== */
#Pastor {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.titulo-pastor-destacado {
    color: #0f274a;
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0 0 45px 0;
    position: relative;
    padding-bottom: 16px;
}

.titulo-pastor-destacado::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #2563eb;
    border-radius: 4px;
}

.tarjeta-pastor-editorial {
    background: #ffffff;
    border-radius: 16px;
    padding: 45px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 45px;
    box-shadow: 0 10px 30px rgba(15, 39, 74, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 50px;
}

.pastor-perfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #f1f5f9;
    padding-right: 35px;
}

.marco-foto-pastor {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
    margin-bottom: 20px;
}

.marco-foto-pastor img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: #ffffff;
}

.pastor-perfil h3 {
    color: #0f274a;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.etiqueta-cargo {
    display: inline-block;
    color: #2563eb;
    background-color: #eff6ff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.tarjeta-cita {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 16px;
    text-align: left;
    width: 100%;
}

.icono-comillas {
    font-family: Georgia, serif;
    font-size: 32px;
    color: #93c5fd;
    line-height: 1;
    display: block;
    margin-bottom: -10px;
}

.versiculo-clave {
    color: #334155;
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.referencia-biblica {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.pastor-historia {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.75;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pastor-historia p {
    margin: 0 0 18px 0;
}

.pastor-historia .parrafo-destacado {
    color: #1e293b;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.declaracion-cierre blockquote {
    margin: 10px 0 0 0;
    padding: 14px 20px;
    background-color: #eff6ff;
    border-radius: 8px;
    color: #1e40af;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    border-left: 3px solid #3b82f6;
}

.galeria-carrusel-seccion h4 {
    color: #0f274a;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.carrusel-mascara {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.carrusel-pista {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: deslizarContinuo 28s linear infinite;
}

.carrusel-pista:hover {
    animation-play-state: paused;
}

.carrusel-pista img {
    width: 200px;
    height: 145px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
    cursor: pointer;
}

.carrusel-pista img:hover {
    transform: translateY(-4px);
}

@keyframes deslizarContinuo {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .tarjeta-pastor-editorial {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .pastor-perfil {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-right: 0;
        padding-bottom: 25px;
    }
}

/* ========================================================
   8. SECCIÓN VERSÍCULO DE LA SEMANA
   ======================================================== */
#Versiculo {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.encabezado-devocional {
    text-align: center;
    margin-bottom: 45px;
}

.insignia-devocional {
    display: inline-block;
    color: #2563eb;
    background-color: #eff6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
}

#Versiculo h2 {
    color: #0f274a;
    font-size: 38px;
    font-weight: 800;
    margin: 5px 0 15px 0;
    border-bottom: none;
}

.contenedor-devocional {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.caja-versiculo {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    margin: 0 0 25px 0;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.comilla-grande {
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 60px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.2);
}

.cita-texto {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.referencia {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #bfdbfe;
    text-align: right;
    font-style: normal;
}

.cuerpo-reflexion p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

.nota-consejo {
    background-color: #f8fafc;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 6px;
    color: #1e293b;
    font-size: 15px;
}

.despedida-bendicion {
    font-size: 18px;
    font-weight: 800;
    color: #1e3a8a;
    margin-top: 15px;
    text-align: left;
}

.tarjeta-imagen-devocional {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tarjeta-imagen-devocional:hover {
    transform: scale(1.02);
}

.tarjeta-imagen-devocional img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

@media (max-width: 850px) {
    .contenedor-devocional {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #Versiculo {
        padding: 40px 20px;
    }

    .cita-texto {
        font-size: 18px;
    }
}

/* ========================================================
   9. SECCIÓN SPOTIFY Y REDES
   ======================================================== */
#Redes {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    margin-bottom: 50px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.bloque-predicacion {
    max-width: 780px;
    margin: 0 auto;
}

.insignia-audio {
    display: inline-block;
    color: #10b981;
    background-color: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

#Redes h2 {
    color: #0f274a;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    border-bottom: none;
}

.subtitulo-predicacion {
    color: #64748b;
    font-size: 16px;
    margin: 0 auto 30px auto;
    max-width: 580px;
    line-height: 1.5;
}

.reproductor-spotify {
    background-color: #181818;
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reproductor-spotify:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.divisor-seccion {
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 55px auto;
    max-width: 700px;
}

.bloque-redes h3 {
    color: #0f274a;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.subtitulo-redes {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 35px 0;
}

.tarjetas-sociales {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    width: 270px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.icono-red {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
}

.texto-social {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nombre-red {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.accion-red {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3px;
    font-weight: 500;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1877f2 0%, #0c5dc5 100%);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.38);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-facebook:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 30px rgba(24, 119, 242, 0.5);
}

.btn-tiktok {
    background: linear-gradient(135deg, #010101 0%, #1f2024 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-tiktok:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: -4px 14px 28px rgba(37, 244, 238, 0.3), 
                 4px 14px 28px rgba(254, 44, 85, 0.3);
}

@media (max-width: 650px) {
    #Redes {
        padding: 40px 20px;
    }

    .btn-social {
        width: 100%;
        max-width: 320px;
    }
}

/* ========================================================
   10. PIE DE PÁGINA (FOOTER)
   ======================================================== */
.pie-pagina {
    background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
    color: #94a3b8;
    padding-top: 60px;
    margin-top: 60px;
    border-top: 3px solid #2563eb;
}

.contenedor-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 40px;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.logo-footer img {
    width: 45px;
    height: auto;
}

.logo-footer h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    margin: 0;
}

.lema-footer {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 340px;
}

.columna-footer h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 8px;
}

.columna-footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #2563eb;
    border-radius: 2px;
}

.enlaces-rapidos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enlaces-rapidos li {
    margin-bottom: 10px;
}

.enlaces-rapidos a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.enlaces-rapidos a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.item-contacto {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.icono-contacto {
    font-size: 18px;
    line-height: 1.3;
}

.item-contacto p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.item-contacto a {
    color: #38bdf8;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.item-contacto a:hover {
    text-decoration: underline;
}

.barra-derechos {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.barra-derechos p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 850px) {
    .contenedor-footer {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pie-pagina {
        padding-top: 45px;
    }
}

/* ========================================================
   11. BOTÓN FLOTANTE DE WHATSAPP
   ======================================================== */
.btn-flotante-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    animation: pulsoWhatsapp 2.5s infinite;
}

.btn-flotante-whatsapp .texto-flotante {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.btn-flotante-whatsapp svg {
    display: block;
    flex-shrink: 0;
}

.btn-flotante-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.btn-flotante-whatsapp:active {
    transform: scale(0.96);
}

@keyframes pulsoWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 600px) {
    .btn-flotante-whatsapp {
        bottom: 18px;
        right: 18px;
        padding: 12px;
        border-radius: 50%;
    }
    
    .btn-flotante-whatsapp .texto-flotante {
        display: none;
    }
}
