.site-footer {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid rgba(231, 229, 228, 0.9);
  background: var(--page);
}

.footer-top {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(231, 229, 228, 0.8);
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--stone-800);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.guarantee__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  background: #fff;
}

.subscribe { text-align: center; }

.subscribe h2 {
  margin: 0;
  font-size: 1rem;
}

.subscribe > p {
  margin: 0.15rem 0 0.75rem;
  color: var(--stone-600);
  font-size: 0.75rem;
}

.subscribe form {
  display: flex;
  width: min(100%, 28rem);
  margin-inline: auto;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--stone-300);
  border-right: 0;
  border-radius: 0.5rem 0 0 0.5rem;
  background: #fff;
  color: var(--stone-800);
  font-size: 0.75rem;
}

.subscribe input:focus { outline: none; border-color: var(--green); }

.subscribe button[type="submit"] {
  display: grid;
  place-items: center;
  padding: 0 1rem;
  border: 0;
  border-radius: 0 0.5rem 0.5rem 0;
  background: #385e2b;
  color: #fff;
}

.subscribe button[type="submit"]:hover { background: var(--green-deep); }

.fineprint {
  margin: 0.5rem 0 0;
  color: var(--stone-400);
  font-size: 10px;
}

.fineprint button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
}

.fineprint button:hover { color: var(--stone-600); }

.subscribed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: #e4efe0;
  color: #2c5321;
  font-size: 0.75rem;
  font-weight: 600;
}

.subscribed[hidden],
.subscribe form[hidden] { display: none; }

.follow { text-align: center; }

.follow h2 {
  margin: 0;
  font-size: 0.75rem;
}

.follow p {
  margin: 0.15rem 0 0.5rem;
  color: var(--stone-600);
  font-size: 0.75rem;
  font-weight: 500;
}

.socials { display: flex; justify-content: center; gap: 0.6rem; }

.socials a {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #fff;
  color: var(--stone-700);
}

.socials a:hover {
  border-color: #385e2b;
  color: #385e2b;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.5rem;
  padding: 2rem 0;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--stone-700);
  font-size: 0.75rem;
  font-weight: 500;
}

.footer-links button:hover { color: #385e2b; }

.copy {
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(231, 229, 228, 0.7);
  color: var(--stone-500);
  text-align: center;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 3fr 6fr 3fr; }
  .follow { text-align: right; }
  .socials { justify-content: flex-end; }
}
