/* Szkic zamienia się w stronę: przewijanie przyklejonej sekcji odsłania gotową wersję */
.sketch { position: relative; height: 230vh; }
.sketch__pin { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.sketch__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sketch__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.sketch__copy > p { color: var(--ink-2); max-width: 44ch; }
.sketch__steps { display: grid; gap: 4px; margin-top: 8px; width: 100%; counter-reset: sk; }
.sketch__steps li { counter-increment: sk; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .4s var(--ease); }
.sketch__steps li::before { content: counter(sk, decimal-leading-zero); grid-row: span 2; font: 500 13px/1.6 var(--mono); }
.sketch__steps b { font-weight: 600; }
.sketch__steps span { font-size: 14px; }
.sketch__steps li.is-on { color: var(--ink); }
.sketch__steps li.is-on::before { color: var(--blue-hi); }

.sketch__device { min-width: 0; margin: 0; border-radius: var(--r-md); background: var(--deck); border: 1px solid var(--deck-line); box-shadow: var(--glow); overflow: hidden; }
.sketch__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--deck-line); }
.sketch__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-hi); }
.sketch__bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: var(--paper); color: var(--ink-3); font: 500 11px/1.4 var(--mono); }
.sketch__view { position: relative; aspect-ratio: 960 / 600; max-width: 100%; overflow: hidden; --s: .6; }
.sketch__cap { padding: 8px 14px; border-top: 1px solid var(--deck-line); color: var(--ink-3); font-size: 12px; }
.sketch__line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--blue-hi); box-shadow: 0 0 18px 2px rgba(122, 174, 255, .55); opacity: 0; pointer-events: none; z-index: 3; }

/* Makieta strony klienta, rysowana w 960 × 600 px i skalowana do ramki */
.mock { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform: scale(var(--s)); transform-origin: 0 0;
  --m-bg: #0D1533; --m-card: #141E42; --m-line: #26325C; --m-ink: #EEF3FF; --m-ink-2: #9FB0D8; --m-acc: #2F6BFF;
  background: radial-gradient(520px 300px at 85% 0%, rgba(47, 107, 255, .35), transparent 70%), var(--m-bg);
  color: var(--m-ink); font: 400 15px/1.45 var(--body); letter-spacing: -0.01em; }
.mock--final { z-index: 2; }
.m-box { border: 1.5px solid transparent; }
.m-nav { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 40px; border-bottom: 1px solid var(--m-line); }
.m-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.m-logo i { width: 22px; height: 22px; border-radius: 7px; background: var(--m-acc); }
.m-links { display: flex; gap: 24px; margin-left: auto; color: var(--m-ink-2); font-size: 14px; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 9px; background: var(--m-acc); color: #fff; font-weight: 600; font-size: 14px; }
.m-btn--big { height: 46px; padding: 0 22px; font-size: 15px; }
.m-btn--ghost { height: 46px; padding: 0 22px; background: transparent; border-color: var(--m-line); color: var(--m-ink); font-size: 15px; }
.m-btn--full { width: 100%; height: 38px; }
.m-hero { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 30px 40px 24px; }
.m-hero__l { display: grid; gap: 16px; padding-top: 10px; align-content: start; justify-items: start; }
.m-tag { padding: 6px 12px; border-radius: 99px; background: rgba(47, 107, 255, .18); color: #A9C6FF; font-size: 13px; font-weight: 600; }
.m-h { font: 700 50px/1.02 var(--display); letter-spacing: -0.035em; max-width: 12ch; }
.m-p { color: var(--m-ink-2); max-width: 36ch; }
.m-ctas { display: flex; gap: 12px; margin-top: 6px; }
.m-book { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--m-card); border-color: var(--m-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.m-book__t { font-weight: 700; }
.m-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; color: var(--m-ink-2); font-size: 12px; }
.m-days span { display: grid; padding: 4px 0; border-radius: 9px; }
.m-days b { color: var(--m-ink); font-size: 17px; }
.m-days .on { background: var(--m-acc); color: #DCE7FF; }
.m-days .on b { color: #fff; }
.m-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-slots span { padding: 7px 0; border-radius: 9px; border-color: var(--m-line); text-align: center; font-size: 14px; font-weight: 500; }
.m-slots .on { background: rgba(47, 107, 255, .22); border-color: var(--m-acc); color: #fff; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 380px 0 40px; }
.m-card { display: grid; grid-template-columns: 1fr; row-gap: 4px; padding: 14px; border-radius: 14px; background: var(--m-card); border-color: var(--m-line); }
.m-card .m-ic { width: 30px; height: 30px; margin-bottom: 6px; }
.m-card b { font-size: 15px; }
.m-card span { color: var(--m-ink-2); font-size: 13px; }
.m-ic { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #5B8CFF, #2F6BFF); }
.m-chat { position: absolute; right: 40px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; color: #0D1533; font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.m-chat .m-ic { width: 28px; height: 28px; border-radius: 50%; }
.m-notes { display: none; }

/* Wersja szkicu: ten sam układ, kreska zamiast wypełnień, pismo odręczne */
.mock--sketch { --sk: #8FA3CF; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px, #08102A; color: var(--sk); font-family: "Caveat", "Segoe Print", cursive; font-size: 19px; line-height: 1.2; }
.mock--sketch .m-nav { border-bottom: 1.5px dashed var(--sk); }
.mock--sketch .m-box, .mock--sketch .m-days .on { background: transparent; border: 1.5px solid var(--sk); box-shadow: none; color: var(--sk); }
.mock--sketch .m-h { font-family: inherit; font-weight: 700; font-size: 56px; letter-spacing: 0; line-height: .95; }
.mock--sketch .m-p, .mock--sketch .m-links, .mock--sketch .m-card span, .mock--sketch .m-days, .mock--sketch .m-days b, .mock--sketch .m-days .on b { color: var(--sk); }
.mock--sketch .m-ic { background: linear-gradient(to top right, transparent calc(50% - 1px), var(--sk) 50%, transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), var(--sk) 50%, transparent calc(50% + 1px)); }
.mock--sketch .m-notes { display: block; position: absolute; inset: 0; pointer-events: none; }
.m-note { position: absolute; color: var(--blue-hi); font: 700 22px/1 "Caveat", "Segoe Print", cursive; transform: rotate(-4deg); white-space: nowrap; }
.m-arrows { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--blue-hi); stroke-width: 2; stroke-linecap: round; }

.sketch--static { height: auto; }
.sketch--static .sketch__pin { position: static; height: auto; padding-block: clamp(80px, 12vw, 150px); }

@media (max-width: 900px) {
  .sketch { height: 190vh; }
  .sketch__pin { align-items: start; padding-top: calc(var(--nav-h) + 16px); }
  .sketch__grid { grid-template-columns: 1fr; gap: 20px; }
  .sketch__copy { gap: 12px; }
  .sketch__copy > p { font-size: 15px; }
  .sketch__steps { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 0; }
  .sketch__steps li { grid-template-columns: 1fr; padding: 10px 0 0; font-size: 14px; }
  .sketch__steps li::before { grid-row: auto; }
  .sketch__steps span { font-size: 12px; line-height: 1.3; }
}
@media (max-width: 900px) and (max-height: 700px) { .sketch__copy > p { display: none; } }
