:root {
  --site-header-dark: #1f2937;
  --site-header-darker: #111827;
  --site-header-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.site-header {
  background: linear-gradient(
    135deg,
    var(--site-header-dark, #1f2937) 0%,
    var(--site-header-darker, #111827) 100%
  );
  padding: 20px 0;
  box-shadow: var(--shadow-lg, var(--site-header-shadow));
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .brand-logo {
  height: 42px;
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-header .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.site-header .menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 15px;
  border-radius: 8px;
  padding: 4px 0;
}

.site-header .menu a:hover {
  color: var(--primary, #dc2626);
}

.site-header .menu .menu-cta {
  background: var(--primary, #dc2626);
  color: var(--primary-ink, #ffffff);
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.site-header .menu .menu-cta:hover {
  color: var(--primary-ink, #ffffff);
  transform: translateY(-1px);
}

.site-header .menu a.is-active:not(.menu-cta) {
  color: var(--primary, #dc2626);
}

.site-header .menu .menu-cta.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .site-header .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .menu {
    width: 100%;
    justify-content: flex-start;
  }
}
