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

.site-footer {
  padding-top: clamp(3.5rem, 8vw, 5rem);
  background: var(--black);
  color: var(--white);
}

.footer__grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: 1.4fr .8fr 1.1fr 1.1fr; }
}

.footer__tagline {
  max-width: 34ch;
  margin-top: 1.1rem;
  color: var(--muted-dark);
  font-size: .95rem;
}

.footer__heading {
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-light);
}

.footer__links { display: grid; gap: .6rem; }

.footer__links a {
  color: var(--off-white);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: var(--red-light); }

.footer__hours { display: grid; gap: .75rem; }
.footer__hours li { display: grid; gap: .1rem; }
.footer__hours li span:first-child { font-weight: 600; }
.footer__hours li span:last-child { color: var(--muted-dark); font-variant-numeric: tabular-nums; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
  color: var(--muted-dark);
}

.footer__bottom a { color: var(--off-white); text-decoration-color: var(--red-light); }
.footer__bottom a:hover { color: var(--red-light); }

/* --------------------------------------------------------------------------
   Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900; /* debajo del header (1000), así el menú mobile lo tapa */
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.wa-float svg { width: 30px; height: 30px; }

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}

.wa-float:hover { transform: scale(1.06); }
