/* Fuentes optimizadas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Variables - Paleta Elegante: Blanco, Negro, Dorado, Rojo y Gris */
:root {
    --primary-color: #d4af37; /* Dorado elegante */
    --primary-color-rgb: 212, 175, 55; /* RGB del dorado elegante */
    --secondary-color: #dc2626; /* Rojo vibrante */
    --accent-color: #fbbf24; /* Dorado claro */
    --text-dark: #000000; /* Negro puro */
    --text-light: #6b7280; /* Gris medio */
    --white: #ffffff; /* Blanco puro */
    --light-gray: #f5f5f5; /* Gris muy claro */
    --background-light: #ffffff; /* Blanco */
    --background-section: #f9f9f9; /* Gris muy claro */
    --background-alt: #e5e5e5; /* Gris claro */
    --border-light: #d1d5db; /* Gris borde */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #fbbf24 100%);
    --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    
    /* Colores adicionales para elementos específicos */
    --club-gold: #d4af37;
    --club-red: #dc2626;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --black: #000000;
    --gray-dark: #374151;
    --gray-medium: #6b7280;
    --gray-light: #d1d5db;
    
    /* Easing functions naturales */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Barra de scroll personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Para Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo Posicionado en Esquina Superior Izquierda */
.floating-logo {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* Optimizaciones de rendimiento */
html {
    scroll-behavior: smooth;
}

/* Prevenir layout shifts */
img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1 !important; /* Asegurar que las imágenes se muestren */
    visibility: visible !important;
}

/* Reglas generales de responsividad */
* {
    box-sizing: border-box;
}

/* Prevenir overflow horizontal en todos los elementos */
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

/* Elementos de texto responsivos - SIN guiones automáticos */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
    word-break: normal;
    max-width: 100%;
}

/* Reglas globales para evitar guiones automáticos */
*, *::before, *::after {
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
}

/* Clase especial para casos donde SÍ queremos ajuste de texto */
.allow-text-wrap {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* Tablas responsivas */
table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

/* Formularios responsivos */
input, textarea, select, button {
    max-width: 100%;
    box-sizing: border-box;
}

/* Videos responsivos */
video {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Optimización de GPU para animaciones */
.fade-in,
.slide-in-left,
.slide-in-right,
.fade-in-delayed,
.fade-in-stagger,
.hero-content {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}


body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 100px; /* Compensar header fijo - aumentado */
    opacity: 1; /* Mostrar contenido por defecto */
    transition: opacity 0.6s var(--ease-out-expo);
    overflow-x: hidden; /* Prevenir scroll horizontal */
    max-width: 100vw;
}

body.loaded {
    opacity: 1;
}

/* Prevenir flash de contenido sin estilo */
body:not(.loaded) .hero,
body:not(.loaded) .section,
body:not(.loaded) .navbar {
    opacity: 1; /* Mostrar contenido por defecto */
    transform: translateY(0);
}

body.loaded .hero,
body.loaded .section,
body.loaded .navbar {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header con mejor contraste - Siempre fijo SIN ANIMACIÓN */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000 !important; /* Menor que el dropdown */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    will-change: transform, background-color;
    overflow: visible !important;
}

/* Menú hamburguesa para móviles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
    padding: 0;
}

.menu-toggle:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.menu-toggle:hover span {
    background: var(--white);
}

.menu-toggle span {
    width: 22px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--white);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--white);
}

.menu-toggle.active {
    background: var(--primary-color);
}

/* Menú móvil */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999998;
    overflow-y: auto;
    pointer-events: none;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    border-bottom: 3px solid var(--primary-color);
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 999999;
    border-radius: 50%;
}

.mobile-nav-close:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.mobile-nav.active {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.mobile-nav .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
    width: 100%;
    max-width: 300px;
    overflow: visible;
    margin: 0;
    z-index: 999999;
    box-shadow: none;
}

.mobile-nav .dropdown-menu[style*="display: block"] {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.mobile-nav .dropdown-menu a {
    padding: 18px 0;
    font-size: 1.2rem;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    margin: 3px 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-nav .dropdown-menu a:hover,
.mobile-nav .dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}



.mobile-nav .dropdown-container {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.dropdown-toggle-mobile {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    padding: 15px 20px;
    min-height: 50px;
}

.dropdown-toggle-mobile:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.dropdown-toggle-mobile.active {
    background: rgba(var(--primary-color-rgb), 0.15);
    color: var(--primary-color);
    border-radius: 8px 8px 0 0;
}

.dropdown-toggle-mobile i {
    transition: transform 0.3s ease;
    font-size: 0.9em;
    margin-left: 8px;
    color: var(--primary-color);
}

.dropdown-toggle-mobile.active i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
}

.header-fixed {
    position: fixed !important;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    transform: translateY(0);
    transition: all 0.3s var(--ease-out-quart);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
    overflow: visible !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 2rem;
    margin-left: 160px;
}

/* Logo del header - mismo tamaño que el flotante */
.logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    padding: 4px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Fallback para logo */
.logo-img::before,
.logo-img[src*="placeholder"]::before {
    content: "CDN";
}

.escudo {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.club-info h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.club-info span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Efecto de scroll para el logo */
.logo-img.logo-large {
    width: 90px;
    max-height: 80px;
    transform: scale(1.3);
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(1.1);
    border-width: 3px;
}

/* Ocultar texto del club cuando el logo crece */
.club-info.hidden {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.club-info {
    transition: all 0.4s ease;
    z-index: 1001;
    position: relative;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    z-index: 997;
    overflow: visible !important;
    position: relative;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
    will-change: color, background-color, transform;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s var(--ease-out-quart);
}

/* NAVEGACIÓN ACTIVA - ESTILO SIMPLE Y ELEGANTE */
html body header .nav ul li a.active,
html body .nav a.active,
body .nav a.active,
.nav a.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Estilos para enlaces activos - siempre con efecto hover */
html body header .nav ul li a.active,
html body .nav a.active,
body .nav a.active,
.nav a.active {
    color: var(--primary-color) !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border-radius: 4px !important;
    padding: 0.5rem 0.4rem !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

/* Efecto hover adicional para enlaces activos */
html body header .nav ul li a.active:hover,
html body .nav a.active:hover,
body .nav a.active:hover,
.nav a.active:hover {
    color: var(--secondary-color) !important;
    background: rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
}

/* Línea inferior para enlaces activos */
html body header .nav ul li a.active::after,
html body .nav a.active::after,
body .nav a.active::after,
.nav a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: var(--primary-color) !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.4) !important;
}



/* Los estilos de navegación activa ahora son consistentes en todas las resoluciones */

/* Hover solo para enlaces NO activos */
.nav a:not(.active):hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0.4rem;
}

.nav a:not(.active):hover::after {
    width: 100%;
    background: var(--primary-color);
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 99999 !important;
    /* Asegurar que el dropdown sea clickeable */
    pointer-events: auto;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000001;
    margin-top: 2px;
}

.dropdown.active::after {
    opacity: 1;
    visibility: visible;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.dropdown.active .dropdown-toggle,
.dropdown-toggle.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    background: rgba(212, 175, 55, 0.1) !important;
    border-radius: 4px !important;
    padding: 0.5rem 0.4rem !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    min-width: 220px;
    max-width: 280px;
    width: max-content;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99999 !important;
    overflow: visible !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    pointer-events: none;
    /* Mejorar la funcionalidad del dropdown */
    display: block;
    will-change: opacity, visibility, transform;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    white-space: nowrap;
    overflow: visible;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary-color), #c9a96e);
    color: var(--white);
    transform: translateX(3px);
    padding-left: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}



.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Responsive para dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        left: 0;
        right: 0;
        transform: translateY(-10px);
        min-width: 200px;
        max-width: calc(100vw - 40px);
        margin: 0 20px;
    }
    
    .dropdown.active .dropdown-menu {
        transform: translateY(0);
    }
    
    .dropdown::after {
        left: 30px;
        transform: none;
    }
}



/* Hero section con carrusel de imágenes */
.hero {
    padding: 4rem 0 4rem; /* Aumentado para evitar superposición con header */
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Carrusel de imágenes de fondo */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

/* Responsividad del carrusel */
@media (max-width: 768px) {
    .carousel-slide img {
        object-position: center center;
        filter: brightness(1.0) contrast(1.0) saturate(1.0);
    }
    
    .carousel-slide {
        transition: opacity 1s ease-in-out;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 2.5rem 0 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat .number {
        font-size: 2rem;
    }
    
    .stat .label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 45vh;
        padding: 2rem 0 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .stat {
        padding: 0.8rem;
    }
    
    .stat .number {
        font-size: 1.8rem;
    }
    
    .stat .label {
        font-size: 0.75rem;
    }
    
    .carousel-slide img {
        object-fit: cover;
        object-position: center top;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 50000 !important;
    text-align: center;
    color: var(--white);
}

/* ELIMINAR el logo del hero completamente */
.hero-logo {
    display: none !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;

    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-heavy);
}

.hero-badge i {
    color: var(--secondary-color);
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s var(--ease-out-expo);
    line-height: 1.1;

}

body.loaded .hero-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s var(--ease-out-expo);
    line-height: 1.1;
}

body.loaded .hero-content h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

body.loaded .hero-subtitle {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;

}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 101, 192, 0.2);
    box-shadow: var(--shadow-light);
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
    position: relative;
    z-index: 100000 !important;
}

body.loaded .cta-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    cursor: pointer;
    will-change: transform, box-shadow, background-color;
    position: relative;
    overflow: hidden;
    z-index: 0 !important;
    pointer-events: auto;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--black);
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--secondary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Estilos específicos para móvil - Botones Hero */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
        z-index: 100000 !important;
        position: relative;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        pointer-events: auto !important;
        z-index: 100001 !important;
        position: relative;
    }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
    
    .btn-primary:active, .btn-secondary:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

.hero-scroll {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Sección Historia */
.historia {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.historia-content {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.historia-content h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.historia-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mision, .vision, .valores {
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.valores ul {
    list-style: none;
    padding: 0;
}

.valores li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.valores li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.directiva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.directivo {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.directivo:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Secciones Generales */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 900;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Secciones más compactas */
section {
    padding: 4rem 0;
}

/* Historia */
.historia {
    padding: 5rem 0;
    background: var(--background-light);
}

.historia .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Índice de navegación lateral */
.historia-navigation {
    position: sticky;
    top: 100px;
    float: left;
    width: 280px;
    margin-right: 2rem;
    margin-bottom: 2rem;
    z-index: 10;
}

.historia-nav-header {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--border-light);
}

.historia-nav-header h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.historia-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--white);
    border-radius: 0 0 15px 15px;
    padding: 0 2rem 2rem 2rem;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--border-light);
    border-top: none;
}

.historia-nav-list li {
    margin-bottom: 0.8rem;
}

.historia-nav-link {
    display: block;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    position: relative;
}

.historia-nav-link:hover,
.historia-nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #d4af37 0%, #c9941f 50%, #b8851a 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.8) !important;
    transform: translateX(5px) scale(1.02) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.historia-nav-link::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.historia-nav-link:hover::before,
.historia-nav-link.active::before {
    opacity: 0.6;
    animation: pulse-gold 2s infinite;
}

/* Animación para el efecto dorado */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}



@media (max-width: 1024px) {
    .historia-navigation {
        position: static;
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 3rem;
    }
    
    .historia-content {
        margin-left: 0;
    }
    
    .historia-index {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .historia-index ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }
}





.fundadores {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 100px;
}

.fundadores h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.fundadores-grid {
    display: grid;
    gap: 1.5rem;
}

.fundador {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.fundador i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fundador h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.fundador p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Complejo */
.complejo {
    padding: 5rem 0;
    background: var(--background-section);
}

.complejo-historia {
    text-align: center;
    margin-bottom: 3rem;
}

.complejo-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-light);
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.complejo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: var(--background-light);
}

.decada {
    background: var(--gradient-primary);
    color: var(--black);
    padding: 1rem;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.1rem;
    text-align: center;
    min-width: 120px;
    height: fit-content;
    border: 2px solid var(--secondary-color);
}

.content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Salón Patrimonial */
.salon-patrimonial {
    padding: 5rem 0;
    background: var(--background-alt);
}

.salon-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.salon-descripcion {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    border-left: 6px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.salon-descripcion::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 0 20px 0 100px;
}

.salon-descripcion p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

.salon-descripcion p:last-child {
    margin-bottom: 2rem;
}

.btn-saber-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.btn-saber-mas:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.patrimonio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.patrimonio-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.patrimonio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.patrimonio-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.patrimonio-icon i {
    font-size: 2rem;
    color: var(--white);
}

.patrimonio-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.patrimonio-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ESTILOS PARA CATEGORÍAS ===== */
.categorias-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.categoria-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    user-select: none;
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.categoria-card:hover::before {
    left: 100%;
}

.categoria-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.categoria-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.categoria-card:hover .categoria-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.categoria-icon i {
    font-size: 2rem;
    color: var(--white);
}

.categoria-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.categoria-card:hover h3 {
    color: var(--primary-color);
}

.categoria-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.categoria-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.categoria-card:hover .categoria-arrow {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.categoria-arrow i {
    color: var(--white);
    font-size: 1rem;
}

/* Responsive para categorías */
@media (max-width: 768px) {
    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categoria-card {
        padding: 1.5rem;
    }
    
    .categoria-icon {
        width: 60px;
        height: 60px;
    }
    
    .categoria-icon i {
        font-size: 1.5rem;
    }
}

/* ===== MEJORAS PARA NOTICIAS ===== */
.noticias {
    padding: 5rem 0;
    background: var(--background-light);
}

/* ===== PÁGINA DE TODAS LAS NOTICIAS ===== */
.hero-noticias {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-noticias::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/7.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-noticias .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-noticias h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-noticias p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.todas-noticias {
    padding: 4rem 0;
    background: var(--background-light);
}

.noticias-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.noticias-filters h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.noticia-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.noticia-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.noticia-card-imagen {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.noticia-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-card-imagen img {
    transform: scale(1.05);
}

/* .noticia-card-categoria {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: calc(100% - 2rem);
    overflow: hidden;
} */

/* Categoría movida al área de meta información */
.noticia-card-categoria {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-right: 1rem;
    text-overflow: ellipsis;
    z-index: 2;
}

.noticia-card-content {
    padding: 1.5rem;
}

.noticia-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
}

.noticia-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.noticia-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.noticia-card-meta i {
    color: var(--primary-color);
}

.noticia-card-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.btn-leer-mas-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-leer-mas-card:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Tarjetas de noticias expandidas */
.noticia-card-expanded {
    background: var(--white);
    border-radius: 15px;
    overflow: visible;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    min-height: auto;
}

.noticia-card-expanded:hover {
    box-shadow: var(--shadow-medium);
}

.noticia-card-expanded .noticia-card-imagen {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.noticia-card-expanded .noticia-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card-expanded .noticia-card-content {
    padding: 2rem;
    min-height: auto;
}

.noticia-card-expanded .noticia-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.noticia-card-full-content {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
    margin-top: 1rem;
}

.noticia-card-full-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.noticia-card-full-content h1,
.noticia-card-full-content h2,
.noticia-card-full-content h3,
.noticia-card-full-content h4,
.noticia-card-full-content h5,
.noticia-card-full-content h6 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.noticia-card-full-content ul,
.noticia-card-full-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.noticia-card-full-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.noticia-card-full-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.noticia-card-full-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.noticia-card-full-content a:hover {
    color: var(--accent-color);
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pagination-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    font-weight: 600;
    color: var(--text-dark);
}

/* Mensajes de estado */
.no-news-message,
.error-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-news-message i,
.error-message i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-news-message h3,
.error-message h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.btn-retry {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-retry:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.noticias-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.noticia-destacada {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    will-change: transform, box-shadow;
}

.noticia-destacada:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.noticia-imagen {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--background-section);
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-destacada:hover .noticia-imagen img {
    transform: scale(1.05);
}

/* .noticia-categoria {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
} */

/* Categoría movida al área de meta información */
.noticia-categoria {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-right: 1rem;
}

.noticia-content {
    padding: 2rem;
}

.noticia-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
}

.noticia-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.noticia-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.noticia-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.noticia-meta i {
    color: var(--primary-color);
}

.btn-leer-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.btn-leer-mas:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Acciones de noticias */
.noticias-actions {
    text-align: center;
    margin-top: 3rem;
}

.btn-ver-noticias {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
}

.btn-ver-noticias:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.btn-ver-noticias i {
    font-size: 1.1rem;
}

.noticias-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.noticia-mini {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    will-change: transform, box-shadow;
}

.noticia-mini:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-medium);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.noticia-mini-imagen {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.noticia-mini-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-mini-content {
    flex: 1;
}

.noticia-mini-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 600;
}

.noticia-mini-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.noticia-mini-meta .categoria {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.noticia-mini-meta .fecha {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.noticia-mini-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.fecha-mini {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.fecha-mini::before {
    content: '📅';
    font-size: 0.7rem;
}

/* ===== MAPA EN CONTACTO ===== */
.contacto-mapa {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-light);
}

.contacto-mapa .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contacto-mapa .section-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contacto-mapa .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.mapa-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--border-light);
}

.mapa-responsive {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .mapa-responsive {
        height: 300px;
    }
    
    .contacto-mapa {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .mapa-responsive {
        height: 250px;
    }
    
    .contacto-mapa {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .contacto-mapa .section-header h3 {
        font-size: 1.5rem;
    }
}

/* ===== CONTACTO MEJORADO ===== */
.contacto {
    padding: 5rem 0;
    background: var(--background-section);
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contacto-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    height: fit-content;

}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.contacto-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--secondary-color);
}

.contacto-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contacto-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.contacto-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);

}

.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group select {
    cursor: pointer;
    background-color: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-enviar {
    background: var(--primary-color);
    color: var(--black);
    padding: 1rem 2rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-enviar:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-enviar:active {
    transform: translateY(0);
}

/* ===== CONTACTO PROFESIONAL ===== */
.contacto-profesional {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contacto-profesional .section-header {
    text-align: left;
    margin-bottom: 3rem;
    max-width: 600px;
}

.contacto-profesional .section-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contacto-profesional .section-header p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.contacto-profesional-content {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Información de contacto */
.contacto-info-profesional {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.info-content p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Formulario profesional */
.contacto-form-profesional {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: none;
}

.form-profesional {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-profesional .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-profesional .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.form-profesional input,
.form-profesional select,
.form-profesional textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-profesional input:focus,
.form-profesional select:focus,
.form-profesional textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-profesional input::placeholder,
.form-profesional textarea::placeholder {
    color: #9ca3af;
    font-size: 0.9rem;
}

.form-profesional select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
    color: #6c757d;
}

.form-profesional select:focus {
    color: #2c3e50;
}

.form-profesional textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
    font-size: 1rem;
}
    font-family: inherit;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-container:focus-within {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-prefix {
    background: #e9ecef;
    padding: 1rem;
    font-weight: 600;
    color: #495057;
    border-right: 1px solid #dee2e6;
    white-space: nowrap;
}

.phone-input-container input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 1rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.phone-input-container input:focus {
    outline: none;
    border: none;
    background: transparent;
    box-shadow: none;
}

.btn-consulta {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-consulta:hover {
    background: #48a0d8;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-consulta:active {
    transform: translateY(0);
}

/* Mensaje de respuesta del formulario - Diseño mejorado */
.form-message {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
    opacity: 0;
    animation: slideInMessage 0.5s ease-out forwards;
}

.form-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
    color: #2d5a2d;
    border: 2px solid #4caf50;
    position: relative;
}

.form-message.success::before {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}

.form-message.success::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: 20px;
    background: #4caf50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, #fdf2f2 0%, #fbeaea 100%);
    color: #c62828;
    border: 2px solid #f44336;
    position: relative;
}

.form-message.error::before {
    background: linear-gradient(90deg, #f44336, #ef5350);
}

.form-message.error::after {
    content: '⚠';
    position: absolute;
    top: -8px;
    right: 20px;
    background: #f44336;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Estados del botón de envío */
.btn-consulta {
    position: relative;
    overflow: hidden;
}

.btn-consulta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: none;
}

.btn-consulta.loading .btn-text {
    display: none;
}

.btn-consulta.loading .btn-loading {
    display: inline;
}





.sponsor-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.5s ease;
}

.sponsor-slide:hover::before {
    left: 100%;
}

.sponsor-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.sponsor-slide img {
    width: 85%;
    height: 70px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    filter: grayscale(20%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.sponsor-slide:hover img {
    transform: scale(1.15);
    filter: grayscale(0%);
}

.sponsor-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sponsor-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sponsor-slide:hover .sponsor-info h4 {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.sponsor-slide:hover .sponsor-info p {
    color: var(--text-dark);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 7));
    }
}

/* Pausar animación al hover */
.sponsors-carousel-container:hover .sponsors-carousel {
    animation-play-state: paused;
}

/* Efecto de brillo en el contenedor */
.sponsors-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 4s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.sponsor-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.sponsor-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sponsor-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.btn-sponsor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.btn-sponsor:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Socios Mejorado - Compacto y Responsivo */
.socios {
    padding: 4rem 0;
    background: var(--background-alt);
}

.socios .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.socios .section-header h2 {
    text-align: center;
    margin: 0 auto 1rem;
}

.socios .section-header p {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.planes-socios-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.planes-socios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.plan {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}



.plan-header {
    background: var(--primary-color);
    color: var(--black);
    padding: 1.5rem 1rem;
    text-align: center;
}

.plan-destacado .plan-header {
    background: var(--primary-color);
    color: var(--black);
}

.plan-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.precio {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.periodo {
    font-size: 0.85rem;
    opacity: 0.8;
}

.plan-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.plan-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.plan-content li {
    padding: 0.3rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.plan-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 1.3rem;
    text-align: center;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: #48a0d8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-plan:active {
    transform: translateY(0);
}

/* Estilos Responsivos para Socios */
@media (max-width: 1024px) {
    .planes-socios {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .socios {
        padding: 3rem 0;
    }
    
    .socios .section-header {
        margin-bottom: 2rem;
    }
    
    .planes-socios-wrapper {
        padding: 0 1rem;
    }
    
    .planes-socios {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .plan-header {
        padding: 1.2rem 1rem;
    }
    
    .plan-header h3 {
        font-size: 1.1rem;
    }
    
    .precio {
        font-size: 2rem;
    }
    
    .plan-content {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .socios {
        padding: 2.5rem 0;
    }
    
    .planes-socios-wrapper {
        padding: 0 0.5rem;
    }
    
    .plan-header {
        padding: 1rem;
    }
    
    .plan-header h3 {
        font-size: 1rem;
    }
    
    .precio {
        font-size: 1.8rem;
    }
    
    .periodo {
        font-size: 0.8rem;
    }
    
    .plan-content {
        padding: 1rem;
    }
    
    .plan-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .plan-content li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        padding-left: 1.5rem;
    }
    
    .btn-plan {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

/* Footer completamente claro */
.footer {
    background: var(--background-section);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    padding: 3px;
    background: white;
}

.footer-club-info span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    display: block;
}

.footer-club-info h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.redes-sociales {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.redes-sociales a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.redes-sociales a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contacto-info-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contacto-info-footer i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #6c757d;
}

.footer-contact-item i {
    width: 20px;
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-contact-item span {
    font-size: 0.9rem;
}

/* Botón flotante de audio */
.audio-player-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.audio-player-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, var(--primary-color));
}

.audio-player-float:active {
    transform: translateY(-1px);
}

.audio-player-float i {
    transition: all 0.2s ease;
}

.audio-player-float.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6), 0 0 0 10px rgba(59, 130, 246, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
}

/* Animaciones optimizadas */

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-8px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        animation-timing-function: ease-in-out;
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
        animation-timing-function: ease-out;
    }
    75% {
        transform: translateY(-12px) rotate(-0.5deg);
        animation-timing-function: ease-in;
    }
}

/* ===== ESTILOS DE GALERÍA ===== */

/* Hero de la galería */
.gallery-hero {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    z-index: 1;
}

.gallery-hero .container {
    position: relative;
    z-index: 2;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs span {
    color: var(--text-light);
}

/* Introducción de la galería */
.gallery-intro {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.gallery-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Filtros de la galería */
.gallery-filters {
    padding: 3rem 0;
    background: var(--background-section);
    text-align: center;
}

.gallery-filters h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Grid principal de la galería */
.gallery-main {
    padding: 4rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Items de la galería */
.gallery-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s var(--ease-out-expo);
}

.gallery-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.gallery-card {
    background: var(--white);
    border-radius: 15px;
    overflow: visible;
    box-shadow: var(--shadow-light);
    position: relative;
    min-height: 350px;
    height: auto;
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Información de la galería */
.gallery-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%);
    padding: 1.5rem;
    border-top: 4px solid var(--primary-color);
    width: 100%;
    text-align: left;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.gallery-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    opacity: 0.8;
}

.gallery-category {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 120px;
    text-align: center;
}

/* .gallery-category:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
} */

.gallery-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-info h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.gallery-btn {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* .gallery-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
} */

/* Botón cargar más */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-back);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-medium);
}

.load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.load-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Modal de imagen */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: all 0.3s var(--ease-out-back);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-heavy);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--white);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Responsive para galería */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        justify-content: center;
    }
    
    .gallery-card {
        height: auto;
        min-height: auto;
    }
    
    .gallery-info {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .gallery-category {
        align-self: flex-start;
        min-width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-info h4 {
        font-size: 1.1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Salón Patrimonial */
.salon-patrimonial {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.salon-patrimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(220, 38, 38, 0.05) 100%);
    z-index: 1;
}

.salon-patrimonial .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.salon-patrimonial h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.salon-patrimonial .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Clase para eliminar border-right del h2 */
.no-border-right {
    border-right: none !important;
}

/* Galería Visual del Patrimonio */
.patrimonio-showcase {
    margin-top: 4rem;
    text-align: center;
}

.patrimonio-showcase h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.patrimonio-showcase h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.patrimonio-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.patrimonio-visual-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.patrimonio-visual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.patrimonio-visual-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.patrimonio-visual-item:hover::before {
    transform: scaleX(1);
}

.patrimonio-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.patrimonio-visual-item:hover .patrimonio-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.patrimonio-visual-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.patrimonio-visual-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.patrimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

.patrimonial-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s var(--ease-out-quart);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.patrimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.patrimonial-item .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.patrimonial-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.patrimonial-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.patrimonial-cta {
    text-align: center;
    margin-top: 3rem;
}

.patrimonial-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s var(--ease-out-back);
    box-shadow: var(--shadow-medium);
}

.patrimonial-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
}



/* ===== ANIMACIONES ADICIONALES OPTIMIZADAS ===== */

.slide-in-left {
    opacity: 0;
    transform: translate3d(-50px, 0, 0) scale3d(0.98, 0.98, 1);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translate3d(50px, 0, 0) scale3d(0.98, 0.98, 1);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.fade-in {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale3d(0.98, 0.98, 1);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.fade-in-delayed {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale3d(0.95, 0.95, 1);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
    will-change: opacity, transform;
}

.fade-in-delayed.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

.fade-in-stagger {
    opacity: 0;
    transform: translate3d(0, 50px, 0) scale3d(0.92, 0.92, 1);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-stagger.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}


/* Sección de Sponsors - Solo texto */
.sponsors-text-only {
    text-align: center;
    padding: 3rem 0;
    background: var(--background-light);
    border-radius: 15px;
    margin: 2rem 0;
}

.sponsors-text-only p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sección de Clientes/Sponsors - CARRUSEL CONTINUO MEJORADO */
.sponsors {
    padding: 5rem 0;
    background: var(--background-light);
}

.clients-section {
    padding: 5rem 0;
    background-color: var(--background-section);
    overflow: hidden;
    contain: layout style;
    transform: translateZ(0);
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.clients-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
}

.clients-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    padding: 30px 0;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.clients-marquee-content {
    display: flex !important;
    align-items: center;
    width: max-content !important;
    animation: marqueeMove 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimización para elementos críticos */
.hero {
    contain: layout style;
    transform: translateZ(0);
}

.navbar {
    contain: layout style;
    transform: translateZ(0);
}

/* Prevenir repaints innecesarios */
.client-logo,
.noticia-destacada,
.noticia-mini,
.plan {
    contain: layout style paint;
    transform: translateZ(0);
}

.client-logo {
    flex: 0 0 auto;
    margin: 0 25px;
    height: 90px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    will-change: transform, box-shadow, border-color;
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.2);
    border-color: var(--primary-color);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.client-logo img {
    max-width: 130px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.85);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    will-change: filter, transform;
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1) brightness(1.1);
    transform: scale(1.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animación del carrusel continuo mejorada */
@keyframes marqueeMove {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-8.333%);
    }
    50% {
        transform: translateX(-16.666%);
    }
    75% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Pausar animación en hover del contenedor */
.clients-marquee-wrapper:hover .clients-marquee-content {
    animation-play-state: paused;
}

/* Responsive para la sección de clientes */
@media (max-width: 768px) {
    .client-logo {
        margin: 0 20px;
        height: 75px;
        width: 130px;
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 45px;
    }
    
    /* Animación ralentizada para tablets - configurada en responsive.css */
}

@media (max-width: 480px) {
    .client-logo {
        margin: 0 15px;
        height: 65px;
        width: 110px;
    }
    
    .client-logo img {
        max-width: 85px;
        max-height: 35px;
    }
    
    /* Animación muy ralentizada para móviles - configurada en responsive.css */
}

/* ===== ESTILOS PARA EL BLOG DE HISTORIA ===== */

/* Hero Section Historia */
.hero-historia {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-historia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/7.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navegación del Blog - Rediseñada */
.blog-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 120px;
    z-index: 100;
    border-radius: 0 0 20px 20px;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}

.blog-nav.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón para abrir el filtro */
.filter-toggle-btn {
    position: fixed;
    top: 120px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 1000;
    font-size: 1.3rem;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.filter-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.filter-toggle-btn.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
    transition: all 0.2s ease !important;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.filter-title {
    display: none; /* Ocultar título "Navegar por Secciones" */
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.filter-title i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-close {
    background: #ff4757;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.3);
}

/* Ocultar botón de cerrar en desktop */
@media (min-width: 769px) {
    .filter-close {
        display: none !important;
    }
}

.filter-close:hover {
    background: #ff3742;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.filter-content {
    padding: 0 1rem;
}

.blog-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales para los botones */
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .blog-nav-list {
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 1.5rem;
    }
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 1rem 1.2rem; /* Reducido de 1.5rem */
    border-radius: 12px; /* Reducido de 15px */
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 70px; /* Altura mínima uniforme */
    max-height: 70px; /* Altura máxima uniforme */
}

.filter-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.filter-item.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.filter-icon {
    flex-shrink: 0;
    width: 40px; /* Reducido de 50px */
    height: 40px; /* Reducido de 50px */
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    border-radius: 10px; /* Reducido de 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.filter-item:hover .filter-icon,
.filter-item.active .filter-icon {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.filter-icon i {
    font-size: 1.2rem; /* Reducido de 1.5rem */
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.filter-item:hover .filter-icon i,
.filter-item.active .filter-icon i {
    color: white;
}

.filter-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* Reducido de 0.3rem */
    flex: 1;
    min-width: 0; /* Para permitir text-overflow */
}

.filter-name {
    font-weight: 700;
    font-size: 1rem; /* Reducido de 1.1rem */
    line-height: 1.1; /* Reducido de 1.2 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-desc {
    font-size: 0.8rem; /* Reducido de 0.9rem */
    opacity: 0.8;
    line-height: 1.2; /* Reducido de 1.3 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-item:hover .filter-desc,
.filter-item.active .filter-desc {
    opacity: 0.9;
}

/* Ocultar botón móvil en pantallas de escritorio */
.mobile-filter-toggle {
    display: none;
}

/* Historia Timeline */
.historia-blog {
    padding: 6rem 0;
    margin-top: 120px; /* Espacio para el filtro fijo */
    background: var(--background-light);
}

.historia-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50px;
    height: 80px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 0 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.timeline-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    background: #f8f9fa;
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.highlight-box {
    background: var(--background-section);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.highlight-box h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.highlight-box li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Misión y Visión */
.mision-vision {
    padding: 6rem 0;
    background: var(--background-section);
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.mision-card, .vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.mision-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-medium);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mision-card h3, .vision-card h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mision-card p, .vision-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.mission-points ul {
    list-style: none;
    text-align: left;
}

.mission-points li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.mission-points i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.vision-goals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.goal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--background-section);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.goal-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.goal-item:hover i {
    color: var(--white);
}

.goal-item span {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Valores */
.valores {
    padding: 6rem 0;
    background: var(--background-light);
}

.valores-intro {
    text-align: center;
    margin: 3rem 0;
}

.identidad-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    text-align: center;
    margin-bottom: 2rem;
}

.identidad-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.identidad-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.identidad-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.identidad-card > p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.valores-text {
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.valor-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    pointer-events: none;
    user-select: none;
}

.valor-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-medium);
}

.valor-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.valor-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.valor-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Complejo Deportivo */
.complejo-deportivo {
    padding: 6rem 0;
    background: var(--background-section);
}

.complejo-actual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.complejo-info h3 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.complejo-info p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.complejo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.feature h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.complejo-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.historia-complejo {
    margin-top: 6rem;
}

.historia-complejo h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.complejo-timeline {
    display: grid;
    gap: 2rem;
}

.complejo-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.complejo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.complejo-item .decada {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.complejo-item .content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.complejo-item .content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Directiva Styles */
.directiva-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.directiva-content {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.directiva-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #ffd700;
    max-width: 800px;
    width: 100%;
}

.directiva-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ffd700;
}

.directiva-header i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.directiva-header h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.periodo {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.directiva-members {
    display: grid;
    gap: 20px;
}

.member {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.member:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.member-icon i {
    font-size: 1.5rem;
    color: #2c3e50;
}

.member-info h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-info p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.directiva-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #ffd700;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .blog-nav-list {
        gap: 1.5rem;
    }
    
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .complejo-actual {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Mejoras específicas para el filtro en móviles */
    .blog-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 99999 !important;
        padding: 2rem 1rem !important;
        border-radius: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: none !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease-out !important;
    }
    
    .blog-nav.show {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        transform: translateX(0) !important;
    }
    
    /* Botón toggle mejorado para móvil */
    .filter-toggle-btn {
        position: fixed !important;
        top: 120px !important;
        right: 15px !important;
        transform: none !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
        z-index: 99998 !important;
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4) !important;
        -webkit-tap-highlight-color: transparent !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        touch-action: manipulation !important;
    }
    
    .filter-toggle-btn:hover {
        transform: scale(1.05) !important;
    }
    
    /* Header del filtro en móvil */
    .filter-header {
        width: 100%;
        max-width: 400px;
        margin-bottom: 2rem;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .filter-title {
        font-size: 1.5rem;
        color: white !important;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .filter-title i {
        font-size: 1.6rem;
        color: var(--accent-color);
    }
    
    .filter-close {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .filter-close:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        transform: scale(1.1) !important;
    }
    
    /* Lista de navegación en móvil */
    .blog-nav-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 400px !important;
        list-style: none !important;
    }
    
    .filter-item {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 15px !important;
        padding: 1.5rem !important;
        color: white !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .filter-item:hover,
    .filter-item.active {
        background: var(--primary-color) !important;
        border-color: var(--accent-color) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    .filter-icon {
        width: 50px !important;
        height: 50px !important;
        background: var(--accent-color) !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .filter-icon i {
        font-size: 1.4rem !important;
        color: white !important;
    }
    
    .filter-text {
        flex: 1 !important;
    }
    
    .filter-name {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        color: white !important;
    }
    
    .filter-desc {
        font-size: 0.9rem !important;
        opacity: 0.8 !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Animación de entrada para móviles */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .blog-nav {
        animation: slideDown 0.4s ease;
    }
    
    .blog-nav-list a.active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    }
    
    .blog-nav-list a i {
        font-size: 1rem;
    }
    
    .historia-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        flex: none;
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .vision-goals {
        grid-template-columns: 1fr;
    }
    
    .complejo-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Ajustes adicionales para el blog-nav en pantallas muy pequeñas */
    .blog-nav {
        padding: 0.8rem 0;
    }
    
    .blog-nav-list {
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    
    .blog-nav-list a {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        width: 95%;
        min-height: 44px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .mision-card, .vision-card {
        padding: 2rem;
    }
    
    .valor-card {
        padding: 2rem 1.5rem;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .complejo-item {
        padding: 1.5rem;
    }
}

/* ===== ESTILOS PARA PLANTELES.HTML ===== */

/* Sección principal de planteles */
.planteles-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.planteles-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.planteles-section .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.planteles-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Navegación entre planteles */
.planteles-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.plantel-tab {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.plantel-tab:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plantel-tab.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.plantel-tab i {
    font-size: 1.2rem;
}

/* Contenido de planteles */
.plantel-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    overflow: hidden;
}

.plantel-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.plantel-header {
    text-align: center;
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plantel-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.plantel-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para galerías de imágenes de planteles */
.plantel-gallery {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.plantel-gallery h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-align: center;
    justify-content: center;
}

.plantel-gallery h4 i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.gallery-grid {
    display: grid;
    gap: 25px;
    margin-top: 25px;
}

.gallery-grid.gallery-adulto {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-grid.gallery-infantil {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-grid.gallery-dorado {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    cursor: pointer;
}

/* .gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
} */

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    filter: contrast(1.1) saturate(1.1);
}

/* .gallery-item:hover img {
    transform: scale(1.15);
    filter: contrast(1.2) saturate(1.2) brightness(1.05);
} */

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 30px 25px 25px;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: var(--accent-color);
    text-align: center;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Indicador de carga para imágenes */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    z-index: 2;
}

.gallery-item img:not([complete]) ~ .gallery-item::after {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Grid de información */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.plantel-info {
    text-align: center;
    margin-bottom: 50px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Cuerpo técnico */
.cuerpo-tecnico {
    margin-bottom: 50px;
}

.cuerpo-tecnico h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.tecnico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tecnico-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tecnico-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tecnico-icon {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tecnico-info h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tecnico-info p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Categorías infantiles */
.categorias-infantiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.categoria-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.categoria-icon {
    background: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.categoria-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.categoria-card p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.categoria-card .edad {
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Filosofía de formación */
.formacion-info {
    text-align: center;
    margin-bottom: 50px;
}

.formacion-info h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.filosofia-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.filosofia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.filosofia-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.filosofia-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.filosofia-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Plantel Super Dorado */
.dorado-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 150px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Características del plantel dorado */
.dorado-caracteristicas {
    text-align: center;
    margin-bottom: 50px;
}

.dorado-caracteristicas h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.caracteristica-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.caracteristica-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.caracteristica-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.caracteristica-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Actividades del plantel dorado */
.actividades-dorado h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.actividades-dorado {
    text-align: center;
    margin-bottom: 50px;
}

.actividades-list {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.actividades-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    color: var(--text-color);
}

.actividades-list li:last-child {
    border-bottom: none;
}

.actividades-list li i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
}

/* Sección de contacto para planteles */
.planteles-contacto {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contacto-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contacto-header p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contacto-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-contacto,
.btn-telefono {
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-contacto:hover,
.btn-telefono:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Fin de estilos para planteles.html */

/* Estilos para carga dinámica de noticias */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--background-light);
    border-radius: 15px;
    border: 2px dashed var(--border-light);
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-placeholder p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Estilos para el modal de noticias */
.news-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.news-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-content {
    background: white;
    margin: 20px;
    padding: 0;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.news-modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.news-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.news-modal-body {
    padding: 40px;
}

.news-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.news-modal-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.news-modal-date i {
    color: var(--primary-color);
}

.news-modal-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    text-align: justify;
}

.news-modal-content-text p {
    margin-bottom: 20px;
}

/* Estados de error */
.news-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.news-error i {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 15px;
}

.news-error h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-error p {
    font-size: 1rem;
    margin: 0;
}

/* Responsive para modal */
@media (max-width: 768px) {
    .news-modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 95vh;
    }
    
    .news-modal-header {
        height: 200px;
    }
    
    .news-modal-body {
        padding: 20px;
    }
    
    .news-modal-title {
        font-size: 1.5rem;
    }
    
    .news-modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-modal-content-text {
        font-size: 1rem;
    }
}

/* Animaciones adicionales para noticias */
.noticia-destacada.loaded,
.noticias-lista.loaded {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras en los botones de noticias */
.noticia-destacada .noticia-content,
.noticia-mini {
    cursor: pointer;
    transition: all 0.3s ease;
}

.noticia-destacada:hover .noticia-content,
.noticia-mini:hover {
    transform: translateY(-2px);
}

.noticia-destacada:hover .noticia-imagen img,
.noticia-mini:hover .noticia-mini-imagen img {
    transform: scale(1.05);
}

/* Fin de estilos para carga dinámica de noticias */

/* ========================================
   MEJORAS DE RESPONSIVIDAD PARA MENÚ MÓVIL
   ======================================== */

/* Tablets y dispositivos medianos */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-nav {
        max-height: calc(100vh - 65px);
    }
    
    .mobile-nav a {
        padding: 16px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .mobile-nav .dropdown-menu a {
        padding: 16px 20px;
        min-height: 46px;
    }
}

/* Móviles grandes */
@media (min-width: 480px) and (max-width: 767px) {
    .mobile-nav {
        max-height: calc(100vh - 70px);
    }
    
    .mobile-nav a {
        padding: 18px 25px;
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    .mobile-nav .dropdown-menu {
        padding-left: 20px;
        border-left-width: 4px;
    }
    
    .mobile-nav .dropdown-menu a {
        padding: 18px 20px;
        min-height: 50px;
        font-size: 1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 479px) {
    .mobile-nav {
        max-height: calc(100vh - 65px);
        font-size: 15px;
    }
    
    .mobile-nav a {
        padding: 20px 18px;
        font-size: 1.1rem;
        min-height: 54px;
    }
    
    .mobile-nav .dropdown-menu {
        padding-left: 15px;
        border-left-width: 3px;
        margin-top: 3px;
    }
    
    .mobile-nav .dropdown-menu a {
        padding: 18px 15px;
        min-height: 52px;
        font-size: 1rem;
    }
    
    .dropdown-toggle-mobile i {
        font-size: 0.9em;
    }
}

/* Dispositivos muy pequeños */
@media (max-width: 360px) {
    .mobile-nav a {
        padding: 18px 15px;
        font-size: 1rem;
    }
    
    .mobile-nav .dropdown-menu a {
        padding: 16px 12px;
        font-size: 0.95rem;
    }
}

/* Mejoras para orientación horizontal en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .mobile-nav {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .mobile-nav a {
        padding: 14px 20px;
        min-height: 44px;
    }
    
    .mobile-nav .dropdown-menu a {
        padding: 12px 18px;
        min-height: 40px;
    }
}

/* Estilos responsivos para página de noticias */
@media (max-width: 768px) {
    .hero-noticias h1 {
        font-size: 2.5rem;
    }

    .hero-noticias p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .noticia-card-content {
        padding: 1.2rem;
    }

    .noticia-card-content h3 {
        font-size: 1.1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Estilos específicos para tarjetas expandidas en móvil */
    .noticia-card-expanded {
        overflow: visible;
        margin-bottom: 2rem;
    }

    .noticia-card-expanded .noticia-card-content {
        padding: 1.5rem;
        min-height: auto;
    }

    .noticia-card-expanded .noticia-card-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .noticia-card-expanded .noticia-card-imagen {
        height: 200px;
    }

    .noticia-card-full-content {
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .noticia-card-full-content p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .noticias-actions {
        margin-top: 2rem;
    }

    .btn-ver-noticias {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-noticias h1 {
        font-size: 2rem;
    }

    .hero-noticias p {
        font-size: 1rem;
    }

    .noticias-filters h3 {
        font-size: 1.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .noticia-card-imagen {
        height: 150px;
    }

    .noticia-card-content {
        padding: 1rem;
    }

    .noticia-card-content h3 {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .noticia-card-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Estilos específicos para tarjetas expandidas en móviles pequeños */
    .noticia-card-expanded .noticia-card-content {
        padding: 1.2rem;
    }

    .noticia-card-expanded .noticia-card-content h3 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .noticia-card-expanded .noticia-card-imagen {
        height: 180px;
    }

    .noticia-card-full-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .noticia-card-full-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .btn-leer-mas-card {
        font-size: 0.8rem;
    }

    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-ver-noticias {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Media query para mostrar el menú móvil */
@media (max-width: 1023px) {
    .menu-toggle {
        display: flex !important;
    }
    
    .nav {
        display: none !important;
    }
}

/* Asegurar que el menú hamburguesa sea visible en móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ===== ESTILOS RESPONSIVOS PARA CONTACTO PROFESIONAL ===== */
@media (max-width: 768px) {
    .contacto-profesional {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .contacto-profesional .section-header {
        text-align: center;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .contacto-profesional .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contacto-profesional .section-header p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .contacto-profesional-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contacto-info-profesional {
        gap: 1.5rem;
        order: 2;
    }
    
    .info-item {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .info-content h4 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .contacto-form-profesional {
        padding: 1.5rem;
        order: 1;
    }
    
    .form-profesional .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-profesional .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-profesional input,
    .form-profesional select,
    .form-profesional textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .phone-prefix {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .phone-input-container input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-consulta {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contacto-profesional {
        padding: 1.5rem 0;
    }
    
    .contacto-profesional .section-header h2 {
        font-size: 1.5rem;
    }
    
    .contacto-profesional-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .contacto-form-profesional {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .info-item {
        padding: 1rem;
        gap: 0.6rem;
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .info-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .info-content p {
        font-size: 0.85rem;
    }
    
    .form-profesional input,
    .form-profesional select,
    .form-profesional textarea {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .phone-prefix {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .phone-input-container input {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .btn-consulta {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ===== ESTILOS RESPONSIVOS PARA SECCIÓN DE NOTICIAS ===== */
@media (max-width: 768px) {
    .noticias {
        padding: 3rem 0;
    }
    
    .noticias-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .noticia-destacada {
        margin-bottom: 1rem;
    }
    
    .noticia-imagen {
        height: 200px;
    }
    
    .noticia-content {
        padding: 1.5rem;
    }
    
    .noticia-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .noticia-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .noticia-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    
    .noticia-categoria {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .noticias-lista {
        gap: 1.5rem;
    }
    
    .noticia-mini {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .noticia-mini-imagen {
        width: 100%;
        height: 120px;
        border-radius: 10px;
    }
    
    .noticia-mini-content h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .noticia-mini-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.8rem;
    }
    
    .noticia-mini-meta .categoria {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .noticias {
        padding: 2rem 0;
    }
    
    .noticias-container {
        gap: 1.5rem;
    }
    
    .noticia-imagen {
        height: 180px;
    }
    
    .noticia-content {
        padding: 1rem;
    }
    
    .noticia-content h3 {
        font-size: 1.1rem;
    }
    
    .noticia-content p {
        font-size: 0.85rem;
    }
    
    .noticia-meta {
        font-size: 0.75rem;
    }
    
    .noticia-categoria {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
    
    .noticia-mini {
        padding: 1rem;
    }
    
    .noticia-mini-imagen {
        height: 100px;
    }
    
    .noticia-mini-content h4 {
        font-size: 0.9rem;
    }
    
    .noticia-mini-meta {
        font-size: 0.75rem;
    }
    
    .noticia-mini-meta .categoria {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Estilos para modal horizontal de noticias */
.news-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

/* Animaciones para el modal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header específico para modal horizontal */
.news-modal-horizontal .news-modal-header {
    position: relative;
    background: var(--gradient-primary);
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 60px;
}

.news-modal-horizontal .news-modal-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.news-modal-horizontal .news-modal-close {
    position: static;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-modal-horizontal .news-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.news-modal-horizontal .news-modal-meta {
    background: var(--light-gray);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
}

.news-modal-horizontal .news-modal-meta .categoria {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-modal-horizontal .news-modal-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-modal-horizontal .news-modal-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-modal-horizontal {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    animation: slideUp 0.3s ease;
    position: relative;
}

.news-modal-content-horizontal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.news-modal-image-container {
    flex: 0 0 40%;
    min-height: 300px;
    overflow: hidden;
}

.news-modal-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-modal-image-horizontal:hover {
    transform: scale(1.05);
}

.news-modal-text-container {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.news-modal-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-dark);
    text-align: justify;
}

.news-modal-text p {
    margin-bottom: 20px;
}

.news-modal-text p:first-child::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0 8px 0 0;
    color: var(--primary-color);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .news-modal-horizontal {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .news-modal-body {
        flex-direction: column;
    }
    
    .news-modal-image-container {
        flex: 0 0 200px;
        min-height: 200px;
    }
    
    .news-modal-text-container {
        padding: 20px;
    }
    
    .news-modal-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .news-modal-text p:first-child::first-letter {
        font-size: 2.5rem;
        margin: 0 6px 0 0;
    }
}

@media (max-width: 480px) {
    .news-modal-horizontal {
        width: 98%;
        margin: 10px;
        border-radius: 15px;
    }
    
    .news-modal-image-container {
        flex: 0 0 150px;
        min-height: 150px;
    }
    
    .news-modal-text-container {
        padding: 15px;
    }
    
    .news-modal-text {
        font-size: 0.95rem;
    }
    
    .news-modal-text p:first-child::first-letter {
        font-size: 2rem;
    }
}

/* Responsive Styles for Directiva */
@media (max-width: 768px) {
    .directiva-section {
        padding: 60px 0;
    }
    
    .directiva-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .directiva-header h3 {
        font-size: 1.8rem;
    }
    
    .directiva-header i {
        font-size: 2.5rem;
    }
    
    .member {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .member-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .member-info h4 {
        font-size: 1.2rem;
    }
    
    .member-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .directiva-section {
        padding: 40px 0;
    }
    
    .directiva-card {
        padding: 20px 15px;
        margin: 0 10px;
        border-radius: 10px;
    }
    
    .directiva-header {
        margin-bottom: 30px;
    }
    
    .directiva-header h3 {
        font-size: 1.5rem;
    }
    
    .directiva-header i {
        font-size: 2rem;
    }
    
    .periodo {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .member {
        padding: 12px;
    }
    
    .member-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .member-icon i {
        font-size: 1.2rem;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
    }
    
    .member-info p {
        font-size: 0.95rem;
    }
}

/* Responsive Styles for Logo Alignment */
@media (max-width: 1200px) {
    .logo {
        margin-left: 20px;
    }
}

@media (max-width: 992px) {
    .logo {
        margin-left: 15px;
    }
    
    .logo-img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .logo {
        margin-left: 10px;
        gap: 10px;
    }
    
    .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .club-info h1 {
        font-size: 1.4rem;
    }
    
    .club-info span {
        font-size: 0.8rem;
    }
    
    .header {
        padding: 0.8rem 0;
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        margin-left: 5px;
        gap: 8px;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .club-info h1 {
        font-size: 1.2rem;
    }
    
    .club-info span {
        font-size: 0.7rem;
    }
    
    .header {
        padding: 0.6rem 0;
        min-height: 60px;
    }
    
    .header .container {
        padding: 0.3rem 15px;
    }
}

@media (max-width: 320px) {
    .logo {
        margin-left: 2px;
        gap: 5px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .club-info h1 {
        font-size: 1rem;
    }
    
    .club-info span {
        font-size: 0.6rem;
    }
}

/* Modal de imagen para noticias */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.image-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.image-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: zoomIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}

/* Información del modal de imagen para galería */
.image-modal-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 20px;
}

.image-modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.image-modal-info p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

/* Responsive para modal de imagen */
@media (max-width: 768px) {
    .image-modal {
        max-width: 95vw;
        max-height: 85vh;
        margin: auto;
    }
    
    .image-modal-close {
        top: -40px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .image-modal-info {
        position: relative;
        bottom: auto;
        margin-top: 15px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
    }
    
    .image-modal-info h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .image-modal-info p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .image-modal-overlay {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}