/* =========================
   FOOTER
========================= */
.footer {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--color-secondary-dark),
    #0f172a
  );
  color: var(--color-text-muted);
  padding-top: var(--space-16);
  overflow: hidden;
}

/* WAVE */
.footer-wave {
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 120px;
  background: radial-gradient(
    ellipse at center,
    rgba(198,161,91,0.18),
    transparent 70%
  );
  filter: blur(40px);
}

/* CONTAINER */
.footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-10);
}

/* BRAND */
.footer-logo {
  font-family: var(--font-title);
  font-size: var(--text-xl);
  color: var(--color-white);
}

.footer-description {
  margin: var(--space-4) 0;
  line-height: 1.7;
  max-width: 380px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-accent);
  font-size: 1rem;

  transition: transform var(--transition-fast),
              background var(--transition-fast),
              box-shadow var(--transition-fast);
}

.footer-social a:hover {
  transform: translateY(-4px);
  background: var(--color-accent);
  color: var(--color-black);
  box-shadow: var(--shadow-glow-accent);
}

/* TITLES */
.footer-title {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* NAV */
.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast),
              transform var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

/* CONTACT */
.footer-contact a,
.footer-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--color-accent-light);
}

/* BOTTOM */
.footer-bottom {
  margin-top: var(--space-12);
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: var(--text-xs);
  opacity: 0.75;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-description {
    margin: var(--space-4) auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact a,
  .footer-location {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}












/* =========================
   WHATSAPP FLOAT BUTTON
========================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;

  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #ffffff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.8rem;
  z-index: var(--z-fixed);

  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.35),
    0 0 0 0 rgba(37, 211, 102, 0.4);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 40px rgba(37, 211, 102, 0.45),
    0 0 0 12px rgba(37, 211, 102, 0.15);
}

/* Animación sutil */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile safe spacing */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}
