.header {
  background-color: #fff;
  border-bottom: 2px solid #42d0b0;
  height: auto;
}

.inner-header {
  position: relative;
  padding: 12px 24px;
}

.header__logo img {
  padding-right: 12px;
}

.header__cta .button--primary {
  background-color: #000;
  color: #fff;
}

.header__block {
  align-items: center;
  gap: 20px;
  background-color: #fff;
}

.main-nav-list {
  gap: 13px;
}

.btn-list.no-list {
  align-items: center;
}

.main-nav-list > .main-nav__item {
  margin: 0;
  padding: 16px 0;
}

.main-nav__item.menu-drop {
  position: static;
}

.main-nav__item > button {
  padding: 0;
}

.main-nav__item > button,
.main-nav__item {
  font-size: 14px;
}

.sub-menu__item .main-nav__item-label {
  margin-bottom: 8px;
}

.sub-menu__item > button {
  font-weight: 700;
  pointer-events: none;
}

.menu-drop-panel.sub-menu-drop {
  transition: 0.3s ease;
  display: flex !important;
  flex-flow: column wrap;
  gap: 15px;
  left: 0;
  top: calc(100% - 11px);
  width: 100%;
  height: auto !important;
  max-height: 600px !important;
  overflow: scroll;
  background-color: #fff;
  padding: 40px 50px;
  opacity: 0;
  pointer-events: none;
  scrollbar-width: none;
}

.menu-drop.is-active .sub-menu-drop {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1440px) {
  .menu-drop-panel.sub-menu-drop {
    width: calc(100% - 48px);
    margin: 0 24px;
  }
}

.sub-menu__item-sublevel.is-active {
  background-color: transparent;
}

.sub-menu-drawer.menu-drop-panel {
  visibility: visible;
  height: auto;
}

.sub-menu-drawer .sub-menu__item {
  font-size: 16px;
  padding: 6px 0 !important;
}

.sub-menu-drawer > .sub-menu__item:first-of-type {
  padding-top: 0;
}

.sub-menu__item .main-nav__item-icon {
  display: none;
}

.sub-menu__item-sublevel .sub-menu__item:first-of-type {
  border: none;
  margin-top: 0;
}

.sub-menu-drop .sub-menu__item:last-of-type {
  padding-bottom: 0.6em;
}

.sub-menu__item-sublevel {
  padding: 0 !important;
}

/* hover */

.sub-menu__item a:hover {
  color: #42d0b0;
  box-shadow: 0 2px #42d0b0;
}

/* Mobile */
.header__block-toggle {
  padding: 0;
  justify-content: center;
  gap: 3px;
  transform: none;
}

.header__block-toggle:focus {
  outline: none;
}

.js-header__block-toggle--reverse {
  transform: none;
}

.js-header__block-toggle--reverse .header__block-toggle-item--l {
  transform: translateY(-4px) rotate(-45deg);
}

.js-header__block-toggle--reverse .header__block-toggle-item--s {
  transform: translateY(3px) rotate(45deg);
}

.header__block-toggle-item {
  width: 100%;
  height: 4px;
  border-radius: 2px;
}

.header__block-toggle-item--m {
  display: none;
}

.js-launch.header {
  height: auto;
}

@media (max-width: 767px) {
  .inner-header {
    position: static;
  }

  .header__nav {
    width: 100%;
  }

  .header__block.is-active {
    padding: 8px 20px;
    top: 66px;
    right: 0;
    left: initial;
    width: 244px;
    filter: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));
    height: auto;
    border-bottom: 2px solid #42d0b0;
    overflow: hidden;
    gap: 32px;
  }

  .main-nav-list {
    gap: 4px;
  }

  .main-nav__item .main-nav__item-icon {
    position: absolute;
    width: 25px;
    height: 25px;
    right: -7px;
  }

  .main-nav__item.is-active > .drop-trigger > .main-nav__item-icon {
    transform: rotate(0);
  }

  .main-nav__item > button {
    justify-content: space-between;
    width: 100%;
    position: relative;
  }

  .main-nav__item.is-active > button {
    padding-bottom: 26px;
  }

  .menu-drop-panel.sub-menu-drop {
    position: absolute;
    top: 0;
  }

  .header__cta {
    padding: 20px 4px 44px;
    margin: 0;
    border-top: 1px solid #edeef1;
  }

  .header__cta,
  .header__cta .btn-list,
  .header__cta .btn-list__item {
    width: 100%;
  }

  .header__cta .button {
    font-size: 16px;
    display: flex;
    justify-content: center;
  }

  .menu-drop .sub-menu-drop {
    flex-wrap: nowrap;
    padding: 0 0 0 15px;
    margin: 0;
    top: 40px;
    left: 20px;
    width: 100%;
  }

  .menu-drop.is-active .sub-menu-drop {
    position: static;
  }

  .sub-menu-drawer .sub-menu__item {
    line-height: 28px;
    padding: 0 !important;
    white-space: initial;
  }
}

@media (max-width: 639px) {
  .header__block.is-active {
    width: 100%;
  }
}