/* =========================
   BOTÓN HAMBURGUESA
========================= */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   NAVEGACIÓN DESKTOP
========================= */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* LINKS */
.nav a {
  position: relative;
  padding: 10px 5px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0px;
}

/* Activo */
.nav a.active {
  color: #000;
}

/* =========================
   INDICADOR DESKTOP
========================= */
.nav-indicator {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 6px;
  width: 6px;
  background: #f5c400;
  border-radius: 2px;
  transition:
    left .35s ease,
    width .35s ease;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  /* Header */
  .header {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Botón hamburguesa */
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  /* Menú móvil */
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  /* Links móvil */
  .nav a {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid #eee;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  /* Botón CTA */
  .btn-header {
    width: 90%;
    margin: 14px auto 0;
    padding: 14px 0;
    text-align: center;
    border-radius: 8px;
  }

  /* Indicador NO existe en móvil */
  .nav-indicator {
    display: none !important;
  }
}

/* =========================
   FORZAR DESKTOP (ESTABILIDAD)
========================= */
@media (min-width: 901px) {
  .nav {
    position: relative;
  }
}


body {
  margin: 0;
  padding: 0;
}

