/* ==========================================================================
   FOOTER + BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */

.site-footer { background: var(--tinta); color: #eadfe2; padding: 56px 0 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .logo__mark { border-color: var(--rosa); color: #f0d9dc; }
.site-footer .logo__tagline { color: #bba9ae; }
.site-footer .social { background: transparent; border-color: rgb(255 255 255 / 18%); color: #eadfe2; }
.site-footer .social:hover { background: var(--rosa); border-color: var(--rosa); text-decoration: none; }

.site-footer__inner { display: grid; gap: 36px; }
.site-footer__marca { display: grid; gap: 16px; justify-items: start; }
.site-footer__marca > p { color: #bba9ae; font-family: var(--font-titulo); font-style: italic; font-size: 20px; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.site-footer__contacto { display: grid; gap: 6px; color: #bba9ae; font-size: 15px; }

.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 13px; color: #a8969b;
}
.site-footer__legal a { display: inline-flex; align-items: center; gap: 6px; color: #d9c8cc; }
.site-footer__legal svg { width: 13px; height: 13px; }

@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
}

/* ---------- Botón flotante ---------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px; border-radius: 999px;
  background: #1f8f52; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  box-shadow: 0 10px 28px rgb(31 143 82 / 35%);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.94);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.wa-flotante svg { width: 26px; height: 26px; }
.wa-flotante.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-flotante:hover { background: #18773f; }

/* En celulares chicos queda solo el ícono. */
@media (max-width: 400px) {
  .wa-flotante { width: 56px; padding: 0; justify-content: center; }
  .wa-flotante span { display: none; }
}
