/* ==========================================================================
   footer.css  -  FOOTER
   Used by every page through /partials/footer.html.
   ========================================================================== */

.ftr {
  background: var(--navy);
  padding: 88px 0 36px;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.ftr::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 280px;
  height: 3px;
  background: var(--accent);
}
.fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.fbase {
  font-size: 40px;
  line-height: 1;
  margin: 22px 0 24px;
}
.fh {
  color: var(--muted);
  margin-bottom: 18px;
}
.fl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
}
.fl a:hover { color: var(--accent); }
.fl span { color: rgba(255,255,255,.88); }
.fmail {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}
.fmail:hover { color: var(--accent); }
.soc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.soc a {
  --cut: 10px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.3);
  transition: background .2s, color .2s;
}
.soc a:hover {
  background: var(--accent);
  color: var(--navy);
  box-shadow: none;
}
.fbar {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Tablet / phone adjustments ---------- */
@media (max-width: 1100px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fgrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .fbar { flex-direction: column; }
}

/* ---------- Legal links (they were plain text in the prototype, now real links) ---------- */
.fl a.legal:not(:hover) { color: rgba(255,255,255,.88); }

/* ---------- Links switched OFF for now (class "is-off", no href): greyed out and not clickable ---------- */
.fl a.legal.is-off,
.fl a.legal.is-off:hover { color: rgba(255,255,255,.4); cursor: not-allowed; }
.soc a.is-off,
.soc a.is-off:hover {
  opacity: .35;
  cursor: not-allowed;
  background: none;
  color: var(--ice);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.3);
}
