.site-footer {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.site-footer .page-sections {
  max-width: min(94vw, 110rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr auto;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--muted-foreground);
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--foreground);
  background: var(--border);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--foreground);
}

.footer-col a {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--foreground);
}

.footer-qr {
  display: flex;
  gap: 1.5rem;
}

.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-qr-item .qr-image {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
  padding: 0.25rem;
}

.footer-qr-item span {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-align: center;
}

.footer-col-contact p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.footer-col-contact a {
  color: var(--primary);
}

.footer-divider {
  margin: 0 auto 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
