/* ==========================================================================
   Linia Ruchu — świat „linii prowadzących”.
   Posadzka korytarza jako tło, atrament jako tekst, pięć kolorów linii,
   z których każdy ZNACZY jedną specjalizację i nie pojawia się nigdzie indziej.
   ========================================================================== */

:root {
  /* Posadzka i atrament */
  --floor: #edefec;
  --floor-2: #e2e5e1;
  --paper: #f8f9f7;
  --ink: #14171a;
  --ink-2: #2b3035;
  --muted: #535a61;
  --faint: #5b6168;
  --hair: rgba(20, 23, 26, 0.13);
  --hair-2: rgba(20, 23, 26, 0.24);

  /* Linie specjalizacji */
  --l-kregoslup: #1f5fd6;
  --l-sport: #e8590c;
  --l-uraz: #13875a;
  --l-ciaza: #c2255c;
  --l-dzieci: #f2b705;

  /* Linia przewodnia przyjmuje kolor wybranej specjalizacji */
  --guide: var(--ink);
  --guide-on: #fff;

  --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;

  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --r-sign: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Podstawa ─────────────────────────────────────────────────────────── */

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

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

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

::selection {
  background: var(--ink);
  color: var(--floor);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
}

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

p {
  margin: 0;
}

code {
  font-size: 0.9em;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: var(--floor-2);
}

em {
  font-style: normal;
  color: var(--faint);
}

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

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;
}

/* ── Przyciski ────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(20, 23, 26, 0.45);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--floor);
}

.btn--ink:hover {
  --btn-bg: var(--ink-2);
}

.btn--line {
  border-color: var(--ink);
}

.btn--line:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--floor);
}

.btn--paper {
  --btn-bg: var(--floor);
  --btn-fg: var(--ink);
}

.btn--ghost {
  --btn-fg: var(--floor);
  border-color: rgba(237, 239, 236, 0.55);
}

.btn--ghost:hover {
  border-color: var(--floor);
}

.btn--color {
  --btn-bg: var(--c);
  --btn-fg: var(--on);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ── Pasek demo ───────────────────────────────────────────────────────── */

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding: 9px 56px 9px var(--pad);
  background: var(--ink);
  color: #cfd3d6;
  font-size: 0.875rem;
  position: relative;
}

.demo-bar strong {
  color: #fff;
}

.demo-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
}

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

.demo-bar__link:hover svg {
  transform: translateX(3px);
}

.demo-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #cfd3d6;
  cursor: pointer;
}

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

.demo-bar__close svg {
  width: 16px;
  height: 16px;
}

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

/* ── Nagłówek ─────────────────────────────────────────────────────────── */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--floor);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.top.is-stuck {
  border-bottom-color: var(--hair);
  box-shadow: 0 10px 24px -22px rgba(20, 23, 26, 0.6);
}

.top__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__mark path {
  stroke-width: 3.6;
  stroke-linecap: round;
}

.brand__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}

.nav a:hover,
.nav a[aria-current='true'] {
  background: var(--floor-2);
  color: var(--ink);
}

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

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: proportional-nums;
  white-space: nowrap;
}

.phone svg {
  width: 18px;
  height: 18px;
}

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

.hero {
  padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.hero__title span {
  display: block;
}

.hero__title span + span {
  color: var(--guide);
  transition: color 0.6s var(--ease-out);
}

.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  color: var(--ink-2);
}

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

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* Tablica kierunkowa */

.board {
  background: var(--ink);
  color: #e9ecea;
  border-radius: var(--r-sign);
  padding: 22px 22px 16px;
  box-shadow: 0 30px 60px -40px rgba(20, 23, 26, 0.8);
}

.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.board__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
}

.board__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: #aab1b6;
}

.board__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aab1b6;

}

.board__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board__row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  grid-template-areas: 'time day' 'time who' 'time line';
  gap: 3px 16px;
  align-items: center;
  width: 100%;
  padding: 14px 8px;
  margin: 0 -8px;
  width: calc(100% + 16px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.board__row:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

.board__time {
  grid-area: time;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: #fff;
  font-variant-numeric: proportional-nums;
}

.board__day {
  grid-area: day;
  font-size: 0.8rem;
  color: #aab1b6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.board__who {
  grid-area: who;
  font-weight: 700;
  color: #fff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board__line {
  grid-area: line;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #cfd3d6;
  white-space: nowrap;
}

.board__go {
  width: 18px;
  height: 18px;
  color: #aab1b6;
  transition: transform 0.25s var(--ease-out), color 0.2s;
}

.board__row:hover .board__go {
  transform: translateX(3px);
  color: #fff;
}

.board__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.board__more svg {
  width: 16px;
  height: 16px;
}

.board__empty {
  padding: 18px 0;
  color: #aab1b6;
}

/* Odcinek linii jako legenda koloru — nie ramka, tylko znak. */
.swatch {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 7px;
  border-radius: 999px;
  background: var(--c);
}

/* ── Pięć linii ──────────────────────────────────────────────────────── */

.lines {
  display: grid;
  gap: 8px;
  margin-top: clamp(24px, 2.4vw, 32px);
  padding-right: var(--pad);
}

.line {
  --len: var(--len-base, 50%);
  display: grid;
  grid-template-columns: var(--len) auto minmax(0, max-content) auto;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  justify-content: start;
  transition: grid-template-columns 0.55s var(--ease-out);
}

.line__stripe {
  height: 26px;
  border-radius: 0 999px 999px 0;
  background: var(--c);
  transform-origin: left center;
}

.line__stop {
  width: 32px;
  height: 32px;
  margin-left: -16px;
  border-radius: 50%;
  background: var(--floor);
  border: 6px solid var(--c);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}

.line__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 14px;
  padding-left: 16px;
  min-width: 0;
}

.line__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.line__meta {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.line__arrow {
  width: 22px;
  height: 22px;
  align-self: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease-out);
}

.line:hover,
.line:focus-visible {
  --len: calc(var(--len-base) + 3%);
}

.line:hover .line__stop,
.line:focus-visible .line__stop {
  transform: scale(1.15);
  background: var(--c);
}

.line:hover .line__arrow,
.line:focus-visible .line__arrow {
  opacity: 1;
  transform: none;
}

.line:focus-visible {
  outline: none;
}

.line:focus-visible .line__name {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.line.is-chosen .line__stop {
  background: var(--c);
}

/* Wejście: linie wjeżdżają od krawędzi jak taśma rozwijana po posadzce. */
.js .lines:not(.is-in) .line__stripe {
  transform: scaleX(0);
}

.js .lines:not(.is-in) .line__stop,
.js .lines:not(.is-in) .line__label {
  opacity: 0;
  transform: translateX(-10px);
}

.js .lines .line__stripe {
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 90ms);
}

.js .lines .line__stop,
.js .lines .line__label {
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-out),
    background-color 0.3s;
  transition-delay: calc(var(--i) * 90ms + 520ms);
}

.js .lines.is-in .line:hover .line__stop {
  transition-delay: 0s;
}

/* ── Linia przewodnia i przystanki ───────────────────────────────────── */

.journey {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) 0 calc(var(--pad) + var(--gutter));
}


.stop {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 0;
}

.stop__head {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.stop__title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
}

.stop__lead {
  margin-top: 16px;
  max-width: 40em;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.note {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--faint);
}

/* Linia przewodnia: tor na lewym marginesie, przystanki numerowane jak na planie szpitala.
   Działa na każdej szerokości — na telefonie jest węższa, ale wciąż prowadzi. */
:root {
  --gutter: 34px;
  --g-x: 9px; /* środek toru od lewej krawędzi treści */
  --g-w: 4px;
  --g-dot: 26px;
}

.guide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pad) + var(--g-x) - var(--g-w) / 2);
  width: var(--g-w);
  border-radius: 999px;
  background: var(--floor-2);
}

.guide__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--guide);
  transform-origin: top center;
  transform: scaleY(var(--progress, 0));
  transition: background-color 0.6s var(--ease-out);
}

.journey {
  counter-reset: stop;
}

.stop {
  counter-increment: stop;
}

.stop__head::before {
  content: counter(stop);
  position: absolute;
  left: calc(-1 * var(--gutter) + var(--g-x) - var(--g-dot) / 2);
  top: 0.2em;
  width: var(--g-dot);
  height: var(--g-dot);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--floor);
  border: calc(var(--g-w) + 1px) solid var(--floor-2);
  color: var(--faint);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: calc(var(--g-dot) * 0.42);
  line-height: 1;
  padding-top: 0.12em;
  transition:
    border-color 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out),
    color 0.4s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.stop.is-passed > .stop__head::before {
  border-color: var(--guide);
  background: var(--guide);
  color: var(--guide-on);
  transform: scale(1.06);
}

@media (min-width: 1100px) {
  :root {
    --gutter: 84px;
    --g-x: 25px;
    --g-w: 6px;
    --g-dot: 40px;
  }

  .stop__head::before {
    top: 0.1em;
  }

  .stop__title {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  }
}

/* ── Specjalizacje ───────────────────────────────────────────────────── */

.specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 88px);
}

.spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.spec:nth-child(even) .spec__photo {
  order: -1;
}

/* Taśma podłogowa z nazwą problemu — oznakowanie, które pacjent zna z pierwszego ekranu. */
.spec__stripe {
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0 0 18px;
  padding: 8px 24px 4px;
  border-radius: 0 999px 999px 0;
  background: var(--c);
  color: var(--on);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  clip-path: inset(0 0 0 0 round 0 999px 999px 0);
}

.js .spec:not(.is-in) .spec__stripe {
  clip-path: inset(0 94% 0 0 round 0 999px 999px 0);
}

.js .spec .spec__stripe {
  transition: clip-path 1s var(--ease-out);
}

.spec__desc {
  margin-top: 14px;
  max-width: 36em;
  color: var(--ink-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.chips li {
  padding: 5px 12px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.services {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.services li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}

.services__name {
  font-weight: 700;
}

.services__time {
  font-size: 0.9rem;
  color: var(--muted);
  font-variant-numeric: proportional-nums;
}

.services__price {
  font-family: var(--f-display);
  font-weight: 800;
  font-variant-numeric: proportional-nums;
  min-width: 4.5em;
  text-align: right;
}

.spec__cta {
  margin-top: 24px;
}

.spec__photo {
  margin: 0;
  border-radius: var(--r-sign);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c);
}

.spec__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.spec:hover .spec__photo img {
  transform: scale(1.03);
}

/* Duoton: atrament + kolor linii. Filtry SVG wstrzykuje app.js. */
.duo {
  filter: var(--duo, none);
}

.duo[data-duo='kregoslup'] {
  --duo: url(#duo-kregoslup);
}
.duo[data-duo='sport'] {
  --duo: url(#duo-sport);
}
.duo[data-duo='uraz'] {
  --duo: url(#duo-uraz);
}
.duo[data-duo='biuro'] {
  --duo: url(#duo-biuro);
}

.duo[data-duo='ciaza'] {
  --duo: url(#duo-ciaza);
}
.duo[data-duo='dzieci'] {
  --duo: url(#duo-dzieci);
}
.duo[data-duo='ink'] {
  --duo: url(#duo-ink);
}

/* ── Zespół ──────────────────────────────────────────────────────────── */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--hair-2);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

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

.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--floor);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.member {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-sign);
  overflow: hidden;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.member[hidden] {
  display: none !important;
}

.member.is-leaving {
  opacity: 0;
  transform: scale(0.97);
}

.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c);
  overflow: hidden;
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__lines {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40% 12px 0;
}

.member__lines span {
  height: 10px;
  border-radius: 0 999px 999px 0;
  background: var(--c);
}

.member__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}

.member__name {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.member__role {
  font-size: 0.92rem;
  color: var(--muted);
}

.member__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

.member__tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

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

.member__next {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
  font-size: 0.88rem;
  color: var(--muted);
}

.member__next strong {
  color: var(--ink);
  font-variant-numeric: proportional-nums;
}

.member .btn {
  margin-top: 8px;
  width: 100%;
}

/* ── Rezerwacja ──────────────────────────────────────────────────────── */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.booking__main {
  background: var(--paper);
  border-radius: var(--r-sign);
  padding: clamp(20px, 3vw, 36px);
  min-height: 460px;
}

.step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.step[hidden] {
  display: none;
}

.step__count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: proportional-nums;
}

.step__title {
  display: block;
  margin: 6px 0 20px;
  padding: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

.js .step.is-entering {
  animation: step-in 0.5s var(--ease-out);
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.options--wide {
  grid-template-columns: 1fr;
}

.opt {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  border: 1.5px solid var(--hair-2);
  border-radius: var(--r-sign);
  background: var(--floor);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    transform 0.25s var(--ease-out);
}

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

.opt[aria-checked='true'],
.opt[aria-pressed='true'] {
  border-color: var(--c, var(--ink));
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--c, var(--ink));
}

.opt__title {
  font-weight: 700;
  line-height: 1.25;
}

.opt__sub {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--muted);
}

.opt__aside {
  grid-row: span 2;
  font-family: var(--f-display);
  font-weight: 800;
  font-variant-numeric: proportional-nums;
  text-align: right;
  white-space: nowrap;
}

.opt__aside small {
  display: block;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}

.opt__lead {
  grid-row: span 2;
  display: grid;
  place-items: center;
}

.opt__lead .swatch {
  width: 30px;
  height: 10px;
}

.opt__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c);
}

.opt__any {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--floor);
}

.opt__any svg {
  width: 22px;
  height: 22px;
}

.sub-h {
  margin: 26px 0 12px;
  font-size: 1.05rem;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Kalendarz */

.days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin: 0 -2px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.day {
  flex: none;
  scroll-snap-align: start;
  display: grid;
  gap: 2px;
  justify-items: center;
  width: 68px;
  padding: 10px 0;
  border: 1.5px solid var(--hair-2);
  border-radius: var(--r-sign);
  background: var(--floor);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.day__dow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.day__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
  font-variant-numeric: proportional-nums;
}

.day__free {
  font-size: 0.72rem;
  color: var(--muted);
}

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

.day[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--floor);
}

.day[aria-pressed='true'] .day__dow,
.day[aria-pressed='true'] .day__free {
  color: #c9ced1;
}

.day:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
}

.slot {
  min-height: 46px;
  border: 1.5px solid var(--hair-2);
  border-radius: 999px;
  background: var(--floor);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: proportional-nums;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}

.slot:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.slot[aria-pressed='true'] {
  background: var(--c, var(--ink));
  border-color: var(--c, var(--ink));
  color: var(--on, #fff);
}

.empty {
  padding: 22px;
  border: 1.5px dashed var(--hair-2);
  border-radius: var(--r-sign);
  color: var(--muted);
}

.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Formularz */

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  font-weight: 700;
  font-size: 0.93rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--hair-2);
  border-radius: var(--r-sign);
  background: var(--floor);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 23, 26, 0.12);
}

.field input[aria-invalid='true'] {
  border-color: #b3261e;
}

.field__err {
  font-size: 0.86rem;
  font-weight: 700;
  color: #b3261e;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.93rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
}

.step__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 8px 4px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

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

.back svg {
  width: 18px;
  height: 18px;
}

.demo-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--faint);
}

/* Potwierdzenie */

.done {
  text-align: left;
}

.done__mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c, var(--ink));
  color: var(--on, #fff);
}

.done__mark svg {
  width: 30px;
  height: 30px;
}

.done__mark path {
  stroke-width: 2.6;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.7s 0.2s var(--ease-out) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.done__title {
  margin-top: 20px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
}

.done__code {
  margin-top: 8px;
  color: var(--muted);
}

.done__code strong {
  color: var(--ink);
  font-family: var(--f-display);
  letter-spacing: 0.04em;
}

.done__list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--hair);
}

.done__list dt {
  color: var(--muted);
  font-size: 0.93rem;
}

.done__list dd {
  margin: 0;
  font-weight: 700;
}

.done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Tor decyzji — każdy wybór zostaje na linii i można go cofnąć */

.rail {
  position: sticky;
  top: 96px;
  background: var(--ink);
  color: #e9ecea;
  border-radius: var(--r-sign);
  padding: 22px 22px 20px;
}

.rail__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
}

.rail__stops {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.rail__stops::before,
.rail__stops::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.rail__stops::after {
  background: var(--guide);
  transform-origin: top;
  transform: scaleY(var(--rail, 0));
  transition: transform 0.6s var(--ease-out), background-color 0.4s;
}

.rail__stop {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 2px 14px;
  align-items: start;
  padding: 8px 0 14px;
}

.rail__dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid rgba(255, 255, 255, 0.28);
  transition: background-color 0.3s, border-color 0.3s;
}

.rail__stop.is-done .rail__dot {
  border-color: var(--guide);
  background: var(--guide);
}

.rail__stop.is-current .rail__dot {
  border-color: #fff;
}

.rail__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #aab1b6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rail__value {
  grid-column: 2;
  font-weight: 700;
  color: #fff;
  min-height: 1.4em;
}

.rail__value.is-empty {
  color: #7f878d;
  font-weight: 500;
}

.rail__edit {
  grid-row: span 2;
  border: 0;
  background: none;
  padding: 2px 0;
  color: #cfd3d6;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.rail__edit:hover {
  color: #fff;
}

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

.rail__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rail__sum span {
  color: #aab1b6;
  font-size: 0.9rem;
}

.rail__sum strong {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: #fff;
  font-variant-numeric: proportional-nums;
}

.booking__noscript {
  padding: 24px;
  background: var(--paper);
  border-radius: var(--r-sign);
}

/* ── Pierwsza wizyta ─────────────────────────────────────────────────── */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.visit__steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

/* Linia dorysowuje się od przystanku do przystanku */
.visit__steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 999px;
  background: var(--guide);
  transform-origin: top;
  transition: transform 1.6s var(--ease-io), background-color 0.6s;
}

.js .visit__steps:not(.is-in)::before {
  transform: scaleY(0);
}

.visit__step {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 4px 20px;
}

.visit__num {
  grid-row: span 3;
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--floor);
  border: 4px solid var(--guide);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.2rem;
  transition: border-color 0.6s;
}

.visit__step h3 {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  padding-top: 10px;
}

.visit__step p {
  color: var(--ink-2);
  max-width: 34em;
}

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

.js .visit__steps:not(.is-in) .visit__step {
  opacity: 0;
  transform: translateY(12px);
}

.js .visit__step {
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 280ms);
}

.visit__photo {
  margin: 0;
  position: sticky;
  top: 110px;
}

.visit__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-sign);
}

.visit__photo figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ── Cennik ──────────────────────────────────────────────────────────── */

.prices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px 40px;
}

.price-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
}

.price-group h3 .swatch {
  width: 34px;
  height: 12px;
}

.price-group table {
  width: 100%;
  border-collapse: collapse;
}

.price-group td {
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  vertical-align: baseline;
}

.price-group td:nth-child(2) {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 10px 16px;
  font-variant-numeric: proportional-nums;
}

.price-group td:last-child {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: proportional-nums;
}

/* ── Opinie ──────────────────────────────────────────────────────────── */

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
}

.rating__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ink);
}

.rating__stars svg {
  width: 18px;
  height: 18px;
}

.rating__stars path {
  fill: currentColor;
  stroke: none;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px 22px;
  background: var(--paper);
  border-radius: var(--r-sign);
}

.review__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.review blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.review__who {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Lokalizacje ─────────────────────────────────────────────────────── */

.places {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

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

.place {
  padding: 20px 20px 18px;
  background: var(--paper);
  border-radius: var(--r-sign);
  border: 1.5px solid transparent;
  transition: border-color 0.25s;
}

.place.is-active {
  border-color: var(--ink);
}

.place__name {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.place__lines {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.place__lines .swatch {
  width: 30px;
  height: 8px;
}

.place__addr {
  margin-top: 10px;
  font-style: normal;
  color: var(--ink-2);
}

.place__hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 16px;
  margin: 12px 0 0;
  font-size: 0.93rem;
}

.place__hours dt {
  color: var(--muted);
}

.place__hours dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: proportional-nums;
}

.place__more {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.place__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.place__actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.93rem;
}

.map-wrap {
  position: sticky;
  top: 96px;
}

.map {
  height: min(620px, 72vh);
  border-radius: var(--r-sign);
  overflow: hidden;
  background: var(--floor-2);
  z-index: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: var(--floor-2);
  border-radius: var(--r-sign);
}

/* Znacznik: przystanek z kolorami linii dostępnych w gabinecie */
.pin {
  position: relative;
  display: grid;
  place-items: center;
}

.pin__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(20, 23, 26, 0.7);
  transition: transform 0.3s var(--ease-out);
}

.pin__stops {
  display: flex;
  gap: 3px;
}

.pin__stops i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

.pin__tail {
  width: 3px;
  height: 12px;
  background: var(--ink);
}

.pin.is-active .pin__head {
  transform: scale(1.1);
}

.leaflet-container {
  font-family: var(--f-body);
  background: var(--floor-2);
}

.leaflet-control-attribution {
  font-size: 11px;
}

.leaflet-bar a {
  color: var(--ink);
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq {
  max-width: 880px;
  border-top: 1px solid var(--hair-2);
  interpolate-size: allow-keywords;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--hair-2);
  transition: background-color 0.25s, border-color 0.25s, transform 0.4s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
}

.faq__icon::after {
  transform: rotate(90deg);
  transition: transform 0.35s var(--ease-out);
}

.faq details[open] .faq__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--floor);
}

.faq details[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.45s var(--ease-out),
    content-visibility 0.45s allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

.faq__a {
  padding: 0 60px 24px 0;
  max-width: 44em;
  color: var(--ink-2);
}

/* ── Zakończenie ─────────────────────────────────────────────────────── */

.finale {
  position: relative;
  margin-top: clamp(80px, 10vw, 140px);
  background: var(--ink);
  color: #e9ecea;
  overflow: hidden;
}

.finale__lines {
  display: grid;
  gap: 8px;
  padding-top: 40px;
}

.finale__lines span {
  display: block;
  height: 14px;
  border-radius: 0 999px 999px 0;
  transform-origin: left;
}

.finale__lines span:nth-child(1) {
  width: 72%;
}
.finale__lines span:nth-child(2) {
  width: 58%;
}
.finale__lines span:nth-child(3) {
  width: 80%;
}
.finale__lines span:nth-child(4) {
  width: 46%;
}
.finale__lines span:nth-child(5) {
  width: 64%;
}

.js .finale:not(.is-in) .finale__lines span {
  transform: scaleX(0);
}

.js .finale__lines span {
  transition: transform 1.2s var(--ease-out);
}

.js .finale__lines span:nth-child(2) {
  transition-delay: 0.08s;
}
.js .finale__lines span:nth-child(3) {
  transition-delay: 0.16s;
}
.js .finale__lines span:nth-child(4) {
  transition-delay: 0.24s;
}
.js .finale__lines span:nth-child(5) {
  transition-delay: 0.32s;
}

.finale__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(64px, 8vw, 110px);
}

.finale__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 900;
  color: #fff;
  max-width: 12em;
}

.finale__in > p {
  margin-top: 18px;
  font-size: 1.15rem;
}

.finale__in strong {
  color: #fff;
  font-variant-numeric: proportional-nums;
}

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

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

.foot {
  background: var(--floor-2);
  font-size: 0.95rem;
}

.foot__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 52px var(--pad) 36px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  gap: 32px;
}

.foot__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.foot__brand p + p {
  margin-top: 10px;
  color: var(--ink-2);
}

.foot__h {
  font-family: var(--f-display);
  font-weight: 800;
  margin-bottom: 10px;
}

.foot__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.foot__places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.foot__places p {
  color: var(--ink-2);
}

.foot__places strong {
  display: block;
  color: var(--ink);
}

.foot__base {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad) 28px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Pasek kciuka i komunikat ────────────────────────────────────────── */

.thumbbar {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  width: max-content;
  max-width: min(calc(100vw - 32px), 460px);
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 40px -20px rgba(20, 23, 26, 0.8);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.3s;
  pointer-events: none;
}

.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ── Wejścia sekcji (treść widoczna domyślnie, bez JS nic się nie chowa) ── */

.js .rv:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}

.js .rv {
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.9s var(--ease-out);
}

/* ── Szerokości ──────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .nav {
    display: none;
  }
}

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

  .board {
    max-width: 560px;
  }

  .spec,
  .visit,
  .places,
  .booking {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec__text,
  .spec__photo,
  .services li,
  .chips {
    min-width: 0;
  }

  .spec:nth-child(even) .spec__photo {
    order: 0;
  }

  .spec__photo {
    aspect-ratio: 16 / 10;
  }

  .visit__photo,
  .map-wrap {
    position: relative;
    top: 0;
  }

  .visit__photo img {
    aspect-ratio: 16 / 10;
  }

  .rail {
    position: static;
    order: -1;
    padding: 16px 18px;
  }

  /* Na telefonie tor pokazuje tylko to, co już wybrano — reszta czeka w formularzu. */
  .rail__stop:not(.is-done) {
    display: none;
  }

  .rail__stops:not(:has(.is-done)) {
    display: none;
  }

  .map {
    height: 380px;
  }

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

  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .top__in {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 12px;
  }

  .phone span {
    display: none;
  }

  .phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--hair-2);
  }

  .top__actions .btn {
    display: none;
  }

  .demo-bar {
    justify-content: flex-start;
    font-size: 0.82rem;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .btn {
    white-space: normal;
  }

  /* Linie na telefonie: grube pasy z podpisem w środku — duże cele dotykowe */
  .lines {
    gap: 10px;
    padding-right: 0;
  }

  .line {
    --len: 100%;
    display: flex;
    align-items: center;
    position: relative;
    width: calc(100% - var(--mr, 0px));
    min-height: 60px;
    border-radius: 0 999px 999px 0;
    background: var(--c);
    color: var(--on);
    padding: 10px 20px 10px var(--pad);
  }

  .line:hover,
  .line:focus-visible {
    --len: 100%;
  }

  .line__stripe,
  .line__stop {
    display: none;
  }

  .line__label {
    padding-left: 0;
    flex: 1;
    flex-direction: column;
    gap: 0;
  }

  .line__meta {
    color: inherit;
    opacity: 0.85;
    font-size: 0.82rem;
  }

  .line__arrow {
    opacity: 1;
    transform: none;
  }

  .js .lines:not(.is-in) .line {
    transform: scaleX(0);
  }

  .js .lines .line {
    transform-origin: left;
    transition: transform 1s var(--ease-out);
    transition-delay: calc(var(--i) * 80ms);
  }

  .js .lines:not(.is-in) .line__label {
    opacity: 0;
  }

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

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

  .services__time {
    grid-column: 1;
    grid-row: 2;
    margin-top: -8px;
  }

  .services__price {
    grid-row: span 2;
    align-self: center;
  }

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

  .faq__a {
    padding-right: 0;
  }

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

  .thumbbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--floor);
    border-top: 1px solid var(--hair);
    box-shadow: 0 -10px 24px -20px rgba(20, 23, 26, 0.5);
  }

  .thumbbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: var(--f-display);
    font-weight: 800;
    text-decoration: none;
  }

  .thumbbar svg {
    width: 18px;
    height: 18px;
  }

  .thumbbar__call {
    border: 2px solid var(--ink);
  }

  .thumbbar__book {
    background: var(--guide);
    color: var(--guide-on);
    transition: background-color 0.5s;
  }

  .toast {
    bottom: 92px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

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

/* Pięć osób, pięć linii — jeden rząd, gdy jest miejsce. */
@media (min-width: 1181px) {
  .team {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .team .member__body {
    padding-inline: 14px;
  }
}

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

/* Telefon: pięć linii od razu pod nagłówkiem, tablica terminów pod nimi.
   Przyciski „Umów” i „Zadzwoń” są już w dolnym pasku. */
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 22px;
  }

  .hero__grid {
    display: contents;
  }

  .hero__copy {
    order: 0;
    padding: 0 var(--pad);
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 1.02rem;
  }

  .hero .hero__cta,
  .hero__facts {
    display: none;
  }

  .lines {
    order: 1;
    margin-top: 24px;
  }

  .hero .board {
    order: 2;
    width: auto;
    margin: 32px var(--pad) 0;
  }

  /* Zespół: zwarte wiersze zamiast pięciu pełnych portretów */
  .member {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .member__photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
  }

  .member__body {
    padding: 14px 14px 16px;
    gap: 6px;
  }

  .member__bio {
    display: none;
  }

  .member__name {
    font-size: 1.05rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Kwalifikator, „otwarte teraz”, pasek telefonu
   ═══════════════════════════════════════════════════════════════════════ */

.kw {
  max-width: 720px;
}

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

.kw__h3 {
  margin: 0 0 20px;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.kw__opcje {
  display: grid;
  gap: 8px;
}

.kw__opcja {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sign);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s var(--ease-out), background-color 0.2s;
}

.kw__opcja:hover {
  border-color: var(--ink);
  transform: translateX(4px);
}

.kw__kreska {
  flex: none;
  width: 4px;
  height: 26px;
  border-radius: 2px;
  background: var(--c, var(--ink));
}

.kw__wynik {
  --kw-pad: 28px;
  padding: var(--kw-pad);
  border-radius: var(--r-sign);
  background: var(--paper);
}

/* Kolor problemu niesie nagłówek, tak samo jak na liście specjalizacji. */
.kw__wynik .kw__h3 {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px calc(var(--kw-pad) * -1);
  padding: 10px 24px 10px var(--kw-pad);
  border-radius: 0 999px 999px 0;
  background: var(--c);
  color: var(--on);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

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

.kw__dlaczego {
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--ink-2, var(--ink));
  font-size: 1.02rem;
  line-height: 1.6;
}

.kw__dane {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-sign);
  overflow: hidden;
}

.kw__dane > div {
  padding: 14px 16px;
  background: var(--floor);
}

.kw__dane dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kw__dane dd {
  margin: 5px 0 0;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.kw__akcje {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.kw__uwaga {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── Otwarte teraz ──────────────────────────────────────────────────── */
/* Pasek górny jest ciasny — sygnał otwarcia pokazujemy tylko tam, gdzie się mieści. */
@media (max-width: 1340px) {
  .teraz {
    display: none !important;
  }
}

.teraz {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.teraz em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.teraz__kropka {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.teraz.is-open {
  color: var(--ink);
}

.teraz.is-open .teraz__kropka {
  background: #13875a;
  box-shadow: 0 0 0 3px rgba(19, 135, 90, 0.18);
}

/* ── Co dalej po rezerwacji ─────────────────────────────────────────── */
.done__dalej {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.done__dalej li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

/* ── Pasek telefonu na telefonie ────────────────────────────────────── */
.pasek {
  display: none;
}

@media (max-width: 760px) {
  .pasek {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
  }

  .pasek__tel,
  .pasek__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
  }

  .pasek__tel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
  }

  .pasek__tel svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
  }

  .pasek__btn {
    background: #fff;
    color: var(--ink);
  }

  body {
    padding-bottom: 76px;
  }

  .toast {
    bottom: 88px;
  }

  .teraz {
    display: none;
  }

  .kw__wynik {
    --kw-pad: 18px;
    padding: 22px var(--kw-pad);
  }

  .kw__opcja {
    padding: 16px;
    font-size: 0.98rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Podstrony problemowe: jedna kolumna, treść przed wszystkim
   ═══════════════════════════════════════════════════════════════════════ */

.problem main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad) 80px;
}

.okruchy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

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

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

.pro-hero {
  padding: 34px 0 44px;
}

.pro-hero__kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--c);
  color: var(--on);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pro-hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

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

.pro-hero__lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.6;
}

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

.pro-hero__termin {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.95rem;
}

.pro-hero__termin strong {
  color: var(--ink);
}

.pro-blok {
  padding: 40px 0;
  border-top: 1px solid var(--hair);
}

.pro-h2 {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pro-tekst {
  max-width: 62ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.68;
}

/* ── Objawy ─────────────────────────────────────────────────────────── */
.objawy {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.objawy li {
  padding: 20px 22px;
  background: var(--paper);
}

.objawy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.objawy h3::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
}

.objawy p {
  margin: 0;
  max-width: 60ch;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Przebieg ───────────────────────────────────────────────────────── */
.pro-blok--ciemny {
  margin: 0 calc(var(--pad) * -1);
  padding: 44px var(--pad);
  border-top: 0;
  background: var(--ink);
  color: var(--paper);
}

.pro-blok--ciemny .pro-h2 {
  color: #fff;
}

.przebieg {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: krok;
}

.przebieg li {
  position: relative;
  padding-left: 52px;
  counter-increment: krok;
}

.przebieg li::before {
  content: counter(krok);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  color: var(--on);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 800;
}

.przebieg h3 {
  margin: 4px 0 6px;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.przebieg p {
  margin: 0;
  max-width: 58ch;
  color: #c9cdd1;
  line-height: 1.62;
}

/* ── Cennik linii ───────────────────────────────────────────────────── */
.pro-cennik {
  margin-top: 28px;
}

.pro-tabela {
  width: 100%;
  border-collapse: collapse;
}

.pro-tabela caption {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.pro-tabela th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.pro-tabela td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hair);
  font-size: 1rem;
}

.pro-tabela td:first-child {
  font-weight: 700;
}

.pro-tabela td:not(:first-child) {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pro-tabela__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── Pytania ────────────────────────────────────────────────────────── */
.pro-faq {
  margin: 0;
  display: grid;
  gap: 2px;
}

.pro-faq > div {
  padding: 20px 22px;
  background: var(--paper);
}

.pro-faq dt {
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.pro-faq dd {
  margin: 8px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.62;
}

/* ── Finał i stopka ─────────────────────────────────────────────────── */
.pro-finale {
  margin-top: 44px;
  padding: 40px 32px;
  border-top: 5px solid var(--c);
  background: var(--paper);
}

.pro-finale__h {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.pro-finale p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pro-stopka {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px var(--pad) 60px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

.pro-stopka__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pro-stopka__nav a {
  padding: 8px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
}

.pro-stopka__nav a:hover {
  border-color: var(--ink);
}

@media (max-width: 760px) {
  .pro-finale {
    padding: 30px 20px;
  }

  .objawy li,
  .pro-faq > div {
    padding: 18px;
  }

  .pro-stopka {
    padding-bottom: 100px;
  }
}

/* Link do podstrony problemu obok przycisku rezerwacji. */
.spec__akcje {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.spec__wiecej {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-color: var(--hair-2);
  text-underline-offset: 4px;
}

.spec__wiecej:hover {
  text-decoration-color: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════════
   Zespół na stronie i wybór osoby w rezerwacji
   ═══════════════════════════════════════════════════════════════════════ */

.zespol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.osoba-karta {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-sign);
  background: var(--paper);
  overflow: hidden;
}

.osoba-karta__foto {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.osoba-karta__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.osoba-karta__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.osoba-karta__name {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.osoba-karta__role {
  display: inline-flex;
  align-self: start;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.osoba-karta__bio {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.osoba-karta__linie,
.osoba-karta__kursy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.osoba-karta__linie li {
  position: relative;
  padding: 4px 12px 4px 22px;
  border-radius: 999px;
  background: var(--floor);
  font-size: 0.82rem;
  font-weight: 700;
}

.osoba-karta__linie li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--c);
}

.osoba-karta__kursy li {
  padding: 4px 11px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

.osoba-karta__grafik,
.osoba-karta__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.osoba-karta__meta strong {
  color: var(--ink);
}

.osoba-karta .btn {
  align-self: start;
  margin-top: 4px;
}

/* ── Wybór osoby w rezerwacji ───────────────────────────────────────── */
.kto-wybor {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.kto-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--white, #fff);
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background-color 0.18s;
}

.kto-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.kto-chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.kto-chip__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--muted));
}

/* Godzina mówi, kto ją weźmie. */
.slots .slot em {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

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

  .kto-wybor {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .kto-chip {
    flex: none;
  }
}
