/* ============================================================
   SHALOM CARE MUMBAI - Footer Styles
   Premium Navy Footer with Gold Accents
   ============================================================ */

.site-footer {
  position: relative;
  background: var(--navy-deeper);
}

/* ---- Footer Wave ---- */
.footer-wave {
  position: relative;
  height: 80px;
  overflow: hidden;
  background: var(--bg-light);
  flex-shrink: 0;
}
.footer-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---- Footer Main ---- */
.footer-main {
  background: linear-gradient(180deg, var(--navy-deeper) 0%, #0a1a3f 100%);
  padding: var(--space-20) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: var(--space-10);
  align-items: start;
}

/* ---- Brand Column ---- */
.footer-brand {}
.footer-logo {
  margin-bottom: var(--space-4);
  filter: brightness(1.1);
}
.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--navy);
}
.social-whatsapp:hover {
  background: var(--wa-green);
  border-color: var(--wa-green);
  color: var(--white);
}

/* ---- Footer Columns ---- */
.footer-col {}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(212,160,23,0.2);
}

.footer-col-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: var(--space-5) 0 var(--space-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: all var(--transition-fast);
  padding: 2px 0;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
  flex-shrink: 0;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: var(--space-2);
}
.footer-links a:hover::before { width: 12px; }

/* ---- Footer Contact ---- */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--gold); }

/* ---- Service Area Tags ---- */
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.area-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
}
.area-tag:hover {
  background: var(--gold-muted);
  color: var(--gold);
  border-color: rgba(212,160,23,0.3);
}

/* ---- Footer Bottom ---- */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--gold); }

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: calc(var(--z-modal) - 10);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--wa-green);
  opacity: 0;
  animation: wa-glow 2s ease-in-out infinite;
  z-index: 0;
}

@keyframes wa-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.2); }
}

.whatsapp-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.5),
    0 0 0 3px rgba(37, 211, 102, 0.2),
    0 0 0 6px rgba(37, 211, 102, 0.08);
  animation: wa-pulse 3s ease-in-out infinite;
  transition: transform var(--transition);
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(37, 211, 102, 0.5),
      0 0 0 3px rgba(37, 211, 102, 0.2),
      0 0 0 6px rgba(37, 211, 102, 0.08);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(37, 211, 102, 0.7),
      0 0 0 6px rgba(37, 211, 102, 0.3),
      0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-800);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--gray-800);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 108px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--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(10px);
  transition: all var(--transition);
  z-index: calc(var(--z-modal) - 10);
  cursor: pointer;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom-flex { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .whatsapp-float { bottom: 20px; right: 16px; }
  .scroll-top { bottom: 90px; right: 20px; }
}
