/* ==========================================================================
   SHARED NAVIGATION — used by every page
   Extracted from the canonical index.html implementation.
   Edit here once; every page picks up the change.
   ========================================================================== */

.nav {
  background: var(--nav-bg);
  padding: 0 40px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { font-size: 13px; font-weight: 700; color: white; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; border-bottom: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color .2s; border-bottom: none; }
.nav-link:hover, .nav-link:focus-visible { color: white; outline: none; }
.nav-link:focus-visible { outline: 2px solid var(--cta-light); outline-offset: 4px; border-radius: 3px; }
.nav-cta { font-size: 13px; font-weight: 500; color: white; background: var(--cta); text-decoration: none; padding: 8px 18px; border-radius: var(--r); transition: background .2s; border-bottom: none; }
.nav-cta:hover { background: var(--cta-dark); }
.nav-cta:focus-visible { outline: 2px solid var(--cta-light); outline-offset: 3px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 58px;
  left: 0; right: 0;
  background: #2a3d26;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px 28px;
  z-index: 150;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer-cta {
  margin-top: 12px;
  background: var(--cta) !important;
  color: white !important;
  text-align: center;
  padding: 13px !important;
  border-radius: 8px;
  font-weight: 700 !important;
  border-bottom: none !important;
}

@media (max-width: 640px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
