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

.header:not(.header_fix) .header__cat-item {
  transform: translateX(100vw);
}

.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,
.footer__lang.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.navfix__lang.language-switcher .language-switcher__button,
.footer__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,
.footer__lang.language-switcher .language-switcher__button.is-active {
  background: #fff;
  color: #4c3731;
}

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

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

.navfix__left .navfix__lang {
  align-self: flex-start;
  margin-top: 38px;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__menu .footer__lang {
  margin-top: 1.2vw;
}

.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;
}

html[lang=en] .header_fix .header__cat {
  gap: 5vw;
}

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

.header__cat-item__link::after {
  display: none;
}

.header__cat-item__link span::after {
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
}

.header_fix .header__cat-item__link span::after {
  text-decoration-thickness: 2px;
}

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;
}

@media (min-width: 1024px) {
  html[lang=ru] .catalog__title {
    max-width: 68%;
    line-height: 0.95;
  }
}

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

html[lang=ru] .social--contacts .social__title {
  max-width: 84%;
  font-size: 7.5vw;
}

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 {
  font-size: 13vw;
}

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

html[lang=ru] .promo__thxright {
  margin-left: auto;
}

html[lang=ru] .department__item-head > a {
  display: inline-flex;
  align-items: flex-end;
}

html[lang=ru] .department__item-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.05em;
}

html[lang=ru] .department__item-title span::after {
  display: none;
}

html[lang=ru] .department__item-title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 3.5px solid currentColor;
  content: "";
}

html[lang=ru] .department__item-count {
  margin-left: 0.8vw;
  line-height: 1;
  white-space: nowrap;
}

html[lang=ru] .career__title {
  align-self: flex-end;
  width: 100%;
  max-width: 100%;
  margin-right: 180px;
  font-size: 9.1145833333vw;
  line-height: 0.97143;
  text-align: right;
}

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;
}

@media (min-width: 1024px) {
  html[lang=ru] .scout__props {
    width: 60%;
    flex-wrap: nowrap;
    gap: 0 2vw;
    font-size: 1.45vw;
  }

  html[lang=ru] .footer__nav {
    align-items: flex-end;
  }

  html[lang=ru] .footer__nav > .footer__navitem:first-child {
    flex-basis: 100%;
  }
}

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 {
    font-size: 12vw;
  }

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

  html[lang=ru] .promo__thxright {
    margin-left: 0;
  }

  html[lang=ru] .career__title {
    max-width: 100%;
    margin-right: 0;
    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;
  }

  html[lang=ru] .career__title {
    font-size: 56px;
    line-height: 0.92;
  }
}
