/* -------------------------------------------------------- */
/* 🔹 Footer                                                */
/* -------------------------------------------------------- */

.site-footer {
  margin-top: auto;
  padding-top: var(--website-section-spacing);
  padding-bottom: var(--space-xl);
}

/* Separator as ::before so the space above the line survives
   margin-top: auto collapsing to zero on a tall page */
.site-footer::before {
  content: '';
  display: block;
  height: 1px;
  background-color: var(--color-outline);
  margin-bottom: var(--space-xxxl);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.site-footer__links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.site-footer__link {
  font-size: var(--text-body-medium);
  color: var(--color-text-secondary);
  transition: color var(--animation-fast) var(--animation-curve);
}

.site-footer__link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer__bottom {
  margin-top: var(--space-xl);
  font-size: var(--text-body-small);
  color: var(--color-text-secondary);
}


/* -------------------------------------------------------- */
/* 🔹 Responsive                                            */
/* -------------------------------------------------------- */

@media (max-width: 599px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-l);
  }

  .site-footer__links {
    flex-direction: column;
    gap: var(--space-m);
  }
}
