* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100%;
  min-height: 100%;
  color: #0a2540;
}
html{
  scroll-behavior: smooth;
  
}

/* ----------------------------- */
/*             HEADER            */
/* ----------------------------- */
.header {
  position: fixed;
  width: 100%;
  height: 10vh;
  z-index: 50;
  background: white;
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0px .5px 7px .5px rgba(47, 47, 47, 0.69);
}

.header-content {
  max-height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 15% 0 5%;
}

.logo {
  width: 20%;
  height: 10vh;
  object-fit: cover;
  font-size: 26px;
  font-weight: bold;
  color: #0a2540;
}

.nav a {
  margin-left: 25px;
  color: #766d73;
  text-decoration: none;
  font-weight: 500;
}

/* BOTÓN INGRESAR */
.btn-ingresar {
  background: #54e6f5;
  padding: 10px 35px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
}

/* HAMBURGUESA */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: #0a2540;
  border-radius: 3px;
}

/* MENU MOBILE OCULTO */
.mobile-menu {
  display: none;
}

#home,
#beneficios,
#como,
#why{
  scroll-margin-top: 10vh;
}



@media (max-width: 1200px) {
  /* Ocultamos nav desktop y mostramos hamburguesa */
  .header{
    width: 100%;
  height: 10vh;
  z-index: 50;
  background: white;
  border-bottom: 1px solid #e4e4e4;
  }
  .header-content {
  max-height: 10vh;
  display: flex;
  position: relative;
  justify-content: space-between;
  
  margin: 0% 15% 0 5%;
}
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-right: -10vw;
    gap: 5px;
    
  }
  .hamburger span{
    width: 6vw;
    
  }
  .btn-ingresar {
    background: #54e6f5;
    padding: 10px 35px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
  }
  /* MENU MOBILE */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: white;
    transform: translateY(-100%);
    transition: 0.3s ease-in-out;

    z-index: 999;
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

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

  .logo {
    width: 40%;
  }

  .mobile-btn {
    display: inline-block;
    margin-right: 10px;
  }

  .close {
    font-size: 40px;
    color: #00d2fc;
    cursor: pointer;
    margin-left: 80%;
    font-weight: 200;
    position: absolute;
    top: 1vh;
  }

  /* NAV MOBILE LISTA */
  .mobile-nav {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .mobile-nav a {
    font-size: 14px;
    text-decoration: none;
    color: #0a2540;
    font-weight: 500;
  }
}
/* ------------------------------------- */
/*     ESTADOS DE INTERACCIÓN (Desktop)   */
/* ------------------------------------- */

/* Cuando el puntero está sobre el enlace O el enlace está seleccionado/activo */
.nav a:hover,
.nav a:focus {
    color: #000000; /* Negro para las letras */
    /* Opcional: Puedes añadir una transición suave para el color */
    transition: color 0.2s ease;
}

/* El botón de ingresar tiene su propio estilo y color, lo mantenemos como está */
.btn-ingresar:hover,
.btn-ingresar:focus {
    color: white; /* Mantenemos el blanco para que se vea en el fondo azul */
    background: #46c7d3; /* Opcional: Un ligero cambio de color de fondo al hacer hover */
}


/* ------------------------------------- */
/*     ESTADOS DE INTERACCIÓN (Mobile)   */
/* ------------------------------------- */

@media (max-width: 600px) {
    /* En el menú móvil, aplicamos el mismo efecto a los enlaces */
    .mobile-nav a:hover,
    .mobile-nav a:focus {
        color: #000000; /* Negro para las letras */
        transition: color 0.2s ease;
    }
}