@font-face {
  font-family: "Mariupol";
  src: url("../fonts/Mariupol-Bold.eot");
  src: url("../fonts/Mariupol-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Mariupol-Bold.woff2") format("woff2"), url("../fonts/Mariupol-Bold.woff") format("woff"), url("../fonts/Mariupol-Bold.ttf") format("truetype"), url("../fonts/Mariupol-Bold.svg#Mariupol-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mariupol";
  src: url("../fonts/Mariupol-Medium.eot");
  src: url("../fonts/Mariupol-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Mariupol-Medium.woff2") format("woff2"), url("../fonts/Mariupol-Medium.woff") format("woff"), url("../fonts/Mariupol-Medium.ttf") format("truetype"), url("../fonts/Mariupol-Medium.svg#Mariupol-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mariupol";
  src: url("../fonts/Mariupol-Regular.eot");
  src: url("../fonts/Mariupol-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Mariupol-Regular.woff2") format("woff2"), url("../fonts/Mariupol-Regular.woff") format("woff"), url("../fonts/Mariupol-Regular.ttf") format("truetype"), url("../fonts/Mariupol-Regular.svg#Mariupol-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mariupol Symbols";
  src: url("../fonts/MariupolSymbols.eot");
  src: url("../fonts/MariupolSymbols.eot?#iefix") format("embedded-opentype"), url("../fonts/MariupolSymbols.woff2") format("woff2"), url("../fonts/MariupolSymbols.woff") format("woff"), url("../fonts/MariupolSymbols.ttf") format("truetype"), url("../fonts/MariupolSymbols.svg#MariupolSymbols") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  background-color: #00131F;
  color: #EBF7FF;
  font-family: "Mariupol", sans-serif;
}

.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 16px;
  margin: 0 auto;
}

a {
  transition: all 0.5s ease-in-out;
}

.btn-white {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  background-color: #EBF7FF;
  padding: 16px 30px;
  border-radius: 65px;
  color: #1D1B1E;
  text-decoration: none;
}
.btn-white:hover, .btn-white:focus {
  background-color: #86CFFF;
}

.header .mobile-menu {
  display: none;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .main-navigation {
  width: auto;
}
.header ul.menu__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style-type: none;
  padding: 20px 24px;
  margin: 0;
  border: 2px solid rgba(235, 247, 255, 0.3);
  border-radius: 64px;
}
.header .menu-item {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header .menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #EBF7FF;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.header .menu__link:hover, .header .menu__link:focus-visible {
  color: #86CFFF;
  outline: none;
}
.header .icon-arrow-down {
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}
.header .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 220px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: #002D49;
  border: 1px solid rgba(235, 247, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.header .sub-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}
.header .sub-menu .menu__link {
  padding: 10px 12px;
  font-size: 18px;
  white-space: normal;
  border-radius: 10px;
}
.header .sub-menu .menu__link:hover, .header .sub-menu .menu__link:focus-visible {
  color: #00131F;
  background: #EBF7FF;
}
.header .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.header .menu-item-has-children.is-open > .menu__link .icon-arrow-down {
  margin-top: 5px;
  transform: rotate(225deg);
}
@media (hover: hover) and (min-width: 992px) {
  .header .menu-item-has-children:focus-within > .sub-menu,
  .header .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}
@media (max-width: 991px) {
  .header ul.menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px;
    border-radius: 28px;
  }
  .header .menu__link {
    justify-content: space-between;
    padding: 12px 0;
    font-size: 18px;
    white-space: normal;
  }
  .header .sub-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 12px;
    border-width: 0;
    box-shadow: none;
    overflow: hidden;
    transform: none;
    transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
  }
  .header .sub-menu::before {
    display: none;
  }
  .header .sub-menu .menu__link {
    padding: 9px 0;
    font-size: 16px;
  }
  .header .menu-item-has-children.is-open > .sub-menu {
    max-height: 500px;
    padding: 6px 12px 12px;
    border-width: 1px;
    transform: none;
  }
}