/* ============================================
   Site Footer
   ============================================ */

.site-footer {
  padding-top: var(--space-4xl);
  padding-bottom: 0;
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer h4,
.site-footer .site-footer__heading {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.site-footer p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
}

/* Footer links */
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: var(--space-sm);
}

.site-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__links a:hover {
  color: var(--color-white);
}

/* Contact info in footer */
.site-footer__links li:not(:has(a)) {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.site-footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom bar */
.site-footer__bottom {
  margin-top: var(--space-3xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Footer responsive */
@media (max-width: 768px) {
  .site-footer .grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .site-footer .grid--4 {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: var(--space-3xl);
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Pulse animation on load */
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float {
  animation: whatsapp-pulse 3s ease-in-out 2s 3;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
