/* Importar HarmonyOS Sans desde CDN alternativa */
@import url('https://fonts.cdnfonts.com/css/harmonyos-sans');

:root {
  /* Prioridad: HarmonyOS Sans > Inter > System fonts */
  --font-sans: "HarmonyOS Sans", "Huawei Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Pesos de fuente estilo Huawei */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

/* Aplicar fuente global */
html, body {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Todos los elementos de formulario */
input, textarea, select, button {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
}

/* Títulos con el estilo característico de Huawei */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--font-bold);
  letter-spacing: -0.02em; /* Ligero espaciado negativo como Huawei */
}

/* Peso específico para cada nivel */
h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3, h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

h5, h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Párrafos y texto normal */
p, span, div {
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  letter-spacing: -0.005em;
}

/* Enlaces con peso medium como Huawei */
a {
  font-family: var(--font-sans);
  font-weight: var(--font-medium);
}

/* Botones con peso semibold */
button, .btn {
  font-family: var(--font-sans);
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
}

/* Header blanco siempre */
#mainHeader {

  color: black !important;
}


/* Menú principal */
.menu-link {
  color: black;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #f97316; /* Tailwind orange-500 */
}

/* Menú móvil */
#mobileMenu a {
  color: black;
  transition: color 0.3s ease;
}

#mobileMenu a:hover {
  color: #f97316;
}

/* Botón de hamburguesa */
#menuToggleBtn {
  color: white !important;
}



  .stat-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  
  .stat-box.visible {
    opacity: 1;
    transform: translateY(0);
  }
  

  .tooltip-box {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 30;
  }
  
  .group:hover .tooltip-box {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  
  /* Ajustes personalizados de posición horizontal si lo necesitas */
  .tooltip-right {
    left: 60%;
  }
  
  .tooltip-left {
    left: 40%;
  }
  
  .tooltip-right-strong {
    left: 70%;
  }
  
  @keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
/* Animaciones de entrada general */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }
  
  .animate-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .delay-100 {
    transition-delay: 0.1s;
  }
  .delay-200 {
    transition-delay: 0.2s;
  }
  .delay-300 {
    transition-delay: 0.3s;
  }


  
  .animate-scroll-marquee {
  animation: scroll-marquee 25s linear infinite;
}
.menu-logo{
    padding-bottom: 4px;
  }




   .stat-number {
            background: linear-gradient(135deg, #ea580c, #f97316);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .tooltip-box {
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            transform: translateY(10px);
            position: absolute;
            bottom: 120%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            z-index: 30;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            border: 1px solid #e5e5e5;
        }
        
        .tooltip-box::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-top-color: white;
        }
        
        .tooltip-left {
            left: -200px;
            transform: translateY(10px);
        }
        
        .tooltip-right {
            left: 20px;
            transform: translateY(10px);
        }
        
        .tooltip-right-strong {
            left: -180px;
            transform: translateY(10px);
        }
        
        .group:hover .tooltip-box {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .tooltip-left::after {
            left: 85%;
        }
        
        .tooltip-right::after {
            left: 15%;
        }
        
        .tooltip-right-strong::after {
            left: 85%;
        }
        
        .map-pin {
            animation: pulse 2s infinite;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .map-pin:hover {
            transform: scale(1.2);
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
            }
        }
        
        .south-america-map {
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
        }
        
        .stat-box {
            position: relative;
            padding: 20px;
            background: linear-gradient(135deg, rgba(234, 88, 12, 0.05), rgba(249, 115, 22, 0.1));
            border-radius: 16px;
            border: 2px solid rgba(234, 88, 12, 0.1);
        }
        
        .stat-box::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #ea580c, #f97316);
            border-radius: 16px;
            z-index: -1;
            opacity: 0.1;
        }
        
        .primary-color {
            color: #ea580c;
        }






        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
        }
        
        .team-card {
            position: relative;
            overflow: hidden;
        }
        
        .team-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s ease;
            z-index: 2;
        }
        
        .team-card:hover::before {
            left: 100%;
        }
        
        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, rgba(0,0,0,0.3) 100%);
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .team-card:hover .image-overlay {
            opacity: 1;
        }
        
        .card-content {
            transform: translateY(0);
            transition: all 0.3s ease;
        }
        
        .team-card:hover .card-content {
            transform: translateY(-5px);
        }
        
        .floating-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(249,115,22,0.9);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }
        
        .team-card:hover .floating-badge {
            opacity: 1;
            transform: translateY(0);
        }
        
        .decoration-line {
            position: relative;
        }
        
        .decoration-line::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #f97316, transparent);
        }
        
        .social-links {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .team-card:hover .social-links {
            opacity: 1;
        }
        
        .social-link {
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #f97316;
            font-size: 14px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        .social-link:hover {
            background: #f97316;
            color: white;
            transform: scale(1.1);
        }
        
        .expertise-tag {
            display: inline-block;
            background: rgba(249,115,22,0.1);
            color: #f97316;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 11px;
            font-weight: 500;
            margin: 2px;
            border: 1px solid rgba(249,115,22,0.2);
        }
        
        .title-animation {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% 200%;
            animation: gradientShift 4s ease-in-out infinite;
        }
        
        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        
        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }
        
        .floating-elements::before,
        .floating-elements::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        }
        
        .floating-elements::before {
            top: -50px;
            left: -50px;
            animation-delay: 0s;
        }
        
        .floating-elements::after {
            bottom: -50px;
            right: -50px;
            animation-delay: 3s;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }
        
        .card-border {
            position: relative;
        }
        
        .card-border::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, #f97316, #ea580c, #dc2626, #f97316);
            background-size: 300% 300%;
            border-radius: 12px;
            padding: 2px;
            opacity: 0;
            transition: opacity 0.3s ease;
            animation: borderGlow 3s ease-in-out infinite;
        }
        
        .team-card:hover .card-border::before {
            opacity: 1;
        }
        
        @keyframes borderGlow {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        
        .stats-badge {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.95);
            padding: 8px 12px;
            border-radius: 25px;
            font-size: 12px;
            font-weight: 600;
            color: #f97316;
            opacity: 0;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        .team-card:hover .stats-badge {
            opacity: 1;
        }

             .gradient-border::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #f97316, transparent);
        }
        
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .hover-lift:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
        }
        
        .icon-glow {
            transition: all 0.3s ease;
            position: relative;
        }
        
        .icon-glow:hover {
            filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
            transform: scale(1.1);
        }
        
        .text-gradient {
            background: linear-gradient(135deg, #ffffff, #f97316);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .divider-line {
            height: 60px;
            width: 1px;
            background: linear-gradient(to bottom, transparent, #374151, transparent);
        }
        
        .footer-link {
            position: relative;
            transition: all 0.3s ease;
        }
        
        .footer-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background: linear-gradient(90deg, #f97316, #fb923c);
            transition: width 0.3s ease;
        }
        
        .footer-link:hover::after {
            width: 100%;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            transition: all 0.3s ease;
        }
        
        .contact-item:hover {
            color: #f97316;
            transform: translateX(4px);
        }
        
        .contact-icon {
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #f97316;
        }