/* ── BAZA KLIENTÓW (podstrona funkcji) ──────────────────
   Reużywa komponentów .sz-* (strona-zapisow.css): hero-std, sz-problem,
   sz-contrast, sz-solution, sz-bullets, sz-steps, sz-objection, final-cta.
   Tu: animowana konwergencja 5 kanałów → karta klienta + lista klientów. */

/* ── Hero — 5 kanałów zlewa się w jedną kartę ─────────── */
.bk-stage { position: relative; height: 360px; }

.bk-src {
  position: absolute; left: 50%; top: 50%; z-index: 2; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  box-shadow: 0 8px 20px rgba(17,17,17,0.08); padding: 7px 11px;
  opacity: 0;
}
.bk-c1 { animation: bkA1 7.5s ease-in-out infinite; }
.bk-c2 { animation: bkA2 7.5s ease-in-out infinite; }
.bk-c3 { animation: bkA3 7.5s ease-in-out infinite; }
.bk-c4 { animation: bkA4 7.5s ease-in-out infinite; }
.bk-c5 { animation: bkA5 7.5s ease-in-out infinite; }
.bk-src-ic { display: inline-flex; flex-shrink: 0; }
.bk-src-ic svg { width: 19px; height: 19px; display: block; }
.bk-ig { color: #E4405F; }
.bk-fb { color: #1877F2; }
.bk-ms { color: #0084FF; }
.bk-wa { color: #25D366; }
.bk-gm { color: #EA4335; }
.bk-src-val { font-size: 12px; font-weight: 600; color: var(--text); }
/* Kafle widoczne od startu na swoich miejscach; płyną do środka jeden po
   drugim, powoli i płynnie; gasną dopiero w centrum. Reset = natychmiastowy
   skok na granicy pętli (100%→0%), więc brak jakiegokolwiek „wejścia". */
@keyframes bkA1 {
  0%, 2% { opacity: 1; transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) scale(1); }
  20% { opacity: 1; }
  24%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}
@keyframes bkA2 {
  0%, 10% { opacity: 1; transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) scale(1); }
  28% { opacity: 1; }
  32%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}
@keyframes bkA3 {
  0%, 18% { opacity: 1; transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) scale(1); }
  36% { opacity: 1; }
  40%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}
@keyframes bkA4 {
  0%, 26% { opacity: 1; transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) scale(1); }
  44% { opacity: 1; }
  48%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}
@keyframes bkA5 {
  0%, 34% { opacity: 1; transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) scale(1); }
  52% { opacity: 1; }
  56%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}

.bk-card {
  position: absolute; left: 50%; top: 50%; width: 268px; z-index: 3;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 4px;
  box-shadow: 0 22px 48px rgba(17,17,17,0.16); padding: 16px 18px;
  opacity: 0; animation: bkForm 7.5s ease-in-out infinite;
}
@keyframes bkForm {
  0%, 58% { opacity: 0; transform: translate(-50%, -48%) scale(0.9); }
  66%, 92% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  99%, 100% { opacity: 0; transform: translate(-50%, -48%) scale(0.9); }
}
.bk-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.bk-card-ava { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.bk-card-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-card-name { font-family: var(--font-heading); font-size: 15.5px; font-weight: 600; color: var(--text); }
.bk-card-seg { align-self: flex-start; font-size: 10.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 4px; }
.bk-card-rows { padding-top: 6px; }
.bk-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.bk-card-row + .bk-card-row { border-top: 1px solid var(--border); }
.bk-card-k { font-size: 12px; color: var(--text-muted); }
.bk-card-v { font-size: 12.5px; font-weight: 600; color: var(--text); text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .bk-src, .bk-card, .bk-li-flag { animation: none; }
  .bk-src { display: none; }
  .bk-card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Sekcja 3 — Rozwiązanie (copy + lista klientów) ──── */
.bk-solution-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.bk-solution-copy { text-align: left; }
.bk-solution-copy .sz-eyebrow { margin-bottom: 14px; }
.bk-solution-copy h2 {
  margin: 0 0 14px; font-family: var(--font-heading); font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem));
  font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--text); text-wrap: balance;
}
.bk-solution-copy > p { margin: 0; max-width: 48ch; font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.bk-solution-copy .sz-bullets { display: flex; margin-top: 24px; }
.bk-solution-copy .sz-bullet { font-size: 16px; }

.bk-list {
  max-width: 400px; margin: 0 auto; background: #fff; border: 1px solid var(--border-strong); border-radius: 4px;
  box-shadow: 0 24px 54px rgba(17,17,17,0.12); overflow: hidden;
}
.bk-list-bar { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.bk-list-search { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 4px; padding: 8px 11px; }
.bk-list-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.bk-list-tabs { display: flex; gap: 6px; margin-top: 11px; }
.bk-tab { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg-subtle); padding: 4px 10px; border-radius: 4px; }
.bk-tab.is-active { color: var(--brand); background: var(--brand-soft); }
.bk-li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.bk-li + .bk-li { border-top: 1px solid var(--border); }
.bk-li-ava { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.bk-li-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-li-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.bk-li-meta { font-size: 11.5px; color: var(--text-muted); }
.bk-li-val { font-size: 13px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.bk-li-muted { color: var(--text-muted); font-weight: 500; }
.bk-li-flag { flex-shrink: 0; font-size: 11px; font-weight: 700; color: #b45309; background: #fef3c7; padding: 4px 9px; border-radius: 4px; animation: bkFlag 3s ease-in-out infinite; }
@keyframes bkFlag { 0%, 100% { box-shadow: 0 0 0 0 rgba(180,83,9,0); } 50% { box-shadow: 0 0 0 4px rgba(180,83,9,0.14); } }

/* ── Sekcja 4 — Co znajdziesz (karty) ─────────────────── */
.bk-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bk-type { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 22px 20px; }
.bk-type-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.bk-type-ic svg { width: 21px; height: 21px; }
.bk-type h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 15.5px; font-weight: 600; color: var(--text); }
.bk-type p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }

/* ── Równy rytm pionowy sekcji ────────────────────────── */
.bk-page .hero-std { padding-bottom: 88px; }
.bk-page .sz-problem { padding-top: 24px; padding-bottom: 88px; }
.bk-page .sz-solution { padding-top: 24px; padding-bottom: 88px; }
.bk-page .sz-steps { padding-top: 24px; padding-bottom: 88px; }
.bk-page .sz-objection { padding-top: 24px; padding-bottom: 88px; }

/* ── Responsywność ────────────────────────────────────── */
@media (max-width: 1000px) {
  .bk-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .bk-solution-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .bk-types { grid-template-columns: 1fr; }
}
