.header-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 35;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-menu_show {
  display: block;
}

.header-menu_open {
  opacity: 1;
}

.header-menu .container {
  height: 100%;
}

.header-menu__wrap {
  height: 100%;
}

.header-menu__top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transform: translateY(15px);
  opacity: 0;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-property: opacity, transform;
  transition-delay: .1s;
}

.header-menu__logo {
  max-width: 260px;
}

.header-menu__logo+.header__currentcity {
  margin: 0 0 0 40px;
}

.header-menu__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L12 12M19 19L12 12M12 12L19 5M12 12L5 19' stroke='%2359575F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  cursor: pointer;
}

.header-menu__inner {
  padding: 50px 0;
}

.header-menu__inner {
  padding: 50px 0;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 50px 100px;
}

.header-menu__items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
}

.header-menu__section-title {
  font-weight: 500;
  font-size: 13px;
  line-height: 123%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3773EA;
}

.header-menu__section-item {
  font-size: 18px;
  line-height: 133%;
  color: #201D26;
  display: block;
  margin: 20px 0 0;
  text-decoration: none !important;
  /* width: max-content; */
}

.header-menu__section-item::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #201D26;
  transition: width .3s ease;
  margin: 2px 0 0;
}

.header-menu__section-item:hover::after {
  width: 100%;
}

.header-menu__info-title {
  font-weight: 500;
  font-size: 32px;
  line-height: 125%;
  color: #201D26;
}

.header-menu__info-rows {
  margin: 40px 0 0;
}

.header-menu__info-row:not(:first-child) {
  margin: 32px 0 0;
}

.header-menu__row-title {
  font-size: 18px;
  line-height: 133%;
  color: #989898;
}

.header-menu__row-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 133%;
  color: #201D26;
  margin: 4px 0 0;
}

.header-menu .header__currentcity::after {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 7L8 12L3 7' stroke='%2359575F' stroke-width='1.5'/%3E%3C/svg%3E%0A");
}

.header-menu__block {
  overflow: auto;
  height: calc(100vh - 160px);
}

.header-menu__block {
  scrollbar-color: rgba(55, 115, 234, .7);
  scrollbar-width: thin
}

.header-menu__block::-webkit-scrollbar {
  width: 4px;
  background-color: rgba(222, 222, 222, .75);
  border-radius: 2px
}

.header-menu__block::-webkit-scrollbar-thumb {
  background-color: rgba(55, 115, 234, .7);
  border-radius: 2px;
  transition: all .2s ease
}


.header-menu__block .scrollbar-thumb {
  background-color: rgba(55, 115, 234, .7);
  width: 4px;
}

.header-menu__block .scrollbar-track-y {
  width: 4px;
}

.header-menu__section {
  transform: translateY(15px);
  opacity: 0;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-property: opacity, transform;
}

.header-menu__info {
  transform: translateY(15px);
  opacity: 0;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-property: opacity, transform;
  transition-delay: .2s;
}

.header-menu_open .header-menu__section,
.header-menu_open .header-menu__info {
  opacity: 1;
  transform: translateY(0);
}

.header-menu_open .header-menu__top {
  opacity: 1;
  transform: translateY(0);
}

.menu__catalog {
  position: relative;
  padding: 0 20px 0 0;
}

.menu__catalog:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 7L8 12L3 7' stroke='%2359575F' stroke-width='1.5'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 3px 0 0 5px;
}

.secdark .menu__catalog:after {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 7L8 12L3 7' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E%0A");
}

@media (min-width: 1200px) {

  .header-menu_open .header-menu__section:nth-child(1),
  .header-menu_open .header-menu__section:nth-child(2),
  .header-menu_open .header-menu__section:nth-child(3) {
    transition-delay: 0.2s;
  }

  .header-menu_open .header-menu__section:nth-child(4),
  .header-menu_open .header-menu__section:nth-child(5),
  .header-menu_open .header-menu__section:nth-child(6) {
    transition-delay: 0.3s;
  }
}

@media (min-width: 750px) and (max-width:1199px) {

  .header-menu_open .header-menu__section:nth-child(1),
  .header-menu_open .header-menu__section:nth-child(2) {
    transition-delay: 0.2s;
  }

  .header-menu_open .header-menu__section:nth-child(3),
  .header-menu_open .header-menu__section:nth-child(4) {
    transition-delay: 0.3s;
  }


  .header-menu_open .header-menu__section:nth-child(5),
  .header-menu_open .header-menu__section:nth-child(6) {
    transition-delay: 0.4s;
  }
}

@media (min-width: 600px) and (max-width:749px) {

  .header-menu_open .header-menu__section:nth-child(1) {
    transition-delay: 0.2s;
  }

  .header-menu_open .header-menu__section:nth-child(2) {
    transition-delay: 0.3s;
  }

  .header-menu_open .header-menu__section:nth-child(3) {
    transition-delay: 0.4s;
  }

  .header-menu_open .header-menu__section:nth-child(4) {
    transition-delay: 0.4s;
  }

  .header-menu_open .header-menu__section:nth-child(5) {
    transition-delay: 0.5s;
  }

  .header-menu_open .header-menu__section:nth-child(6) {
    transition-delay: 0.6s;
  }
}

@media (max-width: 600px) {
  .header-menu_open .header-menu__section:nth-child(n+1) {
    transition-delay: 0.2s;
  }

  .header-menu_open .header-menu__info {
    transition-delay: 0.3s;
  }
}





@media (max-width:1400px) {
  .header-menu .container {
    padding: 0 40px;
  }

  .header-menu__top {
    height: 80px;
  }

  .header-menu__logo+.header__currentcity {
    margin: 0 0 0 30px;
  }

  .header-menu__inner {
    padding: 40px 0;
    grid-template-columns: 235px 1fr;
    gap: 50px 70px;
  }

  .header-menu__logo {
    max-width: 200px;
  }

  .header-menu__items {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 1250px) {
  .menu__catalog:after {
    margin: -1px 0 0 5px;
  }
}

@media (max-width: 1200px) {
  .header-menu__items {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width:1100px) {
  .header-menu__inner {
    padding: 30px 0;
    grid-template-columns: 201px 1fr;
    gap: 50px;
  }

  .header-menu__info-title {
    font-size: 28px;
  }

  .header-menu__items {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width:1000px) {
  .header-menu__top {
    height: 60px;
  }

  .header-menu .container {
    padding: 0 25px;
  }

  .header-menu__block {
    height: calc(100vh - 120px);
  }

  .menu__catalog:after {
    display: none;
  }
}

@media (max-width:750px) {
  .header-menu__items {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width:600px) {
  .header-menu .container {
    padding: 0 8px 0 16px;
  }

  .header-menu__info-title {
    font-size: 24px;
  }

  .header-menu__info {
    order: 2;
  }

  .header-menu__block {
    order: 1;
    height: 100%;
    overflow: visible !important;
  }

  .header-menu__logo+.header__currentcity {
    margin: 0 0 0 20px;
  }

  .header-menu__logo {
    max-width: 130px;
  }

  .header-menu__section-item {
    margin: 0;
    width: auto;
  }

  .header-menu__section-item:not(:first-child) {
    margin: 16px 0 0;
  }

  .header-menu__inner {
    padding: 20px 8px 20px 0;
    grid-template-columns: 1fr;
    gap: 30px;
    overflow: auto;
    max-height: calc(100vh - 60px);
  }

  .header-menu__section {
    position: relative;
  }

  .header-menu__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header-menu__section-title {
    font-size: 16px;
  }

  .header-menu__section-items {
    top: 100%;
    background-color: #fff;
    padding: 16px 0 8px 10px;
    width: 100%;
    overflow: hidden;
    display: none;
  }

  .header-menu__info-rows {
    margin: 24px 0 0;
  }

  .header-menu__info-row:not(:first-child) {
    margin: 16px 0 0;
  }

  .header-menu__row-title {
    font-size: 16px;
  }

  .header-menu__close {
    right: -8px;
    top: 0px;
    transform: translateY(0);
  }
}