/* =====================================================
   Saste Tools — Footer (Luxury)
   Load after variables.css + animations.css.
   ===================================================== */

.site-footer {
  position: relative;
  margin-top: 60px;
  padding-top: 36px;
  background: var(--black-soft);
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 240px;
  background: radial-gradient(ellipse, var(--gold-glow-soft), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ---------- Main grid ---------- */
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 14px 0 20px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  transition: var(--transition-fast);
}
.footer-social a:hover {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text-light);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 3px; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.contact-line i { color: var(--gold); width: 16px; }

/* ---------- Bottom bar: copyright + legal links ---------- */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0 28px; /* clears the fixed WhatsApp button at the very bottom of the page without excess empty space */
  border-top: 1px solid var(--glass-border);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links span { color: var(--glass-border); font-size: 0.8rem; }

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

/* ---------- Mobile: keep copyright and links each on a single line ---------- */
@media (max-width: 480px) {
  .footer-bottom p { font-size: 0.75rem; }
  .footer-legal-links { gap: 6px; }
  .footer-legal-links a { font-size: 0.75rem; }
}

@media (max-width: 380px) {
  .footer-bottom p { font-size: 0.68rem; }
  .footer-legal-links { gap: 4px; }
  .footer-legal-links a { font-size: 0.68rem; }
  .footer-legal-links span { font-size: 0.68rem; }
}
