/* === MENÚ DE NAVEGACIÓN === */
.nav {
  background: rgba(255,255,255,0.97);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: block;
}

.nav_contenedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px 40px;
}

.nav_img_logo {
  width: 100px;
}

.nav_menu {
  display: flex;
  gap: 25px;
}

.nav_items {
  color: #F68B1F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav_items:hover {
  color: #1E4E9B;
}

/* === MENÚ RESPONSIVO === */
.nav_label {
  display: none;
  cursor: pointer;  
}

.nav_img {
  width: 40px;
  color: #1E4E9B;
}

.nav_chk_menu {
  display: none;
}

/* --- Responsividad --- */
@media (max-width: 768px) {
  .nav_contenedor {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 25px;
  }

  .nav_label {
    display: block;
  }

  .nav_label i {
    font-size: 32px;
    color: #1E4E9B;
}

  .nav_menu {
    width: 100%;
    flex-direction: column;
    background: white;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  /* Mostrar el menú al activar el checkbox */
  .nav_chk_menu:checked ~ .nav_menu {
    max-height: 300px;
    padding: 15px 0;
  }

  .nav_items {
    display: block;
    padding: 12px 0;
    color: #F68B1F;
  }

  .nav_items:hover {
    background-color: #f3f3f3;
  }
}
