/* Footer */
.footer {
  margin-top: 48px;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo-wrap img {
  width: auto;
  height: 40px;
}

.footer-col p,
.footer-col ul {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, padding 0.15s ease;
}

.footer-col li a:hover {
  padding-left: 4px;
  color: var(--fg);
}

.footer-col li img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-col .num {
  flex-shrink: 0;
  min-width: 24px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.footer-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom .credit {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 1320px);
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    width: min(100% - 32px, 1320px);
  }
}
