/* FOOTER */
.site-footer {
  display: flex;
  padding: 40px 0 28px 0;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  background: #F7F7F5;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1402px;
  padding: 0 96px;
  margin: 0 auto;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

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

.footer-logo {
  position: relative;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-text {
  color: #0F1A2E;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin-top: 12px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-social:hover {
  opacity: 1;
}

.footer-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 5px;
  background: #FFF;
  flex-shrink: 0;
  box-sizing: border-box;
}

.footer-sitemap {
  width: 220px;
  justify-content: flex-end;
}

.footer-contact {
  width: 347px;
  justify-content: center;
}

.footer-heading {
  color: #1A4870;
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #1A4870;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  color: #0F1A2E;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
}

.footer-contact-item a {
  color: #1A4870;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 1402px;
  width: 100%;
  padding: 15px 96px 10px;
  margin-top: 24px;
  border-top: 1px solid #1A4870;
  box-sizing: border-box;
  text-align: center;
}

.footer-legal-links {
  color: #1A4870;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px;
}

.footer-legal-links a {
  color: #1A4870;
  text-decoration: underline;
}

.footer-sep {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
}

.footer-copyright {
  color: #1A4870;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 18.75px;
}

@media (max-width: 1200px) {
  .footer-row {
    padding: 0 48px;
  }
}

@media (max-width: 900px) {
  .footer-row {
    padding: 0 20px;
  }

  .footer-brand {
    max-width: 260px;
  }

  .footer-sitemap {
    width: 140px;
  }

  .footer-contact {
    width: 220px;
  }

  .footer-card {
    padding: 14px 16px;
  }

  .footer-heading {
    font-size: 13px;
  }

  .footer-text {
    font-size: 12px;
    line-height: 17px;
  }

  .footer-links a,
  .footer-contact-item span {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .footer-row {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .footer-brand {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-text {
    font-size: 11px;
    line-height: 16px;
  }

  .footer-sitemap,
  .footer-contact {
    width: 100%;
  }

  .footer-sitemap,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-contact-item {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-sitemap .footer-heading,
  .footer-contact .footer-heading {
    font-size: 14px;
  }

  .footer-contact-item span {
    font-size: 12px;
    text-align: left;
  }

  .footer-sitemap .footer-links {
    align-items: center;
    gap: 8px;
  }

  .footer-sitemap .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 15px 20px 10px;
  }

  .footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }

  .footer-sep {
    display: none;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .footer-row {
    padding: 0 16px;
  }

  .footer-card {
    padding: 14px 16px;
  }
}
