@font-face {
  font-family: "Dosis", sans-serif;
  font-style: normal;
  font-weight: bold;
}

@font-face {
  font-family: "Dosis", sans-serif;
  font-style: normal;
  font-weight: normal;
}

.headerHome{
  height: 80vh;
  background: url(../img-web/backhomepage.jpg);
  background-size: cover;
  background-position: top center;
}

.headerHome .container{
  max-width: 1250px;
}

body{
  font-family: "Dosis", sans-serif;
  font-size: 18px;
}

.centrado{
  text-align: center;
}

.icoNosotros{
  width: 100px;
}

.espaciado{
  padding: 10px 5px;
}

.logoBanco{
  color: #fff;
  display: inline;
  margin-right: 10px;
}

.logoBanco img{
  height: 35px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  z-index: 1000;
  padding: 10px;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9); /* Cambia el color de fondo al hacer scroll */
}

header.scrolled .logo img{
  width: 200px;
}



/*CONTADOR PARA PAGINA DE NOSOTROS*/
.counter-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.counter {
  text-align: center;
  margin-bottom: 20px;
  width:25%;
}

.counter .box{
  padding: 25px;
  background: #fff;
  border-radius: 25px;
  margin: 0 10px;
  min-height: 180px;
}

.counter-value {
  font-size: 36px;
  font-weight: bold;
  color: #2863ab; /* Color azul */
  margin-bottom: 10px;
}

.counter-label {
  font-size: 16px;
  color: #666; /* Color gris */
}

/* Animación para aumentar los números */
@keyframes count {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-value {
  animation: count 2s ease-out forwards;
}

/*FIN CONTADOR PARA PAGINA DE NOSOTROS*/

.backBeneficios{
  background: url(../img-web/back_beneficios.jpg);
  padding: 60px 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.titBeneficios{
  font-size: 40px;  
  font-weight: bold;
  color: #5b98ce;
  border: 1px solid;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  line-height: 90px;
  margin-bottom: 30px;
}

.titCotizar{
  font-size: 28px;
  color: #2863ab;
  padding-bottom: 10px;
  font-weight: 600;
}

.bajada{
  font-size: 18px;
  color: #000;
  margin-top: 5px;
}

.logo {
  float: left;
}

.logo a {
  display: block;
  font-size: 2em;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.logo img{
  width: 270px;
}

nav {
  float: right;
  margin-right: 50px;
}

nav ul {
  list-style: none;
  margin: 3px 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav li {
  margin-left: 30px;
}

nav a {
  display: block;
  padding: 15px 20px;
  font-size: 18px !important;
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

nav a:hover {
  background-color: #5b98ce;
  color: #000;
  border-radius: 15px;
}

.burger-menu {
  display: none;
}

.line {
  width: 30px;
  height: 3px;
  background-color: #000;
  margin: 5px;
  border-radius: 3px;
}

.btnInicia{
  border-radius: 15px;
  background: #2863ab;
}

.btnInicia a{
  color: #fff;
}

.btnInicia a:hover{
  background: #5b98ce;
  color:#000;
}

.calculadora{
  padding-top:20vh;
}

.tit1{
  font-size: 2.5rem;
  color: #000;
}
.tit2{
  color: #000;
  font-size:3rem;
  font-weight: bold;
  float: right;
  margin-top: -15px;
}

.precioMoneda{
  background: #5b98ce;
  padding: 8px 15px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  float: right;
  border-radius: 10px;
}

.leyenda{
  font-size: 18px;
  color: #000;
  font-weight: bold;
}

.cajaSimulador .leyenda{
  font-size: 18px;
  color: #000;
  font-weight: bold;
}

.precioActivo{
  color:#fff;
}

.precioTachado{
  text-decoration:line-through;
}

.cajaSimulador {
  border-top: 5px solid #2863ab;
  background-color: #a3d1f9;
  padding: 1.25rem;
  margin-bottom: 15px;
  margin-top: 15px;
  border-radius: 0 0 15px 15px;
}

.input-group-text{
  background: #2863ab;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.CambiarDivisaSpin {
  font-weight: bold;
  font-size: 30px;
  background: #2863ab;
  border-radius: 50%;
  padding: 12px;
  text-align: center;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.CambiarDivisaSpin a{
  color: #fff;
  text-decoration: none;
}
.CambiarDivisaSpin a:hover{
  color: #fff;
  text-decoration: none;
}
.CambiarDivisaSpin:hover{
  background: #000;
  color: #fff;
  text-decoration: none;
}

.cajaCupon {
    height: 46px !important;
    margin-bottom: 2px !important;
}

.btnSimulador {
  background: #5b98ce;
  color: #fff;
  height: 46px;
  border: 1px solid #fff;
  border-radius: 0 10px 10px 0;
  padding: 0 10px;
}

.btnSimulador:hover{
  background: #3498db;
  border: 1px solid #3498db;
}

.btnComienza{
  height: 46px;
  padding: 0 10px;
  background: #2863ab;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
}

.btnComienza a{
  color: #fff !important;
  text-decoration: none;
  display: block;
  text-align: center;
  padding-top: 10px;
}

.btnComienza a{
  color: #000;
  text-decoration: none;
}

.btnComienza:hover{
  text-decoration: none;
  display: block;
  text-align: center;
  background: #5b98ce;
}


.boxBeneficio {
  text-align: center;
  padding: 5px;
  border-radius: 10px;
  margin: 10px;
  width: 23%;
  height: 280px;
}

.boxBeneficio .titulo {
  font-size: 18px;
  color: #000;
  font-weight: 700;
  padding: 15px 0;
}

.espacio{
  clear: both;
  height: 50px;
}

.bajada{
  color: #000;
  font-size: 18px;
  line-height: 24px;
}

.BackNaranja {
  background: #ff5f00;
  padding: 50px 0;
  margin-top: 50px;
  height: 500px;
}

.BackNaranja .titulo {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  padding: 0 80px;
  line-height: 40px;
}

.BackNaranja .bajada {
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  padding-top: 15px;
}

.PantallaNoncash {
  margin-top: 30px;
}

.PantallaNoncash img {
  position: absolute;
  left: 25%;
}

.vacio{
  height: 330px;
}

.visible-xs{
  display: none;
}

.backRegistroN {
  background: #323e48;
  padding: 50px;
}

.btnRegistro a {
  padding: 20px 40px;
  background: #fff;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  float: left;
  margin: 25px;
}

.btnRegistro a:hover {
  background: #5b98ce;
  color: #000;
  text-decoration: none;
}

.linkFooterNuevo a{
    font-size: 16px;
    font-weight: 400;
    color: #A1A1A1;
    line-height: 2;
    text-decoration: none;
}
.linkFooterNuevo a:hover{
  color: #5b98ce;
}

.btnWs{
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 999;
}
.btnWsB{
    position: fixed;
    right: 15px;
    bottom: 110px;
    z-index: 999;
}
.fonoWhatsapp a{
    position: absolute;
    top: 100px;
    left: 5%;
    font-size: 28px;
    color: #48c857;
    font-weight: bold;
    z-index: 1;
    padding:8px 12px;
    background: #fff;
    border-radius: 8px;
}

.titPage{
  padding-top:25%;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
}

.linaHnaranja{
  background: #5b98ce;
  height: 5px;
  width: 120px;
}

.btn-warning{
  background-color: #2863ab;
  border-color: initial;
}

.btn-warning:hover{
  background-color: #5b98ce;
  color: #000;
}




@media screen and (max-width: 430px) {
  header{
    background-color: rgba(255, 255, 255, 0.9);
  }

  .logo img{
    width: 230px;
  }

  .titPage{
    padding-top:45%;
  }

  .counter {
    margin: 20px;
    width:100%;
  }

  .visible-xs{
    display: block;
  }

  .hidden-xs{
    display: none;
  }

  .PantallaNoncash img {
    position: relative;
    left: 0;
  }

  .boxBeneficio {
    height: auto;
    width: 50% !important;
    margin: 15px 0;
  }

  .calculadora{
    padding-top:12vh;
  }

  .tit1{
    font-size: 26px;
    color: #000;
  }
  .tit2{
    color: #000;
    font-size: 32px;
    line-height: 40px;
    font-weight: bold;
    padding-left: 0;
    padding-bottom: 40px;
    padding-top: 5px;
  }

  .CambiarDivisaSpin{
    position: absolute;
    z-index: 1;
    margin-top: -30px;
    right: 10%;
  }

  .headerHome{
    height: 750px;
    background: url(../img-web/backhomepage-xs.jpg);
    background-size: cover;
    background-position: center;
  }

  .logoBanco img{
    height: 20px;
  }

  .logo {
    margin-left: 0;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px;

  }

  nav ul {
    display: none;
    width: 43vh;
    margin-top: 20px;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .burger-menu {
    display: block !important;
    cursor: pointer;
    margin-top: 10px;
  }

  .burger-menu.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .burger-menu.active .line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

/* ----------------------------------- para el POPUP -----------------------------------*/

.logoGr img{
  width: 320px;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  backdrop-filter: blur(5px); /* Agrega el difuminado */
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  width: 500px;
  max-width: 90%;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.popup img {
  max-width: 100%;
  height: auto;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.popup-close:hover {
  color: #000;
}




@media only screen and (min-width: 431px) and (max-width: 850px) {
  .TabletVertical{
    width: 100%;
  }

  .hidden-sm{
    display: none;
  }

  .centrarDiv{
    margin-top: 0 auto;
  }

  .logo{
    margin-left:0;
  }
  .logo img{
    width: 200px;
  }
  .burger-menu {
    display: block;
    cursor: pointer;
    margin-top: 10px;
  }

  .burger-menu.active .line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .burger-menu.active .line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  header{
    background-color: rgba(255, 255, 255, 0.9);
  }

  .headerHome{
    height: 75vh;
    background: url(../img-web/backhomepage-xs.jpg);
    background-size: cover;
    background-position: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 20px;

  }

  nav ul {
    display: none;
    width: 43vh;
    margin-top: 20px;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .tit2{
    color: #fff;
    font-size: 50px;
    line-height: 55px;
    font-weight: bold;
    padding-left: 0;
    padding-bottom: 40px;
    padding-top: 0;
    text-shadow: 2px 2px 5px #000;
  }

  .calculadora{
    padding-top: 25%;
  }
}


@media only screen and (min-width: 851px) and (max-width: 1400px){

  .container{
    max-width: 100% !important;
  }

  .logo{
    margin-left:0;
  }
  .logo img{
    width: 200px;
  }

  nav a{
    padding: 10px;
    font-size: 16px !important;
  }

  nav li {
    margin-left: 10px;
  }

  .calculadora{
    padding-top: 13vh;
  }

  .headerHome{
    height: 650px;
  }

  .tit2{
    line-height: 3.4rem;
    padding-bottom: 40px;
  }

}

@media screen and (min-width: 1401px){
  header .container{
    min-width: 1240px;
  }
}