header {
  background: #fff; border-bottom: 1px solid #ececec; position: sticky; top: 0; z-index: 50;
  padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.logo {
  display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800;
  text-decoration: none; color: inherit;
}
nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: #6b6b6b; text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; transition: .2s;
}
.nav-link:hover { background: #f5f5f5; color: #7c3aed; }
.nav-btn {
  display: inline-block; background: #7c3aed; color: #fff; border: none;
  padding: 10px 22px; border-radius: 26px; cursor: pointer; font-size: 0.9rem;
  font-weight: 700; text-decoration: none; transition: .2s; white-space: nowrap;
}
.nav-btn:hover { background: #6d28d9; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; transition: .2s; }
.hamburger:hover span { background: #7c3aed; }

@media (max-width: 820px) {
  header { padding: 12px 16px; }
  nav {
    display: none; flex-direction: column; align-items: flex-start;
    width: 100%; gap: 0; padding: 10px 0 4px; border-top: 1px solid #eee; margin-top: 10px;
  }
  nav .nav-link { padding: 11px 8px; width: 100%; border-radius: 8px; font-size: 1rem; }
  nav .nav-btn { margin: 8px 8px 4px; }
  .hamburger { display: flex; }
  header.open nav { display: flex; }
}
