:root {
            --primary: #1a365d;
            --secondary: #0d9488;
            --accent: #f59e0b;
            --light: #f8fafc;
            --dark: #0f172a;
            --gray: #64748b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }

        /* Header & Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            z-index: 1000;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-container img {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 50%;
        }

        .logo-container span {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: var(--secondary);
        }

        /* Hero Section */
        .hero {
            height: 50vh;
            background: linear-gradient(rgba(15, 23, 42, 0.7),
             rgba(15, 23, 42, 0.7)), 
            url('IMAGENINDEX/empresafondo.jpg') center/cover no-repeat;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 1rem;
            margin-top: 80px;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: var(--accent);
            font-weight: 600;
        }

        .btn {
            display: inline-block;
            background: var(--secondary);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s, transform 0.2s;
        }

        .btn:hover {
            background: #0f766e;
            transform: translateY(-2px);
        }

        /* Sections General */
        section {
            padding: 5rem 10% 3rem 10%;
        }

        /* Layout de dos columnas para la sección Nosotros / Talento Humano y Novedades */
        .nosotros-layout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            align-items: start;
            margin-top: 2rem;
            margin-bottom: 3rem;
        }

        .column-left, .column-right {
            display: flex;
            flex-direction: column;
        }

        /* Estilo unificado para los títulos de sección (Izquierda y Derecha al mismo nivel, tamaño y color) */
        .section-title-left, .section-title-right {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 2rem;
            position: relative;
            font-weight: 700;
        }

        .section-title-left::after, .section-title-right::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

        .team-column {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .card-profile {
            background: rgb(229, 225, 250);
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s;
        }

        .card-profile:hover {
            transform: translateY(-5px);
        }

        .card-profile img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 0.5rem;
            border: 4px solid var(--secondary);
        }

        .card-profile h3 {
            color: var(--primary);
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .card-profile .role {
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .card-profile p {
            color: var(--gray);
            font-size: 0.85rem;
        }

        /* Novedades Column */
        .novedades-box-container {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            border-top: 5px solid var(--primary);
        }

        /* 1. Card Papelería Colorido */
        .card-papeleria {
            background: linear-gradient(135deg, #ff7e5f, #feb47b, #ff0844);
            background-size: 200% 200%;
            animation: gradientAnim 6s ease infinite;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            color: white;
            text-decoration: none;
            box-shadow: 0 6px 15px rgba(255, 8, 68, 0.3);
            transition: transform 0.3s;
        }

        .card-papeleria:hover {
            transform: scale(1.02);
        }

        .card-papeleria h4 {
            font-size: 1.8rem;
            font-weight: 800;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            margin-bottom: 0.3rem;
            animation: textBounce 1.5s ease-in-out infinite alternate;
        }

        @keyframes gradientAnim {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes textBounce {
            0% { transform: translateY(0); }
            100% { transform: translateY(-3px); }
        }

        /* 2. Ofertas VIP Card con Imagen Novedosa */
        .card-vip {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-decoration: none;
            display: block;
            min-height: 160px;
            transition: transform 0.3s;
        }

        .card-vip:hover {
            transform: scale(1.02);
        }

        .card-vip img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            display: block;
        }

        .card-vip-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom,
             rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.85));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 1rem;
            color: white;
        }

        .card-vip-overlay h4 {
            color: var(--accent);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }

        .card-vip-overlay p {
            font-size: 0.85rem;
            color: #f1f5f9;
        }

        /* 3. Acceso / Login Profesional (Corregido: más formal y corporativo) */
        .card-auth-pro {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
        }

        .auth-pro-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 0.8rem;
        }

        .auth-pro-header i {
            font-size: 1.4rem;
            color: var(--primary);
        }

        .auth-pro-header h4 {
            color: var(--primary);
            font-size: 1.05rem;
            font-weight: 600;
        }

        .auth-pro-body {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .auth-btn-primary {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--primary);
            color: white;
            padding: 0.7rem 1rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: background 0.2s;
        }

        .auth-btn-primary:hover {
            background: #0f172a;
        }

        .auth-btn-secondary {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: white;
            color: var(--secondary);
            border: 1px solid var(--secondary);
            padding: 0.7rem 1rem;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .auth-btn-secondary:hover {
            background: var(--secondary);
            color: white;
        }

        .auth-pro-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.8rem;
            font-size: 0.8rem;
            padding-top: 0.5rem;
        }

        .auth-pro-footer a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.2s;
        }

        .auth-pro-footer a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }
        
        /* Misión, Visión y Filosofía - Ancho completo en 3 columnas */
        .mision-vision {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
            width: 100%;
        }

        .mv-box {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            border-left: 5px solid var(--secondary);
        }

        .mv-box h3 {
            color: var(--primary);
            margin-bottom: 1rem;
        }

        /* Servicios / Aliados / Unidades */
        .servicios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .service-card-header {
            background: var(--primary);
            color: white;
            padding: 1.5rem;
            text-align: center;
        }

        .service-card-body {
            padding: 1.5rem;
            color: var(--gray);
        }

        .service-card-body ul {
            list-style: disc;
            margin-left: 1.2rem;
            margin-top: 0.5rem;
        }

        /* Galería de Conferencias y Catálogos Integrada */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .gallery-item {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item img {
            width: 100%;
            height: 450px;
            object-fit: cover;
        }

        .gallery-item p {
            padding: 1rem;
            font-weight: 500;
            color: var(--primary);
            font-size: 0.95rem;
        }

        /* Clubes Deportivos */
        .clubs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .club-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            border-top: 4px solid var(--accent);
        }

        .club-card img {
            width: 150px; 
            height: 150px;
            object-fit: contain;
            margin-bottom: 1rem;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .club-card h3 {
            color: var(--primary);
            margin-bottom: 0.9rem;
        }

        /* Contacto */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            background: white;
            padding: 2rem;
            border-radius: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .contact-info p {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 20px;
            color: var(--gray);
        }

        .contact-info i {
            color: var(--secondary);
            font-size: 2.2rem;
        }

        .map-frame {
            width: 100%;
            height: 300px;
            border: 0;
            border-radius: 10px;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            text-align: center;
            padding: 2.5rem 2rem;
            margin-top: 4rem;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 1.2rem;
        }

        .social-icons a img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            transition: transform 0.2s;
        }

        .social-icons a img:hover {
            transform: scale(1.15);
        }


        /* Responsivo para celulares y tablets */
        @media(max-width: 900px) {
            .nosotros-layout-grid {
                grid-template-columns: 1fr;
            }
            .mision-vision {
                grid-template-columns: 1fr; /* En pantallas medianas/pequeñas pasan a 1 columna vertical para legibilidad */
            }
        }

        @media(max-width: 768px) {
            nav ul {
                display: none;
            }
            .hero h1 {
                font-size: 2rem;
            }
        }

         /* Estilos básicos para el sistema de login */
        .portal-modal-overlay { 
            display: none; 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0,0,0,0.7); 
            z-index: 9999; 
            justify-content: center; 
            align-items: center; 
        }
        
        .portal-modal-box { 
            background: white; 
            padding: 25px; 
            border-radius: 12px; 
            width: 320px; 
            color: #333; 
            box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
        }
        .portal-input { 
            width: 100%; 
            padding: 10px; 
            margin: 8px 0; 
            border: 1px solid #ccc; 
            border-radius: 5px; 
            box-sizing: border-box; 
        }
        .portal-btn { 
            width: 100%; 
            padding: 10px; 
            background: #0d9488; 
            color: white; 
            border: none; 
            border-radius: 5px; 
            cursor: pointer; 
            margin-top: 10px; 
        }   
