*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#f6f7f9;
  color:#1a1a1a;
}

h1,h2{
  font-family:'Playfair Display',serif;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* NAV */
.navbar{
  position:fixed;
  width:100%;
  background:white;
  padding:18px 0;
  z-index:100;
  border-bottom:1px solid #eee;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav a{
  margin:0 15px;
  text-decoration:none;
  color:#333;
}

.btn-dark{
  background:white !important;
  color:#0d1b3d !important;
  font-weight:bold;
  padding:10px 18px;
  border-radius:20px;
}

/* HERO */
.hero{
  height:100vh;
  background:url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover;
  position:relative;
  display:flex;
  align-items:center;
  color:white;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(to right, rgba(10,20,50,0.9), rgba(10,20,50,0.5));
}

.hero-content{
  position:relative;
  max-width:650px;
}

.badge{
  font-size:12px;
  padding:6px 14px;
  background:rgba(255,255,255,0.15);
  border-radius:20px;
}

.hero h1{
  font-size:60px;
  line-height:1.1;
  margin:20px 0;
}

.hero h1 span{
  font-style:italic;
}

.hero-text{
  opacity:0.9;
  margin-bottom:25px;
}

.hero-buttons{
  display:flex;
  gap:15px;
}

.btn-light{
  background:white;
  color:black;
  padding:12px 22px;
  border-radius:25px;
  text-decoration:none;
}

.btn-outline{
  border:1px solid white;
  padding:12px 22px;
  border-radius:25px;
  color:white;
  text-decoration:none;
}

/* STATS */
.stats{
  display:flex;
  gap:30px;
  margin-top:40px;
}

.stats div{
  display:flex;
  flex-direction:column;
}

.stats strong{
  font-size:22px;
}

/* SERVICES */
.services{
  padding:120px 0;
}

.services-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.services h2 span{
  font-style:italic;
}

.cards{
  display:flex;
  gap:25px;
  margin-top:50px;
}

.card{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  flex:1;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-8px);
}

.card img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.card-overlay{
  position:absolute;
  bottom:0;
  padding:25px;
  color:white;
  width:100%;
  background:linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* BENEFITS */
.benefits{
  display:flex;
  gap:60px;
  padding:100px 0;
}

.benefits h2 span{
  font-style:italic;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.box{
  background:white;
  padding:25px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

/* CTA */
.cta-box{
  background:#0d1b3d;
  color:white;
  padding:60px;
  border-radius:20px;
}

/* FOOTER */
.footer{
  background:#0d1b3d;
  color:white;
  padding:60px 0;
  margin-top:60px;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
}

/* WHATSAPP */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  width:55px;
  height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:25px;
  text-decoration:none;
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}
/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 992px){

  /* NAV */
  nav{
    display:none;
  }

  .navbar{
    padding:15px 0;
  }

  /* HERO */
  .hero{
    height:auto;
    padding:120px 0 60px;
  }

  .hero-content{
    max-width:100%;
  }

  .hero h1{
    font-size:38px;
  }

  .hero-text{
    font-size:14px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }

  .stats{
    flex-wrap:wrap;
    gap:15px;
  }

  .stats div{
    width:45%;
  }

  /* SERVICES */
  .cards{
    flex-direction:column;
  }

  .card img{
    height:250px;
  }

  /* BENEFITS */
  .benefits{
    flex-direction:column;
  }

  .grid{
    grid-template-columns:1fr;
  }

  /* CTA */
  .cta-box{
    padding:40px 20px;
    text-align:center;
  }

  /* FOOTER */
  .footer-grid{
    flex-direction:column;
    gap:30px;
  }
}


/* =========================
   EXTRA SMALL (CELULARES)
========================= */

@media (max-width: 480px){

  .hero h1{
    font-size:30px;
  }

  .btn-light,
  .btn-outline{
    width:100%;
    text-align:center;
  }

  .stats div{
    width:100%;
  }

  .badge{
    font-size:10px;
  }

  .whatsapp{
    width:50px;
    height:50px;
    font-size:22px;
  }

}


/* WHY SECTION */
.why {
  display: flex;
  gap: 80px;
  padding: 120px 0;
  align-items: center;
}

/* LEFT */
.why-left {
  flex: 1;
}

.subtitle {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6b7280;
}

.why h2 {
  font-size: 48px;
  margin: 20px 0;
  line-height: 1.2;
}

.why h2 span {
  font-style: italic;
  color: #6b7280;
}

.why p {
  max-width: 500px;
  color: #555;
}

/* GRID */
.why-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* CARD */
.why-card {
  background: #f8f9fb;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ICON */
.icon {
  width: 45px;
  height: 45px;
  background: #0d1b3d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 18px;
}

.why-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.why-card p {
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 992px){

  .why {
    flex-direction: column;
    gap: 40px;
  }

  .why h2 {
    font-size: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

}
/* HAMBURGUESA */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* MOBILE MENU */
.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
        color:#fff;
    }

    #menu{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#112b63;
        flex-direction:column;
        padding:20px 0;
        z-index:9999;
    }

    #menu.active{
        display:flex;
    }

    #menu a{
        color:#fff;
        padding:15px 20px;
        text-decoration:none;
        border-bottom:1px solid rgba(255,255,255,.1);
    }

    .nav-right{
        position:relative;
    }

    .translate-box,
    .btn-dark{
        display:none;
    }
}
/* CTA SECTION */
.cta-section{
  margin: 80px auto;
}

/* CAJA */
.cta-box{
  background: linear-gradient(135deg, #0d1b3d, #1f3a6d);
  color: white;
  padding: 70px;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}

/* EFECTO LUZ DERECHA */
.cta-box::after{
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
}

/* TEXO */
.cta-box h2{
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.cta-box h2 span{
  font-style: italic;
  color: #cbd5e1;
}

.cta-box p{
  margin-bottom: 30px;
  color: #cbd5e1;
}

/* BOTÓN */
.cta-btn{
  display: inline-block;
  background: #e5e7eb;
  color: #0d1b3d;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.cta-btn:hover{
  background: white;
  transform: translateY(-2px);
}

@media (max-width: 768px){

  .cta-box{
    padding: 40px 25px;
    text-align: center;
  }

  .cta-box h2{
    font-size: 28px;
  }

  .cta-btn{
    width: 100%;
  }

}
/* NAV LINKS */
nav a {
  position: relative;
  text-decoration: none;
  color: #444;
  padding: 8px 5px;
  transition: color 0.3s;
}

/* HOVER COLOR */
nav a:hover {
  color: #0d1b3d;
}

/* LINEA BASE */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 10px;
}

/* HOVER */
nav a:hover::after {
  width: 100%;
}

/* ACTIVO (FIJO) */
nav a.active {
  color: #0d1b3d;
}

nav a.active::after {
  width: 100%;
}
/* NAVBAR CON DEGRADADO */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 100;

  background: linear-gradient(
    90deg,
    #0d1b3d 0%,
    #162c5b 50%,
    #1f3a6d 100%
  );

  padding: 18px 0;
  transition: 0.3s;
}

/* TEXO EN BLANCO */
.navbar nav a,
.logo {
  color: white;
}

/* BOTÓN */
.btn-dark {
  background: white;
  color: #0d1b3d;
}
/* FOOTER */
.footer {
  background: linear-gradient(90deg, #0d1b3d, #142a55);
  color: #cbd5e1;
  padding: 70px 0;
  font-family: 'Inter', sans-serif;
}

/* GRID */
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* LOGO */
.footer-left .logo {
  font-weight: bold;
  font-size: 20px;
  color: white;
  margin-bottom: 20px;
}

/* TEXTO */
.footer-left p {
  max-width: 320px;
  line-height: 1.6;
  font-size: 14px;
}

/* TITULOS */
.footer h4 {
  color: white;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/* LINKS */
.footer-links a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* CONTACTO */
.footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
}
.lang-switch {
  margin-left: 20px;
  font-size: 14px;
  color: white;
}

.lang-switch span {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

.lang-switch span.active {
  opacity: 1;
  font-weight: 600;
}

.lang-switch span:hover {
  opacity: 1;
}
/* CONTENEDOR */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LADO DERECHO */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* MENU */
nav {
  display: flex;
  gap: 25px;
}

/* BOTÓN */
.btn-dark {
  background: white;
  color: #0d1b3d;
  padding: 8px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* GOOGLE TRANSLATE */
.translate-box {
  display: flex;
  align-items: center;
}

/* EVITA QUE SE ROMPA */
nav a {
  white-space: nowrap;
}
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
}

.goog-te-combo {
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 13px;
}
/* cotizacion popup  */

:root{
    --azul:#112b63;
    --azul-hover:#0d2250;
    --blanco:#ffffff;
    --gris:#f5f5f5;
    --texto:#333333;
}

.btn-cotizar{
    background:#fff;
    color:var(--azul);
    border:none;
    padding:14px 30px;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
}

.popup-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:9999;
    justify-content:center;
    align-items:center;
    backdrop-filter:blur(4px);
}

.popup-content{
    width:90%;
    max-width:500px;
    background:var(--blanco);
    border-radius:20px;
    padding:35px;
    position:relative;
    box-shadow:0 15px 40px rgba(0,0,0,.3);
    animation:popup .3s ease;
}

@keyframes popup{
    from{
        opacity:0;
        transform:translateY(-20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.popup-content h2{
    color:var(--azul);
    margin-bottom:10px;
    font-size:32px;
}

.popup-content p{
    color:#666;
    margin-bottom:25px;
}

.popup-content input,
.popup-content select,
.popup-content textarea{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    box-sizing:border-box;
}

.popup-content textarea{
    height:120px;
    resize:none;
}

.btn-enviar{
    width:100%;
    background:var(--azul);
    color:white;
    border:none;
    padding:15px;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.btn-enviar:hover{
    background:var(--azul-hover);
}

.cerrar{
    position:absolute;
    top:15px;
    right:20px;
    font-size:28px;
    cursor:pointer;
    color:var(--azul);
}