/* ============================================================
   VILLA ESPERANZA — footer.css
============================================================ */

#footer {
  background: var(--ink);
  padding: 60px var(--gutter) 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { margin-bottom: 16px; display: block; }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 240px;
  font-weight: 300;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  cursor: pointer;
}
.social-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p   { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a   { color: rgba(255,255,255,0.4); }

/* WhatsApp float */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-bubble {
  background: var(--white);
  border-radius: 12px 12px 2px 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-width: 220px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  cursor: pointer;
}
.wa-bubble.visible { opacity: 1; transform: translateX(0); pointer-events: auto; }
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s 3s ease infinite;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,0.8); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  #wa-float    { bottom: 20px; right: 16px; }
}
