.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(17, 22, 20, .96);
}

.header-inner {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.brand {
  flex: 0 1 210px;
}

.brand img {
  width: 196px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.site-header nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  color: var(--muted-color);
  font-size: .9rem;
  transition: color .2s ease;
}

.site-header nav a:hover {
  color: var(--color2);
}

.header-contact {
  flex: 0 0 auto;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 0 18px;
    padding-block: 12px;
  }

  .brand {
    flex-basis: 170px;
  }

  .brand img {
    width: 164px;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    padding-top: 10px;
  }

  .site-header nav ul {
    justify-content: space-between;
    gap: 12px;
  }

  .site-header nav a {
    font-size: .82rem;
  }
}

@media (max-width: 420px) {
  .header-inner {
    width: calc(100% - 32px);
  }

  .brand {
    flex-basis: 140px;
  }

  .brand img {
    width: 138px;
  }

  .header-contact {
    min-height: 38px;
    padding: 8px 10px;
    font-size: .78rem;
  }

  .site-header nav a {
    font-size: .76rem;
  }
}
