/* ============================================================
   BTT Footer — clean, roomy, accessible
   ============================================================ */

:root {
  --btt-footer-bg: #ffffff;
  --btt-footer-surface: #f8fafc;
  --btt-footer-border: #e2e8f0;
  --btt-footer-text: #0f172a;
  --btt-footer-muted: #475569;
  --btt-footer-faint: #64748b;
  --btt-footer-accent: #2563eb;
  --btt-footer-accent-soft: rgba(37, 99, 235, 0.08);
}

.btt-footer {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--btt-footer-border);
  margin-top: 64px;
  padding: 56px 24px 28px;
}

.btt-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.btt-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--btt-footer-border);
}

.btt-footer__brand {
  min-width: 0;
}

.btt-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--btt-footer-text);
  text-decoration: none;
}

.btt-footer__logo:hover,
.btt-footer__logo:focus-visible {
  color: var(--btt-footer-accent);
}

.btt-footer__logo:focus-visible,
.btt-footer__nav-list a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
  border-radius: 12px;
}

.btt-footer__tagline {
  margin: 14px 0 0;
  max-width: 34ch;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--btt-footer-muted);
}

.btt-footer__col {
  min-width: 0;
}

.btt-footer__heading {
  margin: 0 0 14px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--btt-footer-faint);
}

.btt-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.btt-footer__nav-list li {
  margin: 0;
}

.btt-footer__nav-list a {
  display: flex;
  align-items: center;
  min-height: 22px;
  padding: 5px 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--btt-footer-muted);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease, background-color 0.18s ease;
}

.btt-footer__nav-list a:hover,
.btt-footer__nav-list a:focus-visible {
  color: var(--btt-footer-accent);
  padding-left: 8px;
}

.btt-footer__nav-list a:hover {
  background: linear-gradient(90deg, var(--btt-footer-accent-soft), transparent);
}

.btt-footer__bottom {
  padding-top: 22px;
  text-align: center;
}

.btt-footer__copy {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  color: var(--btt-footer-faint);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 960px) {
  .btt-footer {
    margin-top: 48px;
    padding: 44px 20px 24px;
  }

  .btt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }

  .btt-footer__brand {
    grid-column: 1 / -1;
  }

  .btt-footer__tagline {
    max-width: 48ch;
  }
}

@media (max-width: 640px) {
  .btt-footer {
    padding: 36px 16px 20px;
  }

  .btt-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

  .btt-footer__logo {
    font-size: 18px;
  }

  .btt-footer__tagline {
    max-width: none;
    font-size: 13px;
    line-height: 1.65;
  }

  .btt-footer__nav-list a {
    min-height: 24px;
    padding: 6px 14px;
    border-radius: 14px;
    background: var(--btt-footer-surface);
    border: 1px solid var(--btt-footer-border);
    margin-bottom: 4px;
  }

  .btt-footer__nav-list a:hover,
  .btt-footer__nav-list a:focus-visible {
    padding-left: 14px;
    background: #fff;
  }

  .btt-footer__bottom {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btt-footer__nav-list a {
    transition: none;
  }
}

/* Print */
@media print {
  .btt-footer {
    display: none;
  }
}