
/* ════════  WSZYSTKIE STYLE SCOPED POD .apr-widget  ════════ */
.apr-widget {
  --apf-green: #39aa36;
  --apf-yellow: #fee101;
  --white: #fff;
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  color: #111;
}

.apr-widget .header-black {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #39aa36;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}
.apr-widget .section-rule { display: flex; margin: 8px 0 32px; height: 4px; }
.apr-widget .section-rule span:first-child { width: 150px; background: #39aa36; }
.apr-widget .section-rule span:last-child { width: 500px; background: #fee101; }

.apr-widget h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
@media (max-width: 600px) {
  .apr-widget h2 { font-size: 24px; }
}

/* ── PARTNERZY ── */
.apr-widget .section-partners {
  background: #fff;
  padding: 44px 0;
  color: #fff;
  overflow: hidden;
}
.apr-widget .slider-track {
  display: flex;
  gap: 20px;
  animation: apr-slide 25s linear infinite;
}
.apr-widget .slider-track img { max-height: 100px; }
@keyframes apr-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 35px)); }
}

/* ── CTA ── */
.apr-widget .section-cta {
  background: #fee101;
  padding: 70px 0;
  color: #000;
}
.apr-widget .cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.apr-widget .cta-text { width: 50%; }
.apr-widget .cta-form { width: 50%; display: flex; justify-content: flex-end; }
.apr-widget .cta-form form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 991px) {
  .apr-widget .cta-inner    { flex-direction: column; gap: 38px; }
  .apr-widget .cta-text,
  .apr-widget .cta-form     { width: 100%; }
  .apr-widget .cta-form form { max-width: 100%; }
}

.apr-widget .cta-text p.lead { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.apr-widget .btn-faq {
  display: inline-block;
  background: var(--apf-green);
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
  font-size: 16px;
}
.apr-widget .direct-contact {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  font-size: 16px;
}
.apr-widget .direct-contact li {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Formularz ── */
.apr-widget .row-duo { display: flex; gap: 16px; }
@media (max-width: 500px) {
  .apr-widget .row-duo { flex-direction: column; }
}
.apr-widget .row-duo input { flex: 1; }
.apr-widget input,
.apr-widget textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font);
  box-sizing: border-box;
  color: black;
}
.apr-widget textarea { min-height: 160px; resize: vertical; }
.apr-widget button.submit {
  align-self: flex-start;
  background: var(--apf-green);
  color: #fff;
  padding: 16px 56px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: .2s;
}
.apr-widget button.submit:hover { background: #fff; color: var(--apf-green); }

/* ── STOPKA (desktop) ── */
.apr-widget .section-footer {
  background: var(--apf-green);
  padding: 72px 0 60px;
  color: #fff;
}
.apr-widget .footer-grid {
  display: grid;
  grid-template-columns: 160px repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin-inline: auto;
  justify-content: center;
}
.apr-widget .footer-logo img { max-width: 160px; display: block; margin-left: 0; }
.apr-widget .footer-heading {
  display: block;
  font: 700 15px var(--font);
  margin: 0 0 12px;
  color: var(--apf-yellow);
}
.apr-widget .footer-col a {
  display: block;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  margin: 6px 0;
}
.apr-widget .footer-col a:hover { text-decoration: underline; }

/* ── STOPKA mobile: płynne rozwijanie + biała strzałka ── */
@media (max-width: 600px) {
  .apr-widget .footer-grid {
    grid-template-columns: 1fr;
    padding-inline: 16px;
    gap: 24px;
  }
  .apr-widget .footer-logo,
  .apr-widget .footer-col { text-align: center; width: 100%; }
  .apr-widget .footer-logo img { margin-inline: auto; max-width: 140px; }

  .apr-widget .footer-col {
    border-top: 1px solid rgba(255,255,255,.15);
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .apr-widget .footer-col .footer-heading {
    font: 700 18px var(--font);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
  }
  .apr-widget .footer-col .footer-heading::after {
    content: "";
    width: 8px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    margin-left: auto;
    transform: rotate(45deg);
    transition: transform .35s ease;
  }
  .apr-widget .footer-col.show .footer-heading::after {
    transform: rotate(-135deg);
  }
  .apr-widget .footer-col a { padding: 6px 0; font-size: 15px; line-height: 1.4; }
}

/* ── Store buttons ── */
.apr-widget .store-buttons { display: flex; flex-direction: column; }
.apr-widget .store-buttons a img {
  width: 175px;
  transition: transform .2s;
}
.apr-widget .store-buttons a:hover img { transform: scale(1.05); }
@media (max-width: 991px) {
  .apr-widget .store-buttons a img { width: 75%; }
}

.apr-widget .slider-track{width:max-content;align-items:center;}
.apr-widget .slider-track img{max-width:180px;width:auto;object-fit:contain;}
.apr-widget .section-footer{padding-inline:24px;}
.apr-widget .footer-col a:focus-visible,.apr-widget button:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.apr-widget .credit{background:#fee101;color:#000;padding:14px 24px;font-size:13px;}
.apr-widget .credit a{color:#000;}
.apr-widget .direct-contact a{color:#000;text-decoration:none;}
.apr-widget .section-cta .header-black{color:#000;}
