/* Footer, on every view (Catalis style, white): the black logo and the city, the old footer's two link
   columns, then the copyright line and "Back to top" under a hairline, and the logo again across the full
   width at the very bottom, greyed out, whole and never stretched. */
.footer { padding: clamp(64px, 8vw, 104px) 0 clamp(16px, 2.4vw, 32px); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
.footer-logo { display: inline-flex; }
.footer-logo img { width: auto; height: 22px; }
.footer-place { margin-top: 18px; color: var(--fg-soft); }
.footer-cols { display: flex; gap: clamp(56px, 9vw, 128px); }
.footer-head { font-size: var(--t-label); font-weight: 500; line-height: 1.3; color: var(--fg); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.footer-col a { color: var(--fg-soft); transition: color var(--hover) ease; }
.footer-col a:hover { color: var(--fg); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-copy { color: var(--fg-soft); white-space: nowrap; }
/* a quiet button: Light gray 5 with black words, black on hover */
.btn-soft { background: var(--surface); color: var(--fg); }
.btn-soft:hover { background: var(--press); color: var(--on-press); }
.footer-up { gap: 10px; }
.footer-up svg { flex: none; width: 14px; height: 14px; }

/* the full-width logo, greyed out so the page ends softly (owner, 06.11): the one-colour logo file is a mask
   that the page paints with a token, so the logo stays whole, never stretched, at 7507:772 */
.footer-mark { margin-top: clamp(40px, 6vw, 80px); }
.footer-mark-logo {
  display: block;
  width: 100%;
  aspect-ratio: 7507 / 772;
  background: var(--mark-soft);
  -webkit-mask: url("../uploads/brand/inbox-vektor-logo-black-mono.svg") center / contain no-repeat;
  mask: url("../uploads/brand/inbox-vektor-logo-black-mono.svg") center / contain no-repeat;
}

@media (max-width: 640px) {
  .footer-cols { width: 100%; gap: 32px; }
  .footer-col { flex: 1; }
  .footer-col ul { gap: 0; margin-top: 8px; }
  .footer-col a { display: block; padding: 10px 0; }   /* a 44px tap target each */
  .footer-bottom { margin-top: 48px; }
}
