.site-footer {
  color: #fff;
  background: #000;
  font-family: Inter, Arial, sans-serif;
}

.site-footer__main {
  position: relative;
  min-height: 432px;
  overflow: hidden;
  background: var(--hero-navy);
}

.site-footer__main::before {
  position: absolute;
  inset: 0;
  background: url("../why-choose-us/background-pattern.png") center 47% / cover no-repeat;
  content: "";
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .68;
  pointer-events: none;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr .86fr 1.18fr .72fr;
  gap: 72px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 63px 0 55px;
}

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

.site-footer__logo {
  position: relative;
  display: block;
  width: 145px;
  height: 56px;
  margin-bottom: 48px;
  overflow: hidden;
}

.site-footer__logo img {
  display: block;
  width: 135px;
  height: 47px;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 21px;
  color: #fff;
  font: 500 16px/1.3 Inter, Arial, sans-serif;
}

.site-footer h2 span {
  color: var(--hero-gold);
}

.site-footer p,
.site-footer a {
  color: #fff;
  font: 500 14px/24px Inter, Arial, sans-serif;
}

.site-footer__brand p {
  max-width: 212px;
  margin: 0;
}

.site-footer__column:not(.site-footer__social) {
  padding-top: 103px;
}

.site-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li {
  line-height: 24px;
}

.site-footer__column a {
  text-decoration: none;
  transition: color .25s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
  color: var(--hero-gold);
}

.site-footer__contact {
  margin: 0;
  font-style: normal;
}

.site-footer__contact p,
.site-footer__contact > a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 9px;
}

.site-footer__contact p {
  max-width: 275px;
  margin-bottom: 10px;
}

.site-footer__contact svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 5px;
  fill: currentColor;
}

.site-footer__social {
  padding-top: 103px;
}

.site-footer__social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .social-link {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.social-link svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.social-link--facebook {
  background: #2867b2;
}

.social-link--youtube {
  background: #e00000;
}

.site-footer__bottom {
  min-height: 64px;
  background: #000;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}

.site-footer .site-footer__credit {
  color: inherit;
  font: inherit;
  text-decoration: none;
  transition: color .25s ease;
}

.site-footer .site-footer__credit:hover,
.site-footer .site-footer__credit:focus-visible {
  color: var(--hero-gold);
}

@media (max-width: 900px) {
  .site-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 64px;
    padding-block: 56px;
  }

  .site-footer__logo {
    margin-bottom: 31px;
  }

  .site-footer__column:not(.site-footer__social),
  .site-footer__social {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .site-footer__container {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(100% - 32px, 420px);
    padding-block: 48px;
  }

  .site-footer__logo {
    margin-bottom: 30px;
  }

  .site-footer__brand p,
  .site-footer__contact p {
    max-width: none;
  }

  .site-footer h2 {
    margin-bottom: 16px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: calc(100% - 32px);
    min-height: 78px;
    text-align: center;
  }
}
