/* ============================================================
   institutional_footer.css
   ────────────────────────────────────────────────────────────
   Scoped under .ifo — drop in a different footer CSS when
   spinning off DLTPT to a startup brand.
   ============================================================ */

.ifo {
  --ifo-max:        1200px;
  --ifo-pad:        32px;
  --ifo-bg:         rgba(245, 246, 248, 1);    /* light grey, like the ref */
  --ifo-bg-2:       rgba(238, 240, 243, 1);    /* bottom strip is one shade darker */
  --ifo-burgundy:   rgba(165, 30, 45, 1);
  --ifo-burgundy-d: rgba(125, 22, 35, 1);
  --ifo-ink:        rgba(28, 32, 38, 1);
  --ifo-ink-soft:   rgba(75, 82, 92, 1);
  --ifo-ink-faint:  rgba(130, 138, 148, 1);
  --ifo-line:       rgba(0, 0, 0, 0.08);

  --ifo-font:       "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  background: var(--ifo-bg);
  color: var(--ifo-ink-soft);
  font-family: var(--ifo-font);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 80px;   /* breathing room above the footer */
}

.ifo *, .ifo *::before, .ifo *::after { box-sizing: border-box; }

/* ── Main columns ──────────────────────────────────────────── */

.ifo__main {
  padding: 56px 0 40px;
}

.ifo__inner {
  max-width: var(--ifo-max);
  margin: 0 auto;
  padding: 0 var(--ifo-pad);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.ifo__col { min-width: 0; }

.ifo__head {
  font-size: 15px;
  font-weight: 700;
  color: var(--ifo-ink);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}

.ifo__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ifo__list li {
  margin-bottom: 8px;
}

.ifo__list a {
  color: var(--ifo-ink-soft);
  text-decoration: none;
  transition: color 120ms ease;
}

.ifo__list a:hover {
  color: var(--ifo-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Contact column ────────────────────────────────────────── */

.ifo__col--contact {
  /* Slightly more breathing room — long lines look better with leading */
  line-height: 1.65;
}

.ifo__org {
  margin: 0 0 14px;
  color: var(--ifo-ink);
}

.ifo__org strong {
  color: var(--ifo-ink);
  font-weight: 600;
}

.ifo__addr {
  font-style: normal;
  margin: 0 0 14px;
}

.ifo__phone {
  margin: 0 0 6px;
}

.ifo__phone span {
  color: var(--ifo-ink-faint);
  margin-right: 6px;
}

.ifo__phone a,
.ifo__email a {
  color: var(--ifo-burgundy);
  text-decoration: none;
  font-weight: 500;
}

.ifo__phone a:hover,
.ifo__email a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ifo__email {
  margin: 0 0 20px;
}

/* ── Social icons (text-glyph placeholders for now) ────────── */

.ifo__socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.ifo__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--ifo-burgundy);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 120ms ease, transform 120ms ease;
}

.ifo__socials a:hover {
  background: var(--ifo-burgundy-d);
  transform: translateY(-1px);
}

/* ── Bottom strip ──────────────────────────────────────────── */

.ifo__bottom {
  background: var(--ifo-bg-2);
  border-top: 1px solid var(--ifo-line);
  padding: 18px 0;
  font-size: 12px;
}

.ifo__bottom-inner {
  max-width: var(--ifo-max);
  margin: 0 auto;
  padding: 0 var(--ifo-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ifo__copy {
  margin: 0;
  color: var(--ifo-ink-faint);
}

.ifo__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.ifo__legal a {
  color: var(--ifo-ink-soft);
  text-decoration: none;
  transition: color 120ms ease;
}

.ifo__legal a:hover {
  color: var(--ifo-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Mobile ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .ifo__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .ifo__main { padding: 40px 0 28px; }

  .ifo__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ifo__bottom-inner {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ifo__legal { gap: 14px; }
}