.header {
  background: #fff;
  padding: 16px 0 12px 0;
  position: fixed;
  width: 100%;
  z-index: 9999;
}
.header .container {
  position: unset;
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  height: 28px;
  width: auto;
}
.header__mid {
  display: flex;
  align-items: center;
  gap: 42px;
}
.header__mid-item {
  display: flex;
  pointer-events: all;
  z-index: 9999;
}
.header__mid-item:hover > .header__submenu {
  transform: translateY(0px);
  pointer-events: all;
  opacity: 1;
  pointer-events: all;
  z-index: 999;
}
.header__link {
  display: flex;
  align-items: center;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #898d90;
  position: relative;
  z-index: 9999;
  pointer-events: all;
}
.header__submenu {
  position: absolute;
  z-index: 999;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  min-height: 276px;
  height: auto;
  display: flex;
  align-items: flex-start;
  gap: 305px;
  justify-content: center;
  padding: 40px 20px;
  border-top: 1px solid #898d905d;
  transform: translateY(-100px);
  pointer-events: none;
  opacity: 0;
  transition: 0.7s ease;
}
.header__submenu::before {
  content: '';
  position: absolute;
  top: -30px;
  background: transparent;
  width: 100%;
  height: 30px;
  left: 0;
}
.header__subtitle {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #898d90;
}
.header__submain {
  display: flex;
  gap: 80px;
  align-items: stretch;
}
.header__separator {
  height: auto;
  width: 1px;
  background: #898d90;
  opacity: 0.3;
}
.header__submain-right {
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}
.header__submain-right img {
  height: 196px;
  width: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.header__sub-sub-menu {
  overflow: hidden;
  max-width: 0px;
  padding-right: 0;
  transition: 0.4s ease;
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 12px;
  text-wrap: nowrap;
}
.header__sub-sub-menu a {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #898D90;
}
.header__submain-left {
  display: flex;
  flex-flow: column;
  gap: 16px;
}
.header__submain-left a {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 40px;
  text-decoration: none;
  color: #898d90;
  height: 24px;
  display: flex;
  align-items: center;
}
.header__btn {
  background: #0d499c;
  border-radius: 40px;
  padding: 2px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  height: 44px;
  color: #ffffff;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__lang-cont {
  position: relative;
}
.header__lang-cont:hover .header__lang-list {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0px);
}
.header__lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #898d9021;
  padding: 2px 16px;
  border-radius: 100px;
  width: 65px;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  color: #898d90;
}
.header__lang-list {
  position: absolute;
  top: 120%;
  width: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 8px;
  z-index: 999;
  background: #ffffff;
  border-radius: 4px;
  padding: 8px 0;
  transition: 0.7s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}
.header__lang-list a {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  color: #898d90;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .header {
    position: fixed;
    width: 100%;
    z-index: 4;
    padding: 16px 0;
  }
  .header__logo {
    height: 20px;
  }
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 90px;
    height: 100%;
    width: 100%;
    z-index: 3;
    transform: translateY(-150%);
    background: #fff;
    transition: 0.3s ease;
  }
  .mobile-menu.opened {
    transform: translateY(0);
  }
  .mobile-menu__submenu {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateY(-180%);
    transition: 0.5s ease;
    z-index: 9;
    width: 100%;
    height: 100%;
    background: #fff;
  }
  .mobile-menu__submenu.opened {
    transform: translateY(0);
  }
  .mobile-menu__submenu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
  }
  .mobile-menu__submenu-title {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    color: #0D499C;
  }
  .mobile-menu__submenu-list {
    display: flex;
    flex-flow: column;
    width: 100%;
    gap: 16px;
    margin-top: 28px;
  }
  .mobile-menu__submenu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    text-decoration: none;
    color: #898D90;
  }
  .mobile-menu__content {
    display: flex;
    flex-flow: column;
    gap: 40px;
    width: 100%;
  }
  .mobile-menu__menu {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 20px;
  }
  .mobile-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 40px;
    text-decoration: none;
    color: #898D90;
  }
  .mobile-menu__langs {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-menu__langs a {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 40px;
    text-transform: uppercase;
    color: #898D90;
    text-decoration: none;
  }
  .mobile-menu__langs a.current {
    color: #0D499C;
  }
  .mobile-menu__contacts {
    display: flex;
    flex-flow: column;
    gap: 12px;
    align-items: flex-start;
  }
  .mobile-menu__contact-label {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #898D90;
    opacity: 0.7;
  }
  .mobile-menu__contact-link {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    text-decoration-line: underline;
    color: #0D499C;
  }
  .mobile-menu__contact-item {
    display: flex;
    flex-flow: column;
    gap: 2px;
  }
  .mobile-menu__socials {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-menu__social-item {
    height: 42px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(137, 141, 144, 0.1);
    border-radius: 100px;
  }
}
