/* ---------- Site Footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-on-footer);
  padding: 80px 0 20px;
}

.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: start;
}

.site-footer__col:nth-child(1) {
  text-align: left;
}

.site-footer__col:nth-child(2) {
  text-align: center;
  justify-self: center;
}

.site-footer__col:nth-child(3) {
  text-align: right;
  justify-self: end;
}

.site-footer__col p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__col a {
  color: var(--color-on-footer);
  text-decoration: none;
}

.site-footer__col a[href^="mailto:"],
.site-footer__col a[href^="tel:"],
.site-footer__col a[href*="wa.me"]:not(.site-footer__cta) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  text-decoration: none;
  opacity: .85;
}

.site-footer__col a[href^="mailto:"]:hover,
.site-footer__col a[href^="tel:"]:hover,
.site-footer__col a[href*="wa.me"]:not(.site-footer__cta):hover,
.site-footer__col a[href^="mailto:"]:focus-visible,
.site-footer__col a[href^="tel:"]:focus-visible,
.site-footer__col a[href*="wa.me"]:not(.site-footer__cta):focus-visible {
  text-decoration: underline;
}

.site-footer__cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  border: 1px solid var(--color-on-footer);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.site-footer__cta:hover,
.site-footer__cta:focus-visible {
  background: var(--color-on-footer);
  color: var(--color-footer-bg);
  text-decoration: none;
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  letter-spacing: .03em;
  opacity: .9;
}

/* ---------- Legal / copyright bar ---------- */
.site-footer__legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255,255,255,.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 13px;
  letter-spacing: .03em;
}

.site-footer__copy {
  margin: 0;
  opacity: .9;
}

.site-footer__legal-links {
  display: flex;
  gap: 24px;
}

.site-footer__legal-links a {
  color: var(--color-on-footer);
  text-decoration: none;
  opacity: .85;
}

.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus-visible {
  opacity: 1;
  text-decoration: none;
}

/* ---------- Floating WhatsApp button ---------- */
.site-footer__whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.site-footer__whatsapp:hover,
.site-footer__whatsapp:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 60px 0 20px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }

  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(2),
  .site-footer__col:nth-child(3) {
    text-align: center;
    justify-self: center;
  }

  .site-footer__cta {
    margin-top: 8px;
  }

  .site-footer__legal {
    justify-content: center;
    text-align: center;
  }
}