/* =========================================================
   NEXURION SYSTEMS — Footer
   ========================================================= */

.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: var(--transition);
  font-size: 0.85rem;
}

.footer-social a:hover {
  border-color: var(--c-blue);
  color: var(--c-blue-bright);
  background: rgba(26,107,255,0.08);
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--c-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--c-white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--c-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--c-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--c-white);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-glow 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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

/* ── Footer mobile fixes ─────────────────────────────────── */
@media (max-width: 480px) {
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { height: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-bottom-links { gap: 1rem; }
  .whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
