/**
 * Nitya Digital Hub — Site Footer
 * Styles the existing sections/footer.php markup:
 * .site-footer > .footer-inner > .footer-brand, .footer-col × N
 * .site-footer > .footer-bottom
 * Uses only the brand tokens already defined in css/style.css
 * (--navy-900, --navy-700, --green-600, --green-500, --white, --line).
 */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  /* homepage logo is navy-on-transparent; lighten it for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 26ch;
  margin: 0;
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--white);
  margin: 0 0 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--green-500);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.75rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-footer { padding-top: 3.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
}