@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* ====== HERO DARK ====== */
:root {
  --hero-bg: #1e1d4a;
  --hero-text: #ffffff;
  --hero-muted: #ffffff;
  --hero-accent1: #004aad;
  --hero-accent2: #004aad;
  --hero-radius: 18px;
}

.hero-dark {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 120px 20px;
  font-family: 'Poppins', sans-serif;
}

.hero-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.hero-toptext {
  color: var(--hero-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--hero-muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 26px;
  background: #ffffff; /* Azul base */
  border: none;
  color: #004aad;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #004aad; /* Blanco al pasar el mouse */
  color: #ffffff; /* Texto negro */
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}


.hero-note {
  font-size: 14px;
  margin-top: 25px;
  color: var(--hero-muted);
}
.hero-note i {
  color: var(--hero-accent1);
  margin-right: 8px;
}

/* ===== VIDEO ===== */
.hero-video-wrap {
  position: relative;
  border-radius: var(--hero-radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.25);
}
.hero-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--hero-radius);
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.5s ease;
}
.hero-video-wrap:hover video {
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc, .hero-note {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-video-wrap {
    margin-top: 40px;
  }
}




/* Seguridad: sin scroll horizontal por el clip-path */
html, body { width:100%; overflow-x:hidden; }

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

.quote {
  font-style: italic;
  font-weight: 500;
  color: #111;
  margin-top: 10px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.photo-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  .section-text {
    text-align: center;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }
}

/* ===== Servicios ===== */
:root{
  --svc-bg: #f4fbfb;         /* fondo suave (mint) */
  --svc-card-bg: #ffffff;    /* tarjetas */
  --svc-ink: #0f172a;        /* texto principal (negro azulado) */
  --svc-muted: #475569;      /* texto secundario */
  --svc-accent: #3cc6be;     /* acento verdoso */
  --svc-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --svc-radius: 16px;
}

.svc-section{
  background: linear-gradient(180deg, var(--svc-bg) 0%, #ffffff 80%);
  padding: 72px 20px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--svc-ink);
}

.svc-container{ max-width: 1180px; margin: 0 auto; }

.svc-title{
  font-size: clamp(26px, 3.2vw, 40px);
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.svc-subtitle{
  text-align: center;
  color: var(--svc-muted);
  margin: 0 0 28px;
  font-size: 16px;
}

.svc-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.svc-card{
  background: var(--svc-card-bg);
  border-radius: var(--svc-radius);
  padding: 26px 24px 20px;
  box-shadow: var(--svc-shadow);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(60, 198, 190, .10);
}

.svc-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .10);
}

.svc-icon{
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  color: var(--svc-accent);
  background: rgba(60, 198, 190, .10);
}

.svc-name{
  font-size: 18px;
  font-weight: 700;
  margin: 2px 0 6px;
}

.svc-desc{
  color: var(--svc-muted);
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 18px;
}

.svc-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(60, 198, 190, .12);
  color: var(--svc-accent);
  transition: transform .2s ease, background .2s ease;
}
.svc-card:hover .svc-cta{ transform: translateX(4px); background: rgba(60, 198, 190, .18); }

/* Responsive */
@media (max-width: 1024px){
  .svc-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .svc-grid{ grid-template-columns: 1fr; }
  .svc-section{ padding: 56px 16px; }
}


/* ===== Why Section ===== */
:root{
  --why-blue:#004aad;   /* azul del título */
  --why-black:#111;     /* textos */
  --why-muted:#f3f5f7;  /* fondo icono */
  --why-border:#e8ebee;
}

.why-section{
  padding: 64px 20px;
  background: #fff; /* pediste textos negros, así destacan en fondo claro */
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--why-black);
}

.why-container{
  max-width: 1180px;
  margin: 0 auto;
}

.why-title{
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 28px;
  line-height: 1.1;
  text-align: center;
}

.why-black{ color: var(--why-black); }
.why-blue{ color: var(--why-blue); }

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card{
  background: #fff;
  border: 1px solid var(--why-border);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.why-icon{
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--why-muted);
  border-radius: 12px;
  margin-bottom: 16px;
}

.why-subtitle{
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 10px;
  color: var(--why-black);
}

.why-text{
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--why-black);
  opacity: .9;
}

/* Responsive */
@media (max-width: 980px){
  .why-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .why-grid{ grid-template-columns: 1fr; }
  .why-section{ padding: 56px 16px; }
}





/* ===== FOOTER NAVA ===== */
.footer-nava {
  background: #004aad; /* morado oscuro similar al de la imagen */
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.footer-nava .footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 42px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.footer-nava .footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-nava .footer-col a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: .2s;
}

.footer-nava .footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-nava .footer-col p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: rgba(255,255,255,.75);
}

.footer-nava .footer-brand {
  margin-left: auto;
  text-align: right;
}

.footer-nava .footer-brand .logo-line {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.footer-nava .footer-brand img {
  height: 42px;
  object-fit: contain;
}

.footer-nava .footer-brand span {
  font-size: 20px;
  font-weight: 700;
}

.footer-nava .footer-brand .tagline {
  margin-top: 6px;
  font-size: 13px;
  color:white;
}

.footer-nava .footer-bottom {
  background: rgba(0,0,0,.08);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  font-size: 13px;
}

.footer-nava .footer-bottom-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-nava .footer-bottom a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: .2s;
}

.footer-nava .footer-bottom a:hover {
  color: #fff;
}

.footer-nava .dot {
  opacity: .3;
}

/* responsive */
@media (max-width: 992px) {
  .footer-nava .footer-top {
    flex-wrap: wrap;
  }
  .footer-nava .footer-brand {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  .footer-nava .footer-brand .logo-line {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-nava .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-nava .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


/* === Color corporativo para íconos de la sección Servicios === */
.svc-section .svc-icon i {
  color: #004aad !important;      /* azul Nava */
}

.svc-section .svc-cta i {
  color: #004aad !important;      /* flecha azul también */
}

/* (Opcional) Cambia el fondo circular del ícono para combinar mejor */
.svc-section .svc-icon {
  background: rgba(0, 74, 173, 0.10); /* azul suave translúcido */
}

.svc-section .svc-card:hover .svc-icon {
  background: rgba(0, 74, 173, 0.18); /* un poco más intenso al hover */
}

/* === Estilo para íconos y títulos de la sección Why === */
.why-section .why-icon i {
  color: #004aad !important;
}

.why-section .why-subtitle {
  color: #004aad !important;
}

/* Fondo del ícono con leve transparencia azul */
.why-section .why-icon {
  background: rgba(0, 74, 173, 0.1);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.why-section .why-card:hover .why-icon {
  background: rgba(0, 74, 173, 0.18);
}

/* ====== FIX BRANDS (logos más grandes) ====== */
.brands-section {
  background: #f8fafc;
  padding: 100px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.brands-container {
  max-width: 1250px;
  margin: 0 auto;
}

.brands-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  color: #111;
  margin-bottom: 70px;
}

.brands-blue {
  color: #004aad;
}

/* GRID: 3 columnas desktop */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 90px; /* 🔹 más espacio entre logos */
  justify-items: center;
}

/* Cada logo */
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔥 reset total del logo y aumento de tamaño */
.brand-item .brand-logo {
  position: static !important;
  max-width: 260px;   /* 🔹 antes 190px → 37% más grande */
  max-height: 140px;  /* 🔹 antes 95px → más alto */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.35s ease;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Hover: color + un poco más grande */
.brand-item:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.12);
}

/* 📱 tablet / móvil → 2 columnas */
@media (max-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
  }
  .brand-item .brand-logo {
    max-width: 220px;  /* 🔹 antes 165px */
    max-height: 120px; /* 🔹 antes 85px */
  }
}

/* 📱 móvil chico, pero igual 2 en 2 */
@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 34px;
  }
  .brand-item .brand-logo {
    max-width: 150px;  /* 🔹 antes 145px */
    max-height: 70px; /* 🔹 antes 75px */
  }
}

/* Fuerza tamaño de logos sin restricciones externas */
#brands .brand-logo {
  width: auto !important;
  height: auto !important;
  max-width: 160px !important;
  max-height: 60px !important;
}

/* ===== ELIMINA CUALQUIER FONDO / CÍRCULO DE LOS LOGOS ===== */
#brands .brand-item,
#brands .brand-logo {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* También evita heredar estilos del footer (.brand) */
#brands .brand-item i,
#brands .brand-item span {
  display: none !important;
}

/* ===== QUIÉNES SOMOS (NAVA LIMPIO) ===== */
.about-nava {
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  padding: 120px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

/* ===== Textos ===== */
.about-text {
  flex: 1;
}

.about-tag {
  display: inline-block;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #004aad;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.about-title {
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-blue {
  color: #004aad;
}

.about-black {
  color: #0f172a;
}

.about-desc {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ===== Imagen ===== */
.about-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0;            /* 🔹 Sin bordes */
  box-shadow: none;            /* 🔹 Sin sombra */
  transition: transform 0.5s ease; /* 🔹 Solo efecto de zoom */
  object-fit: cover;
}

.about-img:hover {
  transform: scale(1.05);      /* 🔹 Zoom suave */
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-row {
    flex-direction: column;
    text-align: center;
  }

  .about-media {
    order: -1; /* imagen arriba en mobile */
  }

  .about-img {
    max-width: 200px;
  }
}









/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #f3f5f9;
  padding: 80px 20px 90px;
  font-family: "Poppins", sans-serif;
}

.contact-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: flex-start;
}

/* Izquierda */
.contact-title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}

.contact-subtitle {
  color: #5b6575;
  max-width: 430px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 32px 48px;
}

.contact-info-label {
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #0050c8;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-text {
  color: #111;
  line-height: 1.6;
  font-size: 14.5px;
}

/* Derecha (card) */
.contact-right {
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 34px 30px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fdfdfd;
  transition: border .2s ease, box-shadow .2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #2363ff;
  box-shadow: 0 0 0 3px rgba(35, 99, 255, .12);
  background: #fff;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-btn {
  margin-top: 6px;
  background: #004aad;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(35, 99, 255, .28);
}

/* Responsive */
@media (max-width: 996px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-right {
    justify-content: flex-start;
  }
  .contact-card {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 26px 20px 24px;
  }
}

/* ===== Quitar subrayado de los enlaces en las flechas ===== */
.svc-cta {
  text-decoration: none !important;
}

.svc-cta i {
  text-decoration: none !important;
}

.svc-cta:focus,
.svc-cta:active {
  outline: none !important;
  box-shadow: none !important;
}

/* ===== HERO CON VIDEO DE FONDO ===== */
.hero-video-bg {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--hero-text);
  background: none;
  padding: 0;
}

.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg .hero-container {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-video-bg .hero-left {
  max-width: 600px;
}

.hero-video-bg .hero-title span {
  color: #004aad;
}

/* Móvil */
@media (max-width: 768px) {
  .hero-video-bg {
    text-align: center;
    justify-content: center;
  }

  .hero-video-bg .hero-left {
    max-width: 90%;
  }
}

/* === NAVBAR (desktop + mobile) === */
.navbar-hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 8px 0;
  background: transparent;                /* por defecto: hero */
  transition: background .3s ease,
              padding .3s ease,
              box-shadow .3s ease;
  box-shadow: none;
  backdrop-filter: none;
  font-family: 'Poppins', sans-serif;     /* 👈 fuente correcta */
}

/* Al hacer scroll: solo se hace más delgado y con sombra suave */
.navbar-hero.navbar--compact {
  padding: 4px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* MODO HERO (sección oscura) → navbar transparente */
.navbar-hero.navbar--on-dark {
  background: transparent;
  box-shadow: none;
}

/* RESTO DE SECCIONES → navbar blanco */
.navbar-hero.navbar--on-light {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Logo */
.navbar-hero .navbar-brand img,
.navbar-hero .brand-logo {
  height: 45px;
  transition: height .3s ease, transform .3s ease;
}

.navbar-hero.navbar--compact .navbar-brand img,
.navbar-hero.navbar--compact .brand-logo {
  height: 35px;
  transform: translateY(-1px);
}

/* Links */
.navbar-hero .nav-link {
  font-weight: 500;
  letter-spacing: .2px;
  padding: .3rem .75rem;
  position: relative;
  transition: color .5s ease,            /* 👈 animación de color */
              font-size .3s ease,
              opacity .5s ease;
}

/* Colores de texto según modo */
.navbar-hero.navbar--on-dark .nav-link {
  color: #fff !important;
}
.navbar-hero.navbar--on-dark .nav-link:hover {
  color: #ddd !important;
}

.navbar-hero.navbar--on-light .nav-link {
  color: #1e1d4a !important;
}
.navbar-hero.navbar--on-light .nav-link:hover {
  color: #004aad !important;
}

/* Subrayado animado al hover (igual que antes) */
.navbar-hero .nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.navbar-hero .nav-link:hover::after {
  width: 60%;
}

/* Toggler (hamburguesa) */
.navbar-hero .navbar-toggler {
  border: 0;
}

/* Por defecto, hero oscuro → icono blanco */
.navbar-hero .navbar-toggler-icon {
  filter: invert(1);
  transition: filter .3s ease;
}

/* En secciones claras → icono oscuro */
.navbar-hero.navbar--on-light .navbar-toggler-icon {
  filter: invert(0);
}

/* Desktop: logo un poco más a la izquierda */
@media (min-width: 992px) {
  .navbar-hero .navbar-brand {
    margin-left: -40px;
  }
}

/* Mobile: centrado normal, sin cambiar fondo global */
@media (max-width: 991px) {
  .navbar-hero .navbar-brand {
    margin-left: 0;
  }

  /* Fondo blanco SOLO en el panel desplegado (menú abierto) */
  .navbar-collapse {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0.5rem 1rem;
  }
}

/* === FIX DEFINITIVO: color correcto del icono hamburguesa (3 rayas) === */

/* Por defecto (hero oscuro → transparente): icono blanco */
.navbar-hero.navbar--on-dark .navbar-toggler-icon {
  filter: invert(1) brightness(100%) !important;
}

/* En el resto (navbar blanco): icono negro */
.navbar-hero.navbar--on-light .navbar-toggler-icon {
  filter: invert(0) brightness(0%) !important;
}

/* Transición suave para el cambio */
.navbar-hero .navbar-toggler-icon {
  transition: filter 0.3s ease;
}

/* Opcional: mejora el tamaño del área clicable sin afectar diseño */
.navbar-hero .navbar-toggler {
  padding: 0.35rem 0.5rem;
}

/* ============================
   FIX NAVBAR MOBILE EN HERO
   ============================ */

/* 1) Fondo del menú desplegable (collapse) en móvil */
@media (max-width: 991px) {
  /* En el hero (navbar transparente / modo oscuro) → panel azul Nava */
  .navbar-hero.navbar--on-dark .navbar-collapse {
    background: #004aad; /* o #1e1d4a si prefieres el hero exacto */
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  /* En secciones claras (navbar blanco) → panel blanco */
  .navbar-hero.navbar--on-light .navbar-collapse {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
}

/* 2) Ícono hamburguesa (3 rayas) con SVG propio según modo */

/* Base: aseguramos tamaño del icono */
.navbar-hero .navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-size: 1.5em 1.5em;
  transition: background-image 0.3s ease;
}

/* HERO / modo oscuro → rayas BLANCAS */
.navbar-hero.navbar--on-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar blanco → rayas NEGRAS */
.navbar-hero.navbar--on-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== Color azul Nava para palabra "Servicios" ===== */
.svc-blue {
  color: #004aad;
}

/* === Centrar texto y botón del HERO solo en móvil === */
@media (max-width: 768px) {
  .hero-video-bg .hero-left {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-video-bg .hero-title,
  .hero-video-bg .hero-desc,
  .hero-video-bg .hero-btn {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-video-bg .hero-btn {
    align-self: center;
  }
}

/* ================================
   MENÚ HAMBURGUESA – ESTILO MOBILE
   ================================ */
@media (max-width: 991px) {

  /* Caja del menú desplegado */
  .navbar-hero .navbar-collapse {
    border-radius: 0 0 18px 18px;
    margin-top: 8px;
    padding: 0.75rem 1.1rem 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transform-origin: top;
    animation: navDrop 0.25s ease-out;
  }

  /* Fondo según modo (ya lo manejas, aquí solo decoramos) */
  .navbar-hero.navbar--on-dark .navbar-collapse {
    background: #004aad;
  }
  .navbar-hero.navbar--on-light .navbar-collapse {
    background: #ffffff;
  }

  /* Lista de links más “card” */
  .navbar-hero .navbar-nav {
    gap: 4px;
    padding-top: 4px;
  }

  .navbar-hero .navbar-nav .nav-link {
    font-size: 14px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.2s ease;
  }

  /* Hover bonito según fondo */
  .navbar-hero.navbar--on-dark .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
  }

  .navbar-hero.navbar--on-light .navbar-nav .nav-link:hover {
    background: rgba(0, 74, 173, 0.08);
    transform: translateX(3px);
  }

  /* Animación de aparición */
  .navbar-hero .navbar-collapse.show {
    animation: navDrop 0.25s ease-out;
  }

  @keyframes navDrop {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== CELDAS DEL MENÚ MÓVIL ===== */
@media (max-width: 991px) {
  .navbar-hero .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .navbar-hero .navbar-nav .nav-item {
    background: rgba(255, 255, 255, 0.06); /* modo oscuro por defecto */
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.3s ease;
  }

  /* Modo claro */
  .navbar-hero.navbar--on-light .navbar-nav .nav-item {
    background: rgba(0, 74, 173, 0.08);
  }

  /* Hover sutil */
  .navbar-hero.navbar--on-dark .navbar-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .navbar-hero.navbar--on-light .navbar-nav .nav-item:hover {
    background: rgba(0, 74, 173, 0.15);
  }

  /* Textos dentro de las celdas */
  .navbar-hero .navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: 0;
    font-size: 14.5px;
    font-weight: 500;
  }

  /* Animación individual al aparecer */
  .navbar-hero .navbar-collapse.show .nav-item {
    animation: fadeInUp 0.25s ease forwards;
  }

  .navbar-hero .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.05s; }
  .navbar-hero .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.1s; }
  .navbar-hero .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.15s; }
  .navbar-hero .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.2s; }
  .navbar-hero .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.25s; }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===== FOOTER ICONS + ANIMATIONS ===== */

/* Íconos en títulos */
.footer-heading-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-right: 8px;
  font-size: 14px;
  box-shadow: 0 0 0 rgba(255,255,255,0);
  animation: footerGlow 4s ease-in-out infinite;
}

.footer-nava h4 {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Íconos generales dentro del footer */
.footer-nava .footer-col a i,
.footer-nava .footer-col p i,
.footer-nava .footer-bottom a i,
.footer-nava .tagline i {
  margin-right: 6px;
  font-size: 13px;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Social un poco más grandes */
.footer-nava .footer-col:nth-child(3) a i {
  font-size: 16px;
}

/* Hover animado en enlaces */
.footer-nava .footer-col a:hover i,
.footer-nava .footer-bottom a:hover i {
  transform: translateY(-2px) scale(1.07);
  color: #ffffff;
}

/* Tagline con leve separación */
.footer-nava .tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Animación suave de brillo/flotación en los íconos de títulos */
@keyframes footerGlow {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 16px rgba(255,255,255,0.35);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
}

/* ===== ALERTA DE CONTACTO ===== */
.contact-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 4px solid transparent;
  background: #f8fafc;
  overflow: hidden;
}

.contact-alert-success {
  border-left-color: #198754; /* verde bootstrap */
  background: #e9f7ef;
}

.contact-alert-error {
  border-left-color: #dc3545; /* rojo bootstrap */
  background: #fce9ea;
}

.contact-alert-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 2px;
}

.contact-alert-success .contact-alert-icon {
  color: #198754;
}

.contact-alert-error .contact-alert-icon {
  color: #dc3545;
}

.contact-alert-body h6 {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-alert-body p {
  margin: 0;
  font-size: 0.85rem;
  color: #444;
}

.contact-alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.8rem;
}

/* Honeypot anti-bots */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Animación de salida */
.contact-alert.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Honeypot anti-bots */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ALERTA DE CONTACTO */
.contact-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 4px solid transparent;
  background: #f8fafc;
  overflow: hidden;
}

.contact-alert-success {
  border-left-color: #198754;
  background: #e9f7ef;
}

.contact-alert-error {
  border-left-color: #dc3545;
  background: #fce9ea;
}

.contact-alert-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 2px;
}

.contact-alert-success .contact-alert-icon {
  color: #198754;
}

.contact-alert-error .contact-alert-icon {
  color: #dc3545;
}

.contact-alert-body h6 {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-alert-body p {
  margin: 0;
  font-size: 0.85rem;
  color: #444;
}

.contact-alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.8rem;
}

.contact-alert.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ===== Botón flotante WhatsApp (círculo perfecto) ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  background-color: #004aad; /* Azul Nava */
  color: #fff;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 74, 173, 0.4);
  transition: all 0.3s ease;
}

.wa-float:hover {
  background-color: #00378a; /* Azul más oscuro */
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 74, 173, 0.55);
}

/* ===== CONTACTO (versión mejorada) ===== */
.contact-title {
  color: #004aad; /* Azul Nava */
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 2rem;
  position: relative;
}

.contact-line {
  width: 70px;
  height: 4px;
  background-color: #004aad;
  border-radius: 2px;
  margin-bottom: 20px;
}

.text-nava {
  color: #004aad;
  font-weight: 600;
}

.contact-info i {
  color: #004aad;
  margin-right: 8px;
  font-size: 1rem;
}

.contact-info strong {
  font-weight: 600;
  color: #222;
}

.contact-subtitle {
  color: #444;
  margin-bottom: 15px;
}

/* ===== QUIÉNES SOMOS (ajustes móviles) ===== */
@media (max-width: 768px) {
  .about-row {
    display: flex;
    flex-direction: column; /* apila texto e imagen */
    align-items: center;
    text-align: center;
  }

  .about-text {
    order: 1; /* texto primero */
  }

  .about-media {
    order: 2; /* imagen después */
    margin-top: 20px; /* espacio entre texto e imagen */
  }

  .about-img {
    width: 180px; /* reduce tamaño */
    height: auto;
  }
}

/* ===== QUIÉNES SOMOS — Estilo general ===== */
.about-nava {
  position: relative;
  overflow: hidden;
}

.about-title {
  margin: 6px 0 10px;
  line-height: 1.15;
}

.about-blue { color: #004aad; }  /* azul Nava */

.text-nava {
  color: #004aad;
  font-weight: 700;
}

/* Línea azul de énfasis bajo el título */
.about-divider {
  width: 82px;
  height: 4px;
  background: #004aad;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,74,173,.25);
  margin: 6px 0 16px;
}



/* Glow suave detrás de la imagen */
.about-media {
  position: relative;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: auto -30px -20px -30px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(0,74,173,.18), rgba(0,74,173,0));
  filter: blur(10px);
  z-index: -1;
}

/* ===== Responsive — móviles ===== */
@media (max-width: 768px) {
  .about-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .about-text { 
    order: 1; 
    padding-left: 0; 
  }

  .about-text::before { display: none; }

  .about-media { 
    order: 2; 
    margin-top: 12px; 
  }

  .about-img {
    width: 130px;
    height: auto;
  }

  .about-divider { 
    margin-left: auto; 
    margin-right: auto; 
  }
}

/* Honeypot fuera de pantalla */
.hp-field { position: absolute; left: -9999px; }

/* Resalta más el rojo en inválidos (sobre Bootstrap) */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.15);
}

.contact-alert {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 10px; padding: 14px 16px; margin-bottom: 16px;
  border: 1px solid #e6e8ee; background: #fff; 
}
.contact-alert-success { border-color: #b7e4c7; background: #f0fff4; }
.contact-alert-success .contact-alert-icon { color: #2ea44f; font-size: 1.3rem; }
.contact-alert-error { border-color: #f5c2c7; background: #fff5f5; }
.contact-alert-error .contact-alert-icon { color: #dc3545; font-size: 1.3rem; }
.contact-alert .btn-close { margin-left: auto; }

#formAlert .alert {
  border-radius: 10px;
  margin-top: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#formAlert .alert-success {
  background-color: #f0fff4;
  border: 1px solid #b7e4c7;
  color: #155724;
}
#formAlert .alert-danger {
  background-color: #fff5f5;
  border: 1px solid #f5c2c7;
  color: #721c24;
}

#formAlert { display:block; }
.d-none { display:none !important; }

/* Estilo para labels exitosos */
.label-success {
  color: #28a745; /* verde éxito */
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.label-success .checkmark {
  color: #28a745;
  font-size: 1rem;
  margin-left: 8px;
  animation: fadeIn 0.3s ease;
}

/* Botón verde de éxito */
.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

/* Animación suave */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.contact-btn {
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Animación de pliegue al cerrar el menú móvil */
@keyframes navFold {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Aplicar la animación cuando el collapse se está cerrando */
@media (max-width: 991px) {
  .navbar-hero .navbar-collapse.collapsing {
    animation: navFold 0.25s ease-in forwards;
  }
}

/* Animación de pliegue al cerrar */
@keyframes navFold {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.navbar-collapse.collapsing {
  animation: navFold 0.28s ease-out forwards;
}

@keyframes foldUp {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

#menuHero.collapsing {
  animation: foldUp .25s ease-out forwards;
}

/* Línea de contacto: icono + texto siempre en la misma fila */
.contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Color del icono (si quieres mantener el azul Nava) */
.contact-line i {
  color: #ffffff;           /* o #004aad si es fondo blanco */
  flex-shrink: 0;
}

/* En móvil, prohibir que se separen a distintas líneas */
@media (max-width: 768px) {
  .contact-line-phone {
    white-space: nowrap;    /* icono + número siempre juntos */
  }
}

/* 🔥 Nunca permitir que un teléfono se vea azul o subrayado */
a[href^="tel"],
a[href^="tel"]:hover,
a[href^="tel"]:active,
a[href^="tel"]:visited {
  color: inherit !important;
  text-decoration: none !important;
}


