/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 5%;
  background: rgba(0, 28, 37, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(26, 193, 208, 0.1);
  animation: navSlide 0.7s ease both;
}

@keyframes navSlide {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(26, 193, 208, 0.45));
  transition: filter 0.3s;
}

.nav-logo:hover svg {
  filter: drop-shadow(0 0 16px rgba(26, 193, 208, 0.9));
}

.nav-logotype .d {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-logotype .s {
  font-size: 6px;
  font-weight: 400;
  color: var(--steel);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 20px;
  font-weight: 400;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--cyan); /* Fondo sólido */
  color: #001c25; /* Texto oscuro para contraste */
  padding: 7px 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  border: none; /* Quitamos el borde transparente */
  text-decoration: none;
  box-shadow: 0 0 12px rgba(26, 193, 208, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.nav-cta:hover {
  background: #17afbc; /* Un tono apenas distinto para el hover */
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
  border-radius: 2px;
  transition: all 0.3s;
}

#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 18, 24, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#mobile-menu a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
