/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── Top row ─────────────────────────────────────────────────── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-logo-text span {
  color: var(--accent);
}

.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(240, 240, 238, 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  font-size: 14px;
  color: rgba(240, 240, 238, 0.7);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

/* ─── Social links ──────────────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(182, 255, 0, 0.3);
  background: rgba(182, 255, 0, 0.06);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ─── Bottom row ─────────────────────────────────────────────── */
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-built-by {
  font-size: 13px;
  color: var(--muted);
}

.footer-built-by a {
  color: var(--faint);
  transition: color 0.2s ease;
}

.footer-built-by a:hover {
  color: var(--accent);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
}
