: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); }
html {scroll-behavior: smooth;}


/* =========================================
   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 CONTACTO (Mejorado)
========================================= */
.hero-contacto {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, #08182c 0%, #0b2238 70%, #051524 100%);
}

.hero-contacto-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-contacto-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(39,180,255,0.25), transparent 70%);
  filter: blur(100px);
  z-index: 2;
}

.hero-contacto-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin-left: 7%;
  text-align: left; 
}

.hero-contacto-content h1 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #ffffff, #a8e3ff);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(39,180,255,0.3);
}

.hero-contacto-content .hero-intro {
  font-size: 1.15rem;
  color: #d9e9f9;
  line-height: 1.7;
  margin-bottom: 45px;
  max-width: 620px;
}

/* Botones */
.hero-contact-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-contact-data {
  margin-top: 10px;
  font-size: 1rem;
  color: #bcd6ec;
  line-height: 1.6;
}
.hero-contact-data i {
  color: var(--azul-claro);
  margin-right: 8px;
}

/* === Responsive === */
@media(max-width: 992px){
  .hero-contacto {
    height: auto;
    padding: 120px 0;
  }
  .hero-contacto-content {
    margin: 0 auto;
    padding: 0 25px;
    text-align: center; /* ✅ centrado solo en móviles */
  }
  .hero-contact-actions {
    justify-content: center;
  }
  .hero-contact-data {
    text-align: center;
  }
  .hero-contacto-content h1 {
    font-size: 2.3rem;
  }
  .hero-contacto-content .hero-intro {
    font-size: 1rem;
  }
}

/* =========================================
   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;
}


/* =========================================
   ZONA DE CONTACTO
========================================= */
.contacto-zona {
  background: linear-gradient(135deg, #f7f9fb 0%, #eaf2fb 100%);
  padding: 120px 20px;
  position: relative;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Columna izquierda === */
.contacto-info h2 {
  font-size: 2.3rem;
  color: #0b2238;
  margin-bottom: 20px;
  position: relative;
}
.contacto-info h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  border-radius: 3px;
}

.contacto-desc {
  color: #45566d;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 35px 0 20px;
  max-width: 550px;
}

.contacto-sub {
  color: #4b5e72;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 550px;
}

/* Redes sociales */
.contacto-redes {
  display: flex;
  gap: 15px;
}
.contacto-redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(39,180,255,0.25);
  color: var(--azul);
  font-size: 1.2rem;
  box-shadow: 0 5px 12px rgba(39,180,255,0.15);
  transition: all 0.3s ease;
}
.contacto-redes a:hover {
  background: var(--azul);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(39,180,255,0.4);
}


/* === Formulario === */
.reclutamiento-form {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(39,180,255,0.1);
}
.reclutamiento-form h3 {
  color: #0b2238;
  margin-bottom: 25px;
  font-size: 1.4rem;
}
.reclutamiento-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reclutamiento-form .form-row {
  display: flex;
  gap: 20px;
}
.reclutamiento-form input,
.reclutamiento-form select,
.reclutamiento-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(39,180,255,0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f9fbfd;
  transition: all 0.3s ease;
  outline: none;
  color: #1e2a38;
}
.reclutamiento-form input:focus,
.reclutamiento-form select:focus,
.reclutamiento-form textarea:focus {
  border-color: var(--azul-claro);
  box-shadow: 0 0 8px rgba(39,180,255,0.25);
  background: white;
}
.reclutamiento-form select {
  cursor: pointer;
  color: #445566;
}
.reclutamiento-form textarea {
  resize: none;
}
.reclutamiento-form button {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: white;
  font-weight: 600;
  padding: 14px 38px;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(39,180,255,0.35);
  position: relative;
  overflow: hidden;
}
.reclutamiento-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(39,180,255,0.5);
}
.reclutamiento-form button::before {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}
.reclutamiento-form button:hover::before {
  left: 120%;
}

/* === Responsive === */
@media(max-width: 992px){
  .reclutamiento-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .reclutamiento-info h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .reclutamiento-form {
    padding: 40px 25px;
  }
  .reclutamiento-form .form-row {
    flex-direction: column;
  }
  .reclutamiento-form button {
    align-self: center;
  }
}




/* =========================================
   FOOTER - ESTÁTICO, ELEGANTE Y TECNOLÓGICO
========================================= */
.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;
}
