.ps-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 43, 92, 0.10);
  box-shadow: 0 10px 26px rgba(14, 25, 51, 0.08);
}
.ps-site-header__inner {
  max-width: var(--ps-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 28px;
  padding: 18px 20px;
}
.ps-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.ps-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.ps-brand__text {
  display: grid;
  gap: 3px;
}
.ps-brand__text strong {
  font-size: 19px;
  line-height: 1.1;
}
.ps-brand__text small {
  color: var(--ps-text-soft);
  font-size: 14px;
}
.ps-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--ps-border);
  background: var(--ps-surface);
  border-radius: 14px;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  color: var(--ps-primary);
  font-weight: 700;
}
.ps-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.ps-site-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.ps-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.ps-site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--ps-text);
  padding: 4px 0;
}
.ps-site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--ps-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.ps-site-nav a:hover,
.ps-site-nav a.is-active {
  color: var(--ps-primary);
}
.ps-site-nav a:hover::after,
.ps-site-nav a.is-active::after {
  transform: scaleX(1);
}
.ps-site-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.ps-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ps-btn:hover {
  transform: translateY(-1px);
}
.ps-btn--primary {
  background: var(--ps-primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 63, 137, 0.22);
}
.ps-btn--secondary {
  background: #fff;
  color: var(--ps-primary);
  border: 1px solid var(--ps-border);
}

@media (max-width: 1180px) {
  .ps-site-header__inner {
    grid-template-columns: auto auto;
  }
  .ps-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }
  .ps-site-nav-wrap {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .ps-site-nav-wrap.is-open {
    display: flex;
  }
  .ps-site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: 14px 16px;
  }
  .ps-site-nav a::after {
    display: none;
  }
  .ps-site-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }
  .ps-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ps-site-header__inner {
    padding: 14px 14px;
    gap: 14px;
  }
  .ps-brand img {
    width: 48px;
    height: 48px;
  }
  .ps-brand__text strong {
    font-size: 16px;
  }
  .ps-brand__text small {
    font-size: 12px;
  }
}
