/* ─── Footer ─────────────────────────────────────────────────────────────── */

.ha-ftr {
  position: relative;
  z-index: 1;
  padding: 70px 0 30px;
  background: var(--footer-bg-color, var(--bg-light));
  border-top: 1px solid var(--line);
}

.ha-ftr__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;

  @media (min-width: 992px) {
    grid-template-columns: 1.3fr 1.4fr auto;
  }
}

.ha-ftr__tag {
  margin-top: 14px;
  max-width: 300px;
  color: var(--muted);
}

.ha-ftr__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  font-size: 14.5px;

  a:hover {
    color: var(--deep);
  }
}

.ha-totop {
  justify-self: start;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-color);
  font-size: 13px;
  transition: box-shadow var(--hover-duration);

  &:hover {
    box-shadow: var(--shadow);
  }
}

.ha-ftr__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.ha-ftr__disclaimer {
  max-width: 620px;
}

.ha-ftr__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;

  a:hover {
    color: var(--deep);
  }
}

.ha-ftr__legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;

  li::before {
    content: "·";
    margin-right: 14px;
  }
}
