body.has-fixed-header .header:not(.header_fix) {
  visibility: hidden;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 0.4166666667vw;
  margin-left: auto;
  font-size: 0.9375vw;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.header_fix .header__lang {
  margin-left: 0;
  font-size: 0.8333333333vw;
}

.header__lang-link {
  opacity: 0.45;
  transition: opacity 0.2s ease-in-out;
}

.header__lang-link.is-active {
  opacity: 1;
}

.header__lang-link:hover {
  opacity: 1;
}

.header--white .header__lang-link,
.header--white .header__lang-sep {
  color: #fff;
}

.navfix__lang.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.navfix__lang.language-switcher .language-switcher__button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 1;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.navfix__lang.language-switcher .language-switcher__button.is-active {
  background: #fff;
  color: #4c3731;
}

.navfix__lang.language-switcher .language-switcher__button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.navfix__lang.language-switcher .language-switcher__button.is-active:hover {
  background: #fff;
}

.header_fix .header__inner {
  gap: 1.25vw;
}

.header_fix .header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.header_fix .header__nav ul {
  gap: 1.25vw;
}

.header_fix .header__nav li a {
  font-size: 1.1458333333vw;
}

.header_fix .header__cat {
  gap: 2.0833333333vw;
  flex-shrink: 0;
}

.header_fix .header__cat-item {
  margin-right: 0;
}

html[lang=ru] .header_fix .header__nav ul {
  gap: 0.9375vw;
}

html[lang=ru] .header_fix .header__nav li a {
  font-size: 1.0416666667vw;
}

html[lang=ru] .header_fix .header__cat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8333333333vw;
}

html[lang=ru] .header_fix .header__cat-item {
  margin-right: 0;
}

html[lang=ru] .header_fix .header__cat-item + .header__cat-item {
  margin-top: 0;
}

html[lang=ru] .header_fix .header__cat-item__link {
  font-size: 1.1458333333vw;
}

html[lang=ru] .header_fix .header__cat-item__count {
  font-size: 0.6770833333vw;
}

html[lang=ru] .catalog__title .nowrap {
  white-space: normal;
}

html[lang=ru] .social__title {
  max-width: 57%;
  font-size: 9.8vw;
  line-height: 0.9;
}

html[lang=ru] .social--contacts .social__title {
  max-width: 68%;
  font-size: 8.4vw;
  line-height: 0.92;
}

html[lang=ru] .social__title .word {
  display: inline-block;
}

html[lang=ru] .promo__title:not(.fs--about):not(.fs--clients):not(.fs--contacts):not(.promo__tthank) {
  white-space: normal;
  max-width: 78%;
  font-size: 12.2vw;
  line-height: 0.92;
}

html[lang=ru] .promo__title.fs--contacts {
  white-space: normal;
  max-width: 72%;
  font-size: 11.7vw;
  line-height: 0.92;
}

html[lang=ru] .contacts__title {
  max-width: 72%;
  font-size: 4.3vw;
  line-height: 1.08;
}

html[lang=ru] .career__title {
  max-width: 100%;
  font-size: clamp(56px, 5.2vw, 88px);
  line-height: 0.92;
}

html[lang=ru] .team__title {
  max-width: 62%;
  font-size: 9.2vw;
  line-height: 0.92;
}

html[lang=ru] .scout__title {
  margin-left: -4vw;
  font-size: 10.8vw;
  line-height: 0.84;
  max-width: 72vw;
  white-space: normal;
}

html[lang=ru] .scout__clients {
  width: 16vw;
  font-size: 0.62vw;
  gap: 1.6vw;
}

html[lang=en] .scout__title {
  margin-left: -4vw;
  font-size: 10.8vw;
  line-height: 0.84;
  letter-spacing: -0.02em;
  max-width: 72vw;
  white-space: normal;
}

html[lang=en] .scout__clients {
  width: 16vw;
  font-size: 0.62vw;
  gap: 1.6vw;
}

html[lang=ru] .scout__clients-list ul {
  gap: 0.18vw 0.35vw;
}

html[lang=ru] .social__title .letter,
html[lang=ru] .contacts__title .letter,
html[lang=ru] .promo__title .letter,
html[lang=ru] .team__title .letter,
html[lang=ru] .scout__title .letter,
html[lang=ru] .career__title .letter {
  transform: translateZ(0);
}

@media (max-width: 1023px) {
  .header__lang {
    gap: 6px;
    font-size: 12px;
  }

  html[lang=ru] .social__title {
    max-width: 72%;
    font-size: 14.5vw;
    line-height: 0.92;
  }

  html[lang=ru] .promo__title:not(.fs--about):not(.fs--clients):not(.fs--contacts):not(.promo__tthank) {
    max-width: 100%;
    font-size: 12.6vw;
  }

  html[lang=ru] .promo__title.fs--contacts {
    max-width: 100%;
    font-size: 12vw;
  }

  html[lang=ru] .contacts__title {
    max-width: 100%;
    font-size: 6.4vw;
    line-height: 1.12;
  }

  html[lang=ru] .career__title {
    max-width: 100%;
    font-size: clamp(42px, 8vw, 68px);
    line-height: 0.92;
  }

  html[lang=ru] .team__title {
    max-width: 100%;
    font-size: 14.2vw;
    line-height: 0.94;
  }

  html[lang=ru] .scout__title {
    margin-left: 0;
    font-size: 12vw;
    line-height: 0.9;
    max-width: 100%;
  }

  html[lang=ru] .scout__clients {
    width: 20vw;
    font-size: 0.9vw;
  }

  html[lang=en] .scout__title {
    margin-left: 0;
    font-size: 12vw;
    line-height: 0.9;
    max-width: 100%;
  }

  html[lang=en] .scout__clients {
    width: 20vw;
    font-size: 0.9vw;
  }
}

@media (max-width: 609.98px) {
  .header__lang {
    order: 3;
    margin-left: 0;
    margin-right: 12px;
    font-size: 11px;
  }

  .header_fix .header__lang {
    margin-right: 10px;
  }
}
