body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--azul-oscuro);
    color: var(--texto-claro);
    /*padding-top: 70px;*/
    padding-top: 84px;

}

.navbar {
    min-height: 64px;
}

.bg-dark-custom {
    background-color: rgba(11, 31, 58, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-link {
    /*    color: var(--texto-claro);*/
    padding: 8px 14px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--naranja);
}


.btn-main {
    background-color: #FF9800;
    color: #000;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
}


.btn-main:hover {
    background-color: #e68900;
}

.btn-success-custom {
    background-color: var(--verde-acento);
    color: #000;
}

.footer {
    background-color: var(--azul-principal);
}

.social-link {
    color: var(--texto-claro);
    text-decoration: none;
}

.social-link:hover {
    color: var(--verde-acento);
}

/*Para youtube*/
.hero-socials a:hover .fa-youtube {
    color: #ff0000;
}

.hero-socials a i {
    transition: color .3s ease, transform .3s ease;
}


.hero-socials a:hover i {
    transform: scale(1.15);
}

.hero-socials,
.hero-socials a {
    pointer-events: auto;
}


.navbar-dark .navbar-nav .nav-link {
    color: #EAEAEA;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--naranja);
}

.navbar-custom {
    background-color: #0B1F3A;
    /* azul ligeramente más claro */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.footer-section {
    background-color: #020D1A;
    color: #0a0a0a;
    border-top: 3px solid #070707;
}

.footer-section h6 {
    color: #111111;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 14px;
}

.hero {
    min-height: 85vh;
    /* antes seguramente 70vh */
}


/*HERO con imagen de fondo (imagen 1)*/

.hero-section {
    background: linear-gradient(180deg, #0B1F3A, #07162B);
    padding: 90px 20px 70px;
    text-align: center;
}



.hero-section h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
}

.hero-section p {
    color: #EAEAEA;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/*TARJETAS DE SERVICIOS – animación + clic*/

.service-card {
    display: block;
    background-color: #0B1F3A;
    padding: 25px;
    border-radius: 14px;
    color: #EAEAEA;
    text-decoration: none;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #FF9800;
}

.service-card h5 {
    margin-bottom: 12px;
    color: #F5E6C8;
}

/*SECCIONES DETALLE (base para crecer)*/

.detail-section {
    background-color: #071E34;
    color: #EAEAEA;
}

.detail-section.alt {
    background-color: #06182C;
}

/*CSS de la sección (en styles.css)*/

.section-padding {
    padding: 90px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #F5E6C8;
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.section-list {
    list-style: none;
    padding: 0;
}

.section-list li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
}

.section-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--verde-acento);
    font-weight: bold;
}

.section-img {
    max-width: 420px;
}

/*PASO 2 — Scroll suave (UX básico obligatorio)*/

html {
    scroll-behavior: smooth;
}

/*PASO 3 — Animaciones al entrar en viewport*/

.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}



.hero-new {
    background-color: var(--bg-main);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-soft);
}

.hero-content {
    max-width: 720px;
    margin-top: -80px;
}

.hero-new h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-new p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background-color: var(--accent);
    color: #111;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    height: 84px;
    width: 100%;
    border-bottom: none;
}

.header-logo {
    width: 340px;
    min-width: 340px;
    /* ajusta aquí */
    background: linear-gradient(180deg,
            #ffffff,
            #ffffff);
    /* o el color que quieras */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}


.header-menu {
    flex: 1;
    background-color: #333030;
    /* gris claro EWTN */
    /* azul EWTN */
    display: flex;
    /*align-items: center;*/
    align-items: stretch;
}


/* CONTENIDO DEL MENÚ */
.header-inner {
    display: flex;
    /*align-items: center;*/
    align-items: stretch;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 24px;

    gap: 32px;
}

.logo img {
    height: 46px;
}


.header-center,
.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;


}


.main-nav a {
    margin-left: 28px;
    text-decoration: none;
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 600;
    /* CLAVE */
}

.main-nav a:hover {
    color: #0B1F3A;
}

.nav-cta {
    background-color: #F59E0B;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.services-new {
    background-color: #F9FAFB;
    padding: 30px 0 60px;

}

.services-new h2 {
    font-size: 2.2rem;
    color: #1F2937;
    margin-bottom: 10px;
    margin-top: 0;
}

.services-intro {
    color: #6B7280;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-item {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    padding: 28px;
    border-radius: 12px;
    text-decoration: none;
    color: #1F2937;
    transition: all 0.25s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: #F59E0B;
}

.service-item p {
    text-align: justify;
}

.section-detail {
    padding: 90px 0;
    background-color: #ffffff;
}

.section-inner {
    max-width: 900px;
}

.section-detail h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section-detail p {
    color: #4B5563;
    margin-bottom: 25px;
}

.section-detail ul {
    margin-bottom: 30px;
}

.section-detail li {
    margin-bottom: 10px;
}

.btn-header {
    background: #f59e0b;
    color: #111827;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-header:hover {
    background: #fbbf24;
    transform: translateY(-1px);
}


/*MENÚ CENTRADO (como la referencia)*/

.header-center {
    display: flex;
    gap: 0px;
    align-items: stretch;
}


.header-center a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    /* ancho del item */
    font-size: 16px;
    /* letra más grande */
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    height: 100%;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-center a:hover {
    background-color: #f59e0b;
    /* naranja */
    color: #ffffff;
}

/*BOTÓN “COMENZAR AHORA” A LA DERECHA*/

.btn-header {
    background: #f59e0b;
    color: #111827;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.25s ease;
    margin-left: 16px;
}

.btn-header:hover {
    background: #fbbf24;
    transform: translateY(-1px);
}

/*CSS – ESTILO DE LA SECCIÓN (CLAVE)*/

.hero-main {

    background: #f8fafc;

}


.hero-grid {
    /*display: grid;
    grid-template-columns: 1.1fr 1.3fr;*/
    align-items: center;
    gap: 70px;
}

/*Texto (columna izquierda)*/

.hero-badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.12);
    color: #0284C7;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2937;
    /* gris oscuro elegante */
}

.hero-text h1 span {
    color: #7DD3FC;
}

.hero-text p {
    font-size: 1.05rem;
    color: #4B5563;
    /* gris medio */
    max-width: 520px;
    margin-bottom: 35px;
}

/*Botones*/

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background-color: #0EA5E9;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0284C7;
}

.btn-secondary {
    border: 1.5px solid #CBD5E1;
    /* gris visible */
    color: #1F2937;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
}

.btn-secondary:hover {
    border-color: #0EA5E9;
    color: #0EA5E9;
    background-color: rgba(14, 165, 233, 0.05);
}

/*Imagen derecha*/

.hero-image img {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 430px;
    /* antes seguramente menor */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}


/*CSS – FONDO OSCURO Y ESTILO (CLAVE)*/

.advantages-section {
    background-color: #EEF4FB;
    /* azul bancario pastel */
    /*padding: 70px 0;*/
    color: #1F2937;
    padding-top: 50px;
    padding-bottom: 100px;
}


/*Encabezado centrado */

.advantages-header {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
    margin-top: -30px;
}

.section-eyebrow {
    display: block;
    color: #38BDF8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.advantages-header h2 {
    font-size: 2.4rem;
    color: #0F172A;
    margin-bottom: 18px;
}

.advantages-header p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.section-eyebrow {
    color: #2563EB;
}

/*Tarjetas oscuras*/

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: #0F2347;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.6);
    transition: transform 0.25s ease;
}

.advantage-card:hover {
    transform: translateY(-6px);
}

.advantage-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/*Texto dentro de tarjetas*/

.advantage-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
}

.advantage-card p,
.service-item p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: normal;
}



.menu-toggle {
    font-family: Arial, Helvetica, sans-serif;
    display: none;
    background: none;
    border: none;
    font-size: 36px;
    /* más grande */
    font-weight: 900;
    /* más “negrita” */
    color: #000000;
    /* negro puro */
    line-height: 1;
}


.services-new h2,
.services-new .services-intro {
    text-align: center;
}

.services-new .services-intro {
    max-width: 720px;
    margin: 0 auto 50px;
}

.services-new h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.services-intro {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.service-item p,
.advantage-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: normal;
}

/*MOBILE FIRST (pantallas pequeñas)*/

@media (max-width: 576px) {

    .service-item p,
    .advantage-card p {
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        word-spacing: normal;
        text-wrap: pretty;
    }


    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
    }
}

/*PASO 4 — Optimización mobile (clave)*/

@media (max-width: 768px) {

    body {
        padding-top: 72px;
    }

    .hero-section {
        padding: 70px 15px 55px;
    }

    .hero-avanza,
    .hero-main {
        padding-top: 0;
        /* header (64px) + aire */
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 2000;
        pointer-events: none;
    }

    .menu-toggle {
        font-family: Arial, Helvetica, sans-serif;
        margin-left: auto;
        color: #ffffff;
        font-size: 1.6rem;
        border: none;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 4000;
        background: none;
        border: none;

    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-img {
        max-width: 280px;
        margin-top: 30px;
    }

    .service-card {
        text-align: center;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .advantages-header h2 {
        font-size: 2rem;
    }

    .solutions-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        align-items: center;
    }

    .header-menu {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 16px;
        background: #333030;
    }

    .site-header {
        height: 72x;
        flex-direction: row;
        border-bottom: none;
    }

    .header-logo img {
        height: 42px;
        /* antes 40 */
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        /* 🔴 empieza arriba del todo */
        right: 0;
        /* 🔴 alineado a la derecha */
        width: 260px;
        /* ancho tipo drawer */
        height: 100vh;
        background: #333030;
        z-index: 2500;
        display: none;
        padding: 80px 0px 20px;
        /* 👈 SIN padding lateral */
        /* deja respirar el logo */
        overflow-y: auto;
    }

    .hero-text {
        margin-top: 0;
    }

    .hero-text h1 {
        margin-top: 12px;
    }

    /*PARROQUIA*/

    /* .hero-parroquia {
        height: calc(100vh - 64px);
        min-height: 420px;
    }*/

    .hero-parroquia {
        height: auto;
        /* 👈 CLAVE */
        min-height: unset;
    }

    .hero-parroquia .carousel,
    .hero-parroquia .carousel-inner,
    .hero-parroquia .carousel-item,
    .hero-slide {
        height: 420px;
        /* 👈 ALTURA EWTN */
    }




    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-overlay {
        align-items: center;
        /* centra mejor el texto */
    }

    .hero-content {
        padding-top: 0;
        /* elimina empuje artificial */
    }
}


/* HERO AVANZA */
.hero-avanza {
    position: relative;
    padding: 0.5rem 0 1rem;
    background:
        radial-gradient(1200px circle at 15% 20%,
            rgba(130, 140, 255, 0.35),
            transparent 55%),
        radial-gradient(800px circle at 85% 80%,
            rgba(0, 180, 170, 0.25),
            transparent 55%),
        linear-gradient(135deg,
            #1b1f3b 0%,
            #2b2f77 35%,
            #2a4a7b 65%,
            #0b1d2e 100%);
    overflow: hidden;
}

.hero-avanza .hero-text {
    margin-top: 0;
    /* ajusta -40 / -60 / -80 */
}

.hero-avanza p {
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: #4f6ef7;
}


.hero-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4f6ef7;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    /*position: relative;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;

}


/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image img {
        margin: 0 auto;
    }
}

.hero-avanza .hero-text h1 {
    color: #ffffff;
}

.hero-avanza .hero-text h1 span {
    color: #7aa2ff;
}

.hero-avanza .hero-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===============================
   HEADER LOGO — FUENTE ÚNICA
   =============================== */

.header-logo {
    background: linear-gradient(180deg,
            #ffffff,
            #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
}


.header-logo img {
    height: 68px;
    /* antes 40 */
}

/* Mobile */
@media (max-width: 768px) {
    .header-logo {
        background: linear-gradient(180deg,
                #ffffff,
                #ffffff);
        width: auto;
        min-width: auto;
        padding: 0 12px;
    }
}

.header-logo {
    position: relative;
    z-index: 3000;
}

/* ===============================
   MOBILE MENU – FIX DEFINITIVO
   =============================== */

.mobile-menu.show {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
}


.mobile-menu a:hover,
.mobile-menu a:focus {
    background-color: #3f3f3f;
    text-decoration: none;
}

body.menu-open {
    overflow: hidden;
}


/*PROYECTO PARA LA PARROQUIA*/

.hero-parroquia {
    position: relative;
    height: calc(100vh - 72px);
    /* resta la altura del header */
    min-height: 520px;
}

.hero-parroquia .carousel,
.hero-parroquia .carousel-inner,
.hero-parroquia .carousel-item {
    height: 100%;
}

.carousel,
.carousel-inner,
.carousel-item {
    max-width: 100%;
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* oscurece imagen */
    display: flex;
    align-items: center;
    background: none;
    /* CLAVE */
    width: 100%;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content .btn-primary {
    background-color: #f59e0b;
    color: #111;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
}

.hero-content {
    padding-top: 40px;
}

/* ===============================
   BARRA INFORMATIVA PARROQUIA
   =============================== */

.parroquia-live {
    padding: 0;
}

.live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.live-item {
    position: relative;
    padding: 20px 0;
}


.live-label.next {
    color: #f59e0b;
}


.live-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.live-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Separador vertical en desktop */
@media (min-width: 768px) {
    .live-now {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 30px;
    }

    .live-next {
        padding-left: 30px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .live-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .live-now {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
    }
}

/* PLAYER STREAMING RESPONSIVE */

.live-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.live-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* ===============================
   ACTIVIDADES – ESTILO EWTN
   =============================== */

.actividades-section {
    background-color: #f3f4f6;
    padding: 40px 0;
}

.actividades-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.actividades-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.actividades-header p {
    color: #6b7280;
    font-size: 1rem;
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.actividad-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}

.actividad-card:hover {
    transform: translateY(-6px);
}

.actividad-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.actividad-content {
    padding: 20px;
}

.actividad-meta {
    display: flex;
    gap: 14px;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.actividad-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.actividad-content p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 14px;
}

.actividad-link {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.actividad-link:hover {
    text-decoration: underline;
}

.actividades-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-ver-mas {
    background: #111827;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

/* ===============================
   LIGHTBOX IMAGEN ACTIVIDADES
   =============================== */

.img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.img-lightbox img {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
}

.img-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}



/* BOTÓN EWTN LOCAL (no toca tu CSS global) */
.btn-ewtn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-ewtn:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

/* TEXTO DESTACADO – ESTILO EWTN */
.texto-destacado-ewtn {
    background-color: #e5e5e5;
    /* gris claro */
    color: #111827;
    /* texto oscuro elegante */
    padding: 18px 22px;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 20px auto;
}


/* ===============================
   BARRA INFORMATIVA – ESTILO EWTN
   =============================== */

.live-grid {
    gap: 0;
}

/* COLUMNA IZQUIERDA */
.live-item.live-now {
    background-color: #d9d9d9;
    /* gris claro */
    color: #111827;
    padding: 50px 40px;
}

/* COLUMNA DERECHA */
.live-item.live-next {
    background-color: #cfcfc3;
    /* beige / gris verdoso */
    color: #111827;
    padding: 50px 40px;
}

/* TÍTULOS */
.live-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    margin-top: 8px;
}

/* TEXTO */
.live-desc,
.texto-destacado-ewtn {
    background: none;
    padding: 0;
    margin-bottom: 30px;
    color: #111827;
    max-width: 520px;
}

.texto-destacado {
    font-weight: 700;
}



/* ETIQUETA SUPERIOR */
.live-label {
    color: #000;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* BOTÓN ROJO TIPO EWTN */
.btn-ewtn {
    background: #e11d2e;
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: none;
}

.btn-ewtn:hover {
    background: #c51626;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {

    .live-item.live-now,
    .live-item.live-next {
        padding: 40px 24px;
    }
}

/* GRID FULL WIDTH */
.live-bg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

/* COLUMNA IZQUIERDA */
.live-left {
    background-color: #e0e0e0;

}

/* COLUMNA DERECHA */
.live-right {
    background-color: #c6c6b8;

}

/* CONTENIDO */
.live-item {
    max-width: 560px;
    padding: 50px 80px;
    color: #111827;

}

/* RESPONSIVE */
@media (max-width: 768px) {
    .live-bg-grid {
        grid-template-columns: 1fr;
    }

}


/* Tablet y móvil */
@media (max-width: 991px) {
    .live-item {
        padding: 40px 32px;
    }
}

/* TÍTULO PRINCIPAL COLUMNA IZQUIERDA */
.live-title {
    font-size: 2.2rem;
    /* tamaño grande */
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 0.5px;

}

html,
body {
    overflow-x: hidden;
}

/* ===============================
   SUBMENÚ HEADER
   =============================== */



/* Links del submenú */
.submenu a {
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #f59e0b;
    color: #111;
}

/* MOBILE: submenú integrado */


/* ===============================
   SUBMENÚ HEADER – PROFESIONAL
   =============================== */

.nav-item {
    position: relative;
}

/* Botón Nosotros */
.submenu-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

/* Flecha */
.submenu-toggle .arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
}


/* Links */
.submenu a {
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.submenu a:hover {
    background-color: #f59e0b;
    color: #111;
}


/* ===============================
   SUBMENÚ MOBILE – CONTROLADO
   =============================== */


@media (max-width: 1200px) {
    .header-center a {
        padding: 0 10px;
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .header-center a {
        padding: 0 8px;
        font-size: 14.5px;
    }
}


@media (min-width: 1024px) and (max-width: 1200px) {

    .header-logo {
        width: 260px;
        min-width: 260px;
    }

    .header-center a {
        padding: 0 8px;
        font-size: 14.5px;
    }
}


/* ===============================
   SUBMENÚ – DEFINITIVO
   =============================== */

.nav-item {
    position: relative;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 993px) {

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #2f2f2f;
        min-width: 190px;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 3000;
    }

    .has-submenu:hover .submenu {
        display: flex;
    }

    .submenu a {
        padding: 12px 16px;
        font-size: 14px;
        color: #ffffff;
        text-decoration: none;
    }

    .submenu a:hover {
        background-color: #f59e0b;
        color: #111;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 992px) {

    .submenu {
        display: none;
        background: #3a3a3a;
        margin-left: 12px;
        margin-top: 6px;
        border-radius: 6px;
        margin: 6px 0 0 0;
        /* sin sangría externa */

    }


    .mobile-menu a,
    .submenu-toggle {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 24px;
        text-align: left;
        border-radius: 0;
        /* look limpio tipo app */
        box-sizing: border-box;
        margin: 0;
        /* 🔥 importante */
    }

    .submenu.open {
        display: block;
    }

    .submenu a {
        padding: 12px 24px 12px 48px;
        /* indent visual */
        font-size: 15px;
        display: block;
        color: #fff;
        padding-left: 36px;
        background-color: #2f2f2f;

    }

    .mobile-menu a:hover,
    .mobile-menu a:focus,
    .mobile-menu a:active,
    .submenu-toggle:hover,
    .submenu-toggle:focus,
    .submenu-toggle.active {
        background-color: #3f3f3f;
        color: #ffffff;
    }

    .submenu a:hover {
        background-color: #f59e0b;
        color: #111;
    }

}

/* FIX hover submenu desktop */
@media (min-width: 993px) {

    .has-submenu {
        position: relative;
    }

    .has-submenu>a {
        position: relative;
        z-index: 3100;
    }

    .submenu {
        top: 100%;
        margin-top: 0;
    }
}

/* FIX focus persistente en menú */
.header-center a:focus {
    outline: none;
    background-color: transparent;
}

@media (hover: hover) {
    .header-center a:hover {
        background-color: #f59e0b;
        color: #ffffff;
    }
}


/* ===============================
   CONTROL DEFINITIVO MENÚ
   =============================== */

/* Desktop */
@media (min-width: 993px) {
    .desktop-menu {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* Mobile + Tablet */
@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}


/* Desktop hover */
.header-center a:hover {
    background-color: #f59e0b;
    color: #ffffff;
}

/* Tablet / touch */
.header-center a:focus,
.header-center a:active {
    background-color: #f59e0b;
    color: #ffffff;
    outline: none;
}

/* Evita que quede "pegado" el focus */
.header-center a:focus:not(:focus-visible) {
    background-color: transparent;
}

/* NO marcar en naranja el botón padre del submenú */
.has-submenu>a:hover,
.has-submenu>a:focus,
.has-submenu>a:active {
    background-color: transparent;
    color: #ffffff;
}

/* Hover real solo en items del submenú */
.submenu a:hover,
.submenu a:focus,
.submenu a:active {
    background-color: #f59e0b;
    color: #111;
}

@media (max-width: 992px) {
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: #333030;
        z-index: 2500;
        padding: 80px 0 20px;
        /* 🔥 SIN padding lateral */
        overflow-y: auto;
    }

    .mobile-menu.show {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 992px) {

    .submenu {
        margin: 6px 0 0 0;
        border-radius: 0;
    }

    .submenu a {
        padding: 12px 24px 12px 48px;
        background-color: #2f2f2f;
    }
}

/*por fuera*/
.mobile-menu {
    display: none;
}

.titulo-naranja {
    color: #f59e0b;
    /* naranja parroquia */
    letter-spacing: 0.5px;
}



/* ===============================
   HERO EDITORIAL – AJUSTE FINAL
   =============================== */

.hero-editorial {
    max-width: 560px;
    text-align: left;
    margin-left: 0px;
    padding-left: 24px;
    /* alineación limpia con grid */
}

/* Etiqueta tipo EWTN */
.hero-editorial .hero-tag {
    display: inline-block;
    background: #e11d2e;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

/* TÍTULO – MÁS PEQUEÑO Y EDITORIAL */
.hero-editorial .hero-title {
    font-size: 1.85rem;
    /* 🔽 CLAVE */
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
    max-width: 520px;
}

/* TEXTO DESCRIPTIVO */
.hero-editorial .hero-text {
    font-size: 1.05rem;
    line-height: 1.32;
    color: rgba(252, 249, 249, 0.9);
    max-width: 560px;
    margin-bottom: 22px;
    font-weight: bold;

}

/* BOTÓN */
.hero-editorial .hero-btn {
    display: inline-block;
    background: #e11d2e;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 18px;
}

.hero-editorial .hero-btn:hover {
    background: #c51626;
}

/* REDES */
.hero-socials {
    display: flex;
    margin-top: 8px;
    gap: 12px;
    /* 🔧 controla la separación */
    margin-top: 14px;

}

.hero-socials a {
    font-size: 28px;
    /* 🔥 tamaño del icono */
    width: 44px;
    /* área clicable */
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fcf9f9;
    opacity: 0.9;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background-color 0.2s ease;
    margin: 0 !important;

}

.hero-socials a:hover {
    opacity: 1;
    transform: scale(1.12);
    /* efecto pro */
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}


@media (max-width: 992px) {
    .hero-editorial {
        margin-left: 24px;
        max-width: 480px;
    }

    .hero-editorial .hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hero-editorial {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }

    .hero-editorial .hero-title {
        font-size: 1.75rem;
    }

    .hero-socials {
        justify-content: center;
    }
}

/* ===============================
   HERO EDITORIAL – ALIGN DESKTOP
   =============================== */

/* Desktop */
@media (min-width: 992px) {
    .hero-editorial {
        max-width: 720px;
        /* controla ancho del bloque */
        margin-left: 0;
        /* 🔥 lo pega a la izquierda */
        margin-right: auto;
        padding-left: 0;
        /* elimina aire innecesario */
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .hero-editorial {
        margin-left: -40px;
    }
}

/* ===============================
   HERO EDITORIAL – POSICIÓN REAL
   =============================== */

@media (min-width: 992px) {

    .hero-overlay {
        justify-content: flex-start;
        align-items: center;
    }

    .hero-editorial {
        position: absolute;
        left: 48px;
        /* 🔥 controla AQUÍ la distancia */
        max-width: 640px;
        margin: 0;
        padding: 0;
        text-align: left;
        top: 120px;
        /* 🔥 AJUSTA ESTE VALOR */
        transform: none;
    }

    .hero-text {
        max-width: 520px;
    }

    .hero-socials a {
        font-size: 20px;
        /* 🔥 iconos más grandes */
        color: #ffffff;
        opacity: 0.9;
        transition: opacity 0.2s ease, transform 0.2s ease;

    }

    .hero-socials a:hover {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Slide 4 – texto gris oscuro */
.slide-dark-text h1 {
    color: #2b2b2b;
    /* gris oscuro elegante */
}

.slide-dark-text p {
    color: #3f3f3f;
    /* un poco más claro para el subtítulo */
}

/*Para la pagina de HORARIOS*/

.horario-img {
    max-width: 260px;
    /* ajusta aquí el tamaño */
    height: auto;
}

/* ===============================
   ACORDEÓN HORARIOS – ESTILO PRO
================================ */

/* CARLOS Quitamos la flecha default de Bootstrap */
.accordion-button::after {
    display: none;
}

/* Botón base */
.horario-btn {
    position: relative;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: background-color .25s ease, box-shadow .25s ease;
    padding-right: 60px;
}

/* Hover → indica que es clicable */
.horario-btn:hover {
    background-color: #f4f8ff;
    box-shadow: inset 0 0 0 1px #cfe2ff;
}

/* Icono + / − */
.horario-btn::before {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #4caf50;
    /* verde */
    transition: transform .2s ease, color .2s ease;
}

/* Cuando está abierto */
.horario-btn:not(.collapsed)::before {
    content: "−";
    color: #d32f2f;
    /* rojo */
}

/* Item separado y elegante */
.accordion-item {
    border: none;
}

.accordion-body {
    background-color: #fafafa;
    border: 1px solid #dee2e6;
    border-top: none;
}

.hero-btn {
    position: relative;
    z-index: 10;
}

.hero-overlay {
    pointer-events: none;
}

.hero-content,
.hero-btn {
    pointer-events: auto;
}


/* ===============================
   HERO SLIDE 1 – AJUSTE MOBILE
   =============================== */

@media (max-width: 576px) {

    .hero-parroquia .hero-editorial {
        top: 180px;

        /* 🔽 BAJA TODO EL BLOQUE */
    }

    .hero-editorial {
        padding-top: 120px;
    }
}

/* SLIDE2 CON TEXTO OSCURO */
.slide-text-dark h1,
.slide-text-dark p {
    color: #000000;
    /* negro elegante */
}

/* Botón oscuro */
.slide-text-dark .btn-primary {
    background-color: #f00b0b;
    color: #ffffff;
}

/* Hover del botón */
.slide-text-dark .btn-primary:hover {
    background-color: #000000;
}

/* MOBILE – texto hero alineado a la izquierda */
@media (max-width: 576px) {
    .hero-editorial .hero-text {
        text-align: left;
        padding-left: 16px;
        padding-right: 16px;
        line-height: 1.35;
    }
}

/* ===============================
   HERO NOTICIA – ESTILO TV
   =============================== */

.hero-news {
    text-align: left;
    max-width: 560px;
}

/* TÍTULO GRANDE */
.hero-news-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 16px;
    line-height: 1.15;
}

/* BLOQUES DE TEXTO */
.news-line {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-weight: 700;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Línea principal */
.news-title {
    font-size: 1.2rem;
}

/* Línea secundaria */
.news-subtitle {
    font-size: 1rem;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {

    .hero-news-title {
        font-size: 1.6rem;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-subtitle {
        font-size: 0.95rem;
    }
}


/* ===============================
   HERO SLIDE 1 – AJUSTE MOBILE
   =============================== */
@media (max-width: 576px) {

    .hero-editorial {
        padding-top: 180px;
        /* baja todo el bloque */
    }

    .hero-editorial .hero-btn {
        margin-top: 28px;
        /* baja solo el botón */
    }

    .hero-socials {
        margin-top: 60px;
        /* separa redes del botón */
    }
}

/* ===============================
   SLIDE 2 – BOTÓN ESTILO SLIDE 1
   =============================== */

.hero-news .btn-primary {
    background: #e11d2e;
    /* rojo parroquia */
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 4px;
    /* 🔴 CUADRADO, NO PÍLDORA */
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
}

/* Hover coherente */
.hero-news .btn-primary:hover {
    background: #c51626;
}

@media (max-width: 576px) {
    .hero-news .btn-primary {
        margin-top: 18px;
    }
}

/* ===============================
   SLIDE 2 – BLOQUES DE TEXTO - TIPO NOTICIA
   =============================== */

.hero-news .news-line {
    line-height: 1.35;
    /* 🔥 menos interlineado, pero legible */
    padding: 10px 14px;
    /* aire interno equilibrado */
    margin-bottom: 10px;
    /* separación entre bloques */
}

/* Texto secundario ("Ven y conócenos") */
.hero-news .news-title {
    font-size: 1.1595rem;
    /* un poco más pequeño */
    font-weight: 600;
}

@media (max-width: 576px) {
    .hero-news .news-line {
        line-height: 1.5;
        /* 🔧 micro-ajuste móvil */
        margin-bottom: 5px;
        /* 🔧 para distancia entre texto */
    }
}


/* ===============================
   Separador de linea
   =============================== */
.separator {
    width: 100%;
    height: 1px;
    background-color: #615454;
    /* Cambia el color si quieres */
    margin: 5px 0px;
    /* Espacio arriba y abajo */
}


/* ===============================
   BOTÓN FLOTANTE – INICIO
   =============================== */

.btn-inicio-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 5000;

    background: #e11d2e;
    /* rojo parroquia */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;

    padding: 12px 18px;
    border-radius: 999px;
    /* redondo elegante */

    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

    display: flex;
    align-items: center;
    gap: 6px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Visible al hacer scroll */
.btn-inicio-float.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hover */
.btn-inicio-float:hover {
    background: #c51626;
    transform: translateY(-2px);
}

/* Mobile ajuste */
@media (max-width: 576px) {
    .btn-inicio-float {
        right: 16px;
        bottom: 20px;
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}


/* ===============================
   CSS-TEMPLO
   =============================== */

.templo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.templo-imagen img {
    width: 100%;
    border-radius: 12px;
}

.templo-imagen-grande {
    display: block;
    /* permite centrar con margin auto */
    margin: 30px auto 0;
    /* margen superior + centrado horizontal */
    width: 100%;
    /* ocupa todo el ancho disponible */
    max-width: 800px;
    /* tamaño máximo real de la imagen */
    height: auto;
    /* mantiene proporción */
    object-fit: contain;
    /* evita que se deforme o recorte */
    border-radius: 8px;
    /* opcional: bordes suaves */
}


.templo-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.templo-galeria img {
    width: 100%;
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .templo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   GALERÍA TEMPLO
   =============================== */

.templo-galeria {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.templo-galeria img {
    width: 120px;
    /* 👈 tamaño miniatura */
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.templo-galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

@media (max-width: 576px) {
    .templo-galeria img {
        width: 100px;
        height: 80px;
    }
}

/* ===============================
   PARA TEXTO DEL TEMPLO
   =============================== */

.templo-texto .subtitulo {
    font-size: 1.8rem;
    /* más pequeño que display-5 */
    font-weight: 400;
    /* menos grueso */
    margin-top: -15px;
    /* opcional: acerca el subtítulo al título */
}

.templo-bloque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.templo-imagenes {
    display: flex;
    flex-direction: row;
    /*flex-direction: column;*/
    /*para colocar las imagenes en columnas*/
    gap: 0.5rem;
    justify-content: center;
}

.templo-imagenes img {
    width: 80%;
    /* reduce el ancho relativo */
    max-width: 280px;
    /* límite absoluto */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
    /* centra la imagen si es más pequeña */
}

.templo-curiosidades p {
    font-size: 1.1rem;
    line-height: 1.6;
}


/* ===============================
   TEMPLO – FIX MOBILE LAYOUT
   =============================== */

@media (max-width: 768px) {

    .templo-bloque {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .templo-imagenes {
        justify-content: center;
        flex-wrap: wrap;
    }

    .templo-imagenes img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .templo-curiosidades {
        text-align: left;
    }

    .templo-curiosidades p {
        font-size: 1rem;
        line-height: 1.55;
    }
}

@media (max-width: 576px) {
    .templo-imagenes img {
        max-width: 320px;
    }
}

/* ===============================
   TEXTO JUSTIFICADO – TEMPLO
   =============================== */

.templo-texto p,
.templo-curiosidades p {
    text-align: justify;

    /* Evita huecos grandes */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    /* Control fino del espaciado */
    word-spacing: normal;
    letter-spacing: normal;

    /* Permite cortes correctos */
    overflow-wrap: break-word;
    word-break: normal;

    line-height: 1.6;
}

@media (max-width: 576px) {

    .templo-texto p,
    .templo-curiosidades p {
        text-align: justify;
        hyphens: auto;
        font-size: 1rem;
        line-height: 1.55;
        text-wrap: pretty;
        /* mejora visual moderna */
    }
}

/* ===============================
   TEXTO "VER MÁS" – JUSTIFICADO PRO
   =============================== */

.actividad-full,
.actividad-full p {
    text-align: justify;

    /* Evita huecos grandes */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    /* Control del espaciado */
    word-spacing: normal;
    letter-spacing: normal;

    /* Permite cortes correctos */
    overflow-wrap: break-word;
    word-break: normal;

    /* Lectura cómoda */
    line-height: 1.65;
    font-size: 0.95rem;
    color: #374151;

}

.actividad-full p {
    max-width: 65ch;
    /* ancho óptimo de lectura */
}

/* Mobile – ajuste fino */
@media (max-width: 576px) {

    .actividad-full,
    .actividad-full p {
        line-height: 1.6;
        font-size: 0.95rem;
        text-wrap: pretty;
        /* mejora visual moderna */
    }
}

/* ===============================
   REDES EN HEADER – DESKTOP
   =============================== */

/* REDES EN HEADER */
.header-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    /* 🔥 empuja a la derecha */
    padding-right: 24px;
}

.header-socials a {
    color: #ffffff;
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.header-socials a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* YouTube rojo */
.header-socials a:hover .fa-youtube {
    color: #ff0000;
}

/* Desktop */
@media (min-width: 992px) {
    .header-socials {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .header-socials {
        display: none;
    }
}

/* HERO REDES – SOLO MOBILE */
@media (min-width: 992px) {
    .hero-socials {
        display: none;
    }
}

@media (max-width: 991px) {
    .hero-socials {
        display: flex;
    }
}


/* ===============================
   REDES SOCIALES EN HEADER (DESKTOP)
   =============================== */

.header-socials-desktop {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    /* 🔥 se va a la derecha */
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* separador elegante */
}

.header-socials-desktop a {
    color: #ffffff;
    font-size: 16px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.header-socials-desktop a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Desktop */
@media (min-width: 992px) {
    .header-socials-desktop {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .header-socials-desktop {
        display: none;
    }
}

/* SLIDE 2 – BAJAR TÍTULO EN MÓVIL */
@media (max-width: 576px) {
    .hero-news {
        margin-top: 5px;
        /* 🔽 ajusta aquí si quieres más/menos */
    }
}

/* SLIDE 2 – SUBIR REDES SOCIALES */
.hero-news .hero-socials {
    margin-top: 12px;
    /* antes era mucho mayor */
}

@media (max-width: 576px) {
    .hero-news .hero-socials {
        margin-top: 6px;
        /* 🔼 sube más */
    }
}

/* SLIDE 2 – SUBIR REDES SOCIALES */
.hero-news .hero-socials {
    margin-top: 12px;
    /* antes era mucho mayor */
}

@media (max-width: 576px) {
    .hero-news .hero-socials {
        margin-top: 6px;
        /* 🔼 sube más */
    }
}

/* ===============================
   SLIDE 3 – MOBILE CENTRADO
   =============================== */
@media (max-width: 576px) {

    /* Solo SLIDE 3 */
    .hero-parroquia .carousel-item:nth-child(3) .hero-content {
        text-align: center;
    }

    /* TÍTULO */
    .hero-parroquia .carousel-item:nth-child(3) h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* BOTÓN */
    .hero-parroquia .carousel-item:nth-child(3) .btn-primary {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Línea secundaria ("Niños, Jóvenes…") */
    .hero-parroquia .carousel-item:nth-child(3) .news-line {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

}

@media (max-width: 576px) {
    .carousel-item:nth-child(3) .hero-content {
        padding-top: 20px;
    }
}

/* ===============================
   VIDA PARROQUIAL – ESTILO EWTN
   =============================== */

.vida-ewtn {
    background-color: #f9fafb;
    padding: 60px 0 80px;
}

.vida-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.vida-intro {
    text-align: center;
    color: #6b7280;
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: 1rem;
}

/* GRID – 3 por fila */
.vida-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* TARJETA */
.vida-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.vida-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGEN */
.vida-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* CONTENIDO */
.vida-content {
    padding: 20px 22px 26px;
}

.vida-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.3;
}

.vida-content p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.55;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .vida-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .vida-grid {
        grid-template-columns: 1fr;
    }

    .vida-img img {
        height: 190px;
    }
}

/* ===============================
   VIDA PARROQUIAL – TEXTO JUSTIFICADO PRO
   =============================== */

.vida-content p {
    text-align: justify;

    /* Corte correcto de palabras */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    /* Evita huecos grandes */
    word-spacing: normal;
    letter-spacing: normal;

    /* Permite saltos naturales */
    overflow-wrap: break-word;
    word-break: normal;

    /* Lectura cómoda */
    line-height: 1.6;
}

/* Ajuste fino en móvil */
@media (max-width: 576px) {
    .vida-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        text-wrap: pretty;
        /* mejora visual moderna */
    }
}

/* ===============================
   CONTACTO – ESTILO EWTN PRO
=============================== */

.contacto-ewtn {
    background: #ffffff;
    padding: 80px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contacto-info iframe {
    width: 100%;
    height: 300px;
    border: 0;
    margin-bottom: 20px;
    font-weight: bold;
}

.contacto-info h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.contacto-info h4 {
    margin-top: 20px;
    color: #000000;
    font-weight: bold;
}

.contacto-info p {
    color: #374151;
    line-height: 1.6;
    text-align: justify;
    /*hyphens: auto;*/

}

.contacto-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.form-check {
    font-size: 0.85rem;
    margin: 15px 0;
}

.form-check a {
    color: #6fb300;
    font-weight: 600;
    text-decoration: none;
}

.btn-contacto {
    background: #f70202;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    /* 🔴 quita el subrayado */
}

.btn-contacto:hover {
    background: #b10816;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CONTACTO – SUBIR TÍTULO
   =============================== */

.contacto-ewtn .contacto-title {
    margin-top: -60px;
    /* 🔼 sube el título */
    margin-bottom: 30px;
}

/* ===============================
   ACORDEON PARA GALERIA
   =============================== */
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0b1f3a;
}

.badge {
    font-size: 0.75rem;
}

/* =========================
   GALERÍA PARROQUIAL
========================= */

.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.media-item {
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid #ddd;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.media-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
}

.media-date {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    margin-top: 4px;
}


/* =========================
   TEXTO PARA GALERÍA PARROQUIAL
========================= */
.texto-destacado-ewtn {
    max-width: 720px;
    margin: 1rem auto 0;

    line-height: 1.65;
    font-size: 1rem;
    color: #444;

    /* Comportamiento base */
    word-break: normal;
    overflow-wrap: normal;
}

/* 🖥️ Desktop y tablets grandes */
@media (min-width: 992px) {
    .texto-destacado-ewtn {
        text-align: justify;
        text-justify: inter-word;

        /* NO partir palabras */
        hyphens: none;
    }
}

/* 📱 Móvil y tablets pequeñas */
@media (max-width: 991px) {
    .texto-destacado-ewtn {
        text-align: left;

        /* 🔴 CLAVE: evitar palabras partidas */
        hyphens: none;
    }
}


/* =========================
   GALERÍA – BOTONES ACCORDION
========================= */

/* Estado normal (cerrado) */
.accordion-button {
    background-color: #f5f7f9;
    /* fondo suave */
    color: #212529;
    font-weight: 600;
    transition: background-color .2s ease, box-shadow .2s ease;
}

/* Hover */
.accordion-button:hover {
    background-color: #e9ecef;
}

/* Estado abierto */
.accordion-button:not(.collapsed) {
    background-color: #ebcf81;
    color: #000;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}

/* Quitar el azul feo de Bootstrap al hacer focus */
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* =========================
   GALERÍA – ICONO + / − (FIX BOOTSTRAP)
========================= */

.galeria-btn::after {
    content: "+";
    /* FORZAR contenido */
    background-image: none !important;
    transform: none !important;

    font-size: 1.4rem;
    font-weight: 700;
    color: #198754;
    /* 🟢 verde Bootstrap */

    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estado ABIERTO → − */
.galeria-btn:not(.collapsed)::after {
    content: "−";
    font-size: 1.6rem;
    color: #dc3545;
    /* 🔴 rojo Bootstrap */
}

@media (max-width: 991px) {
    .justificar-movil {
        text-align: justify;
        text-justify: inter-word;
        overflow-wrap: break-word;
    }
}

.texto-destacado-ewtn {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    /*/text-align: left;*/
}

/* =========================
   VIDA – TÍTULOS CENTRADOS
========================= */

.vida-content h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* =========================
   SLIDE GALERÍA – TEXTO BLANCO
========================= */

.slide-dark-text h1,
.slide-dark-text p {
    color: #ffffff;
}

/* Un poco más de contraste para el subtítulo */
.slide-dark-text p {
    opacity: 0.95;
}

/* Opcional: mejorar legibilidad sobre la imagen */
.slide-dark-text h1,
.slide-dark-text p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, .6);
}

@media (max-width: 768px) {
    .slide-dark-text p {
        font-size: 1.05rem;
    }
}


/* =========================
   FOOTER MINIMAL
========================= */

.footer-minimal {
    background: linear-gradient(90deg, #0b1c2d, #07121f);
    color: #cfd8dc;

    padding: 12px 0;
    /* 👈 muy bajo */
    font-size: 0.9rem;

    border-top: 2px solid #f2a900;
    /* dorado discreto */
}

.footer-minimal p {
    margin: 0;
    letter-spacing: 0.3px;
}