/* ── CSS VARIABLES ───────────────────────────────────── */
:root {
  --navy: #1a4a8a;
  --navy-deep: #0f3366;
  --navy-mid: #205590;
  --blue-light: #4a9ed6;
  --blue-pale: #94c4e4;
  --white: #ffffff;
  --text-muted: #8a9ab0;
  --rule: #d0dce8;
}

/* ── DESKTOP NAV ─────────────────────────────────────── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule); transition: box-shadow .3s;
}
nav#navbar.scrolled { box-shadow: 0 4px 30px rgba(30,45,69,.08); }

.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo .logo-top { font-weight: 200; font-size: 22px; letter-spacing: .22em; color: var(--navy-deep); text-transform: uppercase; font-family: 'Jost', sans-serif; }
.nav-logo .logo-bot { font-weight: 300; font-size: 11px; letter-spacing: .45em; color: var(--blue-light); text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-top: 3px; font-family: 'Jost', sans-serif; }
.nav-logo .logo-bot::before, .nav-logo .logo-bot::after { content: ''; flex: 1; height: 1px; background: var(--blue-pale); display: inline-block; width: 20px; }

.nav-links { display: flex; gap: 38px; list-style: none; align-items: center; }
.nav-links a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); text-decoration: none; font-weight: 400; font-family: 'Jost', sans-serif; transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--blue-light); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { background: var(--navy); color: var(--white) !important; padding: 10px 24px; border-radius: 2px; font-size: 11px !important; letter-spacing: .18em; transition: background .2s !important; }
.nav-cta:hover { background: var(--blue-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 1px; background: var(--navy); display: block; transition: .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ───────────────────────────────── */
@media (min-width: 901px) { .mobile-nav, .mobile-nav-overlay { display: none !important; } }

.mobile-nav {
  position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
  background: var(--navy-deep); z-index: 200; padding: 80px 40px 40px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s linear .35s;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s; }
.mobile-nav a { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-pale); text-decoration: none; font-weight: 300; font-family: 'Jost', sans-serif; transition: color .2s; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 16px; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .mobile-cta { background: var(--blue-light); color: var(--white) !important; padding: 14px 20px; text-align: center; border-radius: 2px; border-bottom: none; margin-top: 10px; }
.mobile-nav-close { position: absolute; top: 22px; right: 24px; background: none; border: none; cursor: pointer; color: var(--blue-pale); font-size: 24px; line-height: 1; padding: 4px; }

.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .35s; }
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── MOBILE BREAKPOINT ───────────────────────────────── */
@media (max-width: 900px) {
  nav#navbar { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
