/* Shared footer foundations, independent of each landing's global styles. */
@font-face {
  font-family: 'UnisantFooter';
  src: url('../fonts/GillSans-01.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'UnisantFooter';
  src: url('../fonts/GillSans-SemiBold-05.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'UnisantFooter';
  src: url('../fonts/GillSans-Bold-02.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
.site-footer.site-footer {
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
  align-items: stretch;
  text-align: left;
  font-family: 'UnisantFooter', 'Gill Sans', sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}
.site-footer :where(*) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.site-footer .gill-regular,
.site-footer .gill-semibold,
.site-footer .gill-bold {
  font-family: 'UnisantFooter', 'Gill Sans', sans-serif;
  font-style: normal;
}
.site-footer .gill-regular { font-weight: 400; }
.site-footer .gill-semibold { font-weight: 600; }
.site-footer .gill-bold { font-weight: 700; }
.site-footer p { order: initial; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer h2 { letter-spacing: normal; }
.site-footer img { display: block; max-width: 100%; }

.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: 320px;
  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--directions {
  width: 100%;
  max-width: 380px;
}

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

.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,
.footer-contact-list {
  max-width: 420px;
  color: #ffffff;
  font-size: 17px;
  font-style: normal;
  line-height: 27px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list p {
  margin: 0;
}

.footer-contact__label {
  display: block;
  margin-bottom: 2px;
  color: #ffffff;
}

.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--directions,
  .footer-column--contact {
    max-width: 100%;
  }

  .footer-brand p,
  .footer-column address,
  .footer-contact-list {
    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--directions,
  .footer-column--contact,
  .footer-column--social {
    width: 100%;
  }

  .footer-brand p,
  .footer-column h2,
  .footer-column address,
  .footer-contact-list,
  .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-right: 28px;
    padding-left: 28px;
  }
}

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

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