.site-footer {
  clear: both;
  margin-top: 64px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) minmax(150px, 0.7fr) minmax(190px, 0.8fr);
  gap: 32px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.site-footer-about {
  min-width: 0;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.site-footer-logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.site-footer-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
}

.site-footer-about p {
  max-width: 560px;
  margin: 14px 0 0;
  line-height: 1.7;
}

.site-footer-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer-nav {
  display: grid;
  gap: 9px;
}

.site-footer-nav a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
}

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

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer-bottom span:last-child {
  text-align: right;
}

@media (max-width: 980px) {
  .site-footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 44px;
  }

  .site-footer-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

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

  .site-footer-bottom span:last-child {
    text-align: left;
  }
}