.site-footer {
  position: relative;
  color: #536a62;
  background: white;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #79b69f 28%, #117052 50%, #79b69f 72%, transparent);
  opacity: .72;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.7fr .7fr .8fr 1fr;
  gap: 0;
  padding-block: 54px 44px;
}

.site-footer .footer-grid > * {
  min-width: 0;
  padding-inline: 38px;
  border-left: 1px solid #e3ece7;
}

.site-footer .footer-grid > :first-child {
  padding-left: 0;
  border-left: 0;
}

.site-footer .footer-grid > :last-child { padding-right: 0; }

.site-footer .footer-brand .brand {
  display: inline-flex;
  align-items: center;
}

.site-footer .footer-brand .brand img {
  display: block;
  width: 154px;
  height: auto;
}

.site-footer .footer-brand p {
  max-width: 275px;
  margin: 18px 0 0;
  color: #657a72;
  font-size: 11px;
  line-height: 1.75;
}

.site-footer .footer-grid h2 {
  margin: 2px 0 19px;
  color: var(--ink);
  font: 800 12px var(--body, var(--font-display, Arial, sans-serif));
  letter-spacing: -.01em;
}

.site-footer .footer-grid nav a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 11px;
  color: #5d726a;
  font-size: 11px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.site-footer .footer-grid a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-contact p {
  max-width: 190px;
  margin: 0 0 15px;
  color: #657a72;
  font-size: 11px;
  line-height: 1.6;
}

.site-footer .contact-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  color: var(--green);
  border: 1px solid #b9d8ca;
  border-radius: 8px;
  background: #f2f8f5;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-disclaimer {
  padding-block: 18px;
  color: #7b8d86;
  border-block: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.7;
}

.site-footer .footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #71857e;
  font-size: 9px;
}

.site-footer .footer-bottom p { margin: 0; }
.site-footer .footer-bottom nav { display: flex; gap: 20px; }
.site-footer .footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.site-footer .footer-bottom a:hover { color: var(--green); }

@media (max-width: 800px) {
  .site-footer .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px 0;
  }
  .site-footer .footer-grid > * { padding-inline: 28px; }
  .site-footer .footer-grid > :first-child { padding-left: 0; }
  .site-footer .footer-grid > :nth-child(3) { padding-right: 0; }
  .site-footer .footer-contact {
    grid-column: 1 / -1;
    padding: 28px 0 0;
    border-top: 1px solid #e3ece7;
    border-left: 0;
  }
  .site-footer .footer-contact p { max-width: none; }
}

@media (max-width: 540px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 42px 34px;
  }
  .site-footer .footer-grid > * { padding: 0; border-left: 0; }
  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-bottom: 1px solid #e3ece7;
  }
  .site-footer .footer-brand { order: -2; }
  .site-footer .footer-contact {
    order: -1;
    padding-top: 0;
    border-top: 0;
  }
  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-block: 14px;
  }
}
