/* Site footer. From the Cierre design, extended with a third "Contacto" group
   (WhatsApp + email) and two more site anchors beyond what the export showed —
   the export predates the brief update that added those. Forest-deep,
   continuing the alternation after the CTA final's plain forest. */

.site-footer {
  background: var(--surface);
  color: var(--on-surface);
  padding-block: 40px 32px;
}

.site-footer__groups {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer__group--brand { gap: 12px; }

.site-footer__mark {
  display: block;
  width: 140px;
  height: 41px;
  background-color: var(--color-lime);
  -webkit-mask: url(../../assets/brand/wordmark-black.svg) center / contain no-repeat;
  mask: url(../../assets/brand/wordmark-black.svg) center / contain no-repeat;
}

.site-footer__tagline {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-surface-muted);
  max-width: 32ch;
}

.site-footer__group-title {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.site-footer__links a,
.site-footer__link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--fw-medium);
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.site-footer__links a:hover,
.site-footer__link-btn:hover { color: var(--color-lime); }

.site-footer__bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  text-align: center;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.7);
}

/* DESKTOP: three columns, bottom bar as its own full-width row. */
@media (min-width: 900px) {
  .site-footer { padding-block: 44px; }

  .site-footer__groups {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    gap: 48px;
  }
  .site-footer__group { align-items: flex-start; }
  .site-footer__group--brand { flex: 1 1 auto; max-width: 34ch; }
  .site-footer__mark { width: 150px; height: 44px; }
  .site-footer__links { align-items: flex-start; }

  .site-footer__bottom { text-align: left; }
}
