/* ============================================
   EMIX Footer
   ============================================ */
.site-footer {
  background: var(--color-green-darkest);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content:'';position:absolute;top:0;left:0;width:100%;height:100%;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.footer-top {
  padding: var(--space-16) 0 var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  position: relative;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: var(--line-height-relaxed);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}
.footer-brand .logo img { height: 50px; }
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.social-link {
  width: 40px;height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;align-items: center;justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-base);
}
.social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-green-darkest);
  transform: translateY(-3px);
}
.social-link svg { width: 18px; height: 18px; }
.footer-col h4 {
  color: var(--color-white);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}
.footer-col h4::after {
  content:'';position:absolute;bottom:0;right:0;
  width:40px;height:2px;
  background: var(--color-gold-light);
  border-radius: var(--radius-full);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  display: flex;align-items: center;gap: var(--space-2);
}
.footer-links a:hover { color: var(--color-gold-light); padding-right: var(--space-2); }
.footer-contact-item {
  display: flex;align-items: flex-start;gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.6);font-size: var(--text-sm);
}
.footer-contact-item svg {
  width: 18px;height: 18px;
  color: var(--color-gold-light);flex-shrink: 0;margin-top: 3px;
}
.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;align-items: center;justify-content: space-between;
  position: relative;
}
.footer-bottom p {
  font-size: var(--text-sm);color: rgba(255,255,255,0.5);margin:0;
}
.footer-bottom-links {
  display: flex;gap: var(--space-6);
}
.footer-bottom-links a {
  font-size: var(--text-sm);color: rgba(255,255,255,0.5);
  transition: color var(--transition-base);
}
.footer-bottom-links a:hover { color: var(--color-gold-light); }
/* WhatsApp Float */
.whatsapp-float {
  position: fixed;bottom: var(--space-8);left: var(--space-8);
  width: 60px;height: 60px;z-index: var(--z-fixed);
  background: #25D366;color: white;
  border-radius: var(--radius-full);
  display: flex;align-items: center;justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: pulse-glow 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; }
/* Back to top */
.back-to-top {
  position: fixed;bottom: var(--space-8);right: var(--space-8);
  width: 48px;height: 48px;z-index: var(--z-fixed);
  background: var(--color-green-dark);color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;align-items: center;justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}
.back-to-top.visible { opacity: 1;visibility: visible;transform: translateY(0); }
.back-to-top:hover { background: var(--color-gold);color: var(--color-green-darkest); }
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .whatsapp-float { bottom: var(--space-6); left: var(--space-6); width: 54px; height: 54px; }
  .back-to-top { bottom: var(--space-6); right: var(--space-6); width: 42px; height: 42px; }
}
