  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 72px;
    background: rgba(13,11,26,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124,58,237,0.15);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); text-decoration: none;
    font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em;
  }

  .nav-logo svg { width: 32px; height: 32px; }

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--purple-light);
    transition: width 0.25s;
  }
  .nav-links a.active {
  border-bottom: 2px solid var(--purple-light);
  color: white;
}
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.65rem 1.4rem; border-radius: 8px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; border: none;
  }

  .btn-primary {
    background: var(--purple); color: var(--white);
    box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  }
  .btn-primary:hover {
    background: var(--purple-dark);
    box-shadow: 0 6px 28px rgba(124,58,237,0.55);
    transform: translateY(-1px);
  }

  .btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
  }
  .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
  }
  /* ─── HAMBURGUESA (oculta en desktop) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación a "X" cuando está abierto */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MEDIA QUERY: pantallas pequeñas ─── */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none; /* opcional: ocultar botón "Contact Us" del header en móvil */
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(13,11,26,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(124,58,237,0.15);
    padding: 1.5rem 5%;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    font-size: 1rem;
    display: block;
  }
}

