/* أسفل الموقع العام والصفحات القانونية (assets/site-footer.js). الألوان والأحجام من tokens.css. */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(130px, 1fr));
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-decoration: none;
}
.site-footer-about p {
  margin-top: 12px;
  max-width: 34ch;
  line-height: var(--lh-body);
}
.site-footer-parent {
  color: var(--muted);
}
.site-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.site-footer-social {
  display: inline-grid;
  place-items: center;
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
}
.site-footer-social:hover {
  border-color: var(--brand-line);
  color: var(--brand);
}
.site-footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer-col h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: 600;
}
.site-footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer-col a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--fs-xs);
}
@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }
  .site-footer-col a {
    display: inline-block;
    padding: 6px 0;
  }
}
