/* Wspólny szablon podstron funkcji (/funkcje/<slug>/) – ładowany po dla-biznesu.css i strona-zapisow.css.
   Strona: <div class="planerto-page biz biz-feature"> + sekcje .ft-*. Style tylko jednej funkcji: funkcja-<slug>.css. */
.biz-feature__problem { max-width: var(--max-w, 1200px); margin: 0 auto; padding: 96px 24px 32px; }
@media (max-width: 900px) {
  .biz-feature__problem { padding: 64px 20px 16px; }
}

/* Logotypy zaraz pod hero: bez dużego odstępu z /dla-biznesu/, gdzie zrzuty nachodzą na sekcję. */
.biz-feature .biz-logos { padding-top: 48px; padding-bottom: 8px; }

/* Lekki pasek logotypów w ciemnym boxie końcowego CTA (wariant .biz-logos--cta). */
.final-cta .biz-logos--cta { padding: 40px 0 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.final-cta .biz-logos--cta .biz-logos__lead { margin-bottom: 20px; font-size: 16px; color: rgba(255,255,255,.6); }
.final-cta .biz-logos--cta .biz-logos__list { gap: 16px; padding-right: 16px; }
.final-cta .biz-logos--cta .biz-logos__list img { width: 40px; height: 40px; border-radius: 10px; border-color: rgba(255,255,255,.12); opacity: .85; }
.final-cta .biz-logos--cta .biz-logos__track { animation-duration: 80s; }
@media (max-width: 960px) {
  .final-cta .biz-logos--cta { padding-top: 28px; margin-top: 28px; }
  .final-cta .biz-logos--cta .biz-logos__list img { width: 36px; height: 36px; border-radius: 9px; }
}

/* Zakreślenie tłem w nagłówku (standard Planerto, nie kolor czcionki). */
.ft-mark {
  background: #FFF5C4; color: #10231A; padding: 0 10px; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ── Hero: zrzut z komputera + telefon na nakładce (prawdziwe ekrany) ── */
.ft-hero-visual { position: relative; padding-bottom: 48px; }
.ft-hero-phone {
  position: absolute; right: -8px; bottom: 0; width: 27%;
  padding: 5px; border-radius: 30px; background: #111;
  box-shadow: 0 24px 48px rgba(17, 17, 17, .22);
}
.ft-hero-phone img { display: block; width: 100%; height: auto; border-radius: 25px; }
@media (max-width: 900px) {
  .ft-hero-visual { padding-bottom: 32px; }
  .ft-hero-phone { right: 4px; width: 30%; padding: 4px; border-radius: 22px; }
  .ft-hero-phone img { border-radius: 18px; }
}

/* ── Gęstszy rytm podstrony: mniejsze odstępy między sekcjami i mniejsze logotypy ── */
.biz-feature .biz-logos__lead { margin-bottom: 18px; }
.biz-feature .biz-logos:not(.biz-logos--cta) .biz-logos__list { gap: 20px; padding-right: 20px; }
.biz-feature .biz-logos:not(.biz-logos--cta) .biz-logos__list img { width: 48px; height: 48px; border-radius: 12px; }
.biz-feature .biz-feature__problem { padding-top: 64px; padding-bottom: 8px; }
.biz-feature .alt-section,
.biz-feature .biz-why { padding-top: 56px; padding-bottom: 56px; }
.biz-feature .founder.biz-opinion { padding-top: 56px; padding-bottom: 56px; }
.biz-feature .faq-section { padding-top: 56px; padding-bottom: 40px; }
.biz-feature .final-cta { padding-top: 16px; padding-bottom: 64px; }
.biz-feature .alt-section-header { margin-bottom: 32px; }
.biz-feature .ctr-toggle { margin: 28px 0 24px; }
@media (max-width: 960px) {
  .biz-feature .biz-logos { padding-top: 36px; }
  .biz-feature .biz-logos:not(.biz-logos--cta) .biz-logos__list img { width: 40px; height: 40px; border-radius: 10px; }
  .biz-feature .biz-feature__problem { padding-top: 44px; }
  .biz-feature .alt-section,
  .biz-feature .biz-why,
  .biz-feature .founder.biz-opinion { padding-top: 40px; padding-bottom: 40px; }
  .biz-feature .faq-section { padding-top: 40px; padding-bottom: 28px; }
  .biz-feature .final-cta { padding-bottom: 40px; }
  .biz-feature .alt-section-header { margin-bottom: 24px; }
}

/* ══ Szablon podstrony funkcji (.ft-*) ══════════════════════════════════
   Jeden system: kontener 1200 px, sekcje co 56 px, dwa rozmiary nagłówków
   (H2 sekcji, H2 wiersza), jeden akcent (--brand), zrzuty na jasnej scenie. */
.ft-rows { max-width: 1200px; margin: 0 auto; padding: 24px 24px 8px; display: grid; gap: 24px; }
.ft-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center;
  padding: 40px 0;
}
.ft-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ft-row--flip .ft-row__copy { order: 2; }
.ft-row__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 20px;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
}
.ft-row h2 { margin: 0 0 14px; font-size: var(--fs-subhead); text-wrap: balance; }
.ft-row p { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--text); }
.ft-row__list { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.ft-row__copy .ft-footnote { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.ft-row__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--text); }
.ft-check { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }

.ft-stage {
  position: relative; padding: clamp(20px, 3vw, 40px); border-radius: 20px;
  background: linear-gradient(135deg, #EAF4EE 0%, #F4F8F5 45%, #FBF7EF 100%);
}
.ft-shot { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-screen); }
.ft-shot img { display: block; width: 100%; height: auto; }
.ft-stage--phone { display: flex; justify-content: center; padding-top: 40px; padding-bottom: 0; overflow: hidden; height: 520px; }
.ft-phone { width: 270px; padding: 5px; border-radius: 34px; background: #111; box-shadow: 0 24px 48px rgba(17,17,17,.20); align-self: flex-start; }
.ft-phone img { display: block; width: 100%; height: auto; border-radius: 29px; }
.ft-stage--combo { padding-right: clamp(60px, 9vw, 120px); padding-bottom: clamp(40px, 5vw, 64px); }
.ft-phone--float { position: absolute; right: clamp(16px, 2vw, 28px); bottom: -24px; width: 26%; max-width: 200px; padding: 4px; border-radius: 26px; }
.ft-phone--float img { border-radius: 22px; }

/* Pas faktów */
.ft-facts {
  max-width: 1152px; margin: 40px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border); border-radius: 20px; background: #fff;
}
.ft-fact { padding: 32px 32px 30px; }
.ft-fact + .ft-fact { border-left: 1px solid var(--border); }
.ft-fact strong { display: block; font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--text); margin-bottom: 12px; }
.ft-fact span { display: block; font-size: 16px; line-height: 1.5; color: var(--text); }

/* FAQ w dwóch kolumnach */
.ft-faq { max-width: 1152px; margin: 0 auto; padding: 72px 24px 40px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
/* Nagłówek FAQ przypięty przy przewijaniu listy pytań (pod menu). */
.ft-faq__head { position: sticky; top: 112px; }
.ft-faq__head h2 { margin: 0 0 14px; font-size: var(--fs-section); }
.ft-faq__head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.ft-faq__head a { color: var(--brand); font-weight: 500; }
.biz-feature .ft-faq__list { max-width: none; margin: 0; }

@media (max-width: 960px) {
  .ft-rows { padding: 8px 20px 0; gap: 8px; }
  .ft-row, .ft-row--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0; }
  .ft-row--flip .ft-row__copy { order: 0; }
  .ft-stage--phone { height: 420px; }
  .ft-phone { width: 230px; }
  .ft-stage--combo { padding-right: 56px; }
  .ft-facts { grid-template-columns: minmax(0, 1fr); margin: 24px 20px 0; }
  .ft-fact { padding: 24px; }
  .ft-fact + .ft-fact { border-left: 0; border-top: 1px solid var(--border); }
  .ft-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 48px 20px 24px; }
  .ft-faq__head { position: static; }
}

/* Pas faktów na ciemnym tle – ten sam język co czarne CTA na dole. */
.ft-facts {
  border: 0; overflow: hidden; color: #fff;
  background: radial-gradient(900px 420px at 15% -40%, #2c2c2c 0%, #111 55%, #050505 100%);
}
.ft-fact + .ft-fact { border-left-color: rgba(255,255,255,.12); }
.ft-fact { padding: 40px 36px 38px; }
.ft-fact strong { color: #fff; }
.ft-fact span { color: rgba(255,255,255,.78); }
@media (max-width: 960px) {
  .ft-fact { padding: 28px 24px; }
  .ft-fact + .ft-fact { border-top-color: rgba(255,255,255,.12); }
}

/* Opinia: zwarta karta w szerokości kontenera (jak pas faktów). */
.ft-quote { max-width: 1152px; margin: 24px auto 0; padding: 0; }
.ft-quote__card { margin: 0; padding: 40px 48px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.ft-quote blockquote { margin: 0; font-family: var(--font-heading); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--text); }
.ft-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 16px; line-height: 1.4; color: var(--text); }
.ft-quote figcaption img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.ft-quote figcaption strong { display: block; font-weight: 600; }
@media (max-width: 960px) {
  .ft-quote { margin: 16px 20px 0; }
  .ft-quote__card { padding: 28px 24px; }
}
