.header__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.header__header.header__scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(16, 24, 40, 0.04);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.header__logoMark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 10px;
}

.header__logoText {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.header__logoAccent {
  color: var(--primary);
}

/* ── Desktop Nav ── */
.header__desktopNav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__navLink {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition-base);
  position: relative;
}

.header__navLink:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.header__navLink.header__active {
  color: var(--primary);
  font-weight: 600;
}

.header__navCta {
  margin-left: 12px;
  padding: 10px 24px !important;
  font-size: 13px !important;
}

/* ── Mobile Toggle ── */
.header__menuToggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
  transition: background var(--transition-base);
}

.header__menuToggle:hover {
  background: var(--bg-soft);
}

/* ── Mobile Nav ── */
.header__mobileNav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg);
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(16, 24, 40, 0.08);
}

.header__mobileNavOpen {
  right: 0;
}

.header__mobileNavInner {
  display: flex;
  flex-direction: column;
  padding: 96px 32px 32px;
  gap: 4px;
}

.header__mobileLink {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-base);
}

.header__mobileLink.header__active {
  color: var(--primary);
}

.header__mobileLink:hover {
  color: var(--primary);
}

.header__mobileCta {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* ── Backdrop ── */
.header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.3);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header__desktopNav {
    display: none;
  }

  .header__menuToggle {
    display: flex;
  }

  .header__mobileNav {
    display: block;
  }

  .header__backdrop {
    display: block;
  }

  .header__inner {
    height: 64px;
  }
}
