.header {
  display: flex;
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  /* Число, указывающее порядок слоёв элементов (чем выше число, тем выше элемент) */
  padding: 20px 0;
  box-shadow: 0px 2px 4px rgb(0 0 0 / 50%);
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header_logo {
  display: block;
  z-index: 10;
}

.header_logo a {
  display: block;
  /* width: 100%; */
  /* width: 200px; */
  height: 40px;
}

.header_logo a img {
  /* width: 100%; */
  height: 100%;
  object-fit: contain;
}

.header_nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: 60px; */
}

.header_nav {
  /* width: 100%; */
  transition: ease-out 1s;
}

.header_nav.show {
  top: 80px;
  transition: ease-out 1s;
}

.header_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  transition: ease-out 1s;
  margin: 0 auto;
}

.header_nav-link {
  color: #000;
  transition: color 0.2s ease;
}

.header_nav-link:last-child {
  margin-right: 0;
}

.header_nav-link:hover {
  color: #e4c915;
}

.header_nav-soc {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(36 36 36 / 12%);
  padding: 10px 0;
  width: 200px;
  border-radius: 60px;
  color: #000;
}

.header_nav-soc:hover>.header_phone {
  color: var(--blue-dark);
}

.header_nav-soc a {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  /* border: 1px solid rgb(36 36 36 / 12%); */
  /* border-radius: 60px; */
  /* padding: 10px; */
  transition: all 280ms cubic-bezier(0.55, 0.14, 0.43, 0.68) 0ms;
}

.header_nav-soc a span:first-child {
  padding-right: 0;
}

.header_nav-soc:hover {
  border: 1px solid #3a70b6;
}

.header_icon {
  margin-right: 14px;
  display: flex;
  align-items: center;
}

.header_phone {
  font-weight: 500;
  font-size: 0.875rem;
}

.header_phone:hover {
  color: var(--blue-dark);
}

.header_icon img {
  width: 19px;
}

.header_burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: ease 1s;
  cursor: pointer;
}

.header_burger span {
  top: calc(50% - 1px);
  left: 50%;
  position: absolute;
  width: 60%;
  height: 2px;
  background-color: var(--blue-dark);
  border-radius: 50px;
  transform: translateX(-50%);
  transition: ease 1s;
}

.header_burger span:first-child {
  top: 11px;
}

.header_burger span:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
}

.header_burger span:last-child {
  top: auto;
  bottom: 11px;
}

.header_burger.active span:first-child {
  left: 23%;
  transform: rotate(45deg);
  top: 19px;
}

.header_burger.active span:nth-child(2) {
  transform: scale(0);
}

.header_burger.active span:last-child {
  left: 23%;
  transform: rotate(-45deg);
  bottom: 19px;
}

@media (max-width: 1200px) {
  .header_nav-inner {
    width: 80%;
  }

  .header_nav-soc {
    width: 175px;
  }
}

@media (max-width: 1100px) {
  .header_nav-inner {
    width: 79%;
  }

  .header_wrapper {
    width: 500px;
  }

  .header_nav {
    position: fixed;
    flex-direction: column;
    justify-content: flex-start;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow: hidden;
    z-index: 10;
  }

  .header_wrapper {
    padding: 15px;
    background-color: #fff;
    border-radius: 0px 0px 20px 20px;
    flex-direction: column;
    /* gap: 30px; */
    width: 100%;
  }

  .header_nav-inner {
    flex-direction: column;
    gap: 20px;
    width: 93%;
  }

  .header_nav-link {
    display: block;
    margin-right: 0;
    text-align: center;
  }

  .header_burger {
    display: block;
    z-index: 10;
  }

  .header_nav-soc {
    width: 200px;
  }

  .header_nav-soc a span {
    font-size: 16px;
    line-height: normal;
    /* margin-left: 12px; */
    margin: 0;
    padding: 0 10px;
    color: #000;
  }
}

@media (max-width: 1000px) {
  .header_wrapper {
    width: 400px;
  }
}

@media (max-width: 900px) {
  .header_wrapper {
    width: 300px;
  }
}

@media (max-width: 800px) {
  .header_logo a {
    /* width: 253px; */
    height: 39px;
    width: 100%;
    display: block;
  }

  .header {
    position: sticky;
    padding: 0;
    height: 80px;
    color: #fff;
  }
}

@media (max-width: 700px) {
  .nav {
    max-width: none;
  }

  .header_nav-soc {
    width: 190px;
  }
}

@media (max-width: 500px) {
  .container {
    max-width: 450px;
  }

  .header_logo {
    display: flex;
    z-index: 10;
  }

  .header_logo a {
    display: flex;
    height: 50px;
  }

  .header_logo a img {
    height: 100%;
    padding: 10px 0;
  }

  .header_nav-soc {
    width: 170px;
  }

  .header_nav-soc a span {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  /* .header_nav-soc {
    display: none;
  } */
}