/* Medpoint Sport — kolory wg księgi znaku (NCS S 5010-G10Y + grafit) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sage: #6F8376;        /* zieleń bazowa */
  --sage-deep: #4E6056;   /* zieleń do tekstu na bieli (kontrast AA) */
  --sage-pale: #B9C6BD;   /* zieleń na grafitowym tle */
  --mist: #EEF1EE;        /* tło sekcji */
  --graphite: #29332F;    /* grafit uzupełniający */
  --graphite-2: #323D38;
  --white: #FFFFFF;
  --line: #D6DDD8;

  --font: "Archivo", "DejaVu Sans", system-ui, sans-serif;
  --wide: "wdth" 125;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; font-variation-settings: var(--wide); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.125rem; font-variation-settings: "wdth" 112; letter-spacing: 0; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--graphite); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.link { color: var(--sage-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--graphite); }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 700 1rem/1 var(--font); font-variation-settings: "wdth" 110;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--sage { background: var(--sage-deep); color: var(--white); }
.btn--sage:hover { background: var(--white); color: var(--graphite); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--light { background: var(--white); color: var(--graphite); }
.btn--light:hover { background: var(--sage-pale); }

/* Pasek nawigacji */
.bar { position: sticky; top: 0; z-index: 20; background: var(--graphite); color: var(--white); }
.bar__in { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; }
.bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.bar__brand img { width: 48px; height: auto; }
.bar__name { display: grid; line-height: 1.1; }
.bar__name strong { font-weight: 700; font-variation-settings: "wdth" 115; font-size: 1.0625rem; }
.bar__name small { font-size: .8125rem; color: var(--sage-pale); font-weight: 500; letter-spacing: .01em; }
.bar__tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  background: var(--white); color: var(--graphite); border-radius: 999px; text-decoration: none;
  font-weight: 750; font-variation-settings: "wdth" 110; font-size: .9375rem; white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.bar__tel:hover { background: var(--sage-pale); }
.bar__tel svg { color: var(--sage-deep); }
.bar__nav { display: flex; align-items: center; gap: 28px; }
.bar__nav a:not(.btn) { text-decoration: none; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.82); padding: 6px 0; border-bottom: 2px solid transparent; }
.bar__nav a:not(.btn):hover { color: var(--white); border-color: var(--sage); }
.bar__nav .btn { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.bar__toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--graphite); color: var(--white); isolation: isolate; }
.hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__swoosh { fill: var(--sage); opacity: .6; }
.hero__point { fill: var(--sage); }
.hero__in { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 11vh, 128px) var(--gutter) clamp(56px, 9vh, 104px); }
.hero__place { color: var(--sage-pale); font-weight: 500; font-size: 1rem; margin-bottom: 20px; }
.hero__title {
  font-size: clamp(3.1rem, 10.5vw, 9.5rem);
  font-weight: 850; font-variation-settings: "wdth" 125;
  letter-spacing: -0.035em; line-height: .92;
  max-width: 11ch;
}
.hero__lead { margin-top: 32px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  list-style: none; padding: 28px 0 0; margin: clamp(56px, 9vh, 96px) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .9375rem; color: rgba(255,255,255,.74); max-width: 900px;
}
.hero__facts strong { display: block; color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 2px; }

/* Jedyny ruch bez akcji użytkownika: łuk (noga z sygnetu) dobiega do punktu z litery O */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__swoosh { clip-path: inset(0 100% 0 0); animation: draw 1.3s .15s var(--ease) forwards; }
  .js .hero__point { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s 1.25s cubic-bezier(.3,1.6,.5,1) forwards; }
}
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes pop { to { transform: scale(1); } }

/* Przewodnik „Do kogo się zapisać?” */
.guide { background: var(--mist); padding: clamp(72px, 10vw, 130px) 0; }
.guide__grid {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas: "head head head" "fig pick result" "fig pick note";
  gap: 0 clamp(28px, 4vw, 64px); align-items: start;
}
.guide__head { grid-area: head; margin-bottom: 48px; }
.guide__head p { margin-top: 16px; max-width: 34em; }
.guide__figure { grid-area: fig; }
.body { width: 100%; height: auto; overflow: visible; }
.body__shape { fill: #CFD8D2; }
.body__shape .limb { fill: none; stroke: #CFD8D2; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.body__shape .limb--leg { stroke-width: 30; }
.zone { fill: var(--sage); stroke: var(--mist); stroke-width: 4; cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform .2s var(--ease), fill .2s var(--ease); }
.zone:hover { transform: scale(1.25); }
.zone.is-on { fill: var(--graphite); transform: scale(1.35); }
.guide__pick { grid-area: pick; }
.chips { border: 0; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-variation-settings: "wdth" 112; }
.chip {
  font: 500 .9375rem/1.2 var(--font); color: var(--graphite); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover { border-color: var(--sage); }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.guide__result { grid-area: result; background: var(--white); border-top: 3px solid var(--sage); padding: 28px; min-height: 260px; scroll-margin-top: 96px; }
.result__empty { color: #4A5550; }
.result__lead { font-size: .9375rem; color: var(--sage-deep); font-weight: 600; }
.result__name { margin-top: 6px; font-size: clamp(1.75rem, 3vw, 2.375rem); }
.result__name a { text-decoration: none; }
.result__name a:hover { color: var(--sage-deep); }
.result__why { margin-top: 12px; }
.result__alarm { margin-top: 16px; padding: 12px 14px; background: #F6EDEA; border-left: 3px solid #A8483A; font-size: .9375rem; }
.result__alarm a { font-weight: 700; }
.result__also { margin-top: 16px; font-size: .9375rem; }
.result__also a { color: var(--sage-deep); font-weight: 600; }
.result__cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.guide__result.is-new { animation: settle .35s var(--ease); }
@keyframes settle { from { opacity: .3; transform: translateY(6px); } }
.guide__note { grid-area: note; margin-top: 16px; font-size: .875rem; color: #4A5550; }
.guide__note a { font-weight: 700; }

/* Specjaliści */
.spec { padding: clamp(80px, 12vw, 160px) 0; }
.spec__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.spec__intro { position: sticky; top: 112px; }
.spec__intro p { margin: 24px 0 20px; max-width: 30em; }
.spec__groups { columns: 2; column-gap: 48px; }
.spec__group + .spec__group { margin-top: 0; }
.spec__group { break-inside: avoid; margin-bottom: 56px; }
.spec__group { border-top: 2px solid var(--graphite); padding-top: 20px; }
.spec__group h3 { font-size: 1.0625rem; color: var(--sage-deep); }
.spec__group dl { margin: 8px 0 0; }
.spec__group dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec__group dt { font-weight: 750; font-variation-settings: "wdth" 115; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
.spec__group dt a { text-decoration: none; background: linear-gradient(var(--sage), var(--sage)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.spec__group dt a:hover { background-size: 100% 2px; color: var(--sage-deep); }
.spec__group dd { margin: 4px 0 0; font-size: .9688rem; color: #4A5550; }
.spec__group .link { display: inline-block; margin-top: 16px; }
.spec__group--sport { border-top-color: var(--sage); }
.spec__group--sport dt::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .35em; border-radius: 50%; background: var(--sage); vertical-align: .15em; }

/* Centrum medycyny sportowej */
.zakres { background: var(--mist); padding: clamp(80px, 12vw, 160px) 0; }
.zakres__mark { width: 72px; margin-bottom: 28px; }
.zakres__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.zakres__intro { position: sticky; top: 112px; }
.zakres__intro p { margin: 24px 0 20px; max-width: 30em; }
.zakres__list { border-top: 2px solid var(--graphite); }
.zakres__list details { border-bottom: 1px solid var(--line); }
.zakres__list summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
}
.zakres__list summary::-webkit-details-marker { display: none; }
.zakres__list summary::after, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background:
    linear-gradient(var(--sage-deep), var(--sage-deep)) center / 18px 2px no-repeat,
    linear-gradient(var(--sage-deep), var(--sage-deep)) center / 2px 18px no-repeat;
  transition: transform .25s var(--ease);
}
details[open] > summary::after { transform: rotate(45deg); }
.z__name { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 750; font-variation-settings: "wdth" 118; letter-spacing: -0.015em; line-height: 1.15; }
.z__hint { color: var(--sage-deep); font-size: .9375rem; }
.z__body { padding: 0 48px 28px 0; max-width: 40em; }
.zakres__list summary:hover .z__name { color: var(--sage-deep); }

/* Ścieżka pacjenta */
.sciezka { background: var(--white); padding: clamp(80px, 12vw, 150px) 0; }
.sciezka h2 { max-width: 16ch; }
.sciezka__lead { margin-top: 20px; max-width: 34em; }
.steps { --p: 0; list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: var(--line); border-radius: 3px; }
.steps::after { background: var(--sage); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; padding-top: 52px; counter-increment: s; }
.step__dot { position: absolute; top: 0; left: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--white); border: 3px solid var(--sage); z-index: 1; }
.step__dot { transition: background-color .3s var(--ease); }
.step.is-on .step__dot { background: var(--sage); }
.step h3 { font-size: 1.375rem; }
.step h3::before { content: counter(s) ". "; color: var(--sage-deep); }
.step p { margin-top: 12px; font-size: 1rem; }

/* Badania sportowe */
.badania { background: var(--graphite); color: var(--white); padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.badania::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid var(--graphite-2); }
.badania__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.badania h2 { max-width: 14ch; }
.badania__grid > div > p { margin-top: 24px; max-width: 32em; color: rgba(255,255,255,.86); }
.badania__info { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.badania__info div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.badania__info dt, .kontakt__info dt { font-weight: 700; font-variation-settings: "wdth" 112; }
.badania__info dt { color: var(--sage-pale); }
.badania__info dd, .kontakt__info dd { margin: 6px 0 0; }
.badania__info a { color: var(--white); }

/* Formularz zgłoszenia drużyny */
.team { background: var(--white); color: var(--graphite); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; }
.team h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.team__intro { margin-top: -4px; font-size: 1rem; }
.team__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: #4A5550; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--graphite); background: var(--white);
  border: 1.5px solid var(--sage); border-radius: 6px; padding: 11px 12px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 0; border-color: var(--sage-deep); }
.field input[aria-invalid="true"], .consent input[aria-invalid="true"] { border-color: #A8483A; outline-color: #A8483A; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .875rem; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sage-deep); }
.team .btn--light { background: var(--graphite); color: var(--white); justify-self: start; }
.team .btn--light:hover { background: var(--sage-deep); }
.team .btn--light:disabled { opacity: .6; cursor: progress; }
.team__error { color: #A8483A; font-weight: 600; font-size: .9375rem; }
.team__done { background: var(--mist); border-left: 3px solid var(--sage); padding: 12px 14px; font-size: .9375rem; }

/* Pasek szybkiego kontaktu (telefony) */
.callbar { display: none; }

/* Pytania */
.pytania { padding: clamp(80px, 12vw, 150px) 0; }
.pytania__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 2px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-weight: 650; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sage-deep); }
.faq details p { padding: 0 48px 24px 0; max-width: 40em; }

/* Kontakt */
.kontakt { background: var(--mist); padding: clamp(80px, 11vw, 140px) 0; }
.kontakt__grid { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 96px); align-items: end; }
.kontakt__tel {
  display: inline-block; margin: 20px 0 24px;
  font-size: clamp(2.25rem, 6.4vw, 5.25rem); font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -0.03em; line-height: 1; text-decoration: none; color: var(--graphite);
  background: linear-gradient(var(--sage), var(--sage)) 0 100% / 0 6px no-repeat;
  transition: background-size .35s var(--ease); padding-bottom: 8px; white-space: nowrap;
}
.kontakt__tel:hover { background-size: 100% 6px; }
.kontakt__main p { max-width: 32em; }
.kontakt__info { margin: 0; border-top: 2px solid var(--graphite); }
.kontakt__info div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kontakt__info dt { color: var(--sage-deep); }

/* Stopka */
.foot { background: var(--graphite); color: rgba(255,255,255,.72); padding: 72px 0 40px; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end; }
.foot__logo { width: 240px; }
.foot__copy { justify-self: end; }
.foot__top { color: var(--white); }

/* Podstrony specjalizacji */
.sp-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--graphite); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.sp-hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: var(--sage); }
.sp-hero__arc path { opacity: .35; }
.crumbs { font-size: .875rem; color: var(--sage-pale); margin-bottom: clamp(32px, 5vw, 56px); }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs span[aria-current] { color: var(--white); }
.sp-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.5rem); font-weight: 850; letter-spacing: -0.03em; max-width: 14ch; }
.sp-hero__lead { margin-top: 24px; max-width: 36em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); }
.sp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 7vw, 112px); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.sp__main > section + section { margin-top: clamp(56px, 7vw, 88px); }
.sp__main h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 28px; }
.sp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 2px solid var(--graphite); }
.sp__list li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); }
.sp__list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.sp__list--plain { grid-template-columns: 1fr; }
.sp__alarm { margin-top: 24px; padding: 14px 16px; background: #F6EDEA; border-left: 3px solid #A8483A; max-width: 44em; }
.sp__alarm a { font-weight: 700; }
.sp__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.sp__steps li { counter-increment: s; border-top: 3px solid var(--sage); padding-top: 18px; }
.sp__steps h3::before { content: counter(s) ". "; color: var(--sage-deep); }
.sp__steps p { margin-top: 10px; font-size: 1rem; }
.sp__aside { position: sticky; top: 104px; display: grid; gap: 40px; }
.sp__card { background: var(--mist); padding: 28px; }
.sp__card h2, .sp__related h2 { font-size: 1.375rem; }
.sp__tel { display: block; margin: 10px 0 18px; font-size: 1.75rem; font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.02em; color: var(--graphite); text-decoration: none; }
.sp__tel:hover { color: var(--sage-deep); }
.sp__card .kontakt__info { font-size: .9375rem; }
.sp__related ul { list-style: none; padding: 0; margin: 14px 0 0; border-top: 2px solid var(--graphite); }
.sp__related li { border-bottom: 1px solid var(--line); }
.sp__related a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; }
.sp__related a:hover { color: var(--sage-deep); }
.sp__sport { margin-top: 16px; font-size: .9375rem; }

/* Strona 404 */
.nf { background: var(--graphite); color: var(--white); min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.nf h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 850; max-width: 12ch; }
.nf p { margin-top: 20px; max-width: 32em; color: rgba(255,255,255,.86); }

/* Responsywność */
@media (max-width: 1080px) {
  .guide__grid { grid-template-columns: 180px minmax(0, 1fr); grid-template-areas: "head head" "fig result" "fig note" "pick pick"; }
  .guide__pick { margin-top: 40px; }
  .nav-ready .bar__toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px;
    font: 600 .9375rem var(--font); cursor: pointer;
  }
  .bar__in { flex-wrap: wrap; }
  .bar__nav { width: 100%; }
  .nav-ready .bar__nav { position: absolute; left: 0; right: 0; top: 100%; width: auto; }
  .bar__nav {
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--graphite); padding: 8px var(--gutter) 24px; border-top: 1px solid rgba(255,255,255,.12);
    max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-ready .bar__nav:not(.is-open) { display: none; }
  .bar__nav a:not(.btn) { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .bar__tel { margin-left: auto; }
  .bar__brand { margin-right: 0; }
  .spec__grid, .zakres__grid, .pytania__grid, .badania__grid, .kontakt__grid { grid-template-columns: 1fr; }
  .zakres__intro, .spec__intro { position: static; }
  .sp { grid-template-columns: 1fr; }
  .sp__aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 600px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--graphite); box-shadow: 0 -1px 0 rgba(255,255,255,.08);
    transition: transform .25s var(--ease);
  }
  .callbar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .callbar__tel { background: var(--white); color: var(--graphite); }
  .callbar__guide { color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
  body { padding-bottom: 76px; }
  .team__row { grid-template-columns: 1fr; }
  .sp-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); font-variation-settings: "wdth" 105; }
  .sp-hero__arc circle { display: none; }
  .sp__list, .sp__steps { grid-template-columns: 1fr; }
  .guide__grid { grid-template-columns: 1fr; grid-template-areas: "head" "pick" "result" "note"; }
  .guide__figure { display: none; }
  .guide__pick { margin-top: 0; }
  .guide__head { margin-bottom: 32px; }
  .bar__in { padding-top: 8px; padding-bottom: 0; gap: 12px; }
  .bar__brand img { width: 40px; }
  .bar__toggle { margin-left: auto; }
  .bar__tel {
    order: 5; flex: 1 0 100%; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; justify-content: center;
    min-height: 40px; background: var(--sage-deep); color: var(--white); font-size: 1rem;
  }
  .bar__tel svg { color: var(--white); }
  .bar__tel:hover { background: var(--sage); }
  html { scroll-padding-top: 130px; }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; padding-left: 44px; row-gap: 36px; }
  .steps::before, .steps::after { display: block; left: 11px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p)); }
  .step { padding-top: 0; }
  .step__dot { left: -44px; }
  .spec__groups { columns: 1; }
  .spec__group { margin-bottom: 40px; }
  .foot__grid { grid-template-columns: 1fr; justify-items: start; }
  .foot__copy { justify-self: start; }
  .kontakt__tel { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
