/* ─────────────────────────────────────────────────────────────
   Footer — PrathmIQ
   ───────────────────────────────────────────────────────────── */

.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
  margin-top: auto;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Top row ────────────────────────────────────────────────── */
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Brand */
.footer__brand { max-width: 240px; }

.footer__logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  display: inline-block;
  margin-bottom: 10px;
}
.footer__logo .iq { color: var(--iq); }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text3);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}

/* Link groups */
.footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--text); }

/* ── Divider ────────────────────────────────────────────────── */
.footer__divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 28px;
}

/* ── Bottom row ─────────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text3);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 8px;
}
.footer__social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer__social-link:hover {
  color: var(--text);
  border-color: var(--border2);
  background: var(--bg);
}
.footer__social-link svg {
  width: 15px;
  height: 15px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__links { gap: 32px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
