/* Site footer. Replaces the former .site-footer/.footer-main pair and its
   .route-footer/.route-footer-grid twin, which differed only by drift
   (50px vs 42px gap, 205px vs 190px logo, 11px vs 10px links). */

.site-footer {
  color: var(--border);
  background: var(--green-900);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: var(--space-12);
  width: min(var(--shell-width), calc(100% - (var(--shell-gutter) * 2)));
  margin: auto;
  padding: 58px 0 46px;
}

.footer-brand img {
  width: 198px;
  height: auto;
  aspect-ratio: 400 / 130;
  margin: -15px 0 var(--space-2);
}
.footer-brand p {
  margin-bottom: 21px;
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.socials { display: flex; gap: var(--space-2); }
.socials a {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  margin-bottom: 0;
  color: var(--border);
  border: 1px solid var(--green-600);
  border-radius: var(--radius-round);
  font-weight: 700;
}
.socials a:hover { color: var(--yellow); border-color: var(--yellow); }

.site-footer h3 {
  margin: 6px 0 var(--space-4);
  color: var(--white);
  font-size: var(--text-xs);
}
.site-footer a, .site-footer button {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text-on-dark);
  background: transparent;
  border: 0;
  font-size: var(--text-xs);
  text-align: left;
}
.site-footer a:hover, .site-footer button:hover { color: var(--yellow); }

.footer-contact {
  max-width: 190px;
  margin-bottom: var(--space-3);
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  line-height: 1.6;
}
.footer-email { color: var(--white); font-weight: 700; }
.footer-whatsapp {
  display: inline-block;
  margin-top: var(--space-2);
  padding-bottom: var(--space-1);
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow);
}

.footer-bottom {
  display: flex;
  width: min(var(--shell-width), calc(100% - (var(--shell-gutter) * 2)));
  justify-content: space-between;
  gap: var(--space-5);
  margin: auto;
  padding: var(--space-5) 0 var(--space-6);
  color: var(--text-subtle);
  border-top: 1px solid var(--green-700);
  font-size: var(--text-2xs);
}
.footer-bottom div { display: flex; gap: var(--space-5); }
.footer-bottom a { display: inline; margin: 0; font-size: var(--text-2xs); }
.footer-heart { color: var(--orange); }

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px var(--space-5);
    width: calc(100% - 32px);
    padding: var(--space-12) 0 var(--space-8);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { width: calc(100% - 32px); flex-wrap: wrap; padding-bottom: var(--space-6); }
  .footer-bottom div { width: 100%; }
}
