* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    background-color: #b02424;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar reducido al hacer scroll */
.navbar.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Compensar el espacio del navbar fijo */
body {
    padding-top: 82px; /* Altura aproximada del navbar: 1rem + 50px + 1rem */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    z-index: 1001;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: width 0.3s ease, height 0.3s ease;
}

.navbar.scrolled .logo {
    width: 35px;
    height: 35px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .site-title {
    font-size: 1.2rem;
}

/* Botón hamburguesa (oculto por defecto) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animación del botón hamburguesa cuando está activo */
.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* SELECTOR DE IDIOMA */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #b02424;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    user-select: none;
}

.lang-option:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.lang-option.active {
    border-color: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.7);
}

/* HERO SECTION CON PARALLAX */
.hero {
    min-height: 90vh;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end !important; /* ← FORZAR */
    justify-content: center;
    overflow: hidden;
    width: 100vw !important;
    max-width: none !important; /* ← Anular límite de ancho */
    margin-left: calc(-50vw + 50%) !important;
    margin-right: 0 !important; /* ← Anular margin auto */
    gap: 1rem;
    padding-right: 0 !important;
    padding-left: 35% !important;
}

.hero-background {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    object-position: center 80%;
}

.hero-content {
    position: relative !important;
    z-index: 3;
    text-align: left;
    padding: 2.5rem 3rem;
    max-width: 600px !important;
    margin-left: 0 !important; /* ← Anular cualquier margin auto */
    margin-right: 0 !important;
    background: transparent;
    backdrop-filter: none;
    border-radius: 15px;
    box-shadow: none;
}

.hero-quote {
    font-size: 1.35rem;
    font-weight: 600;
    color: #f5d77e;
    line-height: 1.6;
    font-style: normal;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-color: white;
    color: #b02424;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    align-self: center !important; /* CTA centrado */
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #f5f5f5;
}

/* SECCIONES */
section {
    padding: 4rem 2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* El hero y todo su contenido directo debe ser ancho completo */
.hero,
.hero > * {
    max-width: none !important;
}

section:nth-child(even) {
    background-color: #f5f5f5;
}

.section-title {
    font-size: 2.5rem;
    color: #b02424;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.section-content {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* SECCIÓN ORACIÓN MENSUAL */
.prayer-section {
    background-color: #f5f5f5;
    padding: 5rem 2rem;
}

.prayer-wrapper {
    max-width: 1000px;
    margin: 0 auto 0 auto;
}

/* ENCABEZADO */
.prayer-header-center {
    text-align: center;
    margin-bottom: 2.5rem; /* Reducido de 3rem */
}

.prayer-main-title {
    font-size: 2.7rem; /* Aumentado de 2.2rem */
    color: #b02424;
    margin-bottom: 0.4rem; /* Reducido para el subtítulo */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.prayer-subtitle {
    font-size: 1.8rem;
    color: #b02424;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.prayer-month {
    font-size: 1.5rem; /* Aumentado de 1.1rem */
    color: #666;
    font-style: italic;
    font-weight: 500;
}

/* CUERPO DE LA ORACIÓN */
.prayer-body {
    background-color: white;
    padding: 2.5rem; /* Reducido de 3rem */
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    line-height: 1.8; /* Reducido de 1.9 */
}

/* INVOCACIÓN */
.prayer-invocation {
    text-align: center;
    margin-bottom: 1rem; /* Reducido para menor espaciado */
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.prayer-invocation p {
    font-size: 1.5rem; /* Aumentado para más jerarquía */
    color: #b02424;
    font-weight: 500;
    margin: 0.2rem 0; /* Reducido de 0.3rem */
}

.prayer-invocation p:first-child {
    font-weight: 600;
}

/* PETICIONES */
.prayer-petitions {
    margin-bottom: 1rem; /* Reducido para menor espaciado */
}

.petition {
    margin-bottom: 1rem; /* Reducido de 1.3rem */
}

.petition:last-child {
    margin-bottom: 0;
}

.petition-label {
    display: block;
    font-size: 1.25rem; /* Aumentado para más jerarquía */
    color: #b02424;
    font-weight: 600;
    margin-bottom: 0.4rem; /* Reducido de 0.5rem */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.petition-text {
    font-size: 1.1rem; /* Aumentado de 1.05rem */
    color: #555;
    margin: 0;
    padding-left: 1.5rem;
    border-left: 3px solid #f5f5f5;
    line-height: 1.7; /* Añadido para mejor legibilidad */
}

/* PADRE NUESTRO */
.prayer-our-father {
    text-align: center;
    margin: 1rem 0; /* Reducido para menor espaciado */
    padding: 0.75rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.prayer-our-father p {
    font-size: 1.1rem; /* Aumentado de 1.05rem */
    color: #555;
    margin: 0;
}

.prayer-our-father em {
    font-style: italic;
    color: #666;
}

/* ORACIÓN FINAL */
.prayer-final-text {
    text-align: center;
    margin-bottom: 1.5rem; /* Reducido de 1.8rem */
    font-size: 1.1rem; /* Aumentado */
    color: #333;
    line-height: 1.7;
}

/* CIERRE (invocación final) */
.prayer-body > em {
    display: block;
    text-align: center;
    font-size: 1.1rem; /* Aumentado */
    color: #666;
    font-style: italic;
    margin-top: 1.2rem; /* Reducido de 1.5rem */
    padding-top: 1.2rem; /* Reducido de 1.5rem */
    border-top: 1px solid #e0e0e0;
}

/* FRASES EN ROJO Y NEGRITA */
.prayer-red-bold {
    color: #b02424 !important;
    font-weight: 700 !important;
}



/* TARJETAS DE CONTENIDO EN GRID */
    .content-cards-grid {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .content-card {
        display: block;
        text-decoration: none;
        background-color: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .content-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(176, 36, 36, 0.2);
    }

    /* IMAGEN DE LA TARJETA */
    .content-card-image {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
        background-color: #f5f5f5;
    }

    .content-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .content-card:hover .content-card-image img {
        transform: scale(1.1);
    }

    /* BADGE (para el icono de play del video) */
    .content-card-badge {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(176, 36, 36, 0.9);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .content-card:hover .content-card-badge {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    .content-card-badge i {
        font-size: 2rem;
        color: white;
    }

    /* CUERPO DE LA TARJETA */
    .content-card-body {
        padding: 1.5rem;
    }

    .content-card-title {
        font-size: 1.2rem;
        color: #b02424;
        margin-bottom: 0.5rem;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .content-card:hover .content-card-title {
        color: #8b1c1c;
    }

    .content-card-text {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.5;
        margin: 0;
    }



/* SEPARADOR DECORATIVO */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0;
}

.divider-white {
    background-color: white;
}

.divider-gray {
    background-color: #f5f5f5;
}

.divider-light-gray {
    background-color: #fafafa;
}

.divider-gradient {
    background: linear-gradient(to bottom, white, #f5f5f5);
}

.divider-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #b02424, transparent);
}

.divider-dot {
    width: 8px;
    height: 8px;
    background-color: #b02424;
    border-radius: 50%;
}

/* SECCIÓN NOMBRES (QUIÉNES SOMOS) - DISEÑO HORIZONTAL */
.names-section {
    background-color: white;
    padding: 5rem 2rem;
}

.names-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.name-card-horizontal {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.name-card-horizontal:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(176, 36, 36, 0.15);
}

.name-image-wrapper-horizontal {
    width: 250px;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-image-horizontal {
    width: 85%;
    height: 85%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Ambas fotos con el mismo tamaño para simetría */
.name-card-horizontal:first-child .name-image-horizontal {
    object-fit: contain;
    object-position: center;
}

.name-card-horizontal:hover .name-image-horizontal {
    transform: scale(1.08);
}

.name-card-horizontal:first-child:hover .name-image-horizontal {
    transform: scale(1.12);
}

.name-content-horizontal {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name-title {
    font-size: 2rem;
    color: #b02424;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.name-role {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5f5f5;
}

.name-bio {
    color: #555;
    line-height: 1.8;
}

.name-bio p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.name-bio p:last-child {
    margin-bottom: 0;
}

/* SECCIÓN ACTIVIDADES */
.activities-section {
    background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 70%);
    padding: 5rem 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: -1rem auto 3rem auto;
    line-height: 1.6;
}

.activities-grid {
    max-width: 900px; /* Reducido para 2 tarjetas más pequeñas */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas para Pintura y Poemas */
    gap: 2.5rem;
    justify-content: center;
}

.activity-card {
    text-decoration: none;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(176, 36, 36, 0.2);
}

.activity-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px; /* Reducido de 400px a 320px */
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-image {
    transform: scale(1.1);
}

.activity-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(176, 36, 36, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover .activity-hover-overlay {
    opacity: 1;
}

.hover-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.activity-content {
    padding: 1.8rem; /* Reducido de 2rem a 1.8rem */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-size: 1.5rem; /* Reducido de 1.6rem a 1.5rem */
    color: #b02424;
    margin-bottom: 0.7rem; /* Reducido de 0.8rem */
    font-weight: 600;
}

.activity-description {
    font-size: 0.98rem; /* Reducido de 1rem a 0.98rem */
    color: #666;
    line-height: 1.6;
}




/* SECCIÓN HUMORVOC */
.humor-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    padding: 5rem 2rem;
}

.humor-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.humor-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin: -1rem auto 3rem auto;
}

.humor-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.humor-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(176, 36, 36, 0.15);
}

.humor-image-wrapper {
    max-width: 100%;
    width: fit-content;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.humor-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.humor-content:hover .humor-image {
    transform: scale(1.02);
}

.humor-caption {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #b02424;
    font-weight: 500;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #8b1c1c 0%, #b02424 100%);
    color: white;
    padding: 0;
    margin-top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-top: auto;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-social {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    transform: translateY(-3px) scale(1.1);
}

.social-icon:hover .fa-facebook-f {
    color: #1877f2;
}

.social-icon:hover .fa-youtube {
    color: #ff0000;
}

/* BARRA INFERIOR DEL FOOTER */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ANIMACIONES AL HACER SCROLL */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* BOTÓN SCROLL TO TOP */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #b02424;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(176, 36, 36, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* TABLET - 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    /* Grid ajustes para tablet */
    .content-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .activity-image-wrapper {
        height: 280px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* MÓVIL GRANDE - 768px
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajustar padding del body para navbar móvil */
    body {
        padding-top: 72px; /* Navbar móvil: 1rem + 40px + 1rem */
    }

    /* NAVBAR */
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar.scrolled {
        padding: 0.5rem 1.5rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .site-title {
        font-size: 1.1rem;
        max-width: 200px;
        line-height: 1.2;
    }

    .navbar.scrolled .site-title {
        font-size: 1rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .navbar.scrolled .logo {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: #b02424;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        transition: right 0.4s ease;
        z-index: 1002;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem;
    }

    .language-selector {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        width: 100%;
    }

    /* HERO */
    .hero {
        min-height: 60vh;
        height: auto;
        align-items: center !important;
        padding: 2rem 1rem !important;
        gap: 1.5rem;
        justify-content: space-evenly !important;
    }

    .hero-content {
        padding: 1.5rem 1.5rem;
        max-width: 90% !important;
        text-align: center;
    }

    .hero-quote {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .hero-cta {
        font-size: 0.95rem;
        padding: 0.8rem 1.6rem;
        flex-shrink: 0;
    }

    /* SECCIONES GENERALES */
    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* ORACIÓN MENSUAL */
    .prayer-section {
        padding: 3rem 1.5rem;
    }

    .prayer-main-title {
        font-size: 1.8rem;
    }

    .prayer-month {
        font-size: 1rem;
    }

    .prayer-body {
        padding: 2rem 1.5rem;
    }

    .prayer-invocation p {
        font-size: 1.05rem;
    }

    .petition-label {
        font-size: 0.95rem;
    }

    .petition-text {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .prayer-our-father p,
    .prayer-final-text,
    .prayer-body > em {
        font-size: 1rem;
    }

    /* TARJETAS DE CONTENIDO */
    .content-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .content-card-image {
        height: 220px;
        object-position: center 40%;
    }

    /* SEPARADORES */
    .divider-line {
        width: 60px;
    }

    /* ACTIVIDADES */
    .activities-section {
        padding: 3rem 1.5rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .activity-image-wrapper {
        height: 350px;
    }

    .activity-content {
        padding: 1.5rem;
    }

    .activity-title {
        font-size: 1.4rem;
    }

    /* QUIÉNES SOMOS */
    .names-section {
        padding: 3rem 1.5rem;
    }

    .names-container {
        gap: 2rem;
    }

    .name-card-horizontal {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 2rem; /* Espacio arriba para la imagen */
    }

    .name-card-horizontal:hover {
        transform: translateY(-5px); /* Cambiar efecto hover en móvil */
    }

    .name-image-wrapper-horizontal {
        width: 200px; /* Ancho fijo de 200px */
        height: 250px; /* Altura para mantener proporción retrato */
        min-height: auto;
        margin: 0 auto 1.5rem auto; /* Centrar la imagen y añadir espacio abajo */
        border-radius: 12px; /* Esquinas redondeadas */
        box-shadow: 0 4px 20px rgba(0,0,0,0.12); /* Sombra para destacar */
    }

    .name-content-horizontal {
        padding: 2rem 1.5rem;
        text-align: center; /* Centrar contenido en tablet */
    }

    .name-image-horizontal {
        object-fit: cover;
        object-position: center 15%; /* Optimizado para formato retrato pequeño */
        border-radius: 12px; /* Heredar esquinas redondeadas */
    }

    .name-card-horizontal:hover .name-image-horizontal {
        transform: none; /* Deshabilitar zoom en móvil */
    }

    .name-title {
        font-size: 1.5rem;
    }

    .name-role {
        text-align: center;
        font-size: 1rem;
        border-bottom: 2px solid #f5f5f5;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .name-bio {
        text-align: left; /* Biografía alineada a la izquierda para mejor lectura */
    }

    .name-bio p {
        font-size: 1rem;
    }

    /* HUMORVOC */
    .humor-section {
        padding: 3rem 1.5rem;
    }

    .humor-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .humor-content {
        padding: 1.5rem;
    }

    .humor-image {
        max-width: 100%;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem 1.5rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Botón scroll to top en móvil */
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* MÓVIL PEQUEÑO - 640px
   ========================================================================== */
@media (max-width: 640px) {
    /* Ajustar padding del body para navbar móvil pequeño */
    body {
        padding-top: 68px; /* Navbar móvil pequeño */
    }

    /* HERO */
    .hero {
        min-height: 55vh;
        height: auto;
        padding: 1.5rem 0.75rem !important;
        justify-content: space-evenly !important;
    }

    .hero-content {
        padding: 1.2rem 1rem;
    }

    .hero-quote {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-cta {
        font-size: 0.9rem;
        padding: 0.75rem 1.4rem;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    /* SECCIONES */
    section {
        padding: 2.5rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* TARJETAS */
    .content-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-card-image {
        height: 200px;
        object-position: center 35%;
    }

    /* ACTIVIDADES */
    .activity-image-wrapper {
        height: 250px;
    }

    .activity-content {
        padding: 1.2rem;
    }

    .activity-title {
        font-size: 1.3rem;
    }

    /* QUIÉNES SOMOS */
    .name-card-horizontal {
        padding-top: 1.5rem; /* Espacio arriba para la imagen en móviles pequeños */
    }

    .name-card-horizontal:hover {
        transform: translateY(-5px); /* Efecto hover más sutil */
    }

    .name-image-wrapper-horizontal {
        width: 160px; /* Más pequeño en móviles */
        height: 200px; /* Mantiene proporción retrato */
        margin: 0 auto 1.5rem auto; /* Centrar y añadir espacio */
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    }

    .name-card-horizontal:hover .name-image-horizontal {
        transform: none; /* Deshabilitar zoom en móvil pequeño */
    }

    .name-content-horizontal {
        padding: 1.5rem;
        text-align: center; /* Centrar texto en móviles pequeños */
    }

    .name-title {
        font-size: 1.3rem;
    }

    .name-role {
        text-align: center;
        border-bottom: 2px solid #f5f5f5;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .name-bio {
        text-align: left; /* Mantener biografía alineada a la izquierda */
    }

    /* ORACIÓN */
    .prayer-section {
        padding: 2.5rem 1rem;
    }

    .prayer-body {
        padding: 1.5rem;
    }

    .prayer-main-title {
        font-size: 1.6rem;
    }

    /* FOOTER */
    .footer-content {
        padding: 2.5rem 1rem 1.5rem 1rem;
        gap: 2rem;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Botón scroll to top en móviles pequeños */
    #backToTop {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
