.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-surface); border-bottom: 1px solid #e4e5e7; font-family: Peyda, Dana, sans-serif; }
.header-container { position: relative; max-width: var(--container-width); height: 74px; margin-inline: auto; display: flex; align-items: center; }
.brand { flex: 0 0 auto; margin-inline-end: 40px; color: var(--color-primary); font-size: 22px; font-weight: 700; letter-spacing: -.5px; line-height: 1; white-space: nowrap; direction: ltr; }
.primary-navigation { flex: 1; }
@media (min-width: 1051px) {
  .header-container { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .brand { position: relative; right: -24px; top: 3px; }
  .brand { justify-self: start; }
  .primary-navigation { justify-self: center; }
  .header-actions { justify-self: end; margin-inline-start: 0; }
}
.navigation-list { display: flex; align-items: center; gap: 40px; padding: 0; margin: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link { border: 0; padding: 24px 0; display: flex; align-items: center; gap: 4px; background: transparent; white-space: nowrap; color: var(--color-text); font-size: 16px; font-weight: 400; line-height: 26px; }
.nav-link-muted { color: #494a50; }
.chevron { width: 20px; height: 20px; color: #95969d; transition: transform 160ms ease; }
.nav-link[aria-expanded='true'] .chevron { transform: rotate(180deg); }
.nav-link:hover, .nav-link[aria-expanded='true'] { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; padding-inline-start: 28px; }
.phone-link { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 16px; font-weight: 400; }
.login-button { min-width: 108px; height: 42px; padding: 0 14px; border: 1px solid var(--color-primary); border-radius: 8px; color: var(--color-primary); background: white; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background 160ms ease; }
.login-button:hover { background: var(--color-primary); color: white; }
.mobile-toggle { display: none; }

@media (max-width: 1399px) {
  .header-container { margin-inline: 32px; }
  .navigation-list { gap: 20px; }
  .brand { margin-inline-end: 28px; }
}

@media (max-width: 1050px) {
  .header-container { margin-inline: 24px; }
  .brand { flex-basis: auto; margin-inline-end: 24px; }
  .mobile-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: var(--color-text); }
  .mobile-toggle span { display: block; height: 1.5px; width: 22px; background: currentColor; }
  .mobile-toggle[aria-expanded='true'] { background: #f4f3ff; color: var(--color-primary); }
  .primary-navigation { display: none; position: absolute; top: 75px; right: 24px; left: 24px; padding: 10px 18px; max-height: calc(100dvh - 95px); overflow: auto; border: 1px solid var(--color-border); border-radius: 12px; background: white; box-shadow: 0 15px 40px #17144412; }
  .primary-navigation.is-open { display: block; }
  .navigation-list { display: block; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 0; }
  .header-actions { padding-inline-start: 12px; }
}

@media (max-width: 540px) {
  .header-container { margin-inline: 18px; }
  .brand { font-size: 20px; margin-inline-end: 12px; }
  .header-actions { gap: 14px; }
  .phone-link span { display: none; }
  .phone-link { min-width: 30px; min-height: 42px; justify-content: center; }
  .login-button { min-width: 100px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .chevron, .login-button { transition: none; }
}

@media (max-width: 400px) {
  .phone-link { display: none; }
  .brand { font-size: 18px; margin-inline-end: 8px; }
}
