#site-header {
  background-color: #1957c4;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.header-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.header-logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

.header-regions {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.header-regions a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  color: #ffffff;
  border-radius: 4px;
  transition: background 0.2s;
}

.header-regions a.active {
  background: #4aa3ff;
  color: #ffffff;
}

.header-regions a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.12);
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.header-nav a {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
  border-radius: 4px;
  transition: opacity 0.2s, background 0.2s;
}

.header-nav a.active {
  background: #4aa3ff;
  color: #ffffff;
}

.header-nav a:hover {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .header-nav {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .header-nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  .header-logo img {
    max-height: 40px;
  }
}
