/* Refreshed footer */
.site-footer {
  background: #050506;
  color: #d1d5db;
  padding: 3.25rem 1.5rem 2.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-top {
  width: min(92%, 1200px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: flex-start;
}

.footer-brand {
  flex: 0 1 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-tagline {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background: #111111;
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
  background: #1f2937;
}

.footer-grid {
  flex: 1 1 420px;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-heading {
  margin: 0 0 0.7rem;
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-list a {
  color: #d1d5db;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-list a:hover {
  color: #f9fafb;
  transform: translateX(2px);
}

.footer-bottom {
  width: min(92%, 1200px);
  margin: 2.5rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: #9ca3af;
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
