/* ============================================================
   footer.css — site-wide footer
   Loaded in base.html via <link> in the base extra_css or
   directly in styles.css via @import.
   ============================================================ */

/* ── WRAPPER ─────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;       /* pushes footer to bottom on short pages */
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 24px 0;
}

.site-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

/* ── BRAND COLUMN ────────────────────────────────────────────────────────── */
.footer-logo {
  display: inline-flex;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text3);
  max-width: 200px;
  margin-bottom: 16px;
}

/* social icons */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg2);
  color: var(--text2);
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}

.footer-social-link:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ── NAV COLUMNS ─────────────────────────────────────────────────────────── */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text2);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.13s;
}

.footer-links a:hover { color: var(--accent); }

/* ── BOTTOM BAR ──────────────────────────────────────────────────────────── */
.footer-bottom {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text3);
}

.footer-heart {
  color: var(--accent);
  font-style: normal;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .site-footer { padding: 28px 15px 0; }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline { max-width: 100%; }
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
