.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 98px;
  background: linear-gradient(180deg, rgb(0 0 0 / 60%) 14%, transparent 84%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 192px), var(--content-width));
  height: 100%;
  margin-inline: auto;
}

.site-header__controls,
.main-navigation,
.language-switch {
  display: flex;
  align-items: center;
}

.site-header__controls {
  gap: 24px;
}

.language-switch {
  width: 84px;
  height: 28px;
  border: 1px solid var(--color-primary);
  border-radius: 100px;
  overflow: hidden;
}

.language-switch__button {
  display: grid;
  flex: 1;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 19px;
  place-items: center;
}

.language-switch__button.active {
  border-radius: 100px;
  background-color: var(--color-primary);
  color: var(--color-text);
  font-weight: 700;
}

.main-navigation {
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 26px;
  text-decoration: none;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 132px;
  height: 48px;
  text-decoration: none;
}

.logo__initials {
  display: block;
  margin-right: 6px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: calc(-0.18em - 5px);
  line-height: 48px;
}

.logo__name {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 22px;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 990px) {
  .site-header {
    height: 82px;
    background: none;
  }

  .site-header__inner {
    align-items: flex-start;
    width: calc(100% - 32px);
    height: 50px;
    margin-top: 32px;
  }

  .site-header__controls {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-items: center;
  }

  .mobile-menu-button img {
    width: 48px;
    height: 48px;
  }
}
