.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--hh);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(10,37,64,.06);
}
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color var(--ease); position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  background: var(--primary); color: #fff;
  padding: 9px 20px; border-radius: 7px;
  font-size: .875rem; font-weight: 600;
  transition: all var(--ease);
}
.nav__cta:hover { background: var(--accent); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer; padding: 4px;
  border: none; background: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none; position: fixed;
  top: var(--hh); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 999;
  flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(10,37,64,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  font-size: 1rem; font-weight: 500; color: var(--text);
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.mobile-nav__link:last-of-type { border-bottom: none; }
.mobile-nav__cta {
  margin-top: 12px; background: var(--accent);
  color: var(--primary); padding: 14px; border-radius: 8px;
  font-weight: 600; text-align: center;
}

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