.header {
  position: sticky;
  z-index: 50;
  top: 8px;
  transition: box-shadow 0.3s;
}

.header--fixed .header__wrap {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.header__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  padding-right: 8px;
  background-color: #fff;
  border-radius: 300px;
  transition: box-shadow 0.3s;
}

.header__logo {
  max-width: 182px;
  width: 100%;
}

.header__nav .header__tel {
  display: none;
}

.header__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.header__menu li a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration 0.3s;
}

.header__tel {
  display: inline-block;
  font-size: 14px;
  color: #fe5000;
  padding: 15px 23px;
  border: 1px solid #fe5000;
  border-radius: 300px;
}

.toggle {
  position: relative;
  width: 20px;
  height: 14px;
  cursor: pointer;
  display: none;
}

.toggle.active .toggle__line {
  background-color: transparent;
}

.toggle.active .toggle__line::after {
  top: 0;
  transform: rotate(45deg);
}

.toggle.active .toggle__line::before {
  bottom: 0;
  transform: rotate(-45deg);
}

.toggle::after {
  content: "";
  position: absolute;
  inset: -10px;
}

.toggle__line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  border-radius: 300px;
  transition: all 0.3s;
}

.toggle__line::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #000;
  border-radius: 300px;
  transition: all 0.3s;
}

.toggle__line::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #000;
  border-radius: 300px;
  transition: all 0.3s;
}

@media (max-width: 750px) {
  .header {
    padding: 21px 0;
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid #e2e4e9;
  }

  .header--fixed {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  .header--fixed .header__wrap {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  }

  .header__wrap {
    padding: 0;
    background-color: transparent;
  }

  .header__logo {
    max-width: 128px;
  }

  .header__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 10;
    top: 64px;
    left: 0;
    height: calc(100% - 64px);
    width: 100%;
    background-color: #fff;
    padding: 15px;
    padding-bottom: 50px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .header__nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: initial;
  }

  .header__nav .header__tel {
    display: block;
    margin-top: auto;
    text-align: center;
  }

  .header__menu {
    display: block;
  }

  .header__menu li a {
    display: block;
    padding: 15px;
  }

  .header__tel {
    display: none;
  }

  .toggle {
    display: block;
  }
}

@media (hover: hover) {
  .header__menu li a:hover {
    text-decoration-color: #0b0d0e;
  }
}