/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 8vw;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: #e5e5e5;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  position: relative;
  height: 100vh;
  padding-top: 120px; /* espacio para navbar */
  background: url("/media/hero.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 25, 35, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-left: 8vw;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: #e0e0e0;
}

.btn-primary {
  display: inline-block;
  background-color: #1f3f5b;
  padding: 16px 34px;
  border-radius: 4px;
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #162e43;
}





/* ============================= */
/* WHATSAPP FLOAT */
/* ============================= */

.whatsapp-float {

  position: fixed;
  bottom: 30px;
  left: 30px;

  width: 64px;
  height: 64px;

  background: #1f3f5b;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  box-shadow: 0 10px 25px rgba(0,0,0,0.18);

  z-index: 999;

  transition: all .3s ease;

}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}
/* MOBILE */

@media (max-width: 768px) {

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    left: 20px;
  }

}

/* UBICACIÓN */

.hero-location {

  position: absolute;
  bottom: 30px;
  right: 40px;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  letter-spacing: 0.5px;

  color: rgba(255,255,255,0.65);

  opacity: 0.8;
  transition: opacity .3s ease;

}

.hero-location svg {

  width: 16px;
  height: 16px;

}

.hero-location:hover {
  opacity: 1;
}

/* ========================= */
/* HAMBURGER */
/* ========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: white;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0f1923;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1050;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 22px;
    color: #ffffff;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-content {
    margin-left: 8vw;
    margin-right: 8vw;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}





.origen-segmentos {
  padding: 40px 20px;
  background: #EFF2F4;
}

.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  margin-bottom: 80px;
}

.segmento {
  position: relative;
  padding-top: 60px;
  transition: all 0.3s ease;
}

.numero {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 64px;
  padding-bottom: 18px;
  font-weight: 600;
  color: #e0e2e6;
  letter-spacing: -2px;
}

.segmento h3 {
  font-size: 22px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 16px;
}

.segmento p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.8;
  max-width: 320px;
}

.segmento:hover {
  transform: translateY(-6px);
}

/* CTA */

.segmentos-cta {
  text-align: center;
}

.btn-cotizar {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  background-color: #1f3c58;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #162c42;
  transform: translateY(-3px);
}

/* Responsive */

@media (max-width: 1024px) {
  .segmentos-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .segmento p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .origen-segmentos {
    padding: 90px 20px;
  }

  .numero {
    font-size: 48px;
  }

  .segmento h3 {
    font-size: 20px;
  }
}




/* banner */

.trust-banner {
  background-color: #EFF2F4;
  overflow: hidden;
  padding: 28px 0;
}

.trust-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scrollBanner 40s linear infinite;
}

.trust-track span {
  font-size: 14px;
  letter-spacing: 1px;
  color: #1F3F5B;
  white-space: nowrap;
}

@keyframes scrollBanner {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}





.origen-proceso {
  padding: 80px 20px;
  background-color: #EFF2F4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 500;
  color: #1c1c1c;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

.section-header p {
  font-size: 16px;
  color: #6b7280;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.card {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.035);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #1f3f5b; /* azul institucional elegante */
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 14px;
}

.card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

/* Responsive */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .origen-proceso {
    padding: 80px 20px;
  }

  .section-header h2 {
    font-size: 26px;
  }
}











.nosotros {
  background: #EFF2F4;
  padding: 80px 8%;
}

.nosotros-texto h2 {
  font-size: 40px;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 40px;
}

.nosotros-texto p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

/* Imagen */
.nosotros-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}



.firma {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #777;
}

/* Animación sutil */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .nosotros-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .nosotros-img img {
    height: 400px;
  }
}











/* ============================= */
/* BANNER CONFIANZA */
/* ============================= */

.confianza {

  background: #1f3f5b;
  padding: 60px 0;
  overflow: hidden;

}

.confianza-header {

  text-align: center;
  margin-bottom: 40px;

}

.confianza-header p {

  color: rgba(255,255,255,0.7);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;

}

/* CONTENEDOR */

.confianza-slider {

  width: 100%;
  overflow: hidden;
  position: relative;

}

/* TRACK ANIMADO */

.confianza-track {

  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;

  animation: scrollLogos 35s linear infinite;

}

/* LOGOS */

.confianza-track img {

  height: 50px;
  opacity: 0.8;
  filter: brightness(0) invert(1);
  transition: opacity .3s ease;

}

.confianza-track img:hover {

  opacity: 1;

}

/* ANIMACION */

@keyframes scrollLogos {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}

/* RESPONSIVE */

@media (max-width: 768px) {

  .confianza-track {
    gap: 60px;
  }

  .confianza-track img {
    height: 40px;
  }

}






.footer {
  background: #1f3f5b;
  color: #ffffff;
  padding: 100px 8% 40px 8%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

/* Logo */
.footer-logo {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Títulos */
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

/* Contacto */
.footer-col p {
  font-size: 15px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.85);
}


.footer-logo-img {
  width: 140px;
  margin-bottom: 20px;
}

.footer-redes {
  margin-top: 20px;
  display: flex;
  gap: 18px;
}

.footer-redes a {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-redes svg {
  width: 100%;
  height: 100%;
}

.footer-redes a:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

.footer-redes a:hover {
  opacity: 0.6;
}

/* Bottom */
.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}










.servicios {

  background: #F5F4F1;
  padding: 80px 8vw;

}

.servicios-container {

  max-width: 1200px;
  margin: auto;

}

.servicios-title {

  font-size: 40px;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 40px;
  margin-left: 8px;

}

/* GRID */

.servicios-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

}

/* CARD */

.servicio-card {

  background: #EFF2F4;
  padding: 60px;
  border-radius: 18px;

  box-shadow:
  0 10px 25px rgba(0,0,0,0.04);

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;

}

/* ANIMACIÓN */

.servicio-card.visible {

  opacity: 1;
  transform: translateY(0);

}

/* BADGE */

.servicio-badge {

  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #1F3F5B;

  margin-bottom: 18px;

}

/* TITULO */

.servicio-card h3 {

  font-size: 26px;
  font-weight: 500;

  color: #0F1923;

  margin-bottom: 20px;

}

/* TEXTO */

.servicio-card p {

  font-size: 16px;
  line-height: 1.7;

  color: #5f676f;

  margin-bottom: 25px;

}

/* LISTA */

.servicio-card ul {

  list-style: none;
  margin-bottom: 35px;

}

.servicio-card li {

  font-size: 15px;
  color: #3e464d;

  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;

}

.servicio-card li::before {

  content: "•";
  position: absolute;
  left: 0;

  color: #1F3F5B;

}

/* BOTONES */

.btn-servicio {

  display: inline-block;

  padding: 14px 28px;

  background: #1F3F5B;
  color: white;

  text-decoration: none;
  font-size: 14px;

  border-radius: 4px;

  transition: all .3s;

}

.btn-servicio:hover {

  background: #162E43;

}

/* BOTON OUTLINE */

.btn-servicio-outline {

  display: inline-block;

  padding: 14px 28px;

  border: 1px solid #1F3F5B;
  color: #1F3F5B;

  text-decoration: none;
  font-size: 14px;

  border-radius: 4px;

  transition: all .3s;

}

.btn-servicio-outline:hover {

  background: #1F3F5B;
  color: white;

}

/* CARD SECUNDARIA */

.servicio-card-secondary {

  background: #F8F7F4;

}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 900px) {

  .servicios-grid {

    grid-template-columns: 1fr;
    gap: 40px;

  }

}




/* ============================= */
/* CONTACTO */
/* ============================= */

.contacto {

  position: relative;
  background: #F5F4F1;
  padding: 80px 8vw;

  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;

}

/* Cuando aparece */

.contacto.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Línea vertical institucional */

.contacto::before {

  content: "";
  position: absolute;

  top: 120px;
  left: 6vw;

  width: 1px;
  height: 120px;

  background: #1F3F5B;

  opacity: 0.2;

}

/* CONTENEDOR */

.contacto-container {

  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

}

/* INFO */

.contacto-info h2 {

  font-size: 40px;
  font-weight: 500;
  color: #0F1923;
  margin-bottom: 25px;

}

.contacto-info p {

  font-size: 16px;
  line-height: 1.7;
  color: #5f676f;
  margin-bottom: 25px;

}

/* FORM */

.contacto-formulario form {

  display: flex;
  flex-direction: column;
  gap: 20px;

}

.form-group input,
.form-group textarea {

  width: 100%;
  padding: 14px 0;

  border: none;
  border-bottom: 1px solid #d6d4cf;

  background: transparent;
  font-size: 15px;

  transition: border-color .3s ease;

}

.form-group input:focus,
.form-group textarea:focus {

  outline: none;
  border-bottom: 1px solid #1F3F5B;

}

/* BOTÓN */

.btn-contacto {

  margin-top: 10px;
  padding: 14px 28px;

  background: #1F3F5B;
  color: white;

  border: none;
  border-radius: 4px;

  font-size: 14px;
  cursor: pointer;

  transition: all .3s ease;

}

.btn-contacto:hover {

  background: #162E43;

}

/* RESPONSIVE */

@media (max-width: 900px) {

  .contacto-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contacto::before {
    display: none;
  }

}