/* footer.css — footer: inline SVG logo, links, copyright and yellow back-to-top button */

.footer { padding: 72px 0 32px; --band: var(--ink); }

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__logo { display: inline-block; }
.footer__logo .logo { height: 44px; }
.footer__brand p { margin-top: 14px; font-size: 15px; color: var(--muted); }

.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__links a { font-weight: 500; color: var(--heading); border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
.footer__links a:hover { border-bottom-color: var(--yellow); }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: 13px; color: var(--muted); }

.footer__privacy { margin-top: 6px; font-size: 12px; color: var(--muted); opacity: 0.8; }

.to-top {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.2s ease;
}
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .footer__bottom { align-items: flex-end; }
}
