/* Footer */
.site-footer {
  position: relative;
  color: #223725;
  padding: 48px 0 28px;
  margin-top: 0;
  background:
    radial-gradient(420px 220px at 10% 0%, rgba(193, 220, 175, 0.32), transparent 70%),
    var(--footer-grad);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(246, 251, 245, 0) 0%,
    rgba(232, 241, 230, 0.88) 100%
  );
}

.footer-layout {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-logo {
  width: min(260px, 70vw);
  height: auto;
  display: block;
}

.footer-row {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.footer-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.footer-label {
  opacity: 0.75;
  margin-right: 6px;
}

.footer-list a {
  color: #223725;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-list a:hover {
  color: var(--primary-green);
  opacity: 1;
}

.footer-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-cta {
  justify-self: center;
  margin-top: 0.2rem;
}

.footer-sub {
  width: min(920px, 100%);
  margin-top: 0.4rem;
  padding-top: 18px;
  border-top: 1px solid rgba(46, 72, 32, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(34, 55, 37, 0.84);
  text-align: center;
}

.footer-top {
  color: #223725;
  text-decoration: none;
  font-weight: 700;
}

.footer-credit {
  width: min(920px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: rgba(34, 55, 37, 0.72);
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: center;
}

.footer-credit-logo {
  width: 56px;
  height: auto;
  display: block;
  opacity: 0.78;
}

.footer-credit p {
  margin: 0;
}

@media (max-width: 640px) {
  .footer-credit {
    flex-direction: column;
    gap: 0.3rem;
  }
}
