/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: #02111C;
  padding: var(--gap-lg) 0 var(--gap-sm);
  position: relative;
}
#footer::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(to right, var(--azul-profundo), var(--turquesa), var(--rojo), var(--turquesa), var(--azul-profundo));
}

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-lg); margin-bottom: var(--gap-lg);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--gap-sm); }
.footer-brand img { height: 80px; width: auto; max-width: 160px; object-fit: contain; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 260px; }

.footer-social { display: flex; gap: 0.5rem; margin-top: var(--gap-xs); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a.fb:hover { background: #1877F2; border-color: #1877F2; color: white; }
.footer-social a.ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #dc2743; color: white; }
.footer-social a.tk:hover { background: #010101; border-color: #69C9D0; color: #69C9D0; }
.footer-social a.wa:hover { background: #25D366; border-color: #25D366; color: white; }

.footer-col h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-col ul a:hover { color: var(--blanco); padding-left: 0.3rem; }

.footer-bottom {
  padding-top: var(--gap-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* =============================================
   WA FLOTANTE
   ============================================= */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.wa-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); cursor: pointer; text-decoration: none;
  animation: waPulse 3s infinite;
}
.wa-float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.08); }
}
.wa-float-tooltip {
  background: var(--azul-profundo); color: white;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: var(--transition); pointer-events: none;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--gap-md); }
}
@media (max-width: 640px) {
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float      { bottom: 1.25rem; right: 1.25rem; }
  .wa-float-btn  { width: 50px; height: 50px; font-size: 1.4rem; }
}
