.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--belyy);
}
.header.fixed {
  position: fixed;
  transform: translateY(-100%);
  transition: transform var(--anim150);
  will-change: transform;
}
.header.fixed .header-main {
  padding: 5px 0;
}
.header.scroll-up {
  transform: translateY(0);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 17px 0;
  transition: padding var(--anim150);
}
@media (max-width: 1400px) {
  .header-main {
    gap: 24px;
  }
}
@media (max-width: 1225.98px) {
  .header-main {
    gap: 10px;
  }
}
@media (max-width: 767.98px) {
  .header-main {
    padding: 20px 0;
  }
}
.header-logo {
  max-width: 222px;
}
@media (max-width: 767.98px) {
  .header-logo {
    max-width: 157px;
  }
}
.header-menu {
  display: flex;
  gap: 43px;
}
@media (max-width: 1400px) {
  .header-menu {
    flex-grow: 1;
    justify-content: space-between;
    gap: 16px;
  }
}
@media (max-width: 1225.98px) {
  .header-menu {
    display: none;
  }
}
.header-menu li a {
  position: relative;
  transition: all var(--anim150);
  font: 500 14px/1.3 var(--mainfont);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.header-menu li a:hover,
.header-menu li a.active {
  text-shadow: 0 0 1px;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-left: auto;
  padding: 15px 0 15px 10px;
  border-left: 1px solid #bcc5c4;
}
@media (max-width: 767.98px) {
  .header-contact {
    display: none;
  }
}
.header-locate {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--seryy);
}

.header-contact-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
}

.header-phone {
  font-size: 12px;
  white-space: nowrap;
  color: var(--seryy);
}

.header-lang {
  position: relative;
  font: 500 12px/1.2 var(--mainfont);
  text-transform: uppercase;
  color: var(--seryy);
}
.header-lang.show:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 1;
}
.header-lang.show .header-lang__current:after {
  transform: rotate(180deg);
}
.header-lang__current {
  position: relative;
  padding-right: 10px;
}
.header-lang__current:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  transition: transform var(--anim150);
  background-image: url(../images/icons/check.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.header-lang-pnl {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  top: calc(100% + 3px);
  left: -8px;
  width: -moz-min-content;
  width: min-content;
  padding: 14px 8px;
  transition: opacity var(--anim150);
  z-index: 2;
  box-shadow:
    1px 3px 6px 0 rgba(0, 0, 0, 0.1),
    2px 12px 12px 0 rgba(0, 0, 0, 0.09),
    5px 26px 16px 0 rgba(0, 0, 0, 0.05),
    9px 46px 19px 0 rgba(0, 0, 0, 0.01),
    13px 72px 21px 0 rgba(0, 0, 0, 0);
  background: var(--belyy);
}
.header-lang__item.selected {
  display: none;
}
.header-burger {
  display: none;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  cursor: pointer;
  background-image: url(../images/icons/burger.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 1225.98px) {
  .header-burger {
    display: flex;
  }
}
