/* ==========================================================================
   Karta produktu — ten sam świat linii w rejestrze dokumentu.
   Na ekranie: arkusze na posadzce. W druku: A4, jedna sekcja na stronę.
   Kolory specjalizacji żyją tylko w znaku; ścieżka pacjenta jest atramentowa.
   ========================================================================== */

:root {
  --floor: #edefec;
  --floor-2: #e2e5e1;
  --paper: #f8f9f7;
  --ink: #14171a;
  --ink-2: #2b3035;
  --muted: #535a61;
  --hair: rgba(20, 23, 26, 0.13);
  --hair-2: rgba(20, 23, 26, 0.24);
  --f-display: 'Overpass', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sign: 10px;
  --accent: #1f5fd6;
  --accent-dark: #1a4fb4;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  accent-color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
blockquote {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

svg {
  width: 18px;
  height: 18px;
  flex: none;
}

svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--floor);
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ── Pasek narzędzi ───────────────────────────────────────────────────── */

.tools {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding: 10px clamp(16px, 4vw, 40px);
  background: var(--ink);
  color: #e9ecea;
}

.tools :focus-visible {
  outline-color: #fff;
}

.tools__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}

.tools__mark {
  width: 24px;
  height: 24px;
}

.tools__mark path {
  stroke-width: 3.6;
}

.tools__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tools__nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cfd3d6;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.tools__nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tools__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 10px 18px !important;
  background: #1f5fd6;
  background: var(--accent);
  color: #fff !important;
  font-family: var(--f-display);
  font-weight: 800 !important;
  transition: background-color 0.2s, transform 0.25s var(--ease-out);
}

.tools__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

.tools__cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

.tools__cta:hover svg {
  transform: translateX(3px);
}

/* Wezwanie: pigułka w normalnym rozmiarze, wyróżniona niebieskim. */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -14px rgba(20, 23, 26, 0.65);
}

.cta:hover svg {
  transform: translateX(3px);
}

.cta[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.cta--blue {
  background: #1f5fd6;
  background: var(--accent);
}

.cta--blue:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 22px -14px rgba(20, 23, 26, 0.65);
}

/* ── Arkusze ──────────────────────────────────────────────────────────── */

.sheet {
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 36px 16px 80px;
}

.page {
  width: 100%;
  scroll-margin-top: 84px;
  min-width: 0;
  max-width: 900px;
  padding: clamp(28px, 6vw, 64px);
  background: var(--paper);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(20, 23, 26, 0.06),
    0 24px 48px -32px rgba(20, 23, 26, 0.45);
}

.h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 12px;
}

.h2--sm {
  font-size: 1.45rem;
  margin: 44px 0 16px;
}

.lead {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.fine {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Okładka ──────────────────────────────────────────────────────────── */

.phone {
  display: block;
  margin: 0;
  transition: transform 0.35s var(--ease-out);
  height: 300px;
  padding: 10px 10px 0;
  border-radius: 34px 34px 0 0;
  background: var(--ink);
  box-shadow: 0 -12px 30px -18px rgba(20, 23, 26, 0.5);
}

.phone:hover {
  transform: translateY(-6px);
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 25px 25px 0 0;
}

/* ── Kalkulator ───────────────────────────────────────────────────────── */

.calc {
  margin-top: 44px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 10px;
  background: var(--ink);
  color: #e9ecea;
}

.calc :focus-visible {
  outline-color: #fff;
}

.calc__head h3 {
  font-size: 1.45rem;
  color: #fff;
}

.calc__head p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #aab1b6;
}

.calc__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

.calc__inputs {
  display: grid;
  gap: 18px;
}

.range {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}

.range__label {
  font-size: 0.9rem;
  color: #cfd3d6;
}

.range output {
  font-family: var(--f-display);
  font-weight: 800;
  color: #fff;
}

.range input {
  --p: 50%;
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, #fff var(--p), rgba(255, 255, 255, 0.16) var(--p));
}

.range input::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, #fff var(--p), rgba(255, 255, 255, 0.16) var(--p));
}

.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid #fff;
}

.range input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid #fff;
}

.calc__result {
  align-self: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-content: start;
  border-radius: var(--r-sign);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.calc__result > div {
  padding: 14px 16px;
  background: var(--ink-2);
}

.calc__result dt {
  font-size: 0.82rem;
  color: #aab1b6;
}

.calc__result dd {
  margin-top: 4px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.calc__big,
.calc__wide {
  grid-column: 1 / -1;
}

.calc__big dd {
  font-size: 2.1rem;
  line-height: 1.05;
}

/* ── Moduły, pakiety, wdrożenie ───────────────────────────────────────── */

/* Moduły na tym samym torze co ścieżka pacjenta, tylko pionowo i ze szczegółami. */
.plans-wrap {
  overflow-x: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: t;
}

.timeline li {
  padding-top: 14px;
  border-top: 4px solid var(--ink);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.timeline strong {
  display: block;
  font-family: var(--f-display);
  color: var(--ink);
  margin-bottom: 2px;
}

.contact {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-sign);
  background: var(--ink);
  color: #e9ecea;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 40px);
  scroll-margin-top: 84px;
}

.contact :focus-visible {
  outline-color: #fff;
}

.contact__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.08;
  color: #fff;
}

.contact__lead {
  margin-top: 10px;
  color: #cfd3d6;
}

.contact__points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.contact__points li {
  position: relative;
  padding-left: 20px;
}

.contact__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.contact__address {
  display: grid;
  gap: 2px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-style: normal;
  font-size: 0.95rem;
}

.contact__address strong {
  font-family: var(--f-display);
  color: #fff;
}

.contact__address a {
  color: #cfd3d6;
  width: max-content;
}

.contact__address a:hover {
  color: #fff;
}

/* Formularz: arkusz papieru na atramencie. */
.form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-sign);
  background: var(--paper);
  color: var(--ink);
}

.form :focus-visible {
  outline-color: var(--ink);
}

.form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.form legend,
.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.field label {
  font-weight: 700;
}

.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick {
  cursor: pointer;
}

.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--hair-2);
  border-radius: 999px;
  background: var(--floor);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pick:hover span {
  border-color: var(--ink);
}

.pick input:checked + span {
  background: #1f5fd6;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pick input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--hair-2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7a8087;
}

[aria-invalid='true'] {
  border-color: #b3261e !important;
}

.field__err {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b3261e;
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  font-size: 0.92rem;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.check--inline {
  font-size: 0.9rem;
  color: var(--muted);
}

.check .field__err {
  grid-column: 2;
  margin: 0;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form__status {
  flex: 1 1 200px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form.is-sent .form__plans,
.form.is-sent .form__grid,
.form.is-sent > .check,
.form.is-sent .cta {
  display: none;
}

.form.is-sent .form__status {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ── Wersja dla handlowca ─────────────────────────────────────────────── */

.page--sales {
  background: #fff;
  outline: 2px dashed var(--hair-2);
  outline-offset: -12px;
}

.h2--sales {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.internal {
  padding: 5px 12px 4px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.sales {
  display: grid;
  gap: 34px;
  margin-top: 18px;
}

.sales h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.pitch blockquote {
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--floor);
  font-size: 1.06rem;
  line-height: 1.6;
}

.steps {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.steps li::marker {
  font-family: var(--f-display);
  font-weight: 900;
}

.objections {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  font-size: 0.93rem;
}

.objections dt,
.objections dd {
  padding: 12px 0;
  border-top: 1px solid var(--hair);
}

.objections dt {
  font-weight: 700;
  padding-right: 18px;
}

.objections dd {
  color: var(--ink-2);
}

/* ── Wąskie ekrany ────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .sheet {
    padding: 16px 10px 48px;
    gap: 16px;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof--crm {
    padding-bottom: 0;
  }

  .proof__text .cta {
    width: 100%;
  }

  .phone {
    width: 220px;
    justify-self: center;
  }

  .benefits,
  .track,
  .timeline,
  .calc__grid,
  .contact,
  .addon,
  .form__grid {
    grid-template-columns: 1fr;
  }

  .tools {
    gap: 8px;
  }

  .tools__nav a:not(.tools__cta) {
    display: none;
  }

  .tools__nav a[href='#kontakt'] {
    display: inline-flex;
  }

  .form__foot .cta {
    width: 100%;
  }

  .contact {
    padding: 20px 16px;
  }

  .benefit,
  .track__stop {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .objections {
    grid-template-columns: 1fr;
  }

  .objections dd {
    border-top: 0;
    padding-top: 0;
  }

}

/* Telefon: długa nazwa łamie się przy znaku, a CTA zostaje obok. */
@media (max-width: 620px) {
  .tools {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .tools__brand {
    max-width: 13em;
    font-size: 0.88rem;
    line-height: 1.12;
  }

  .tools__nav a[href='#kontakt'] {
    padding: 8px 13px;
    font-size: 0.88rem;
  }
}

/* Telefon: dwa pakiety mieszczą się w szerokości ekranu. */
@media (max-width: 760px) {
  .billing {
    width: 100%;
  }

  .billing button {
    flex: 1 1 0;
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px 10px;
  }
}

/* Wydruk oferty: to, co ma sens tylko na ekranie, znika z kartki. */
@media print {
  .tools,
  .skip,
  .form,
  .cta,
  .proof,
  .plan__cta {
    display: none !important;
  }

  .contact {
    grid-template-columns: 1fr;
    break-inside: avoid;
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 0;
    background: var(--floor);
    color: var(--ink);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .contact__title,
  .contact__lead,
  .contact__points,
  .contact__address,
  .contact__address strong,
  .contact__address a {
    color: var(--ink);
  }

  .contact__address {
    border-top-color: var(--hair);
  }

  .h2--sm,
  .timeline {
    break-after: avoid;
  }

  .sheet {
    display: block;
    padding: 0;
  }

  .page {
    max-width: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: #fff;
    break-after: page;
    outline: 0;
  }

  .page:last-of-type {
    break-after: auto;
  }

  .calc,
  .internal {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .range input {
    display: none;
  }

  .plan,
  .gain,
  .loss,
  .objections dt,
  .objections dd,
  .calc {
    break-inside: avoid;
  }

  .h2 {
    font-size: 20pt;
  }

  .h2--sm {
    margin-top: 22px;
    break-after: avoid;
  }

  .calc,
  .contact {
    margin-top: 22px;
  }
}

/* Kółko z krzyżykiem: bez dosunięcia dla cyfr, żeby znak stał w środku. */
.path__num:has(.plus),
.addon__num:has(.plus) {
  padding-top: 0;
}

/* ── Stopka ───────────────────────────────────────────────────────────── */

.foot {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(32px, 5vw, 56px);
  background: var(--floor);
  color: var(--ink-2);
  overflow: hidden;
}

.foot__top,
.foot__base {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.foot__claim {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.foot__note {
  margin-top: 10px;
  max-width: 36ch;
  font-size: 0.92rem;
}

.foot__col {
  display: grid;
  gap: 6px;
  align-content: start;
  font-size: 0.95rem;
}

.foot__h {
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.foot__col a {
  width: max-content;
  color: var(--ink-2);
  text-decoration: none;
}

.foot__col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot__col--cta .cta {
  margin-top: 2px;
}

.foot__base {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Znak firmowy: wielki napis urwany dolną krawędzią strony. */
.foot__word {
  margin: clamp(10px, 2vw, 22px) 0 0;
  padding: 0 clamp(20px, 4vw, 40px);
  max-width: 1000px;
  margin-inline: auto;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.1rem, 13.5vw, 9.5rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--ink);
  white-space: nowrap;
  user-select: none;
  translate: 0 0.1em;
}

.foot__word span {
  color: var(--accent);
}

@media (max-width: 980px) {
  .foot__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .foot__say,
  .foot__col--cta {
    grid-column: 1 / -1;
  }

  .foot__col--cta .cta {
    width: 100%;
  }
}

@media print {
  .foot {
    display: none !important;
  }
}

/* ══ Landing page ═══════════════════════════════════════════════════════ */

/* ── Pasy treści ──────────────────────────────────────────────────────── */

.band {
  padding: clamp(44px, 7vw, 92px) 0;
  scroll-margin-top: 76px;
}

.band--paper {
  background: var(--paper);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.band__in {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.band__in--narrow {
  max-width: 800px;
}

/* ── Pierwszy ekran ───────────────────────────────────────────────────── */

.hero {
  padding: clamp(36px, 6vw, 72px) 0 0;
  overflow: hidden;
}

.hero__in {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.hero__copy {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hero__for {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.hero__title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 20px;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--ink-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.hero__facts li {
  position: relative;
  padding-left: 20px;
}

.hero__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.phone--hero {
  align-self: end;
  max-width: 320px;
  justify-self: center;
  border-radius: 34px 34px 0 0;
  background: var(--ink);
  padding: 10px 10px 0;
  box-shadow: 0 -12px 34px -20px rgba(20, 23, 26, 0.6);
}

/* ── Teza: lista kontra własne miejsce ───────────────────────────────── */

.band--ink {
  background: var(--ink);
  color: #cfd3d6;
}

/* Na ciemnym pasku tekst wiodący musi się czytać. */
.band--ink .lead {
  color: #c9cdd1;
}

.band--ink .h2 {
  color: #fff;
}

.band--ink :focus-visible {
  outline-color: #fff;
}

.lead--ink {
  color: #aab1b6;
}

.fine--ink {
  margin-top: 22px;
  color: #8f959b;
}

.versus {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vs {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-sign);
}

.vs h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.vs ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.vs li {
  position: relative;
  padding-left: 26px;
}

.vs--them {
  background: rgba(255, 255, 255, 0.05);
  color: #aab1b6;
}

.vs--them h3 {
  color: #cfd3d6;
}

.vs--them li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: #6f767d;
}

.vs--us {
  background: var(--paper);
  color: var(--ink-2);
}

.vs--us h3 {
  color: var(--ink);
}

.vs--us li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.36em;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  rotate: -45deg;
}

/* ── Straty ───────────────────────────────────────────────────────────── */

.losses {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border-radius: var(--r-sign);
  overflow: hidden;
}

.loss {
  padding: 22px 24px 24px;
  background: var(--floor);
}

.loss h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.loss p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ── Zyski ────────────────────────────────────────────────────────────── */

.gains {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.gain {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 16px;
}

.gain__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1;
  padding-top: 2px;
}

.gain h3 {
  align-self: center;
  font-size: 1.12rem;
}

.gain p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* Cztery rzeczy, które pacjent musi zobaczyć od razu. */
.five {
  margin-top: clamp(32px, 5vw, 44px);
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-sign);
  background: var(--floor-2);
}

.band--paper .five {
  background: var(--floor);
}

.five__h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.five__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: five;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.five__list li {
  counter-increment: five;
  position: relative;
  padding-left: 30px;
}

.five__list li::before {
  content: counter(five);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.75rem;
}

/* ── Podgląd dema ─────────────────────────────────────────────────────── */

.proof {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
  border-radius: var(--r-sign);
  background: var(--ink);
  color: #cfd3d6;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.proof :focus-visible {
  outline-color: #fff;
}

.proof__text {
  display: grid;
  gap: 12px;
  justify-items: start;
  align-self: center;
  padding-bottom: clamp(20px, 3vw, 32px);
  font-size: 0.95rem;
}

.proof__h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}

.proof .phone {
  max-width: 280px;
  justify-self: center;
}

/* Okno przeglądarki z podglądem panelu, urwane dolną krawędzią bloku. */
.screen {
  display: block;
  align-self: end;
  border-radius: 10px 10px 0 0;
  background: #23282d;
  box-shadow: 0 -20px 40px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s var(--ease-out);
}

.screen:hover {
  transform: translateY(-6px);
}

.screen__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
}

.screen__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px 4px 0 0;
}

/* Droga pacjenta: jedna gruba linia z przystankami, czwarty na przerywanej. */
.path {
  --dot: 32px;
  position: relative;
  list-style: none;
  padding: 0;
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.path::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0;
  right: calc(25% + 10px);
  top: calc(var(--dot) / 2 - 4px);
  height: 8px;
  border-radius: 8px;
  background: var(--ink);
}

.path::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: calc(75% - 16px);
  right: 0;
  top: calc(var(--dot) / 2 - 2px);
  height: 4px;
  background: repeating-linear-gradient(to right, var(--ink) 0 10px, transparent 10px 18px);
}

.path__stop {
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.path__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  line-height: 0;
  width: var(--dot);
  height: var(--dot);
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--floor);
  border: 4px solid var(--ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.9rem;
  padding-top: 2px;
}

.band--paper .path__num {
  background: var(--paper);
}

.path__stop--opt .path__verb,
.path__stop--opt .path__mod {
  color: var(--muted);
}

.path__verb {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.path__mod {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 4px 0 8px;
  color: var(--ink);
}

.plus {
  width: 62%;
  height: 62%;
}

.plus path {
  stroke-width: 2.6;
}

/* ── Pakiety ──────────────────────────────────────────────────────────── */

.plany {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sign);
  background: var(--floor);
}

.plan--main {
  background: var(--ink);
  border-color: var(--ink);
  color: #cfd3d6;
}

.plan--main :focus-visible {
  outline-color: #fff;
}

.plan h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.plan--main h3 {
  color: #fff;
}

.plan__for {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan--main .plan__for {
  color: #aab1b6;
}

.plan__price {
  margin-top: 20px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.1;
}

.plan__price span {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan--main .plan__price span {
  color: #aab1b6;
}

.plan__price--sub {
  margin-top: 4px;
  font-size: 1.25rem;
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
}

.plan__list li {
  position: relative;
  padding-left: 26px;
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  rotate: -45deg;
}

.plan__list li.plan__opt::before {
  width: 12px;
  height: 0;
  border-left: 0;
  border-bottom: 2px dashed var(--muted);
  rotate: none;
  top: 0.66em;
}

.plan__note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 0.88rem;
  color: var(--muted);
}

.plan--main .plan__note {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: #aab1b6;
}

.plan__cta {
  margin-top: 20px;
  width: 100%;
}

.plan--main .cta--blue:hover {
  background: #2f6fe4;
}

/* ── Pytania ──────────────────────────────────────────────────────────── */

.faq {
  margin-top: 28px;
  border-top: 1px solid var(--hair-2);
}

.faq details {
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--hair-2);
  border-radius: 50%;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--ink);
  translate: -50% -50%;
  transition: rotate 0.25s var(--ease-out), opacity 0.25s;
}

.faq__icon::after {
  rotate: 90deg;
}

.faq details[open] .faq__icon::after {
  rotate: 0deg;
  opacity: 0;
}

.faq details p {
  padding: 0 46px 20px 0;
  font-size: 0.98rem;
  color: var(--ink-2);
}

/* ── Wąskie ekrany ────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero__in,
  .losses,
  .gains,
  .versus,
  .five__list,
  .plany,
  .proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    padding-bottom: 24px;
  }

  .phone--hero {
    max-width: 260px;
    margin-top: 8px;
  }

  .hero__cta .cta {
    width: 100%;
  }

  .path {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 50px;
  }

  .path::before {
    left: 12px;
    right: auto;
    top: 0;
    bottom: 22%;
    width: 8px;
    height: auto;
  }

  .path::after {
    left: 14px;
    right: auto;
    top: 78%;
    bottom: 0;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(to bottom, var(--ink) 0 10px, transparent 10px 18px);
  }

  .path__num {
    position: absolute;
    left: -50px;
    top: 0;
  }

  .proof {
    padding-bottom: 0;
  }

  .proof__text .cta {
    width: 100%;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media print {
  .hero__cta,
  .phone--hero,
  .faq__icon {
    display: none !important;
  }

  .band,
  .hero {
    padding: 14px 0;
  }

  .faq details {
    break-inside: avoid;
  }

  .faq details p {
    display: block;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dwie perspektywy w jednym miejscu
   ═══════════════════════════════════════════════════════════════════════ */

.widok {
  margin-top: 34px;
}

.widok__taby {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 999px;
  background: var(--floor-2, #e2e5e1);
}

.widok__tab {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.widok__tab:hover {
  color: var(--ink);
}

.widok__tab[aria-selected='true'] {
  background: var(--ink);
  color: #fff;
}

/* Atrybut hidden musi wygrać z display: grid. */
.widok__panel[hidden] {
  display: none;
}

.widok__panel {
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
  border-radius: var(--r-sign);
  background: var(--ink);
  color: #cfd3d6;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.widok__panel :focus-visible {
  outline-color: #fff;
}

.widok__text {
  display: grid;
  gap: 12px;
  align-content: center;
  padding-bottom: clamp(20px, 3vw, 32px);
}

.widok__text p {
  margin: 0;
  line-height: 1.6;
}

.widok__panel .phone,
.widok__panel .screen {
  align-self: end;
}

/* Liczba, która boli: przerwane terapie. */
.calc__strata dd {
  color: #b3261e;
}

@media (max-width: 760px) {
  .widok__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .widok__taby {
    display: flex;
    width: 100%;
  }

  .widok__tab {
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Droga jednego pacjenta
   ═══════════════════════════════════════════════════════════════════════ */

.droga {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* ── Lista kroków ───────────────────────────────────────────────────── */
.droga__kroki {
  display: grid;
  align-content: start;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.droga__krok {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 14px 12px 22px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--f-body);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.droga__krok::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: transparent;
  transition: background-color 0.25s;
}

.droga__krok:hover {
  color: rgba(255, 255, 255, 0.85);
}

.droga__krok.is-on {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.droga__krok.is-on::before {
  background: var(--accent);
}

.droga__kiedy {
  display: block;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.65;
  text-transform: uppercase;
}

.droga__label {
  display: block;
  margin-top: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ── Scena ──────────────────────────────────────────────────────────── */
.droga__scena {
  min-height: 420px;
}

.droga__scena.is-wchodzi {
  animation: drogaWjazd 0.45s var(--ease-out);
}

@keyframes drogaWjazd {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.droga__kto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.droga__kto::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.droga__kto--pacjent {
  color: #8fb4ff;
}

.droga__kto--gabinet {
  color: #ffb27d;
}

.droga__kto--oboje {
  color: #7ee0b0;
}

.droga__kto--system {
  color: #e6a6c4;
}

.droga__tytul {
  max-width: 24ch;
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.droga__opis {
  max-width: 62ch;
  margin: 0 0 26px;
  color: #c9cdd1;
  line-height: 1.62;
}

/* ── Miniatury ekranów ──────────────────────────────────────────────── */
.mini {
  --mini-tlo: #f8f9f7;
  padding: 20px;
  border-radius: var(--r-sign);
  background: var(--mini-tlo);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.mini__nad {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini__pod {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Wyszukiwarka */
.mini__pasek {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 11px 16px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
}

.mini__lupa {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.mini__lupa::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  background: var(--muted);
  transform: rotate(45deg);
}

.mini__wynik {
  padding: 12px 14px;
  border-radius: 10px;
}

.mini__wynik--nasz {
  position: relative;
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.mini__wynik--obcy {
  opacity: 0.45;
}

.mini__url {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.mini__tytul {
  margin: 0 0 4px;
  color: #1a0dab;
  font-size: 1rem;
  font-weight: 600;
}

.mini__opis {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.mini__znacznik {
  position: absolute;
  top: -10px;
  right: 12px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Strona problemu */
.mini__etykieta {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--l-kregoslup, #1f5fd6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini__h1 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mini__h1 span {
  display: block;
  color: var(--muted);
}

.mini__objawy {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mini__objawy li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.mini__objawy li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--l-kregoslup, #1f5fd6);
}

.mini__termin {
  margin: 0 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.85rem;
}

.mini__btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Dwa ekrany obok siebie */
.mini--para {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  overflow: hidden;
}

.mini__polowa {
  padding: 18px;
  background: var(--mini-tlo);
}

.mini__polowa--ciemna {
  background: #1c2024;
  color: #cfd3d6;
}

.mini__polowa--ciemna .mini__nad {
  color: rgba(255, 255, 255, 0.5);
}

.mini__sloty {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.mini__sloty span {
  padding: 6px 11px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.mini__sloty .is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.mini__potwierdzenie {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.mini__potwierdzenie em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
}

.mini__wizyta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
}

.mini__wizyta--nowa {
  background: rgba(31, 95, 214, 0.22);
  box-shadow: inset 2px 0 0 var(--accent);
}

.mini__czas {
  font-family: var(--f-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.mini__wizyta b {
  display: block;
  color: #fff;
  font-size: 0.86rem;
}

.mini__wizyta em {
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  opacity: 0.7;
}

.mini__ile {
  margin: 14px 0 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.mini__ile strong {
  color: #fff;
}

/* SMS */
.mini--sms {
  background: transparent;
  padding: 0;
}

.mini__dymek {
  max-width: 330px;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mini__link {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

.mini--sms .mini__pod {
  color: rgba(255, 255, 255, 0.55);
}

/* Karta pacjenta */
.mini__cel {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
}

.mini__cw {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.mini__cw li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
}

.mini__cw li > span {
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--hair-2);
  border-radius: 6px;
}

.mini__cw li.is-done > span {
  position: relative;
  border-color: #13875a;
  background: #13875a;
}

.mini__cw li.is-done > span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mini__cw em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
}

.mini__pytanie {
  margin: 0 0 8px;
  font-weight: 700;
}

.mini__skala {
  display: flex;
  gap: 5px;
}

.mini__skala span {
  flex: 1;
  padding: 8px 0;
  border: 1px solid var(--hair-2);
  border-radius: 8px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.mini__skala .is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Panel */
/* Ciemna miniatura na ciemnym pasku potrzebuje krawędzi, żeby czytała się
   jako osobny ekran, a nie jako dziura w tle. */
.mini--panel {
  background: #1c2024;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  color: #cfd3d6;
}

.mini--panel .mini__nad {
  color: rgba(255, 255, 255, 0.5);
}

.mini__naglowek {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.mini__badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: #b3261e;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
}

.mini__osoba {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.mini__awatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.mini__osoba b {
  color: #fff;
  font-size: 0.92rem;
}

.mini__osoba em {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-style: normal;
  opacity: 0.7;
}

.mini__powody {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.mini__powod {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini__powod--termin {
  background: rgba(179, 38, 30, 0.22);
  color: #ffb3ad;
}

.mini__powod--cw {
  background: rgba(31, 95, 214, 0.25);
  color: #a9c6ff;
}

.mini__akcja {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Wynik i opinia */
.mini__liczby {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.mini__liczby > div {
  padding: 12px 14px;
  background: #fff;
}

.mini__liczby span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mini__liczby b {
  display: block;
  margin-top: 3px;
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.mini__gwiazdki {
  color: #f2b705;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.mini__opinia {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
}

/* ── Strzałki ───────────────────────────────────────────────────────── */
.droga__nawigacja {
  grid-column: 2;
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.droga__strzalka {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.droga__strzalka svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.droga__strzalka:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .droga {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .droga__kroki {
    display: flex;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    scrollbar-width: none;
  }

  .droga__kroki::-webkit-scrollbar {
    display: none;
  }

  .droga__kroki li {
    flex: none;
    max-width: 190px;
  }

  .droga__krok {
    padding: 10px 14px 14px;
  }

  .droga__krok::before {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 2px;
  }

  .droga__scena {
    min-height: 0;
  }

  .droga__nawigacja {
    grid-column: 1;
  }

  .mini--para {
    grid-template-columns: minmax(0, 1fr);
  }

  .mini__liczby {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Co konkretnie dostajesz
   ═══════════════════════════════════════════════════════════════════════ */

/* Cztery grupy układają się w kwadrat — trzy w rzędzie zostawiały samotną czwartą. */
.funkcje {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 28px;
  border-radius: var(--r-sign);
  overflow: hidden;
}

.grupa {
  padding: 26px 28px;
  background: var(--floor);
}

.grupa--panel {
  background: var(--ink);
  color: #cfd3d6;
}

.grupa__h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.grupa--panel .grupa__h {
  color: #fff;
}

.grupa__tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grupa__lista {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.grupa__lista li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.grupa__lista li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--accent);
}

.grupa--panel .grupa__lista li::before {
  background: #8fb4ff;
}

.grupa__lista b {
  font-weight: 700;
}

.grupa--panel .grupa__lista b {
  color: #fff;
}

@media (max-width: 860px) {
  .funkcje {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .grupa {
    padding: 22px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Podstrony ofertowe: strona gabinetu i panel
   ═══════════════════════════════════════════════════════════════════════ */

.okruchy--oferta {
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 56px) 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.okruchy--oferta a {
  color: var(--muted);
}

.okruchy--oferta [aria-current] {
  color: var(--ink);
  font-weight: 700;
}

/* ── Pierwszy ekran ─────────────────────────────────────────────────── */
.of-hero {
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 56px) 60px;
}

.of-hero__kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.of-hero__h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.of-hero__lead {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
}

.of-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta--line {
  border: 1px solid var(--hair-2);
  background: transparent;
  color: var(--ink);
}

.cta--line:hover {
  border-color: var(--ink);
  background: var(--floor);
}

.of-hero__uwaga {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Blok: tekst i obraz ────────────────────────────────────────────── */
.of-blok {
  padding: 46px 0;
  border-top: 1px solid var(--hair);
}

.of-blok:nth-child(even) {
  background: var(--paper);
}

.of-blok__in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.of-blok--odwrocony .of-blok__in {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.of-blok--odwrocony .of-blok__text {
  order: 2;
}

.of-blok__num {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.of-blok__h {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
}

.of-blok__lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.62;
}

.of-blok__punkty {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.of-blok__punkty li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.of-blok__punkty li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

/* ── Obraz ──────────────────────────────────────────────────────────── */
.of-blok__obraz {
  margin: 0;
}

.of-blok__obraz img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sign);
  background: var(--floor);
  box-shadow: 0 18px 44px rgba(20, 23, 26, 0.13);
}

.of-blok__obraz--waski img {
  max-width: 380px;
  margin: 0 auto;
}

.of-blok__obraz figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

/* ── Finał ──────────────────────────────────────────────────────────── */
.of-finale {
  padding: 60px 0 70px;
  background: var(--ink);
  color: #cfd3d6;
}

.of-finale__in {
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.of-finale__h {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.of-finale p {
  max-width: 58ch;
  margin: 0;
  line-height: 1.62;
}

.of-finale .cta--line {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.of-finale .cta--line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.of-finale :focus-visible {
  outline-color: #fff;
}

/* ── Stopka ─────────────────────────────────────────────────────────── */
.of-stopka {
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 56px) 60px;
  color: var(--muted);
  font-size: 0.92rem;
}

.of-stopka p {
  margin: 0 0 6px;
}

.of-stopka strong {
  color: var(--ink);
}

.of-stopka__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  color: var(--faint);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .of-blok__in,
  .of-blok--odwrocony .of-blok__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .of-blok--odwrocony .of-blok__text {
    order: 0;
  }

  .of-blok {
    padding: 36px 0;
  }

  .of-blok__obraz--waski img {
    max-width: 320px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dwie bramy: strona i panel, jedna pod drugą
   ═══════════════════════════════════════════════════════════════════════ */

.bramy {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.brama {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-sign);
  background: var(--floor);
  overflow: hidden;
}

.brama--ciemna {
  background: var(--ink);
  color: #cfd3d6;
}

.brama--ciemna :focus-visible {
  outline-color: #fff;
}

.brama__kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brama--ciemna .brama__kicker {
  background: rgba(255, 255, 255, 0.14);
}

.brama__h {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
}

.brama--ciemna .brama__h {
  color: #fff;
}

.brama__lead {
  margin: 0;
  max-width: 48ch;
  line-height: 1.6;
}

.brama__punkty {
  display: grid;
  gap: 7px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.brama__punkty li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.brama--ciemna .brama__punkty li {
  color: #b7bcc1;
}

.brama__punkty li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--accent);
}

/* Obraz jako podgląd ekranu, nie zdjęcie. */
.brama__obraz {
  position: relative;
  display: block;
  border-radius: var(--r-sign);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(20, 23, 26, 0.16);
  overflow: hidden;
}

.brama__obraz img {
  display: block;
  width: 100%;
  height: auto;
}

.brama__obraz .screen__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #23272b;
}

.brama__obraz .screen__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.brama__obraz--telefon {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(20, 23, 26, 0.2);
}

@media (max-width: 900px) {
  .brama {
    grid-template-columns: minmax(0, 1fr);
  }

  .brama__obraz--telefon {
    max-width: 260px;
  }
}

/* Zrzut da się otworzyć w pełnym rozmiarze — na telefonie to jedyny sposób,
   żeby przeczytać, co jest na ekranie panelu. */
.of-blok__lupa {
  position: relative;
  display: block;
  border-radius: var(--r-sign);
  overflow: hidden;
}

.of-blok__powieksz {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 23, 26, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}

.of-blok__lupa:hover .of-blok__powieksz,
.of-blok__lupa:focus-visible .of-blok__powieksz {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .of-blok__powieksz {
    opacity: 1;
    transform: none;
  }
}
