/* ═══════════════════════════════════════
   ASCENSIA — NAVIGATION
═══════════════════════════════════════ */

nav#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 30px var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
  border-bottom: 0.5px solid transparent;
}
nav#main-nav.scrolled {
  padding: 18px var(--sp-lg);
  background: rgba(30,23,20,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(196,164,145,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.45);
  transition: color 0.2s;
  cursor: none;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 0.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  color: var(--charcoal) !important;
  background: var(--gold);
  padding: 10px 26px;
  border-radius: 1px;
  transition: background 0.2s, transform 0.2s !important;
  font-weight: 400;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--cream) !important;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--charcoal-2);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: rgba(245,240,235,0.5);
  transition: color 0.2s;
  cursor: none;
}
.nav-mobile a:hover { color: var(--cream); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
