/* Shared site-wide footer. */
.site-footer {
  padding: 56px 0 0;
  background: #092c21;
  color: #fff;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1.15fr;
  gap: 28px;
  padding-bottom: 44px;
}

.site-footer .footer-grid > div {
  min-width: 0;
}

.site-footer h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a {
  color: #d6e3dc;
}

.site-footer .footer-grid > div:not(.footer-brand) a {
  display: block;
  margin-bottom: 3px;
  padding-block: 7px;
  font-size: 0.84rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-grid > div:not(.footer-brand) a:hover {
  color: #a7d56d;
  transform: translateX(4px);
}

.site-footer .footer-logo {
  display: flex;
  align-items: center;
}

.site-footer .footer-logo .brand-name {
  color: #fff;
}

.site-footer .footer-logo .brand-logo-image {
  width: 44px;
  height: 44px;
}

.site-footer .footer-brand p {
  max-width: 330px;
  margin-top: 22px;
  color: #c5d5cf;
  font-size: 0.88rem;
}

.site-footer .footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.site-footer .footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #d6e3dc;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-social a:hover {
  transform: translateY(-2px);
  border-color: #a7d56d;
  background: rgba(167, 213, 109, 0.14);
  color: #a7d56d;
}

.site-footer .footer-social a:focus-visible {
  outline: 3px solid #a7d56d;
  outline-offset: 3px;
}

.site-footer .footer-social svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer a:focus-visible {
  outline-color: #a7d56d;
}

.site-footer .footer-bottom {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.site-footer .footer-bottom a {
  font-size: 0.8rem;
}

@media (max-width: 1200px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-grid > div:not(.footer-brand) a {
    min-height: 44px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-bottom {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
    text-align: center;
  }
}
