/* css/footer.css */

:root {
  --footer-py: 56px;
  --footer-logo-h: 64px;
}

.site-footer {
  background: var(--c-ink);
  color: var(--c-body-dark);
  padding-block: var(--footer-py);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.footer__logo {
  width: auto;
  height: var(--footer-logo-h);
}

.footer__slogan {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-body-dark);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
}

.footer__legal a,
.footer__top {
  color: var(--c-white);
  text-decoration: underline;
  transition: color var(--dur-ui) var(--ease-soft);
}

.footer__legal a:hover,
.footer__top:hover {
  color: var(--c-accent-soft);
}

.footer__row--bottom {
  gap: var(--space-3);
}

.footer__top {
  font-size: var(--fs-small);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer__inner { gap: 0; text-align: left; }

  .footer__row--main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__brand {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .footer__legal { flex-direction: row; gap: 32px; }

  .footer__row--bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: var(--space-5);
    border-top: 1px solid var(--c-ink-2);
  }
}
