.site-footer {
  width: 100%;
  min-height: 511px;
  display: flex;
  justify-content: center;
  background-color: #620903;
  color: #ffffff;
}

.site-footer__inner {
  width: 100%;
  max-width: 1498px;
  min-height: 511px;
  padding: 75px 42px 39px;
  display: flex;
  flex-direction: column;
}

.site-footer__top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}

.footer-brand {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand__logo {
  width: 109px;
  height: 109px;
  object-fit: cover;
  object-position: center;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 31px;
  color: #f0ebe8;
  font-size: 18px;
  line-height: 26px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column--contact {
  width: 100%;
  max-width: 420px;
}

.footer-column--social {
  width: fit-content;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 17px;
  line-height: 35px;
  text-transform: uppercase;
}

.footer-column address {
  max-width: 420px;
  color: #ffffff;
  font-size: 17px;
  font-style: normal;
  line-height: 27px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social__link {
  width: 40px;
  height: 40px;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.footer-social__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.footer-social__link:hover img,
.footer-social__link:focus-visible img {
  transform: scale(1.05);
}

.site-footer__bottom {
  width: 100vw;
  margin: auto 0 0 50%;
  padding-top: 32px;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}

.site-footer__bottom p {
  width: 100%;
  max-width: 1498px;
  margin: 0 42px;
  color: rgba(240, 235, 232, 0.6);
  font-size: 18px;
  line-height: 26px;
}

@media (max-width: 980px) {
  .site-footer__inner {
    padding: 64px 54px 38px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand,
  .footer-column--contact {
    max-width: 100%;
  }

  .footer-brand p,
  .footer-column address {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-footer {
    min-height: auto;
  }

  .site-footer__inner {
    min-height: auto;
    padding: 46px 28px 34px;
  }

  .site-footer__top {
    gap: 36px;
  }

  .footer-brand,
  .footer-column--contact,
  .footer-column--social {
    width: 100%;
  }

  .footer-brand p,
  .footer-column h2,
  .footer-column address,
  .site-footer__bottom p {
    font-size: 16px;
    line-height: 24px;
  }

  .site-footer__bottom {
    margin-top: 52px;
    padding-top: 28px;
  }

  .site-footer__bottom p {
    margin: 0;
    padding-left: 28px;
  }
}

@media (max-width: 360px) {
  .site-footer__inner {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-footer__bottom p {
    padding-left: 22px;
  }
}
