/* Shared CAN CONNECT footer, independent of homepage presentation. */
.connect-footer { position: relative; isolation: isolate; overflow: hidden; flex-shrink: 0; margin-top: auto; background: #062f49; color: #d4e4ee; }
.connect-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('../img/assets/footer-waves.svg?v=3') right bottom / 100% 100% no-repeat; }
.connect-footer-shell { position: relative; z-index: 1; width: min(1440px, 90%); margin-inline: auto; }
.connect-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 25px 0 22px; }
.connect-footer-brand img { width: 225px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.connect-footer-brand p { font-size: 13px; margin: 10px 0 0; }
.connect-footer h2 { font-size: 13px; color: white; font-weight: 700; margin: 0 0 13px; }
.connect-footer nav a { display: block; width: fit-content; color: #d4e4ee; text-decoration: none; font-size: 13px; padding-block: 4px; }
.connect-footer nav a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.connect-footer a:focus-visible { outline: 3px solid #19bfdc; outline-offset: 5px; }
.connect-footer-bottom { border-top: 1px solid #ffffff30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; font-size: 11px; }
.connect-footer-powered { display: flex; align-items: center; gap: 12px; }
.connect-footer-powered img { filter: brightness(0) invert(1); object-fit: contain; }
#chat-toggle-btn { bottom: max(24px, env(safe-area-inset-bottom, 0px), var(--footer-chat-clearance, 0px)); }
@media (max-width: 767px) {
  .connect-footer-shell { width: 88%; }
  .connect-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .connect-footer-brand { grid-column: 1 / -1; }
  .connect-footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .connect-footer::before { background-size: auto 75%; }
  #chat-toggle-btn { bottom: max(18px, env(safe-area-inset-bottom, 0px), var(--footer-chat-clearance, 0px)); }
}
