:root {
  --azul:#0a8fdc;
  --azul-claro:#27b4ff;
  --gris:#f7f9fb;
  --texto:#1e2a38;
  --metal:#e6edf7;
  --blanco:#ffffff;
}

/* =========================================
   GENERAL
========================================= */
* {margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
body {background:var(--gris);color:var(--texto);scroll-behavior:smooth;}
.container {width:90%;max-width:1200px;margin:auto;}
a {text-decoration:none;color:inherit;}
.btn-primary {
  background: var(--azul);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover { background: var(--azul-claro); transform: scale(1.05); }

/* =========================================
   NAVBAR - AZUL OSCURO GLASS
========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(5, 20, 35, 0.85); /* azul muy oscuro con transparencia */
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo img { width: 180px; }

/* === Enlaces de navegación === */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  color: #f0f4f8;
  letter-spacing: 0.3px;
  transition: color 0.3s, transform 0.3s;
}

/* Hover moderno con línea luminosa azul */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(39,180,255,0.4);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--azul-claro);
  transform: translateY(-1px);
}

/* === Dropdowns === */
.dropdown {
  position: relative;
}
.dropdown > .dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 500;
  color: #f2f4f7;
  transition: color 0.3s;
}
.dropdown:hover > .dropbtn {
  color: var(--azul-claro);
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: rgba(10,25,45,0.95);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
  backdrop-filter: blur(12px);
}
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #f2f4f7;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.dropdown-content a:hover {
  background: rgba(39,180,255,0.12);
  color: var(--azul-claro);
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* === Botón de contacto destacado === */
.nav-contact-btn {
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(39,180,255,0.35);
  transition: all 0.3s ease;
  margin-left: 20px;
}
.nav-contact-btn i {
  font-size: 1.1rem;
}
.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(39,180,255,0.5);
  background: linear-gradient(135deg, var(--azul-claro), var(--azul));
}

/* === Móvil === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #f0f4f8;
  border-radius: 5px;
}
@media(max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 60px; right: -100%;
    background: rgba(5,20,35,0.97);
    width: 230px;
    height: calc(100vh - 60px);
    flex-direction: column;
    gap: 25px;
    padding-top: 35px;
    transition: 0.3s;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-contact-btn { display: none; }
}
/* =========================================
   HERO - HEADHUNTING ESPECIALIZADO (ALINEADO IZQUIERDA REAL)
========================================= */
.hero-headhunting {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #08182c 0%, #0b2238 50%, #0a8fdc 100%);
}

/* Canvas con líneas animadas */
.hero-headhunting canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Capa luminosa difusa */
.hero-headhunting-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 40%, rgba(39,180,255,0.2), transparent 65%);
  filter: blur(100px);
  z-index: 1;
}

/* Contenido del hero */
.hero-headhunting-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: 6%;         
  text-align: left;          
  animation: fadeInUp 1.2s ease forwards;
}

.hero-headhunting-content h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #ffffff, #a8e3ff);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(39,180,255,0.25);
}

.hero-subtext {
  font-size: 1.15rem;
  color: #d4e9ff;
  line-height: 1.7;
  margin-bottom: 45px;
  max-width: 560px;
}

/* Botón */
.hero-headhunting .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  color: white;
  border-radius: 40px;
  box-shadow: 0 0 25px rgba(39,180,255,0.35);
  transition: all 0.4s ease;
}
.hero-headhunting .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(39,180,255,0.55);
}

/* Animación */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media(max-width: 992px){
  .hero-headhunting {
    height: auto;
    padding: 140px 0 100px;
  }
  .hero-headhunting-content {
    margin-left: 5%;
    margin-right: 5%;
    text-align: left; /* 🔹 mantiene alineado en móviles */
  }
  .hero-headhunting-content h1 {
    font-size: 2.4rem;
  }
  .hero-subtext {
    font-size: 1rem;
    margin: 0 0 40px;
  }
}
/* =========================================
   FONDO CON IMAGEN PARA HERO
========================================= */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../../media/fondo.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: brightness(0.6) contrast(1.2) blur(1px);
  pointer-events: none;
}


/* ========================================= */
/* DIVISIONES STRATEGA - PREMIUM */
/* ========================================= */
.divisiones-stratega {
  padding: 120px 20px;
  background: linear-gradient(135deg, #f6f9fc 0%, #eaf2fb 100%);
  position: relative;
  overflow: hidden;
}

.divisiones-stratega::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: blur(120px);
  z-index: 0;
}

.div-title {
  text-align: center;
  font-size: 2.4rem;
  color: #0b2238;
  margin-bottom: 60px;
  position: relative;
}
.div-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 3px;
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  border-radius: 3px;
}

.divisiones-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  position: relative;
  z-index: 2;
}

.division-card {
  background: white;
  border-radius: 18px;
  padding: 40px 30px;
  width: 360px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Icono limpio (sin fondo) */
.div-icon {
  font-size: 2.6rem;
  color: var(--azul-claro);
  margin-bottom: 20px;
}

/* Títulos */
.division-card h3 {
  font-size: 1.25rem;
  color: #0b2238;
  margin-bottom: 12px;
}

/* Descripción */
.division-card p {
  color: #4c5f72;
  line-height: 1.55;
  flex-grow: 1;
}

/* Botón tipo texto */
.div-link {
  margin-top: 25px;
  display: inline-block;
  color: var(--azul);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
}

.div-link:hover {
  color: var(--azul-claro);
  transform: translateX(4px);
}

/* Responsive */
@media(max-width: 992px){
  .division-card {
    width: 90%;
  }
}


/* =========================================
   FOOTER 
========================================= */
.footer {
  position: relative;
  background: linear-gradient(135deg, #06101c, #0b2238 60%, #08182c);
  color: white;
  padding: 100px 20px 40px;
  overflow: hidden;
}

/* Fondo estático tipo textura */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(39,180,255,0.08), transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

/* Contenido principal */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
  filter: brightness(1.1);
}

.footer-desc {
  color: #d5e7f9;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

/* CONTACTO */
.footer-contact h3,
.footer-social h3 {
  color: var(--azul-claro);
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.footer-contact p {
  font-size: 0.95rem;
  color: #e3f1ff;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-contact a {
  color: #b7dbf8;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact a:hover {
  color: var(--azul-claro);
}

/* REDES SOCIALES */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--azul-claro);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--azul-claro);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(39,180,255,0.4);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.footer-bottom p {
  font-size: 0.9rem;
  color: #a7c6e4;
}
.footer-bottom a {
  color: var(--azul-claro);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: white;
}

/* === Responsive === */
@media(max-width: 992px){
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-desc {
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
  }
}

/* =========================================
   ANIMACIÓN GLOBAL HERO (fade + slide up)
========================================= */
.reveal-hero {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   COLOREADO - BOTÓN WHATSAPP
========================================= */
.nav-contact-btn {
  background: linear-gradient(135deg, #25D366, #1EBE5A) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.3s ease !important;
}

.nav-contact-btn i {
  font-size: 1.1rem !important;
  color: #fff !important;
}

/* Hover verde más oscuro */
.nav-contact-btn:hover {
  background: linear-gradient(135deg, #1EBE5A, #128C4A) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.48) !important;
}
