.footer{
  position: relative;
  background: transparent;
  padding: 22px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

html[data-theme="dark"] .footer{
  background: transparent;
}

/* subtle separator instead of heavy border/gradient */
.footer::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(0,0,0,.06);
}

html[data-theme="dark"] .footer::before{
  background: rgba(255,255,255,.08);
}

.footer .footer-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.footer .footer-inner > *{
  line-height: 1.4;
}

/* links inside footer */
.footer a{
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover{
  color: var(--text);
}

@media (max-width: 899px){
  /* footer jest ukrywana na mobile przez sticky CTA –
     tu zostawiamy tylko fallback */
  .footer{
    padding: 16px 0 14px;
  }
}

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px) saturate(140%);
  border-top: 1px solid rgba(0,0,0,.06);
}

html[data-theme="dark"] .sticky-cta{
  background: rgba(18,21,28,.85);
  border-top-color: rgba(255,255,255,.08);
}

/* wariant pojedynczego CTA (partnerstwo) */
.sticky-cta--single{
  justify-content: center;
}

.sticky-cta .btn{
  flex: 1 1 auto;
}

.sticky-cta--single .btn{
  max-width: 420px;
}

/* tylko mobile */
@media (min-width: 900px){
  .sticky-cta{ display: none; }
}

@media (max-width: 899px){
  body{
    padding-bottom: 72px; /* miejsce na sticky CTA */
  }
}