/* ── STRONA ZAPISÓW (podstrona funkcji) ─────────────── */
.sz-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent;
}
.sz-page > *:not(.site-nav) { position: relative; z-index: 1; }

/* Nagłówki sekcji (.sz-section-head), sekcja problemu (.sz-problem) i kontrast
   dwóch list (.sz-contrast) = komponenty globalne w main.css. Tu ich nie duplikuj. */

/* Sekcja 1 — Hero: kanon .hero-std w main.css (nie duplikuj tu regul). */
/* Waga/interlinia/tracking z globalnego h1 (main.css) — jak na stronie Karnety. */

/* ── Sekcja 3 — Rozwiązanie (intro + bento) ─────────── */
.sz-solution { max-width: 1120px; margin: 0 auto; padding: 88px 32px; }
.sz-solution-intro { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.sz-solution-intro .sz-section-head h2 { max-width: 30ch; }
.sz-solution-intro .sz-section-head p { max-width: 76ch; }
.sz-bullets { display: inline-flex; flex-direction: column; gap: 12px; margin-top: 22px; text-align: left; }
.sz-bullet { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--text); }
.sz-bullet-check {
  flex-shrink: 0; margin-top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center;
}
.sz-bullet-check svg { width: 10px; height: 10px; }
/* Karty = język kart ze strony Karnety (.kar-card): tekst u góry, screen w studni na dole,
   równe kolumny; tag nad nagłówkiem jak .kar-tag. */
.sz-bento-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(17,17,17,0.04);
}
.sz-bento-text { padding: 24px 24px 0; }
.sz-bento-tag {
  display: inline-block; margin-bottom: 10px; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
}
.sz-bento-card h3 {
  margin: 0 0 8px; font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--text);
}
.sz-bento-card > .sz-bento-text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
/* Studnia na zrzut: dociąga do dołu karty, żeby karty w rzędzie były równe (flex: 1). */
.sz-bento-visual {
  margin-top: 20px; padding: 16px;
  background: linear-gradient(135deg, #EAF4EE 0%, #F4F8F5 42%, #FBF7EF 100%);
  border-top: 1px solid var(--border);
  flex: 1; display: flex;
}
.sz-bento-visual > .sz-shot { width: 100%; align-self: start; }

/* ── Screen / placeholder (wzorzec: .kar-shot / .kar-ph na stronie Karnety) ── */
.sz-shot { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-screen); border: 1px solid var(--border); }
.sz-shot img { display: block; width: 100%; height: auto; }
.sz-ph { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px; background: var(--brand-soft); color: var(--brand); }
.sz-ph-badge { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 4px; }
.sz-ph-badge svg { width: 24px; height: 24px; color: var(--brand); }
.sz-ph-label { font-family: var(--font-heading); font-weight: 600; font-size: 15px; }
.sz-ph-note { font-size: 13px; color: var(--text-muted); }

/* Makieta „link w bio" na Instagramie — celowo makieta, nie screen (decyzja foundera).
   Ramka/cień jak przy zrzutach (.sz-shot), żeby stała w jednym rzędzie z kartami ze screenami. */
.sz-ig { width: 100%; align-self: start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 15px 15px 17px; color: var(--text); font-family: var(--font-body); box-shadow: var(--shadow-screen); }
.sz-ig-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.sz-ig-user { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--text); }
.sz-ig-user svg { width: 10px; height: 10px; }
.sz-ig-logo { width: 21px; height: 21px; flex-shrink: 0; }
.sz-ig-profile { display: flex; align-items: center; gap: 16px; margin-bottom: 11px; }
.sz-ig-ava { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; padding: 2.5px; background: conic-gradient(from 215deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.sz-ig-ava i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-subtle); color: var(--text); font-weight: 700; font-size: 19px; font-style: normal; border: 2px solid #fff; }
.sz-ig-stats { display: flex; gap: 14px; flex: 1; }
.sz-ig-stats > div { text-align: center; }
.sz-ig-stats b { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.sz-ig-stats span { font-size: 10px; color: var(--text-muted); }
.sz-ig-name { font-size: 13px; font-weight: 700; color: var(--text); }
.sz-ig-cat { font-size: 12px; color: var(--text-light); }
.sz-ig-bio { font-size: 12px; color: var(--text-muted); line-height: 1.45; margin-top: 3px; }
.sz-ig-link { display: inline-block; margin-top: 1px; font-size: 12.5px; font-weight: 600; color: #00376b; word-break: break-all; }
.sz-ig-btns { display: flex; gap: 6px; margin-top: 13px; }
.sz-ig-btns span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 4px; border-radius: 4px; color: var(--text); }
.sz-ig-btns .follow { background: #0095f6; color: #fff; }
.sz-ig-btns .msg { background: #efefef; }

/* ── Sekcja 3 — kanały publikacji linku (wizualizacja bulletów) ─ */
/* Sekcja „Rozwiązanie" = układ jak na Karnetach: rząd trzech równych kart (.kar-cards),
   pod nim szeroka karta tekst | screen (.kar-wide). Rytm między blokami: 16px. */
.sz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; align-items: stretch; }
/* Wariant dla dwoch kart w rzedzie (zaliczki) - bez dziury po trzeciej kolumnie. */
.sz-cards.is-two { grid-template-columns: repeat(2, 1fr); }

/* Szeroka karta: tekst | screen (wzorzec .kar-wide). */
.sz-wide {
  margin-bottom: 16px; display: grid; grid-template-columns: 1fr 1.15fr;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(17,17,17,0.04);
}
.sz-wide-text { padding: 28px; align-self: center; }
.sz-wide-text h3 {
  margin: 0 0 8px; font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--text);
}
.sz-wide-text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
/* Zrzut wyśrodkowany w studni — szeroka karta bywa wyższa niż sam obrazek. */
.sz-wide-visual {
  padding: 16px;
  background: linear-gradient(135deg, #EAF4EE 0%, #F4F8F5 42%, #FBF7EF 100%);
  border-left: 1px solid var(--border);
  display: flex; align-items: center;
}
.sz-wide-visual > .sz-shot { width: 100%; }

/* ── Sekcja 4 — Ścieżka klienta (3 kroki, stepper) ──── */
.sz-steps { max-width: 1120px; margin: 0 auto; padding: 88px 32px 0; }
.sz-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.sz-flow-step { text-align: center; padding: 0 16px; position: relative; }
.sz-flow-step:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: 50%; width: 100%; height: 2px;
  background: var(--brand); z-index: 0;
}
.sz-flow-num {
  position: relative; z-index: 1; width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  box-shadow: 0 0 0 6px #fff;
}
.sz-flow-num svg { width: 24px; height: 24px; }
.sz-flow-step h3 { margin: 0 0 7px; font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--text); }
.sz-flow-step p { margin: 0 auto; max-width: 26ch; font-size: 14px; line-height: 1.55; color: var(--text-muted); }


/* ── Sekcja 6 — Lista oczekujących (tekst + screen) ─── */
.sz-waitlist {
  max-width: 1120px; margin: 0 auto; padding: 88px 32px 0;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center;
}
/* Waga/interlinia/tracking z globalnego h2 (main.css) — jak na stronie Karnety. */
.sz-waitlist-copy h2 {
  margin: 0 0 16px; font-size: var(--fs-section, clamp(1.7rem, 2.7vw, 2.3rem)); text-wrap: balance;
}
.sz-waitlist-copy p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 46ch; }

/* ── Sekcja 5 — CTA: reużywa .final-cta z main.css (rytm jak .kar-page) ── */
.sz-page .final-cta { padding-top: 88px; }

/* ── Responsywność ──────────────────────────────────── */
@media (max-width: 960px) {
  .sz-cards, .sz-cards.is-two, .sz-wide { grid-template-columns: 1fr; }
  .sz-wide-visual { border-left: 0; border-top: 1px solid var(--border); }
  .sz-waitlist { grid-template-columns: 1fr; gap: 32px; }
  .sz-solution { padding: 64px 20px; }
  .sz-steps, .sz-waitlist { padding: 64px 20px 0; }
  .sz-page .final-cta { padding-top: 64px; }
}
@media (max-width: 600px) {
  .sz-flow { grid-template-columns: 1fr; gap: 28px; }
  .sz-flow-step::after { display: none; }
  /* Nagłówek karty bento: na telefonie mocniejszy, tag zostaje drobny. */
  .sz-bento-card h3 { font-size: 20px; }
}

/* ── Przełącznik rzeczywistości (sekcja Problem) ────────
   „Bez Planerto" = sterta powiadomień, „Z Planerto" = te same osoby jako
   opłacone zapisy pod jednym linkiem. Crossfade jak w przełączniku USP. */
.ctr { max-width: 1120px; margin: 0 auto; }
.ctr-toggle { display: flex; justify-content: center; margin: 40px 0 32px; }
.ctr-toggle-inner {
  display: inline-flex; gap: 4px; padding: 5px;
  /* Promien jak ramka-scena pod zrzutami (16px), nie pigulka. */
  border: 1px solid var(--border-strong); border-radius: 16px;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ctr-toggle-inner button {
  border: 0; background: transparent; border-radius: 12px; padding: 11px 22px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: background .15s, color .15s;
}
.ctr-toggle-inner button { position: relative; overflow: hidden; }
.ctr-toggle-inner button.is-active { background: var(--text); color: #fff; }
/* Pasek odliczania do auto-przelaczenia (wzorzec kreski z przelacznika USP):
   przy dzialajacym automacie wypelnia sie przez caly cykl, bez automatu
   (hover, klik, reduced-motion) stoi pelny. */
.ctr-toggle-inner button.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.45); transform: scaleX(1); transform-origin: left;
}
.ctr--auto .ctr-toggle-inner button.is-active::after {
  animation: ctrProg var(--ctr-interval, 4s) linear infinite;
}
@keyframes ctrProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .ctr--auto .ctr-toggle-inner button.is-active::after { animation: none; }
}
.ctr-stage {
  border-radius: 16px; padding: clamp(28px, 3.5vw, 52px);
  background: linear-gradient(135deg, #EAF4EE 0%, #F4F8F5 42%, #FBF7EF 100%);
  transition: background .7s;
}
.ctr-stage.is-chaos { background: linear-gradient(135deg, #F6F0EC 0%, #F5F2F0 45%, #EFEDF3 100%); }
.ctr-frame { position: relative; max-width: 860px; margin: 0 auto; min-height: 400px; }
.ctr-view {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s .6s;
}
.ctr-view.is-active {
  position: relative; opacity: 1; visibility: visible; transform: none;
  transition: opacity .6s ease, transform .6s ease, visibility 0s;
}
.ctr-view[hidden] { display: block; }

/* sterta powiadomien (karty z awatarami i godzinami) */
.ctr-pile { position: relative; max-width: 480px; margin: 0 auto; min-height: 392px; }
.ctr-time { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text-light); letter-spacing: .02em; margin-bottom: 10px; }
.ctr-note {
  position: absolute; width: min(380px, 92%);
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(17,17,17,0.1); padding: 13px 15px;
  display: flex; gap: 11px; align-items: flex-start;
}
.ctr-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--chip-radius); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ctr-body { min-width: 0; }
.ctr-note b { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.ctr-note p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.ctr-t { margin-left: auto; font-size: 11px; color: var(--text-light); flex-shrink: 0; }
.ctr-n1 { top: 34px; left: 2%; transform: rotate(-2.2deg); }
.ctr-n2 { top: 122px; left: 14%; transform: rotate(1.6deg); z-index: 2; }
.ctr-n3 { top: 212px; left: 5%; transform: rotate(-1.2deg); z-index: 3; }
.ctr-n4 { top: 300px; left: 17%; transform: rotate(2.2deg); z-index: 4; }

/* panel z zapisami */
.ctr-card {
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--card-radius);
  box-shadow: 0 18px 44px rgba(42,107,79,0.12); padding: 26px;
  max-width: 560px; margin: 0 auto;
}
.ctr-link {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--btn-radius);
  padding: 12px 16px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--text);
}
.ctr-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.ctr-rows { margin-top: 18px; display: flex; flex-direction: column; }
/* Tresc publiczna: minimum 16px (kanon strony), takze przy etykietach po prawej. */
.ctr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 13px 2px; border-top: 1px solid var(--border); font-size: 16px; color: var(--text); }
.ctr-ok { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.ctr-ok svg { width: 11px; height: 11px; }
/* Kwoty i podpis sceny to tresc, nie nota - pelna czern, zero wyszarzania. */
.ctr-meta { margin-left: auto; font-size: 16px; color: var(--text); }
.ctr-caption { margin: 16px 0 0; font-size: var(--fs-body, 16px); line-height: 1.6; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .ctr-view, .ctr-view.is-active, .ctr-stage { transition: none; }
}
@media (max-width: 640px) {
  .ctr-stage { padding: 20px 14px; }
  .ctr-meta { margin-left: 34px; }
  .ctr-frame { min-height: 430px; }
  .ctr-note { position: absolute; width: 96%; }
  .ctr-toggle-inner button { padding: 10px 16px; font-size: 15px; }
}
