*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --blue-dark:#08245c;
  --blue:#1266e3;
  --orange:#f7931e;
  --text:#22304d;
  --gray:#6f7787;
  --white:#ffffff;
  --border:#e8ebf0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#fff;
  color:var(--text);
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

ul{
  list-style:none;
}

.container{
  width:90%;
  max-width:1240px;
  margin:0 auto;
}

/* HEADER */

.header{
  width:100%;
  background:#fff;
  padding:14px 0;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 3px 18px rgba(0,0,0,.04);
}

.header .nav{
  max-width:1240px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  gap:16px;
}

.logo{
  flex-shrink:0;
}

.logo h2{
  font-size:42px;
  line-height:1;
  font-weight:800;
  color:var(--blue-dark);
  white-space:nowrap;
}

.logo span{
  color:var(--orange);
}

.menu{
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:auto;
}

.menu a{
  color:var(--text);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  position:relative;
  padding:8px 0;
  transition:.2s;
}

.menu a:hover,
.menu a.active{
  color:var(--blue-dark);
}

.menu a.active::after,
.menu a:hover::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-8px;
  width:34px;
  height:3px;
  background:var(--blue);
  border-radius:20px;
}

/* BOTÓN HEADER */

.btn-header{
  background:var(--blue-dark);
  color:#fff;
  min-width:118px;
  height:42px;
  padding:0 14px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:13px;
  font-weight:800;
  line-height:1.1;
  white-space:normal;
  flex-shrink:0;
  transition:.25s;
}

.btn-header:hover{
  background:#163a85;
}

/* BOTONES GENERALES */

.btn,
.btn-primary{
  background:var(--blue-dark);
  color:#fff;
  padding:14px 22px;
  border-radius:8px;
  font-size:14px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.25s;
}

.btn:hover,
.btn-primary:hover{
  background:#163a85;
}

/* TRADUCTOR DESKTOP */

.lang-switch{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.lang-switch button,
#btn-es,
#btn-en{
  border:none;
  background:#eef2f8;
  color:var(--blue-dark);
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s;
  padding:0;
}

.lang-switch button:hover{
  background:#dde6f8;
}

.lang-switch button.active,
#btn-es.active,
#btn-en.active{
  background:var(--blue-dark);
  color:#fff;
}

/* HAMBURGER */

.hamburger{
  display:none;
  border:none;
  background:var(--blue-dark);
  color:#fff;
  font-size:24px;
  width:42px;
  height:42px;
  border-radius:8px;
  cursor:pointer;
  margin-left:auto;
}

/* FOOTER */

.footer{
  background:#071a45;
  padding:58px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:30px;
}

.footer .brand,
.footer h2{
  font-size:34px;
  font-weight:800;
  color:#fff;
  margin-bottom:16px;
}

.footer span{
  color:var(--orange);
}

.footer h4{
  color:#fff;
  font-size:14px;
  margin-bottom:18px;
  text-transform:uppercase;
}

.footer p,
.footer a{
  display:block;
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.9;
}

/* TABLET */

@media(max-width:1250px){
  .logo h2{
    font-size:34px;
  }

  .menu{
    gap:15px;
  }

  .menu a{
    font-size:13px;
  }

  .btn-header{
    min-width:108px;
    height:40px;
    font-size:12px;
    padding:0 12px;
  }

  .lang-switch button,
  #btn-es,
  #btn-en{
    width:40px;
    height:40px;
    min-width:40px;
    font-size:13px;
  }
}

/* MOBILE */

@media(max-width:1050px){
  .menu,
  .btn-header{
    display:none;
  }

  .hamburger{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .menu.show{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    position:absolute;
    top:100%;
    left:5%;
    width:90%;
    background:#fff;
    padding:22px;
    border-radius:14px;
    box-shadow:0 14px 30px rgba(0,0,0,.10);
  }

  .menu.show a{
    font-size:15px;
  }

  /* IDIOMA FLOTANTE EN CELULAR */
  .header .lang-switch,
  .lang-switch{
    display:flex !important;
    position:fixed !important;
    right:14px !important;
    bottom:18px !important;
    z-index:99999 !important;
    background:#fff !important;
    padding:8px !important;
    border-radius:14px !important;
    box-shadow:0 10px 28px rgba(0,0,0,.18) !important;
    gap:8px !important;
  }

  .lang-switch button,
  #btn-es,
  #btn-en{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    border:none !important;
    border-radius:10px !important;
    background:#eef2f8 !important;
    color:#08245c !important;
    font-size:14px !important;
    font-weight:800 !important;
    padding:0 !important;
  }

  .lang-switch button.active,
  #btn-es.active,
  #btn-en.active{
    background:#08245c !important;
    color:#fff !important;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }
}

/* PHONE */

@media(max-width:576px){
  .container{
    width:92%;
  }

  .header{
    padding:12px 0;
  }

  .logo h2{
    font-size:30px;
  }

  .hamburger{
    width:40px;
    height:40px;
  }

  .footer{
    padding:42px 0;
  }

  .footer .brand,
  .footer h2{
    font-size:28px;
  }
}

@media(max-width:1050px){
  .header .lang-switch{
    display:flex !important;
    position:fixed !important;
    right:16px !important;
    bottom:22px !important;
    z-index:999999 !important;
    background:#fff !important;
    padding:8px !important;
    border-radius:14px !important;
    box-shadow:0 10px 30px rgba(0,0,0,.22) !important;
    gap:8px !important;
  }

  .header .lang-switch button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:46px !important;
    height:46px !important;
    border:none !important;
    border-radius:10px !important;
    background:#eef2f8 !important;
    color:#08245c !important;
    font-size:14px !important;
    font-weight:800 !important;
  }

  .header .lang-switch button.active{
    background:#08245c !important;
    color:#fff !important;
  }
}