/* ==========================================================================
   OrtoKrak — wspólny arkusz stylów
   Typografia: Poltawski Nowy (display) + Hanken Grotesk (tekst)
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* marka */
  --navy: #0b2a3c;
  --navy-2: #12384d;
  --navy-deep: #071d2a;
  --blue: #07a7e3;
  --blue-ink: #04729c;
  --teal: #32dac3;
  --teal-ink: #0b7d6f;
  --teal-deep: #0d4f47;

  /* neutralne (lekko schłodzone w stronę marki) */
  --white: #ffffff;
  --mist: #eef5f7;
  --mist-2: #e2edf1;
  --ink: var(--navy);
  --ink-soft: #3d5868;
  --line: rgba(11, 42, 60, .14);
  --line-strong: rgba(11, 42, 60, .28);
  --on-navy: #ffffff;
  --on-navy-soft: #a9c0cc;
  --line-navy: rgba(255, 255, 255, .14);

  /* typografia */
  --f-display: "Poltawski Nowy", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --fs-hero: clamp(3.1rem, 7.4vw, 6rem);
  --fs-h1: clamp(2.6rem, 6vw, 5.25rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.9rem);
  --fs-h3: clamp(1.45rem, 2.3vw, 2rem);
  --fs-lead: clamp(1.125rem, 1.45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-micro: .8125rem;

  /* układ */
  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --head: 84px;
  --sec: clamp(88px, 11vw, 168px);
  --radius: 6px;

  /* ruch */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-quart: cubic-bezier(.25, 1, .5, 1);

  /* warstwy */
  --z-sticky: 20;
  --z-callbar: 30;
  --z-menu: 40;
  --z-cursor: 45;
  --z-modal: 50;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong, b { font-weight: 650; }
::selection { background: var(--teal); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}
.on-navy :focus-visible, .site-foot :focus-visible, .menu :focus-visible { outline-color: var(--teal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-modal);
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- elementy wspólne ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 3.375rem; padding: 0 1.5rem;
  border-radius: var(--radius);
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { background: var(--teal); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .25s, color .25s;
}
.arrow-link svg { width: 1em; height: 1em; transition: transform .35s var(--ease-out); }
.arrow-link:hover { text-decoration-color: currentColor; }
.arrow-link:hover svg { transform: translateX(4px); }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.muted { color: var(--ink-soft); }

/* znaczek zamka (bracket) — mały motyw z logo */
.bracket {
  display: inline-block; width: .9em; height: .62em; border-radius: 2px;
  background: var(--blue); position: relative; flex: none;
}
.bracket::after {
  content: ""; position: absolute; left: -.28em; right: -.28em; top: 50%; height: 2px;
  margin-top: -1px; background: var(--teal);
}

/* NFZ — informacja musi być widoczna */
.nfz {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: var(--fs-small); line-height: 1.45; color: var(--ink-soft);
}
.nfz svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .1rem; color: var(--blue-ink); }
.nfz strong { color: var(--ink); font-weight: 650; }
.on-navy .nfz, .site-foot .nfz { color: var(--on-navy-soft); }
.on-navy .nfz strong, .site-foot .nfz strong { color: #fff; }
.on-navy .nfz svg, .site-foot .nfz svg { color: var(--teal); }

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255, 255, 255, .94);
  transition: box-shadow .3s, background-color .3s;
  view-transition-name: site-head;
}
@supports (backdrop-filter: blur(1px)) {
  .site-head { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); height: var(--head); }
.brand { flex: none; display: block; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; font-weight: 600; font-size: .98rem; }
.nav a { position: relative; padding: 8px 0; color: var(--ink-soft); transition: color .25s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--ink); }
/* aktywna pozycja: drut z jednym zamkiem */
.nav a::before, .nav a::after { content: ""; position: absolute; left: 50%; pointer-events: none; }
.nav a::before {
  bottom: 0; width: 100%; height: 2px; background: var(--teal); border-radius: 2px;
  transform: translateX(-50%) scaleX(0); transition: transform .45s var(--ease-out);
}
.nav a::after {
  bottom: -3px; width: 12px; height: 8px; border-radius: 2px; background: var(--blue);
  transform: translateX(-50%) scale(0); transition: transform .35s var(--ease-out) .1s;
}
.nav a:hover::before { transform: translateX(-50%) scaleX(.5); }
.nav a[aria-current="page"]::before, .nav a.is-active::before { transform: translateX(-50%) scaleX(1); }
.nav a[aria-current="page"]::after, .nav a.is-active::after { transform: translateX(-50%) scale(1); }

.head-call { display: flex; flex-direction: column; line-height: 1.15; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.head-call span { font-size: var(--fs-micro); color: var(--ink-soft); }
.head-call b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; transition: color .25s; }
.head-call:hover b { color: var(--blue-ink); }

.menu-btn {
  display: none; align-items: center; gap: 10px; margin-left: auto;
  height: 44px; padding: 0 16px; border-radius: var(--radius);
  background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem;
}
.menu-btn i { display: block; width: 16px; height: 10px; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn i::before { top: 0; }
.menu-btn i::after { bottom: 0; }

/* menu mobilne */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 28px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s linear .6s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-out), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.menu-top img { height: 34px; width: auto; }
.menu-close { height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--teal); color: var(--navy); font-weight: 600; }
.menu-nav { margin-top: 18px; display: flex; flex-direction: column; }
.menu-nav > a {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1;
  padding: 10px 0; border-bottom: 1px solid var(--line-navy);
  display: flex; align-items: center; justify-content: space-between;
}
.menu-nav > a[aria-current="page"] { color: var(--teal); }
.menu-sub { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 0 14px; border-bottom: 1px solid var(--line-navy); }
.menu-sub a { color: var(--on-navy-soft); font-weight: 500; }
.menu-sub a[aria-current="page"] { color: var(--teal); }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.menu-foot .big-tel { font-family: var(--f-display); font-size: 2rem; font-weight: 700; color: var(--teal); }
.menu-foot p { color: var(--on-navy-soft); font-size: var(--fs-small); }
.menu.is-open .menu-nav > a { animation: menuIn .6s var(--ease-out) both; }
.menu.is-open .menu-nav > a:nth-child(2) { animation-delay: .04s; }
.menu.is-open .menu-nav > a:nth-child(4) { animation-delay: .08s; }
.menu.is-open .menu-nav > a:nth-child(5) { animation-delay: .12s; }
.menu.is-open .menu-nav > a:nth-child(6) { animation-delay: .16s; }
.menu.is-open .menu-nav > a:nth-child(7) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }
html.menu-lock, html.menu-lock body { overflow: hidden; }

/* pasek „zadzwoń" na telefonie */
.callbar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-callbar);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.callbar.is-visible { transform: none; }
.callbar a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 14px 12px 18px;
  box-shadow: 0 18px 40px -16px rgba(7, 29, 42, .55);
}
.callbar small { display: block; font-size: var(--fs-micro); color: var(--on-navy-soft); line-height: 1.2; }
.callbar b { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.1; }
.callbar span.ico { width: 44px; height: 44px; border-radius: 8px; background: var(--teal); color: var(--navy); display: grid; place-items: center; }
.callbar span.ico svg { width: 20px; height: 20px; }

/* ==========================================================================
   Strona główna — hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, calc(var(--maxw) * .57))
    [split] minmax(0, calc(var(--maxw) * .43))
    [content-end] minmax(var(--gutter), 1fr) [full-end];
  min-height: min(calc(100svh - var(--head)), 900px);
  position: relative;
}
.hero-copy {
  grid-column: content-start / split; grid-row: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 72px) clamp(40px, 4vw, 64px) 0;
  position: relative; z-index: 1;
}
.hero-place { font-size: var(--fs-small); color: var(--ink-soft); display: flex; gap: .6em; align-items: center; margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero-place .bracket { font-size: .9rem; }

.hero-title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.02em; font-weight: 700; }
.hero-title > span { display: block; }
.hero-title .ht-sub { color: var(--ink); }

/* SYGNATURA: krzywe litery prostowane drutem */
.brace { display: inline-block; position: relative; padding-bottom: .26em; margin-bottom: -.12em; white-space: nowrap; color: var(--navy); }
.brace .ch { display: inline-block; transform-origin: 50% 55%; will-change: transform; }
.brace svg.wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wire .w-line { fill: none; stroke: #1fc3ac; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wire .w-glint { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: 0; }
.wire .w-br rect.body { fill: var(--blue); }
.wire .w-br rect.slot { fill: #fff; }
.wire .w-end { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }

.hero-lead { margin-top: clamp(24px, 2.6vw, 36px); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.hero-hours { margin-top: 18px; font-size: var(--fs-small); color: var(--ink-soft); }
.hero-hours b { color: var(--ink); font-weight: 600; }
.hero .nfz { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 520px; }

.hero-media { grid-column: split / full-end; grid-row: 1; position: relative; min-height: 520px; }
.hero-media .main { position: absolute; inset: 0; overflow: hidden; background: var(--mist); }
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.hero-media .inset {
  position: absolute; left: clamp(-120px, -7vw, -40px); bottom: clamp(32px, 5vw, 64px);
  width: clamp(220px, 22vw, 330px); z-index: 2;
}
.hero-media .inset img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 50%; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(11, 42, 60, .55); }
.hero-media .inset figcaption { font-size: var(--fs-micro); color: #fff; margin-top: 8px; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.hero-media .credit {
  position: absolute; right: var(--gutter); bottom: 20px; z-index: 2;
  font-size: var(--fs-micro); color: #fff; max-width: 220px; text-align: right; line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}

/* ==========================================================================
   Sekcje strony głównej
   ========================================================================== */
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--mist { background: var(--mist); }
.on-navy { background: var(--navy); color: #fff; }
.on-navy .lead, .on-navy .muted, .on-navy .prose p { color: var(--on-navy-soft); }

/* cytat założycielki */
.statement { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.statement figure { position: relative; }
.statement figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.statement figure figcaption { margin-top: 12px; font-size: var(--fs-micro); color: var(--ink-soft); }
.statement .since {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(4.5rem, 12vw, 10.5rem); line-height: .8;
  color: var(--mist-2); letter-spacing: -.03em; margin-bottom: clamp(20px, 3vw, 40px);
  -webkit-user-select: none; user-select: none;
}
.statement blockquote p {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.9vw, 2.6rem); line-height: 1.22; letter-spacing: -.008em;
  text-wrap: balance;
}
.statement blockquote p mark { background: linear-gradient(transparent 62%, rgba(50, 218, 195, .45) 62%); color: inherit; padding: 0 .05em; }
.statement .sig { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; }
.statement .sig b { font-weight: 650; }
.statement .sig span { color: var(--ink-soft); font-size: var(--fs-small); }
.statement .about { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.statement .about p { color: var(--ink-soft); font-size: var(--fs-small); }
.statement .about strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 4px; }

/* indeks oferty */
.index-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.index-head h2 { font-size: var(--fs-h2); max-width: 15ch; }
.index-head p { max-width: 36ch; color: var(--ink-soft); }
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 16px clamp(20px, 4vw, 64px);
  align-items: center; padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line-strong);
  position: relative; isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--mist);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.svc-row:hover::before, .svc-row:focus-within::before { transform: scaleY(1); }
.svc-row h3 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; transition: transform .5s var(--ease-out); }
.svc-row:hover h3 { transform: translateX(10px); }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-row p { color: var(--ink-soft); font-size: var(--fs-small); max-width: 46ch; }
.svc-row .tags { margin-top: 8px; font-size: var(--fs-micro); color: var(--ink); font-weight: 600; }
.svc-row .go {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s;
}
.svc-row .go svg { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.svc-row:hover .go { background: var(--navy); color: #fff; box-shadow: none; }
.svc-row:hover .go svg { transform: rotate(-45deg); }
.svc-row .thumb { display: none; }

/* podglądowe zdjęcie za kursorem */
.cursor-img {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  clip-path: inset(50% 50% 50% 50%); transition: clip-path .5s var(--ease-out);
  box-shadow: 0 30px 70px -30px rgba(11, 42, 60, .6);
}
.cursor-img.is-on { clip-path: inset(0 0 0 0); }
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }

/* rozkładówka zdjęć */
.spread-head { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.spread-head h2 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: .95; letter-spacing: -.02em; }
.spread-head h2 span { display: block; color: var(--teal-ink); }
.spread-head p { color: var(--ink-soft); max-width: 40ch; }
.spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.spread > a { position: relative; overflow: hidden; display: block; background: var(--mist); }
.spread > a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.spread > a:hover img { transform: scale(1.035); }
.spread .cap { position: absolute; left: 14px; bottom: 12px; font-size: var(--fs-micro); font-weight: 600; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.spread .s1 { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 4 / 3.1; }
.spread .s2 { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 3 / 2; }
.spread .s3 { grid-column: 8 / 13; grid-row: 2; align-self: end; aspect-ratio: 3 / 2; }
.spread .s4 { grid-column: 1 / 13; aspect-ratio: 1366 / 380; }
.spread .s4 img { object-position: 50% 55%; }
.spread-foot { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* pasmo turkusowe — etapy leczenia */
.band-teal { background: var(--teal); color: var(--navy); }
.band-teal .muted, .band-teal p { color: var(--teal-deep); }
.steps-head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.steps-head h2 { font-size: var(--fs-h2); }
.steps-head .when { border-left: 0; }
.steps-head .when b { display: block; font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding-top: 54px; }
.steps::before { /* drut */
  content: ""; position: absolute; left: -12px; right: -12px; top: 14px; height: 4px; border-radius: 4px; background: var(--navy);
}
.steps li { position: relative; }
.steps li::before { /* zamek */
  content: ""; position: absolute; left: 0; top: -54px; width: 38px; height: 32px; border-radius: 5px; background: #fff;
  box-shadow: inset 0 0 0 3px var(--navy);
}
.steps li::after { /* szczelina zamka */
  content: ""; position: absolute; left: 0; top: -40px; width: 38px; height: 4px; background: var(--navy);
}
.steps .n { font-family: var(--f-display); font-size: var(--fs-micro); font-weight: 700; letter-spacing: .02em; color: var(--teal-deep); display: block; margin-bottom: 6px; }
.steps h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.steps p { font-size: var(--fs-small); line-height: 1.55; color: var(--teal-deep); }
.steps-cta { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* zespół — uśmiech z portretów */
.team-smile { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 64px); margin-top: clamp(40px, 6vw, 88px); }
.team-smile svg.arc { position: absolute; left: 4%; right: 4%; top: 0; width: 92%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.team-smile svg.arc path { fill: none; stroke: var(--teal); stroke-width: 3; }
.member { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.member .ph {
  width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--mist); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line);
  transition: box-shadow .4s var(--ease-out);
}
.member .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.member:hover .ph { box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--teal); }
.member:hover .ph img { transform: scale(1.04); }
.member .title { margin-top: 26px; font-size: var(--fs-micro); color: var(--ink-soft); }
.member h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin: 4px 0 8px; }
.member h3 a::after { content: ""; position: absolute; inset: 0; }
.member p { font-size: var(--fs-small); color: var(--ink-soft); max-width: 30ch; }
.team-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.team-intro h2 { font-size: var(--fs-h2); }
.team-intro p { color: var(--ink-soft); max-width: 44ch; justify-self: end; }

/* strefa końcowa — wizyta */
.visit { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); }
.visit h2 { font-size: var(--fs-h2); max-width: 14ch; }
.visit .tel-big {
  display: inline-block; margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.01em;
  color: var(--teal); transition: color .3s;
}
.visit .tel-big:hover { color: #fff; }
.visit .tel-label { display: block; margin-top: clamp(36px, 5vw, 56px); font-size: var(--fs-small); color: var(--on-navy-soft); }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 28px; max-width: 560px; }
.week div { border-radius: 4px; padding: 12px 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-navy); min-height: 86px; }
.week b { display: block; font-size: var(--fs-micro); font-weight: 650; color: var(--on-navy-soft); }
.week span { display: block; margin-top: 10px; font-size: var(--fs-small); line-height: 1.3; color: rgba(255, 255, 255, .45); }
.week .open { background: var(--teal); box-shadow: none; }
.week .open b { color: var(--teal-deep); }
.week .open span { color: var(--navy); font-weight: 650; }
.visit-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-navy); }
.visit-meta h3 { font-family: var(--f-text); font-size: var(--fs-micro); font-weight: 600; color: var(--on-navy-soft); letter-spacing: 0; margin-bottom: 6px; }
.visit-meta p, .visit-meta a { font-size: 1.05rem; }
.visit-meta a { text-decoration: underline; text-decoration-color: var(--line-navy); text-underline-offset: .25em; }
.visit-meta a:hover { text-decoration-color: var(--teal); }

.price-peek { background: var(--navy-2); border-radius: 8px; padding: clamp(24px, 3vw, 40px); align-self: start; }
.price-peek h3 { font-size: var(--fs-h3); margin-bottom: 20px; }
.price-peek ul { border-top: 1px solid var(--line-navy); }
.price-peek li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-navy); font-size: var(--fs-small); }
.price-peek li span { color: var(--on-navy-soft); }
.price-peek li b { font-family: var(--f-display); font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.price-peek .arrow-link { margin-top: 24px; color: var(--teal); text-decoration-color: rgba(50, 218, 195, .4); }
.price-peek .nfz { margin-top: 24px; }

/* ==========================================================================
   Stopka
   ========================================================================== */
.site-foot { background: var(--navy-deep); color: #fff; padding: clamp(56px, 7vw, 96px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { margin-top: 18px; color: var(--on-navy-soft); font-size: var(--fs-small); max-width: 34ch; }
.foot-brand .nfz { margin-top: 18px; }
.site-foot h2 { font-family: var(--f-text); font-size: var(--fs-micro); font-weight: 600; color: var(--on-navy-soft); letter-spacing: 0; margin-bottom: 14px; }
.site-foot ul li + li { margin-top: 8px; }
.site-foot ul a { color: #fff; transition: color .2s; }
.site-foot ul a:hover { color: var(--teal); }
.site-foot address { font-style: normal; color: #fff; line-height: 1.7; }
.site-foot address a:hover { color: var(--teal); }
.foot-bottom { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-micro); color: var(--on-navy-soft); }
.foot-bottom .pto { display: flex; align-items: center; gap: 12px; }
.foot-bottom .pto img { height: 40px; width: auto; background: #fff; padding: 6px 8px; border-radius: 4px; }

/* ==========================================================================
   Podstrony — nagłówek strony
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .25em; }
.crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.crumbs span[aria-hidden] { opacity: .5; }

.page-hero { padding-top: clamp(32px, 5vw, 72px); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: clamp(18px, 2.4vw, 28px); max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }

/* nagłówek usługi: tekst + duże zdjęcie spadowe */
.svc-hero {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, calc(var(--maxw) * .5))
    [split] minmax(0, calc(var(--maxw) * .5))
    [content-end] minmax(var(--gutter), 1fr) [full-end];
  min-height: min(78svh, 760px);
}
.svc-hero .copy { grid-column: content-start / split; grid-row: 1; padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) 0; display: flex; flex-direction: column; }
.svc-hero h1 { font-size: var(--fs-h1); margin-top: auto; padding-top: clamp(40px, 6vw, 96px); }
.svc-hero .lead { margin-top: 24px; max-width: 44ch; }
.svc-hero .facts { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: var(--fs-small); }
.svc-hero .facts div { display: flex; flex-direction: column; }
.svc-hero .facts span { color: var(--ink-soft); font-size: var(--fs-micro); }
.svc-hero .facts b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; }
.svc-hero .media { grid-column: split / full-end; grid-row: 1; position: relative; overflow: hidden; background: var(--mist); min-height: 420px; }
.svc-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero .media figcaption { position: absolute; right: var(--gutter); bottom: 18px; font-size: var(--fs-micro); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); max-width: 260px; text-align: right; }

/* bloki treści na podstronach */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 100px); }
.split > h2, .split > .side h2 { font-size: var(--fs-h2); }
.split .side { position: relative; }
.split .side .sticky { position: sticky; top: calc(var(--head) + 32px); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.callout {
  background: var(--mist); border-radius: 8px; padding: clamp(24px, 3vw, 40px);
}
.callout h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.callout p { color: var(--ink-soft); }
.callout--teal { background: var(--teal); }
.callout--teal p { color: var(--teal-deep); }
.callout--navy { background: var(--navy); color: #fff; }
.callout--navy p { color: var(--on-navy-soft); }

/* listy z zamkami na drucie (pionowo) */
.wire-list { position: relative; display: grid; gap: 0; }
.wire-list::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--teal); }
.wire-list li { position: relative; padding: 13px 0 13px 44px; border-bottom: 1px solid var(--line); font-size: 1.06rem; }
.wire-list li:last-child { border-bottom: 0; }
.wire-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 23px; height: 17px; margin-top: -8.5px; border-radius: 3px; background: var(--blue); }
.wire-list li::after { content: ""; position: absolute; left: 0; top: 50%; width: 23px; height: 3px; margin-top: -1.5px; background: #fff; opacity: .9; }
.wire-list li small { display: block; color: var(--ink-soft); font-size: var(--fs-small); }

/* rodzaje aparatów — siatka typograficzna */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.kind-group h3 { font-size: var(--fs-h3); padding-bottom: 14px; border-bottom: 2px solid var(--navy); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kind-group h3 small { font-family: var(--f-text); font-size: var(--fs-micro); font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }

/* Invisalign */
.aligner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.aligner .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); line-height: .9; letter-spacing: -.02em; }
.aligner .big small { display: block; font-size: .28em; letter-spacing: 0; margin-top: 18px; color: var(--teal); font-weight: 700; }
.aligner .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.aligner .opt { border-radius: 8px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line-navy); }
.aligner .opt span { display: block; font-size: var(--fs-small); color: var(--on-navy-soft); }
.aligner .opt b { display: block; font-family: var(--f-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-top: 8px; font-variant-numeric: lining-nums; }

/* etapy pionowo (podstrona ortodoncji) */
.timeline { counter-reset: st; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.timeline li:last-child { border-bottom: 1px solid var(--line-strong); }
.timeline .n { font-family: var(--f-display); font-size: 3rem; line-height: .9; font-weight: 700; color: var(--teal-ink); }
.timeline h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.timeline p, .timeline ul { color: var(--ink-soft); }
.timeline ul li { display: list-item; list-style: none; padding: 0; border: 0; grid-template-columns: none; }
.timeline ul { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.timeline ul li { font-size: var(--fs-small); padding: 4px 10px; border-radius: 4px; background: var(--mist); color: var(--ink); }

/* tabela cen (wspólna: podstrony + cennik) */
.prices { width: 100%; }
.price-group + .price-group { margin-top: clamp(36px, 4vw, 56px); }
.price-group > h3 { font-size: var(--fs-h3); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.price-group > h3 small { font-family: var(--f-text); font-size: var(--fs-micro); color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.price-group h4 { font-family: var(--f-text); font-size: var(--fs-small); font-weight: 650; color: var(--teal-ink); letter-spacing: 0; padding: 24px 0 6px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.price-row:hover { background: linear-gradient(90deg, transparent, var(--mist) 12%, var(--mist) 88%, transparent); }
.price-row .name { font-size: 1.04rem; }
.price-row .name small { display: block; color: var(--ink-soft); font-size: var(--fs-small); margin-top: 2px; }
.price-row .val { font-family: var(--f-display); font-weight: 700; font-size: 1.22rem; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.price-row .val i { font-style: normal; font-family: var(--f-text); font-size: var(--fs-micro); font-weight: 500; color: var(--ink-soft); margin-right: 4px; }
.price-row.is-feature .name { font-weight: 650; }
.price-row.is-feature .val { color: var(--teal-ink); }
.price-note { margin-top: 22px; font-size: var(--fs-small); color: var(--ink-soft); }

/* osoba prowadząca (podstrony usług) */
.lead-by { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; position: relative; }
.lead-by:hover { box-shadow: inset 0 0 0 2px var(--teal); }
.lead-by img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.lead-by small { color: var(--ink-soft); font-size: var(--fs-micro); display: block; }
.lead-by b { font-family: var(--f-display); font-size: 1.5rem; display: block; line-height: 1.15; }
.lead-by span { font-size: var(--fs-small); color: var(--ink-soft); }
.lead-by a::after { content: ""; position: absolute; inset: 0; }

/* pasek CTA na końcu podstron */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px 60px; align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.cta-band h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta-band p { color: var(--on-navy-soft); margin-top: 14px; max-width: 52ch; }
.cta-band .tel { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-band .tel a.num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; color: var(--teal); }
.cta-band .tel a.num:hover { color: #fff; }
.cta-band .tel small { color: var(--on-navy-soft); font-size: var(--fs-small); }

/* inne usługi (nawigacja między podstronami) */
.more-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.more-svc a { padding: 28px 24px 30px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line-strong); position: relative; }
.more-svc a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.more-svc a span { font-size: var(--fs-micro); color: var(--ink-soft); }
.more-svc a b { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; transition: color .25s; }
.more-svc a:hover b { color: var(--blue-ink); }
.more-svc svg { width: 20px; height: 20px; margin-top: auto; transition: transform .35s var(--ease-out); }
.more-svc a:hover svg { transform: translateX(6px); }

/* ==========================================================================
   Oferta — przegląd
   ========================================================================== */
.offer-blocks { display: grid; gap: clamp(72px, 10vw, 150px); }
.offer-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; }
.offer-block .img { grid-column: 1 / 8; position: relative; overflow: hidden; }
.offer-block .img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.offer-block:hover .img img { transform: scale(1.03); }
.offer-block .txt { grid-column: 8 / 13; }
.offer-block:nth-child(even) .img { grid-column: 6 / 13; grid-row: 1; }
.offer-block:nth-child(even) .txt { grid-column: 1 / 6; grid-row: 1; }
.offer-block.is-main .img { grid-column: 1 / 9; }
.offer-block.is-main .img img { aspect-ratio: 16 / 11; }
.offer-block.is-main .txt { grid-column: 9 / 13; }
.offer-block h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.offer-block p { margin-top: 16px; color: var(--ink-soft); }
.offer-block ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.offer-block ul li { font-size: var(--fs-small); padding: 5px 11px; border-radius: 4px; background: var(--mist); }
.offer-block .from { margin-top: 22px; font-size: var(--fs-small); color: var(--ink-soft); }
.offer-block .from b { font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); }
.offer-block .arrow-link { margin-top: 24px; }

/* ==========================================================================
   Zespół
   ========================================================================== */
.people { display: grid; gap: clamp(72px, 9vw, 140px); }
.person-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; }
.person-row .ph { grid-column: 1 / 6; position: relative; }
.person-row .ph .disc { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mist); max-width: 460px; }
.person-row .ph .disc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.person-row:hover .ph .disc img { transform: scale(1.04); }
.person-row .ph .rect { overflow: hidden; }
.person-row .ph .rect img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.person-row .txt { grid-column: 7 / 13; }
.person-row:nth-child(even) .ph { grid-column: 8 / 13; grid-row: 1; justify-self: end; width: 100%; }
.person-row:nth-child(even) .ph .disc { margin-left: auto; }
.person-row:nth-child(even) .txt { grid-column: 1 / 7; grid-row: 1; }
.person-row .title { font-size: var(--fs-small); color: var(--ink-soft); }
.person-row h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: .98; margin-top: 6px; }
.person-row .role { margin-top: 16px; font-weight: 600; }
.person-row p.bio { margin-top: 18px; color: var(--ink-soft); max-width: 54ch; }
.person-row .arrow-link { margin-top: 26px; }

/* strona osoby */
.bio-hero { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: end; padding-top: clamp(28px, 4vw, 56px); }
.bio-hero .portrait { position: relative; }
.bio-hero .portrait .frame { overflow: hidden; background: var(--mist); }
.bio-hero .portrait .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.bio-hero .portrait .disc-wrap { position: relative; aspect-ratio: 4 / 5; background: var(--teal); display: grid; place-items: center; overflow: hidden; }
.bio-hero .portrait .disc-wrap::before { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 6px; margin-top: -3px; background: var(--navy); }
.bio-hero .portrait .disc-wrap .disc { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--teal), 0 0 0 16px var(--navy); background: #fff; }
.bio-hero .portrait .disc-wrap .disc img { width: 100%; height: 100%; object-fit: cover; }
.bio-hero .portrait .tag { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 12px 18px; font-size: var(--fs-small); }
.bio-hero .title { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 22px; }
.bio-hero h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .94; letter-spacing: -.02em; margin-top: 8px; }
.bio-hero h1 span { display: block; }
.bio-hero .role { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.4; max-width: 30ch; }
.bio-body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 100px); }
.bio-body .prose p { font-size: 1.15rem; line-height: 1.7; }
.bio-body .prose p:first-child::first-line { color: var(--ink); font-weight: 600; }
.facts-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.facts-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: var(--fs-micro); color: var(--ink-soft); }
.facts-list dd { margin-top: 2px; font-weight: 600; }
.facts-list dd a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .22em; }
.facts-list dd a:hover { text-decoration-color: currentColor; }

.years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--navy); position: relative; }
.years li { padding: 26px 20px 0 0; position: relative; }
.years li::before { content: ""; position: absolute; left: 0; top: -14px; width: 26px; height: 22px; border-radius: 4px; background: var(--blue); }
.years li::after { content: ""; position: absolute; left: 0; top: -5px; width: 26px; height: 4px; background: #fff; }
.years b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.years span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-small); max-width: 26ch; }

.award { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.award img { width: 100%; max-width: 380px; box-shadow: 0 40px 80px -40px rgba(11, 42, 60, .5); transform: rotate(-2deg); background: #fff; }
.award h2 { font-size: var(--fs-h2); }
.award p { margin-top: 18px; color: var(--ink-soft); max-width: 50ch; }

.next-person { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.next-person a { display: flex; align-items: center; gap: 18px; }
.next-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.next-person small { display: block; font-size: var(--fs-micro); color: var(--ink-soft); }
.next-person b { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.next-person a:hover b { color: var(--blue-ink); }

/* ==========================================================================
   Cennik
   ========================================================================== */
.pricebook { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pb-nav { position: sticky; top: calc(var(--head) + 28px); }
.pb-nav ol { display: grid; gap: 2px; margin-top: 18px; }
.pb-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 4px; font-weight: 500; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.pb-nav a:hover { background: var(--mist); color: var(--ink); }
.pb-nav a.is-active { background: var(--navy); color: #fff; }
.pb-nav a span { font-size: var(--fs-micro); opacity: .7; font-variant-numeric: tabular-nums; }
.pb-search { position: relative; }
.pb-search input {
  width: 100%; height: 52px; padding: 0 16px 0 46px; border-radius: var(--radius);
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.pb-search input::placeholder { color: #5b7380; }
.pb-search input:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 4px rgba(7, 167, 227, .18); }
.pb-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-soft); }
.pb-empty { display: none; padding: 40px 0; color: var(--ink-soft); }
.pb-empty.is-shown { display: block; }
.pb-section { scroll-margin-top: calc(var(--head) + 24px); }
.pb-section + .pb-section { margin-top: clamp(56px, 7vw, 96px); }
.pb-section > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8px; }
.pb-section > header h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.pb-section > header a { font-size: var(--fs-small); }
.pb-section .price-group > h3 { font-size: 1.35rem; border-bottom-width: 1px; padding-top: 18px; }
.pb-section .price-group + .price-group { margin-top: 20px; }
[hidden] { display: none !important; }

/* ==========================================================================
   Galeria + lightbox
   ========================================================================== */
.gallery { columns: 3 320px; column-gap: clamp(12px, 1.6vw, 20px); }
.gallery figure { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px); }
.gallery button { display: block; width: 100%; position: relative; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 1s var(--ease-out), filter .6s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: var(--fs-micro); color: var(--ink-soft); margin-top: 8px; }

.lb { position: fixed; inset: 0; z-index: var(--z-modal); width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(7, 29, 42, .96); color: #fff; }
.lb::backdrop { background: rgba(7, 29, 42, .6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lb-count { font-variant-numeric: tabular-nums; color: var(--on-navy-soft); font-size: var(--fs-small); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 100px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 3px; animation: lbImg .45s var(--ease-out); }
@keyframes lbImg { from { opacity: 0; transform: scale(.985); } }
.lb-cap { padding: 14px var(--gutter) 22px; text-align: center; color: var(--on-navy-soft); font-size: var(--fs-small); min-height: 56px; }
.lb-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--teal); color: var(--navy); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -26px; }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; grid-template-columns: 6fr 6fr; gap: 0; }
.contact .info { padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 88px) 0; }
.contact .info h1 { font-size: var(--fs-h1); margin-top: 18px; }
.contact .tel-big { display: inline-block; margin-top: 36px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; color: var(--navy); transition: color .25s; }
.contact .tel-big:hover { color: var(--blue-ink); }
.contact .tel-label { display: block; margin-top: 28px; font-size: var(--fs-small); color: var(--ink-soft); }
.contact .week { max-width: none; }
.contact .week div { background: var(--mist); box-shadow: none; }
.contact .week b { color: var(--ink-soft); }
.contact .week span { color: #7d939f; }
.contact .week .open { background: var(--teal); }
.contact .week .open b { color: var(--teal-deep); }
.contact .week .open span { color: var(--navy); }
.contact .rows { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.contact .rows div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact .rows dt { font-size: var(--fs-small); color: var(--ink-soft); }
.contact .rows dd { font-size: 1.15rem; font-weight: 600; }
.contact .rows dd a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .22em; }
.contact .rows dd a:hover { text-decoration-color: currentColor; color: var(--blue-ink); }
.contact .nfz { margin-top: 28px; }
.contact .map-col { position: relative; min-height: 560px; background: var(--mist); margin-right: calc(var(--gutter) * -1); }
.contact .map-col iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.wayfind { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: end; }
.wayfind .a { grid-column: 1 / 8; }
.wayfind .b { grid-column: 8 / 13; }
.wayfind img { width: 100%; object-fit: cover; }
.wayfind .a img { aspect-ratio: 3 / 2; }
.wayfind .b img { aspect-ratio: 16 / 9; object-position: 50% 40%; }
.wayfind figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.wayfind h2 { font-size: var(--fs-h2); margin-bottom: 18px; }

/* ==========================================================================
   Ruch: odsłanianie przy przewijaniu (bez blokowania treści)
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
      animation: revealUp linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    [data-reveal="img"] { animation-name: revealImg; animation-range: entry 0% entry 70%; }
    [data-reveal="fade"] { animation-name: revealFade; }
  }
}
@keyframes revealUp { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: none; } }
@keyframes revealFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes revealImg { from { clip-path: inset(14% 0 0 0); transform: translateY(30px); } to { clip-path: inset(0 0 0 0); transform: none; } }

/* wejście strony */
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .9s var(--ease-out) both; }
  .enter-2 { animation: enter .9s var(--ease-out) .12s both; }
  .enter-3 { animation: enter .9s var(--ease-out) .24s both; }
  .enter-img { animation: enterImg 1.3s var(--ease-out) .1s both; }
  ::view-transition-old(root) { animation: vtOut .35s var(--ease-out) both; }
  ::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
}
@keyframes enter { from { opacity: 0; transform: translateY(24px); } }
@keyframes enterImg { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 18px; font-size: .94rem; }
  .head-call span { display: none; }
}
@media (max-width: 1024px) {
  :root { --head: 72px; }
  .nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 36px; }

  .hero { grid-template-columns: [full-start] var(--gutter) [content-start] minmax(0, 1fr) [content-end] var(--gutter) [full-end]; min-height: 0; }
  .hero-copy { grid-column: content-start / content-end; padding: 40px 0 44px; }
  .hero-media { grid-column: full-start / full-end; grid-row: 2; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-media .inset { left: var(--gutter); bottom: auto; top: -36px; width: clamp(140px, 30vw, 220px); }

  .statement { grid-template-columns: 1fr; }
  .statement figure { max-width: 420px; }
  .index-head, .team-intro { flex-direction: column; align-items: flex-start; grid-template-columns: 1fr; }
  .team-intro p { justify-self: start; }
  .spread-head, .steps-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before { display: none; }
  .steps li { padding-top: 0; }
  .steps li::before { top: -44px; }
  .steps li::after { top: -30px; }
  .steps { padding-top: 44px; }
  .visit { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .svc-hero { grid-template-columns: [full-start] var(--gutter) [content-start] minmax(0, 1fr) [content-end] var(--gutter) [full-end]; min-height: 0; }
  .svc-hero .copy { grid-column: content-start / content-end; padding: 32px 0 40px; }
  .svc-hero h1 { padding-top: 28px; }
  .svc-hero .media { grid-column: full-start / full-end; grid-row: 2; aspect-ratio: 16 / 10; min-height: 0; }
  .split, .bio-body, .award, .aligner { grid-template-columns: 1fr; }
  .split .side .sticky { position: static; }
  .pricebook { grid-template-columns: 1fr; }
  .pb-nav { position: static; }
  .pb-nav ol { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .pb-nav ol::-webkit-scrollbar { display: none; }
  .pb-nav a { white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
  .contact { grid-template-columns: 1fr; }
  .contact .info { padding-right: 0; }
  .contact .map-col { margin-inline: calc(var(--gutter) * -1); min-height: 420px; }
  .bio-hero { grid-template-columns: 1fr 1fr; }
  .offer-block .img, .offer-block .txt, .offer-block:nth-child(even) .img, .offer-block:nth-child(even) .txt,
  .offer-block.is-main .img, .offer-block.is-main .txt { grid-column: 1 / -1; grid-row: auto; }
  .person-row .ph, .person-row .txt, .person-row:nth-child(even) .ph, .person-row:nth-child(even) .txt { grid-column: 1 / -1; grid-row: auto; }
  .person-row .ph, .person-row:nth-child(even) .ph { max-width: 380px; justify-self: start; }
  .person-row:nth-child(even) .ph .disc { margin-left: 0; }
  .more-svc { grid-template-columns: 1fr; }
  .more-svc a + a { padding-left: 0; border-left: 0; }
  .years { grid-template-columns: 1fr 1fr; row-gap: 44px; border-top: 0; }
  .years li { border-top: 4px solid var(--navy); }
}
@media (max-width: 720px) {
  :root { --fs-body: 1rem; }
  .callbar { display: block; }
  .site-foot { padding-bottom: 104px; }
  .hero-place { margin-bottom: 22px; }
  .hero-media { aspect-ratio: 5 / 4; }
  .hero-media .main img { object-position: 30% 50%; }
  .hero-media .credit { display: none; }
  .hero-media .inset { top: auto; bottom: -28px; left: auto; right: var(--gutter); width: 150px; }
  .hero-media .inset img { border-width: 4px; }
  .hero-media .inset figcaption { color: var(--ink-soft); text-shadow: none; }
  .btn { width: 100%; }
  .hero-actions { gap: 16px; }
  .statement .about { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr auto; padding: 22px 0; }
  .svc-row .desc { grid-column: 1 / -1; grid-row: 2; }
  .svc-row .go { width: 44px; height: 44px; }
  .spread { grid-template-columns: 1fr 1fr; }
  .spread .s1 { grid-column: 1 / -1; grid-row: auto; }
  .spread .s2, .spread .s3 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .spread .s4 { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .steps { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; padding-left: 56px; }
  .steps::before { display: block; left: 17px; right: auto; top: 20px; bottom: 40px; width: 4px; height: auto; }
  .steps li { padding: 0 0 36px; }
  .steps li::before { left: -56px; top: 0; }
  .steps li::after { left: -56px; top: 14px; }
  .team-smile { grid-template-columns: 1fr; gap: 48px; }
  .team-smile svg.arc { display: none; }
    .member .ph { width: 220px; }
  .week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .week div { padding: 10px 6px; min-height: 78px; }
  .week span { font-size: .78rem; }
  .visit-meta { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .kinds { grid-template-columns: 1fr; gap: 36px; }
  .aligner .opts { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 14px; }
  .timeline .n { font-size: 2.2rem; }
  .bio-hero { grid-template-columns: 1fr; }
  .bio-hero .portrait { max-width: 420px; }
  .contact .rows div { grid-template-columns: 1fr; gap: 2px; }
  .wayfind .a, .wayfind .b { grid-column: 1 / -1; }
  .price-row { grid-template-columns: 1fr; gap: 2px; }
  .price-row .val { text-align: left; }
  .next-person { flex-direction: column; align-items: flex-start; }
  .gallery { columns: 2 140px; }
}

/* ==========================================================================
   Uzupełnienia komponentów
   ========================================================================== */
.sec--mist .svc-row::before { background: #fff; }
.band-teal .btn:hover { background: #fff; color: var(--navy); }
.band-teal .arrow-link { text-decoration-color: rgba(11, 42, 60, .35); }

/* zespół na stronie głównej: łuk uśmiechu */
.m-left { grid-column: 1; grid-row: 1; }
.m-center { grid-column: 2; grid-row: 1; margin-top: clamp(40px, 7vw, 110px); }
.m-right { grid-column: 3; grid-row: 1; }
.team-smile svg.arc { height: clamp(240px, 30vw, 420px); }
.team-more { margin-top: clamp(40px, 5vw, 64px); text-align: center; }

/* higiena: trzy etapy */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* RTG */
.xray-list .svc-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; }
.xray-list .svc-row::before { display: none; }
.xray-list .svc-row:hover h3 { transform: none; }
.xray-list .xp { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; font-variant-numeric: lining-nums; }
.xray-list .xp i { font-style: normal; font-family: var(--f-text); font-size: .5em; font-weight: 500; color: var(--ink-soft); margin-right: 4px; }
.svc-hero .media--stat { background: var(--navy); color: #fff; display: grid; place-items: center; }
.stat-inner { position: relative; padding: 40px var(--gutter); text-align: center; width: 100%; }
.stat-inner .arch { position: absolute; left: 50%; top: 50%; width: min(86%, 560px); transform: translate(-50%, -58%); opacity: .9; }
.stat-inner .arch path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.stat-num { position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 13vw, 11rem); line-height: .9; letter-spacing: -.03em; color: #fff; font-variant-numeric: lining-nums; }
.stat-num span { color: var(--teal); font-size: .55em; margin-left: .06em; vertical-align: .35em; }
.stat-cap { position: relative; margin: 18px auto 0; max-width: 26ch; color: var(--on-navy-soft); font-size: var(--fs-lead); line-height: 1.4; }

/* zespół — Paulina: zdjęcie przy pracy + odznaka z portretem */
.person-row .ph .rect--paulina img { object-position: 74% 40%; }
.person-row .ph .badge { position: absolute; right: -18px; bottom: -28px; width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }

/* strona osoby */
.bio-head { padding-bottom: 8px; }
.award figure { justify-self: center; }
.quote-sm { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote-sm p { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; color: var(--ink); }
.pull { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.15; max-width: 24ch; color: var(--navy); }
.pull span { display: block; font-weight: 700; }

/* oferta — kafel zdjęcia jako link */
.offer-block a.img { display: block; }
.offer-block h2 a { transition: color .25s; }
.offer-block h2 a:hover { color: var(--blue-ink); }

@media (max-width: 1024px) {
  .steps--3 { grid-template-columns: 1fr 1fr; }
  .person-row .ph .badge { right: 12px; width: 100px; height: 100px; }
}
@media (max-width: 720px) {
  .m-left, .m-center, .m-right { grid-column: auto; grid-row: auto; margin-top: 0; }
  .steps--3 { grid-template-columns: 1fr; }
  .xray-list .svc-row { grid-template-columns: 1fr auto; }
  .stat-inner { padding: 56px var(--gutter); }
}
.hero-media .inset { background: #fff; padding: 6px 6px 10px; box-shadow: 0 30px 60px -30px rgba(11, 42, 60, .55); }
.hero-media .inset img { border: 0; box-shadow: none; }
.hero-media .inset figcaption { color: var(--ink-soft); text-shadow: none; margin-top: 8px; padding-left: 4px; }
.split > .side h2, .split .side .h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); }
.wayfind .b img { aspect-ratio: 2 / 1; object-position: 50% 50%; }
.offer-block .img-stat { display: grid; place-content: center; text-align: center; gap: 14px; aspect-ratio: 4 / 3; background: var(--navy); color: #fff; padding: 32px; }
.offer-block .img-stat b { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.offer-block .img-stat i { font-style: normal; color: var(--teal); font-size: .55em; vertical-align: .35em; margin-left: .05em; }
.offer-block .img-stat span { color: var(--on-navy-soft); max-width: 26ch; margin-inline: auto; }
.split > .side h2, .split .side .h2 { font-size: clamp(2rem, 3.3vw, 3.1rem); }
.wayfind .b img { aspect-ratio: 2 / 1; object-position: 50% 50%; }
.offer-block .img-stat { display: grid; place-content: center; text-align: center; gap: 14px; aspect-ratio: 4 / 3; background: var(--navy); color: #fff; padding: 32px; }
.offer-block .img-stat b { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.offer-block .img-stat i { font-style: normal; color: var(--teal); font-size: .55em; vertical-align: .35em; margin-left: .05em; }
.offer-block .img-stat span { color: var(--on-navy-soft); max-width: 26ch; margin-inline: auto; }
.pricebook > *, .split > *, .contact > *, .bio-body > *, .visit > *, .hero > *, .svc-hero > * { min-width: 0; }
@media (max-width: 720px) {
  .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; }
  .price-row .val { text-align: right; font-size: 1.1rem; }
  .price-row .name { font-size: .98rem; }
}
