/* ═══════════════════════════════════════════════════════════════════
   Service Safe Ltd — Footer
   The fixed top header, primary nav, services dropdown and right-hand
   drawer that used to live here were replaced by the dashboard shell
   (css/app-shell.css) — sidebar, topbar pill nav and off-canvas
   sidebar. Only the footer remains page-level chrome.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  color: var(--text-2);
  padding-block: clamp(48px, 6vw, 72px) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) 2fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: var(--sp-6);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--sp-2);
}
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }

.footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: var(--sp-3);
}

.footer-meta {
  font-size: var(--fs-xs);
  line-height: 1.8;
  color: var(--text-3);
  margin-bottom: var(--sp-3);
}
.footer-meta strong { color: var(--text-2); font-weight: 600; }

.footer-social { display: flex; gap: var(--sp-1); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-accent);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--sp-4);
}
.footer-col h3 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: var(--sp-2);
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
