
.ma-site-footer,
.ma-site-footer * {
  box-sizing: border-box;
}

.ma-site-footer {
  width: 100%;
  margin: 0;
  color: #fff;
  background: linear-gradient(118deg, #21495e 0%, #2f6077 100%);
  font-family: "a_AvanteInt Book", Arial, sans-serif;
}

.ma-site-footer__inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 52px 42px 24px;
}

.ma-site-footer__grid {
  display: grid;
  grid-template-columns: 1.08fr 1.18fr 1.05fr .82fr 1.42fr;
  gap: 48px;
  align-items: start;
}

.ma-site-footer__column,
.ma-site-footer__contacts {
  min-width: 0;
}

.ma-site-footer h2 {
  margin: 0 0 17px;
  color: #fff;
  font: 700 15px/1.25 "a_AvanteInt Book", Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ma-site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.ma-site-footer a {
  color: #fff !important;
  text-decoration: none;
}

.ma-site-footer__column > a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.38;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}

.ma-site-footer__column > a:hover,
.ma-site-footer__column > a:focus-visible {
  opacity: 1;
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ma-site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ma-site-footer__logo {
  display: inline-flex;
  margin: -8px 0 26px;
}

.ma-site-footer__logo img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.ma-site-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.ma-site-footer__contact img {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ma-site-footer__contact small {
  font-size: 12px;
  font-weight: 500;
  opacity: .78;
}

.ma-site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.26);
}

.ma-site-footer__bottom p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  opacity: .82;
}

@media (max-width: 1280px) {
  .ma-site-footer__inner {
    padding-inline: 30px;
  }

  .ma-site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
  }

  .ma-site-footer__contacts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(180px, 1fr));
    align-items: start;
    gap: 22px;
  }

  .ma-site-footer__contacts h2 {
    display: none;
  }

  .ma-site-footer__logo {
    margin: -4px 0 0;
  }
}

@media (max-width: 820px) {
  .ma-site-footer__inner {
    padding: 40px 22px 22px;
  }

  .ma-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .ma-site-footer__contacts {
    grid-column: 1 / -1;
    display: flex;
  }

  .ma-site-footer__contacts h2 {
    display: block;
  }

  .ma-site-footer__logo {
    margin: 0 0 24px;
  }

  .ma-site-footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .ma-site-footer__inner {
    padding-inline: 18px;
  }

  .ma-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .ma-site-footer__contacts {
    grid-column: auto;
  }

  .ma-site-footer h2 {
    margin-bottom: 13px;
    font-size: 14px;
  }

  .ma-site-footer__column > a {
    font-size: 15px;
  }

  .ma-site-footer__logo img {
    width: 205px;
  }
}
