﻿        
        body {
            font-family: 'Inter', sans-serif;
            scroll-behavior: smooth;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #009aa3 0%, #01c0c8 50%, #17c4d0 100%);
        }
        
        .card-hover {
            transition: all 0.3s ease;
        }
        
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Estadísticas Mejoradas */
        .stat-card {
            position: relative;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .stat-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.15) !important;
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, 
                rgba(255,255,255,0.05) 0%,
                rgba(255,255,255,0.02) 50%,
                rgba(255,255,255,0.05) 100%);
            border-radius: 16px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .stat-card:hover::after {
            opacity: 1;
        }

        /* Animación más sutil para las tarjetas */
        @keyframes gentle-float {
            0%, 100% { 
                transform: translateY(0px);
            }
            50% { 
                transform: translateY(-4px);
            }
        }

        .stat-card:nth-child(1) { 
            animation: gentle-float 4s ease-in-out infinite;
            animation-delay: 0s; 
        }
        .stat-card:nth-child(2) { 
            animation: gentle-float 4s ease-in-out infinite;
            animation-delay: 1s; 
        }
        .stat-card:nth-child(3) { 
            animation: gentle-float 4s ease-in-out infinite;
            animation-delay: 2s; 
        }
        .stat-card:nth-child(4) { 
            animation: gentle-float 4s ease-in-out infinite;
            animation-delay: 3s; 
        }

        .stat-card:hover {
            animation-play-state: paused;
        }

        /* Animación de aparición escalonada */
        .stat-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards, gentle-float 4s ease-in-out infinite;
        }

        .stat-card:nth-child(1) { animation-delay: 0.1s, 0s; }
        .stat-card:nth-child(2) { animation-delay: 0.2s, 1s; }
        .stat-card:nth-child(3) { animation-delay: 0.3s, 2s; }
        .stat-card:nth-child(4) { animation-delay: 0.4s, 3s; }
        
        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .nav-link {
            position: relative;
            transition: color 0.3s ease;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #01c0c8; /* teal-500 */
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        
        /* Page Navigation System */
        .page {
            display: none;
        }
        
        .page.active {
            display: block;
        }
        
        .page-transition {
            animation: pageSlideIn 0.5s ease-in-out;
        }
        
        @keyframes pageSlideIn {
            from {
                opacity: 0;
                transform: translateX(15px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        /* Tab System */
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        .tab-button.active {
            border-color: #01c0c8;
            color: #01c0c8;
            background-color: #e6fbfc;
        }

        /* Sub-tab system */
        .sub-tab-content {
             display: none;
        }
        .sub-tab-content.active {
            display: block;
        }
        .sub-tab-button.active {
            background-color: #01c0c8;
            color: white;
        }

        /* Career Page Tab System */
        .career-tab-content {
            display: none;
        }
        .career-tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        .career-tab-button {
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        .career-tab-button:hover {
            opacity: 1;
            background-color: #009aa3;
        }
        .career-tab-button.active {
            opacity: 1;
            background-color: #01707a;
            box-shadow: inset 4px 0 0 #e6fbfc;
        }

        /* Accordion */
        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        .accordion-button svg {
            transition: transform 0.3s ease;
        }


        /* Chatbot Styles */
        #chat-bubble {
            transition: transform 0.3s ease;
        }
        #chat-bubble:hover {
            transform: scale(1.1);
        }
        #chat-window {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .chat-message {
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .typing-indicator span {
            animation: bounce 1.4s infinite ease-in-out both;
        }
        .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
        .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
        @keyframes bounce {
            0%, 80%, 100% { transform: scale(0); }
            40% { transform: scale(1.0); }
        }
        .investigacion-sub-tab-content {
            display: none;
        }
        .investigacion-sub-tab-content.active {
            display: block;
        }
        .investigacion-sub-tab-button {
            border-bottom: 2px solid transparent;
            transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
        }
        .investigacion-sub-tab-button.active {
            border-color: #01c0c8;
            color: #01c0c8;
            background-color: #e6fbfc;
        }


:root {
    --color-primary: #01c0c8;
    --color-primary-dark: #009aa3;
    --color-primary-darker: #01707a;
    --color-primary-light: #e6fbfc;
    --color-primary-pale: #f2feff;
}

.bg-teal-900,
.bg-teal-800,
.bg-teal-700,
.bg-teal-600,
.bg-teal-500 {
    background-color: var(--color-primary) !important;
}

.hover\:bg-teal-700:hover,
.hover\:bg-teal-600:hover,
.hover\:bg-teal-500:hover,
.focus\:ring-teal-500:focus,
.focus\:border-teal-500:focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    box-shadow: 0 0 0 3px rgba(1, 192, 200, 0.2) !important;
}

.text-teal-600,
.text-teal-500,
.text-teal-300,
.text-teal-200 {
    color: var(--color-primary) !important;
}

.hover\:text-teal-600:hover,
.hover\:text-teal-500:hover {
    color: var(--color-primary-dark) !important;
}

.bg-teal-50,
.hover\:bg-teal-50:hover,
.focus\:bg-teal-50:focus {
    background-color: var(--color-primary-light) !important;
}

.border-teal-100,
.border-teal-200 {
    border-color: var(--color-primary-light) !important;
}

.text-teal-700 {
    color: var(--color-primary-dark) !important;
}

.career-tab-button.active {
    background-color: var(--color-primary-dark);
    box-shadow: inset 4px 0 0 var(--color-primary-light);
}

.career-tab-button:hover,
.career-tab-button.active:hover {
    background-color: var(--color-primary) !important;
}

.tab-button.active,
.sub-tab-button.active,
.investigacion-sub-tab-button.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    background-color: var(--color-primary);
}

#chat-bubble,
#chat-window .bg-teal-600 {
    background-color: var(--color-primary) !important;
}

#chat-window .hover\:text-teal-200:hover {
    color: var(--color-primary-light) !important;
}

.focus\:ring-teal-500:focus {
    box-shadow: 0 0 0 3px rgba(1, 192, 200, 0.35) !important;
}
/* Stats section refresh - MÁXIMA PRIORIDAD PARA AWARDSPACE */
.stats-section {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, rgba(1, 112, 122, 0.95), rgba(1, 192, 200, 0.85)),
                url('https://www.ianexus.net/Lezaeta/imagenes/EDIFICIO.png') center/cover no-repeat !important;
    color: #fff !important;
}

.stats-section,
.stats-section h1,
.stats-section h2,
.stats-section h3,
.stats-section h4,
.stats-section h5,
.stats-section h6,
.stats-section p,
.stats-section span,
.stats-section div,
.stats-section article,
.stats-section .stat-label,
.stats-section .stat-copy,
.stats-section .stat-value,
.stats-section .stat-marker,
.stats-section .section-kicker,
.stats-section .intro-heading h2,
.stats-section .intro-heading p,
.stats-section .text-teal-100,
.stats-section .text-teal-200,
.stats-section .text-teal-300 {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

.stats-section .stat-marker {
    color: #e0e0e0 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}
/* Page intro sections */
.page-intro {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: linear-gradient(180deg, rgba(1, 192, 200, 0.12) 0%, rgba(255, 255, 255, 0.92) 70%, #ffffff 100%);
    overflow: hidden;
}

.page-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(1, 192, 200, 0.18) 0%, transparent 55%),
                radial-gradient(circle at 85% 0%, rgba(1, 112, 122, 0.14) 0%, transparent 50%);
}

.page-intro > * {
    position: relative;
    z-index: 1;
}

.intro-heading {
    margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.page-intro .intro-heading h1,
.page-intro .intro-heading h2 {
    color: #023842;
}

.page-intro .intro-heading p {
    color: rgba(8, 54, 59, 0.8);
}

@media (max-width: 768px) {
    .page-intro {
        padding: 3rem 0;
    }
    .intro-heading {
        margin-bottom: 2.2rem;
    }
}

/* Footer readability tweaks */
footer.bg-teal-900 {
    color: rgba(255, 255, 255, 0.9);
}

footer.bg-teal-900 h4 {
    color: #ffffff;
}

footer.bg-teal-900 .text-teal-200,
footer.bg-teal-900 p,
footer.bg-teal-900 li,
footer.bg-teal-900 button {
    color: rgba(255, 255, 255, 0.82) !important;
}

footer.bg-teal-900 button {
    background: transparent;
    border: none;
    padding: 0;
    font-weight: 500;
}

footer.bg-teal-900 button:hover {
    color: #ffffff !important;
}

footer.bg-teal-900 .border-teal-800 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}
