/* =========================================================================
   Nav — fixed header, scrolled variant, mobile drawer
   ========================================================================= */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo {
  display: block;
  width: clamp(108px, 9vw, 129px);
  max-height: 63px;
  height: auto;
}
.nav-logo--drawer {
  width: 138px;
  max-height: 66px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
  letter-spacing: 0.01em;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  text-decoration: none;
}
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* ── Mobile drawer ── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 24px 28px;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu .mm-close {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  cursor: pointer;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}
.mobile-menu nav a {
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-1);
  text-decoration: none;
  text-transform: none;
}
.mobile-menu nav a.active { color: var(--electric-blue); }
.mobile-menu .mm-cta { margin-top: auto; }

@media (max-width: 720px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-logo { width: 105px; max-height: 51px; }
}
