/* ======================
           VARIABLES Y ESTILOS GENERALES
           ====================== */
        :root {
            --primary-color: #1a365d;
            --secondary-color: #2c5282;
            --accent-color: #4299e1;
            --light-color: #f7fafc;
            --dark-color: #2d3748;
            --success-color: #38a169;
            --warning-color: #d69e2e;
            --danger-color: #e53e3e;
            --text-color: #4a5568;
            --border-color: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
            --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 100px;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--primary-color);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-color);
            max-width: 700px;
            margin: 0 auto;
        }

        .btn-primary, .btn-secondary, .btn-hero-primary, .btn-hero-secondary {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        .text-center {
            text-align: center;
        }

       /* ======================
   HEADER Y NAVEGACIÓN
   ====================== */
/* ======================
   HEADER Y NAVEGACIÓN
   ====================== */
.header-top {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i, 
.header-social i {
    margin-right: 8px;
}

.header-social a {
    color: white;
    margin-left: 15px;
    transition: var(--transition);
}

.header-social a:hover {
    color: var(--accent-color);
}

/* Navegación */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Menú principal */
.nav-menu {
    display: flex;
    transition: all 0.3s ease-in-out;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.nav-item {
    margin: 0 8px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Botón especial para Noticias */
.btn-blog {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-blog:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Botón hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle .fa-times {
    display: none;
    font-size: 1.8rem;
}

.mobile-menu-toggle .fa-bars {
    display: block;
}

.mobile-menu-toggle.active .fa-bars {
    display: none;
}

.mobile-menu-toggle.active .fa-times {
    display: block;
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

/* Tablet (768px y menos) */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    /* Botón hamburguesa visible en móvil */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menú oculto por defecto en móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 90px;
        padding-left: 30px;
        padding-right: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        margin: 0;
    }
    
    /* Menú visible cuando tiene clase 'active' */
    .nav-menu.active {
        right: 0;
    }
    
    /* Lista en columna para móvil */
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }
    
    /* Items del menú */
    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding: 0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
        margin-top: 15px;
    }
    
    /* Enlaces del menú */
    .nav-link {
        padding: 18px 0;
        font-size: 1.1rem;
        width: 100%;
        display: block;
        border-radius: 0;
        margin: 0;
    }
    
    .nav-link.active::after {
        left: 0;
        transform: none;
        bottom: 0;
        height: 100%;
        width: 4px;
        border-radius: 0;
        background-color: var(--accent-color);
    }
    
    /* Botón especial Noticias */
    .btn-blog {
        margin: 10px 0 0 0;
        text-align: center;
        display: block;
        width: 100%;
        padding: 15px 20px !important;
        font-size: 1.1rem;
    }
    
    /* Overlay para fondo oscuro */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        transition: left 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        left: 0;
    }
    
    /* Evitar scroll cuando menú está abierto */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Header-top responsive */
    .header-top .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info span {
        margin-right: 15px;
        margin-bottom: 5px;
        display: inline-block;
    }
    
    .header-social {
        width: 100%;
        margin-top: 5px;
    }
}

/* Móvil pequeño (480px y menos) */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 12px;
    }
    
    .nav-logo img {
        height: 45px;
    }
    
    .nav-menu {
        width: 280px;
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 16px 0;
    }
    
    .header-top {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
    }
}

/* Desktop (más de 768px) - Asegurar visibilidad */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .nav-list {
        flex-direction: row !important;
    }
    
    .nav-item {
        border-bottom: none !important;
        margin: 0 8px !important;
        width: auto !important;
    }
    
    .nav-link {
        padding: 8px 12px !important;
        font-size: 1rem !important;
        width: auto !important;
    }
    
    .nav-link.active::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -2px !important;
        height: 3px !important;
        width: 20px !important;
    }
    
    .btn-blog {
        margin-left: 10px !important;
        margin-top: 0 !important;
        width: auto !important;
        padding: 8px 20px !important;
        font-size: 1rem !important;
    }
}

        /* ======================
           HERO SECTION CON VIDEO
           ====================== */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 700px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            overflow: hidden;
        }

        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .video-background video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(93, 12, 12, 0.247), rgba(32, 26, 93, 0.115));
        }

        .hero-content {
            max-width: 900px;
            text-align: center;
            padding: 20px;
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            margin-bottom: 40px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.4;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .hero .social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 40px 0;
        }

        .hero .social-icons a {
            width: 55px;
            height: 55px;
            background-color: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            color: white;
            font-size: 1.3rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .hero .social-icons a:hover {
            background-color: var(--accent-color);
            transform: translateY(-5px);
            border-color: var(--accent-color);
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .btn-hero-primary {
            background-color: var(--accent-color);
            color: white;
            padding: 18px 40px;
            font-size: 1.1rem;
            border-radius: 8px;
        }

        .btn-hero-primary:hover {
            background-color: #3182ce;
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .btn-hero-secondary {
            background-color: transparent;
            color: white;
            border: 3px solid white;
            padding: 18px 40px;
            font-size: 1.1rem;
            border-radius: 8px;
        }

        .btn-hero-secondary:hover {
            background-color: white;
            color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .video-controls {
            position: absolute;
            bottom: 30px;
            right: 30px;
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .video-control-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.5);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .video-control-btn:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            transform: scale(1.1);
        }

        /* ======================
           SECCIÓN QUIÉNES SOMOS
           ====================== */
        .about-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-content > p {
            font-size: 1.1rem;
            margin-bottom: 40px;
            text-align: center;
            line-height: 1.8;
        }

        .img-main-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 50px 0;
        }

        .img-main-content img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .img-main-content img:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .main-content-text {
            margin: 60px 0;
            padding: 40px;
            background-color: var(--light-color);
            border-radius: 10px;
            border-left: 5px solid var(--accent-color);
        }

        .main-content-text h2 {
            text-align: center;
            margin-bottom: 25px;
            font-size: 2.2rem;
        }

        .main-content-text p {
            margin-bottom: 20px;
            line-height: 1.8;
            font-size: 1.05rem;
        }

        /* Iconos de características mejorados */
        .about-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .feature {
            text-align: center;
            padding: 40px 25px;
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            transition: var(--transition-slow);
            border: 1px solid rgba(66, 153, 225, 0.1);
            position: relative;
            overflow: hidden;
        }

        .feature::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .feature:hover {
            transform: translateY(-12px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .feature:hover::before {
            transform: scaleX(1);
        }

        .feature-icon-wrapper {
            width: 90px;
            height: 90px;
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(44, 82, 130, 0.1) 100%);
            border-radius: 50%;
            border: 2px solid rgba(66, 153, 225, 0.2);
            position: relative;
            transition: var(--transition-slow);
        }

        .feature-icon-wrapper::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid transparent;
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) border-box;
            -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .feature:hover .feature-icon-wrapper {
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
            transform: scale(1.1) rotate(10deg);
            border-color: transparent;
        }

        .feature:hover .feature-icon-wrapper::before {
            opacity: 1;
        }

        .feature-icon-wrapper i {
            font-size: 2.5rem;
            color: var(--accent-color);
            position: relative;
            z-index: 1;
            transition: var(--transition);
        }

        .feature:hover .feature-icon-wrapper i {
            color: white;
            transform: scale(1.1);
        }

        .feature h4 {
            margin-bottom: 15px;
            font-size: 1.4rem;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 10px;
        }

        .feature h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .feature:hover h4::after {
            width: 60px;
        }

        .feature p {
            font-size: 1rem;
            color: var(--text-color);
            line-height: 1.7;
            margin-top: 15px;
        }

        /* ======================
           MISIÓN, VISIÓN Y VALORES
           ====================== */
        .mission-vision-section {
            background-color: var(--light-color);
        }

        .mision-vision-valores {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 35px;
        }

        .bloque {
            background-color: white;
            padding: 15px 15px;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            text-align: center;
            transition: var(--transition-slow);
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(66, 153, 225, 0.1);
            position: relative;
            overflow: hidden;
            text-align: justify;
        }

        .bloque::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .bloque:hover {
            transform: translateY(-12px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .bloque:hover::before {
            transform: scaleX(1);
        }

        .bloque-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(44, 82, 130, 0.1) 100%);
            border-radius: 50%;
            border: 2px solid rgba(66, 153, 225, 0.2);
            position: relative;
            transition: var(--transition-slow);
        }

        .bloque-icon::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid transparent;
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) border-box;
            -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .bloque:hover .bloque-icon {
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
            transform: scale(1.1) rotate(10deg);
            border-color: transparent;
        }

        .bloque:hover .bloque-icon::before {
            opacity: 1;
        }

        .bloque-icon img {
            width: 45px;
            height: 45px;
            object-fit: contain;
            position: relative;
            z-index: 1;
            transition: var(--transition);
        }

        .bloque:hover .bloque-icon img {
            filter: brightness(0) invert(1);
            transform: scale(1.1);
        }

        .bloque h2 {
            margin-bottom: 25px;
            font-size: 1.9rem;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
        }

        .bloque h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .bloque:hover h2::after {
            width: 70px;
        }

        .bloque p {
            flex-grow: 1;
            line-height: 1.8;
            font-size: 0.8rem;
            color: var(--text-color);
        }

        .valores-list {
            list-style: none;
            text-align: left;
            flex-grow: 1;
            padding-left: 0;
        }

        .valores-list li {
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
            line-height: 1.2;
            font-size: 0.8rem ;
            color: var(--text-color);
        }

        .valores-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-weight: bold;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .valores-list li:hover::before {
            transform: scale(1.2);
        }
        /* ======================
   SECCIÓN HISTORIA COMPLETA
   ====================== */
.historia-section {
    background-color: #f8f9fa;
}

.historia-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Bloque de historia */
.historia-bloque {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia-bloque:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.bloque-header {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.bloque-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.bloque-header h3 {
    margin: 0;
    flex-grow: 1;
    font-size: 1.5rem;
    color: #333;
}

.bloque-year {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bloque-content {
    padding: 30px;
}

.bloque-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.bloque-content p:last-child {
    margin-bottom: 0;
}

/* Contenedor de hitos */
.hitos-container {
    margin: 30px 0;
    padding: 25px;
    background-color: #f9fbfd;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.hito-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.hito-item:last-child {
    margin-bottom: 0;
}

.hito-year {
    min-width: 70px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    align-self: flex-start;
}

.hito-line {
    width: 20px;
    height: 2px;
    background-color: #ddd;
    margin: 15px 20px 0;
    position: relative;
}

.hito-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -4px;
    left: 5px;
}

.hito-content {
    flex-grow: 1;
}

.hito-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #333;
}

.hito-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Grid de filosofía */
.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.filosofia-item {
    display: flex;
    align-items: flex-start;
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #e0e0e0;
}

.filosofia-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.filosofia-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
}

.filosofia-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Estadísticas */
.estadisticas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0 20px;
}

.estadistica-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.estadistica-card:hover {
    transform: translateY(-5px);
}

.estadistica-card.destacado {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bd5 100%);
    color: white;
    border: none;
}

.estadistica-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.estadistica-card.destacado .estadistica-icon {
    color: white;
}

.estadistica-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.estadistica-card.destacado .estadistica-number {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.estadistica-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.estadistica-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 5px 0 0 0;
    line-height: 1.4;
}

/* Sidebar */
.historia-sidebar {
    position: sticky;
    top: 30px;
}

/* Imagen del sidebar */
.sidebar-imagen {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-imagen img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.imagen-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    backdrop-filter: blur(5px);
}

.badge-year {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Datos clave */
.datos-clave {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.datos-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.datos-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.datos-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.datos-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.datos-content {
    flex-grow: 1;
}

.datos-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.datos-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.datos-content small {
    font-size: 0.85rem;
    color: #888;
}

/* Cita destacada */
.cita-destacada {
    background: linear-gradient(135deg, #f8f0ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.cita-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.05);
}

.cita-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Línea del tiempo sidebar */
.linea-tiempo-sidebar {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.linea-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.linea-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.linea-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.linea-year {
    min-width: 60px;
    background-color: #f0f7ff;
    color: var(--primary-color);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    margin-right: 15px;
}

.linea-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .historia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .historia-sidebar {
        position: static;
    }
    
    .filosofia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bloque-header {
        flex-wrap: wrap;
    }
    
    .bloque-year {
        margin-top: 10px;
        width: 100%;
    }
    
    .filosofia-grid {
        grid-template-columns: 1fr;
    }
    
    .estadisticas-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hito-item {
        flex-direction: column;
    }
    
    .hito-year {
        align-self: flex-start;
        margin-bottom: 10px;
    }
    
    .hito-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .bloque-header {
        padding: 20px;
    }
    
    .bloque-content {
        padding: 20px;
    }
    
    .estadisticas-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar-imagen img {
        height: 250px;
    }
    
    .imagen-badge {
        top: 15px;
        right: 15px;
        padding: 12px;
        min-width: 80px;
    }
    
    .badge-year {
        font-size: 1.7rem;
    }
    
    .datos-clave,
    .cita-destacada,
    .linea-tiempo-sidebar {
        padding: 20px;
    }
}

        /* ======================
           SECCIÓN CATEQUESIS
           ====================== */
        .catequesis-section {
            background-color: white;
        }

        .catequesis-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .catequesis-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: var(--shadow-lg);
        }

        .catequesis-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .catequesis-text > p {
            margin-bottom: 25px;
            line-height: 1.8;
        }

        .catequesis-list {
            list-style: none;
            margin-bottom: 30px;
        }

        .catequesis-list li {
            margin-bottom: 15px;
            padding-left: 35px;
            position: relative;
            line-height: 1.7;
        }

        .catequesis-list li i {
            position: absolute;
            left: 0;
            top: 3px;
            color: var(--success-color);
            font-size: 1.2rem;
        }

        /* ======================
           SECCIÓN PASTORAL
           ====================== */
        .pastoral-section {
            background-color: var(--light-color);
        }

        .pastoral-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .pastoral-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: var(--shadow-lg);
        }

        .pastoral-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .pastoral-text > p {
            margin-bottom: 25px;
            line-height: 1.8;
        }

        .pastoral-list {
            list-style: none;
            margin-bottom: 30px;
        }

        .pastoral-list li {
            margin-bottom: 15px;
            padding-left: 35px;
            position: relative;
            line-height: 1.7;
        }

        .pastoral-list li i {
            position: absolute;
            left: 0;
            top: 3px;
            color: var(--success-color);
            font-size: 1.2rem;
        }

        /* ======================
           GALERÍA ESTRUCTURADA EN HTML
           ====================== */

        /* Navegación de la galería */
        .gallery-navigation {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
            padding: 20px 0;
            border-bottom: 2px solid var(--border-color);
        }

        .gallery-nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 20px;
            background-color: var(--light-color);
            border-radius: 8px;
            transition: var(--transition);
            text-align: center;
            min-width: 120px;
            color: var(--text-color);
        }

        .gallery-nav-link i {
            font-size: 1.5rem;
            margin-bottom: 8px;
            color: var(--primary-color);
        }

        .gallery-nav-link span {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .gallery-nav-link:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .gallery-nav-link:hover i {
            color: white;
        }

        .gallery-nav-link.active {
            background-color: var(--primary-color);
            color: white;
        }

        .gallery-nav-link.active i {
            color: white;
        }

        /* Contenedor de secciones de galería */
        .gallery-sections-container {
            position: relative;
            min-height: 500px;
        }

        /* Cada subsección de galería */
        .gallery-subsection {
            display: none;
        }

        .gallery-subsection.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Cabecera de cada subsección */
        .subsection-header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--border-color);
        }

        .subsection-header h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .subsection-header h3 i {
            color: var(--accent-color);
        }

        .subsection-header p {
            color: var(--text-color);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Grid de imágenes en cada sección */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }

        .gallery-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            height: 250px;
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .gallery-item:hover {
            transform: scale(1.03);
            box-shadow: var(--shadow-lg);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-item-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-item-overlay {
            transform: translateY(0);
        }

        .gallery-item-overlay h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .gallery-item-overlay p {
            font-size: 0.9rem;
            opacity: 0.9;
            margin: 0;
        }

        /* Modal de galería */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 1100;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }

        .gallery-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            max-width: 900px;
            width: 100%;
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            animation: scaleIn 0.3s ease;
        }

        @keyframes scaleIn {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2.5rem;
            color: white;
            cursor: pointer;
            z-index: 10;
            background-color: rgba(0, 0, 0, 0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .modal-close:hover {
            background-color: rgba(0, 0, 0, 0.8);
            transform: rotate(90deg);
        }

        .modal-body {
            position: relative;
        }

        #modalImage {
            width: 100%;
            max-height: 600px;
            object-fit: contain;
            display: block;
            background-color: #000;
        }

        .modal-caption {
            padding: 25px;
            background-color: white;
        }

        .modal-caption h3 {
            margin-bottom: 15px;
            font-size: 1.6rem;
        }

        /* ======================
           SECCIÓN RECURSOS
           ====================== */
        .resources-section {
            background-color: var(--light-color);
        }

        .catequesis-biblioteca-publicaciones {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 35px;
        }

        .catequesis-biblioteca-publicaciones .bloque {
            padding: 40px 30px;
        }

        .resource-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 30px;
            display: block;
            object-fit: contain;
        }

        .catequesis-biblioteca-publicaciones h2 a {
            color: var(--primary-color);
            transition: var(--transition);
            font-size: 1.8rem;
        }

        .catequesis-biblioteca-publicaciones h2 a:hover {
            color: var(--accent-color);
        }

        .catequesis-biblioteca-publicaciones .bloque p {
            font-size: 1.05rem;
        }

        /* ======================
           FOOTER
           ====================== */
        .footer {
            background-color: var(--primary-color);
            color: white;
            padding: 70px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-logo img {
            height: 70px;
            margin-bottom: 20px;
        }

        .footer-info p {
            margin-bottom: 18px;
            display: flex;
            align-items: flex-start;
        }

        .footer-info i {
            margin-right: 15px;
            color: var(--accent-color);
            margin-top: 3px;
            flex-shrink: 0;
        }

        .footer-social {
            display: flex;
            gap: 18px;
            margin-top: 25px;
        }

        .footer-social a {
            width: 45px;
            height: 45px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            font-size: 1.2rem;
        }

        .footer-social a:hover {
            background-color: var(--accent-color);
            transform: translateY(-5px);
        }

        .footer-links h4 {
            color: white;
            margin-bottom: 25px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            transition: var(--transition);
            display: inline-block;
        }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 8px;
        }

        .footer-newsletter h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-newsletter h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .footer-newsletter p {
            margin-bottom: 25px;
            font-size: 1rem;
            line-height: 1.6;
        }

        #newsletterForm {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        #newsletterForm input {
            padding: 15px 18px;
            border-radius: 6px;
            border: none;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
        }

        #newsletterForm input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        #newsletterForm button {
            padding: 15px 18px;
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            font-size: 1rem;
        }

        #newsletterForm button:hover {
            background-color: #3182ce;
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-bottom p {
            margin-bottom: 12px;
        }

        .footer-bottom a {
            color: var(--accent-color);
            transition: var(--transition);
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

        /* ======================
           RESPONSIVE DESIGN
           ====================== */
        @media (max-width: 1200px) {
            .hero-title {
                font-size: 2.4rem;
            }
            
            .hero-subtitle {
                font-size: 1.3rem;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
            
            .catequesis-content,
            .pastoral-content {
                gap: 40px;
            }
        }

        @media (max-width: 992px) {
            .section {
                padding: 70px 0;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .catequesis-content,
            .pastoral-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .catequesis-image,
            .pastoral-image {
                order: 2;
            }
            
            .catequesis-text,
            .pastoral-text {
                order: 1;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            
            .gallery-navigation {
                gap: 8px;
            }
            
            .gallery-nav-link {
                padding: 12px 15px;
                min-width: 110px;
            }

            .about-features {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 25px;
            }
            
            .feature {
                padding: 35px 20px;
            }
            
            .feature-icon-wrapper {
                width: 80px;
                height: 80px;
            }
            
            .feature-icon-wrapper i {
                font-size: 2.2rem;
            }
            
            .bloque {
                padding: 40px 25px;
            }
            
            .bloque-icon {
                width: 80px;
                height: 80px;
            }
            
            .bloque-icon img {
                width: 40px;
                height: 40px;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 1.9rem;
            }
            
            .header-top .container {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background-color: white;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                transition: var(--transition);
                padding-top: 80px;
                z-index: 999;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-list {
                flex-direction: column;
                padding: 20px;
            }
            
            .nav-item {
                margin: 12px 0;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .hero {
                min-height: 600px;
                height: 80vh;
            }
            
            .hero-title {
                font-size: 1.9rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
                margin-bottom: 30px;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
            
            .btn-hero-primary,
            .btn-hero-secondary {
                width: 100%;
                max-width: 300px;
                padding: 16px 30px;
            }
            
            .video-controls {
                bottom: 20px;
                right: 20px;
            }
            
            .about-features {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .mision-vision-valores {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .gallery-navigation {
                overflow-x: auto;
                flex-wrap: nowrap;
                justify-content: flex-start;
                padding-bottom: 10px;
                -webkit-overflow-scrolling: touch;
            }
            
            .gallery-nav-link {
                flex-shrink: 0;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }

            .feature:hover {
                transform: translateY(-8px);
            }
            
            .bloque:hover {
                transform: translateY(-8px);
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.7rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .hero .social-icons a {
                width: 48px;
                height: 48px;
                font-size: 1.1rem;
            }
            
            .img-main-content {
                grid-template-columns: 1fr;
            }
            
            .img-main-content img {
                height: 220px;
            }
            
            .main-content-text {
                padding: 25px 20px;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }
            
            .gallery-item {
                height: 180px;
            }
            
            .gallery-nav-link span {
                font-size: 0.8rem;
            }
            
            .gallery-nav-link i {
                font-size: 1.2rem;
            }

            .feature {
                padding: 30px 20px;
            }
            
            .feature-icon-wrapper {
                width: 70px;
                height: 70px;
                margin-bottom: 25px;
            }
            
            .feature-icon-wrapper i {
                font-size: 2rem;
            }
            
            .feature h4 {
                font-size: 1.3rem;
            }
            
            .bloque {
                padding: 35px 20px;
            }
            
            .bloque-icon {
                width: 70px;
                height: 70px;
                margin-bottom: 25px;
            }
            
            .bloque-icon img {
                width: 35px;
                height: 35px;
            }
            
            .bloque h2 {
                font-size: 1.7rem;
            }
            
            .catequesis-list li,
            .pastoral-list li {
                padding-left: 30px;
                font-size: 0.95rem;
            }
        }

        /* ======================
           ESTILOS PARA IMÁGENES QUE FALLAN
           ====================== */
        .gallery-item img[onerror] {
            background-color: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-weight: bold;
        }

        /* ======================
           MEJORAS DE ACCESIBILIDAD
           ====================== */
        .gallery-item:focus,
        .gallery-nav-link:focus,
        .btn-primary:focus,
        .btn-secondary:focus {
            outline: 2px solid var(--accent-color);
            outline-offset: 2px;
        }

        /* ======================
           TRANSICIONES SUAVES
           ====================== */
        a, button, .gallery-item, .bloque, .feature, .gallery-nav-link {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }