.site-header {
  position: relative;
  z-index: 25;
  width: min(1500px, calc(100vw - 1.6rem));
  margin: 0.7rem auto 0;
  border: 1px solid rgba(56, 69, 102, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(101, 115, 144, 0.88), rgba(126, 138, 164, 0.82));
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px rgba(22, 35, 76, 0.18);
}

.site-header__inner {
  min-height: 58px;
  padding: 0.48rem 0.8rem 0.48rem 1.28rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand__badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #25439e;
}

.brand__name {
  font-family: var(--font-accent);
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d2437;
}

.site-nav {
  display: inline-flex;
  gap: 0.46rem;
  align-items: center;
  justify-self: start;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: #344564;
  border: 1px solid rgba(59, 74, 108, 0.18);
  border-radius: 999px;
  background: rgba(252, 253, 255, 0.95);
  padding: 0.34rem 0.68rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.site-nav a:nth-child(1) {
  background: rgba(255, 236, 184, 0.94);
  border-color: rgba(196, 158, 71, 0.28);
}

.site-nav a:nth-child(2) {
  background: rgba(217, 230, 255, 0.94);
  border-color: rgba(91, 119, 198, 0.22);
}

.site-nav a:nth-child(3) {
  background: rgba(220, 242, 225, 0.94);
  border-color: rgba(95, 149, 102, 0.22);
}

.site-nav a:nth-child(4) {
  background: rgba(255, 251, 244, 0.94);
  border-color: rgba(134, 145, 168, 0.22);
}

.site-header .btn--primary {
  background: linear-gradient(145deg, #274ab7, #1f3d9e);
  box-shadow: 0 10px 22px rgba(24, 47, 126, 0.34);
}

.site-header .btn--primary:hover {
  box-shadow: 0 12px 24px rgba(24, 47, 126, 0.38);
}

.site-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 96, 186, 0.35);
  box-shadow: 0 6px 16px rgba(36, 62, 138, 0.12);
}

@media (max-width: 979px) {
  .site-header {
    width: min(1100px, calc(100vw - 1rem));
    margin-top: 0.45rem;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding-left: 0.95rem;
  }

  .site-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
  }
}
