/* ══════════════════════════════════════════════════════════════
   SECTION 10 — FOOTER
   footer-image.png (blue sky, two women) full-bleed + opaque, so it
   scrolls up over the fixed mesh = "background scrolls away, footer
   revealed". Centred headline + CTA up top, then 3 link columns + QR,
   then the legal row.
   ══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;                              /* over the fixed mesh */
  /* WebP first (~51KB) with PNG fallback (~516KB). Bare url() = fallback base. */
  background: #2E6FC9 url("../assets/footer-image.png") center top / cover no-repeat;
  background-image: image-set(
    url("../assets/footer-image.webp") type("image/webp"),
    url("../assets/footer-image.png")  type("image/png")
  );
  color: #ffffff;
  padding: clamp(70px, 11vh, 150px) 24px clamp(28px, 4vh, 48px);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

/* — Top: headline + sub + CTA — */
.footer-top { text-align: center; margin-bottom: auto; }
.footer-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.22);
}
.footer-sub {
  margin-top: 18px;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,0.22);
}
.footer-cta { margin-top: 36px; }

/* — Bottom: link columns + QR — */
.footer-grid {
  max-width: var(--maxw);
  width: 100%;
  margin: clamp(48px, 8vh, 90px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: 40px;
  align-items: start;
}
.footer-col h4 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.92);
  padding: 5px 0;
}
.footer-col a:hover { color: #fff; }

.footer-qr {
  justify-self: end;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
/* Real App Store QR code (assets/appstore-qr.png), padded on white so it
   stays scannable against the dark footer. */
.footer-qr-box {
  display: block;
  width: clamp(96px, 9vw, 128px);
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}
.footer-qr span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}

/* — Legal row — */
.footer-legal {
  max-width: var(--maxw);
  width: 100%;
  margin: clamp(36px, 6vh, 70px) auto 0;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.footer-legal a:hover { color: #fff; }
