/* ===== Footer – Amorismo ===== */
/*
 * Centered editorial footer: brand lockup → social icons → legal bar
 * All elements stacked and centered for visual balance.
 */

.am-footer {
  margin-top: var(--am-sp-6);
  position: relative;
  z-index: 1;
}

/* ── Main content: centered vertical stack ── */
.am-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--am-sp-4);
  max-width: var(--am-max-w);
  margin: 0 auto;
  padding: var(--am-sp-6) var(--am-sp-4) var(--am-sp-4);
}

/* ── Brand logo ── */
.am-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-footer__logo {
  width: 160px;
  height: auto;
  display: block;
  filter: var(--am-logo-filter);
}

/* ── Social icons row ── */
.am-footer__social {
  display: flex;
  align-items: center;
  gap: var(--am-sp-3);
}

.am-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--am-home-text-muted);
  text-decoration: none;
  padding: var(--am-sp-2);
  border-radius: 50%;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.am-footer__social-link:hover {
  color: var(--am-home-text);
  background: var(--am-home-surface);
}

.am-footer__social-link svg {
  flex-shrink: 0;
  display: block;
}

.am-footer a:focus-visible {
  outline: 2px solid var(--am-home-accent-soft);
  outline-offset: 4px;
}

/* ── Bottom bar ── */
.am-footer__bottom {
  max-width: var(--am-max-w);
  margin: 0 auto;
  padding: 0 var(--am-sp-4) var(--am-sp-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--am-sp-2);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--am-home-text-muted);
  opacity: 0.72;
}

.am-footer__copyright {
  font-size: inherit;
  line-height: 1.4;
  margin: 0;
}

.am-footer__legal {
  display: flex;
  gap: var(--am-sp-2);
  align-items: center;
}

.am-footer__legal a {
  font-size: inherit;
  color: var(--am-home-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.am-footer__legal a:hover {
  color: var(--am-home-accent-soft);
}
