.header {
  height: var(--header-height);
  background: var(--light-color-80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
  z-index: 5;
  position: fixed;
}

.header .container {
  display: flex;
  align-items: center;
  height: inherit;
}

.logo img {
  width: clamp(130px, 9.37vw, 9.37vw);
}

.menu__container {
  margin-left: auto;
  overflow: auto;
}

.menu__list {
  display: flex;
  gap: 1.56vw;
}

.menu__list > li {
  display: flex;
  font-size: clamp(12px, 0.72vw, 0.72vw);
  font-weight: 500;
  line-height: 140%;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
}

.menu__list > li > .link-anchor {
  flex: 1;
}

.menu__list > li.active {
  color: var(--primary-color);
  font-weight: bold;
}

.menu__list > li > a::before {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.btn__contact__wrapper {
  margin-left: 8.54vw;
}

.btn__contact {
  padding: clamp(7px, 0.46vw, 0.46vw) clamp(17px, 1.4vw, 1.4vw);
  border-radius: 0.41vw;
  line-height: 1.04vw;
  font-size: clamp(11px, 0.72vw, 0.72vw);
}

.header__burger {
  position: relative;
  display: none;
  gap: 8px;
  margin-right: 20px;
}

.header__burger::after,
.header__burger::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--dark-color);
  transition: 0.3s all;
}

body.open .header__burger::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top: -10px;
}

body.open .header__burger::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: relative;
  margin-top: 10px;
}

.header__social {
  display: none;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 66px;
  }

  body.open .header {
    background: unset;
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
  }

  body.open .header .container::before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--light-color);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .header__burger {
    display: grid;
  }

  .logo img {
    width: 180px;
  }

  .btn__contact__wrapper {
    margin-left: auto;
  }

  .btn__contact {
    padding: 9px 32px;
    border-radius: 8px;
    line-height: 20px;
  }

  .menu__container {
    display: flex;
    position: absolute;
    height: calc(100dvh - var(--header-height));
    background: var(--light-color-90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    top: var(--header-height);
    width: 100%;
    left: -100%;
    transition: 0.4s left;
    padding: 100px 0 0 68px;
    flex-direction: column;
  }

  .menu {
    margin-bottom: 48px;
  }

  .menu__list {
    flex-direction: column;
    gap: 48px;
  }

  .menu__list > li {
    font-size: 32px;
    line-height: 32px;
    position: relative;
  }

  .menu__list > .active::after {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -9px;
  }

  .header__social {
    display: flex;
    gap: 27px;
    margin: auto 0 40px;
  }

  .header__social__item {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    background: var(--dark-color);
    border-radius: 50%;
  }

  .header__social__item img {
    width: 16px;
  }

  body.open .menu__container {
    left: 0;
  }

  body.open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 48px;
  }

  .header__burger::after,
  .header__burger::before {
    width: 16px;
    height: 1px;
  }

  .header__burger {
    margin-right: 26px;
  }

  body.open .header__burger::after {
    margin-top: -9px;
  }

  .logo img {
    width: 100px;
  }

  .btn__contact {
    padding: 6px 19px;
    line-height: 16px;
  }

  .menu__container {
    padding: 64px 0 0 36px;
  }

  .menu__list {
    gap: 35px;
  }

  .menu__list > .active::after {
    width: 22px;
  }

  .menu__list > li {
    font-size: 22px;
    line-height: 22px;
  }

  .header__social__item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }

  .header__social__item img {
    width: 12px;
  }
}
