.ml-header,
.ml-footer {
  font-family: "Open Sans", Arial, sans-serif;
}

.ml-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ml-container {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

.ml-topbar {
  background: #021e84;
  color: #fff;
  font-size: 14px;
}
.ml-topbar .ml-topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}
.ml-topbar a {
  color: #fff;
  text-decoration: none;
}
.ml-topbar .ml-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.ml-topbar .ml-topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ml-topbar .ml-topbar-social a {
  font-size: 15px;
  line-height: 1;
}

.ml-mainbar {
  background: #ffffff;
  border-bottom: 2px solid #0a2798;
  will-change: height;
}
.ml-mainbar .ml-mainbar-inner {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  transition: height 0.25s ease;
}
.ml-mainbar .ml-logo-link {
  display: inline-flex;
  align-items: center;
}
.ml-mainbar .ml-logo-link img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.ml-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ml-nav-list a {
  color: #666666;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ml-nav-list a:hover {
  color: #021e84;
}
.ml-nav-list .is-active a {
  color: #021e84;
}

.ml-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #0a2798;
  font-size: 26px;
  line-height: 1;
  padding: 6px;
}

.ml-footer-main {
  margin-top: 50px;
  background: linear-gradient(90deg, #222429 0%, #1d2025 100%);
  color: #efefef;
  padding: 56px 0 50px;
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.ml-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.ml-footer p,
.ml-footer li,
.ml-footer a {
  color: #f0f0f0;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}
.ml-footer .ml-link-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.ml-footer .ml-link-list li::marker {
  color: #0032cf;
}

.ml-footer-bottom {
  background: #101217;
  color: #6d6f75;
  padding: 12px 0;
}
.ml-footer-bottom .ml-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.ml-footer-bottom .ml-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.ml-footer-bottom .ml-footer-social a {
  color: #6d6f75;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
}

@media (min-width: 991px) {
  .ml-header.is-scrolled .ml-mainbar .ml-mainbar-inner {
    height: 52px;
  }
  .ml-header.is-scrolled .ml-mainbar .ml-logo-link img {
    transform: scale(0.455);
  }
}
#body.container {
  width: min(1160px, 94%);
  max-width: none;
  padding-top: 30px !important;
}

@media (max-width: 990px) {
  .ml-topbar .ml-topbar-inner {
    justify-content: center;
  }
  .ml-topbar .ml-topbar-social {
    display: none;
  }
  .ml-mainbar .ml-mainbar-inner {
    height: 86px;
    position: relative;
  }
  .ml-mainbar .ml-logo-link img {
    width: 72px;
    height: 72px;
  }
  .ml-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ml-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 40px;
    right: 40px;
    display: none;
    z-index: 99;
  }
  .ml-nav.is-open {
    display: block;
  }
  .ml-nav-list {
    width: 100%;
    background: #f3f3f5;
    margin: 0 0 0 0;
    display: block;
    border: 1px solid #e1e2e5;
  }
  .ml-nav-list li {
    border-top: 1px solid #e1e2e5;
  }
  .ml-nav-list li:first-child {
    border-top: 0;
  }
  .ml-nav-list a {
    display: block;
    padding: 14px 24px;
    font-size: 17px;
    line-height: 1.2;
  }
  .ml-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .ml-footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .ml-footer p,
  .ml-footer li,
  .ml-footer a {
    font-size: 13px;
  }
  .ml-footer-bottom .ml-footer-bottom-inner {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }
}
