/* ===== 00-baza.css ===== */
/* Base: reset, body, headings, section shells, eyebrow, buttons, check list. No Title Case anywhere (the source capitalised titles; in Polish that is a spelling error).
   Values measured on the source at 375/576/768/992/1199/1281/1400/1481/1681/1920 (referencje/style/sonda-*.json). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; }  /* exception: fallback for text outside every role (each role sets its own --lh-*) */
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }  /* hidden by a script or the server never shows, whatever the component display */
a { color: inherit; text-decoration: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }

/* One keyboard focus ring for every interactive element (F50, DESIGN.md rule 13): 2 px of --color-focus, 2 px off the element.
   Exceptions in the components: white on the pink breadcrumb pill (graphite there would be 2.45:1), and a card whose whole
   box is the link draws the ring on the card (:has(:focus-visible)). */
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Browser surfaces (AD-11): selected text, the text cursor and native controls (checkbox, radio, range) in the Femedis pink
   instead of the browser blue. Selection: white on pink, 4.65:1. Nothing changes at rest. */
:root { accent-color: var(--color-primary); caret-color: var(--color-primary); }
::selection { background-color: var(--color-primary); color: var(--color-on-dark); }

/* a paragraph is never wider than --measure-loose (70ch; the reading line of long text is --measure, F12); in centred heads
   the paragraph stays centred (v10) */
p { max-width: var(--measure-loose); }
:is(.section-head--center, .tabs__head) > p { margin-inline: auto; }

/* body text role: 14/20, 16/24 from 576 (--fs-body, --lh-body) */
body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: clip;
}

/* headings h1-h4 (T-07): title colour and bold unless the component gives the weight of its role; no single word in the last line */
h1, h2, h3, h4 { font-family: var(--font-base); color: var(--color-title); font-weight: var(--fw-bold); text-wrap: pretty; }
p { margin-bottom: var(--stack-s); }

/* Section shell: pt 40 / 50 (576) / 70 (768) / 100 (1480); pb 40 / 70 (1480), from --section-pt / --section-pb */
.section { padding-top: var(--section-pt); padding-bottom: var(--section-pb); background-color: var(--color-bg); }
.section--light { background-color: var(--color-bg-soft); }
.section--line { border-top: 1px solid var(--color-border); }
/* a page without a banner (EN, 404): its first section starts below the header, which lies over the top of every page */
/* the notice slot (K-09) comes first there: shown, it starts below the header; empty (hidden), the section after it does */
.page-content > .notice-slot:first-child { padding-top: var(--hero-clear); }
.page-content > .notice-slot:first-child:not(:has(.notice:not([hidden]))) + .section { padding-top: var(--hero-clear); }

/* Heading block above section content: mb 20 / 30 (992), --section-head-gap */
.section-head { margin-bottom: var(--section-head-gap); }
.section-head--center { text-align: center; }

/* Eyebrow: uppercase pink label, no icon (the shield left in v15, Konrad 4.12) (eyebrow role, semibold); pink from --color-accent, so it turns graphite on a surface
   where pink fails AA (T-03) */
.eyebrow { color: var(--color-accent); font-weight: var(--fw-eyebrow); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); text-transform: uppercase; margin-bottom: var(--stack-xs); }
/* Small label (F14): one look for every small label above a title, the footer label of v10: label role (14/20 bold), uppercase
   with --tracking-label, --color-accent, no icon. With .eyebrow (.eyebrow.eyebrow--s) or as the look of a component label;
   the components keep only their spacing. */
.eyebrow--s, .ftr__eyebrow, .perf-card__field, .reviewer__label, .booking__label, .guide-card__tag, .steps__body::before {
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--fw-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--color-accent);
}

/* Section title (section role): 28/39.2, 35/45.5 (576), 38/49.4 (992), 50/60 (1480); bold, capitalised */
.title { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-section); margin-bottom: var(--stack-xs); color: var(--color-title); }
.title .hl { color: var(--color-primary); }

/* Body text block (body role): 16/24 at every width (consistency audit 4.12: 14 px on phones read as a second body size) */
.text { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); margin-bottom: var(--stack-s); }

/* Buttons. Base .btn: inline-flex, border 1px, leading tight, nowrap; padding 15/25 (source 14/25); hover colours fade like every hover */
.btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative; white-space: nowrap; cursor: pointer;
  font-size: var(--fs-btn); font-weight: var(--fw-btn); line-height: var(--lh-btn); padding: var(--space-15) var(--space-25); border: 1px solid; border-radius: var(--radius-pill);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.btn--primary { border-color: var(--color-primary); background-color: var(--color-primary); color: var(--color-on-dark); }
.btn--secondary { border-color: var(--color-bg-dark); background-color: var(--color-bg-dark); color: var(--color-on-dark); }
@media (hover: hover) {
  .btn--primary:hover { background-color: var(--color-primary-hover); border-color: var(--color-primary-hover); }
  .btn--secondary:hover { background-color: var(--color-dark-hover); border-color: var(--color-dark-hover); }
}
/* pressed (K-03): the hover colour, also on touch screens, which have no hover; no movement */
.btn--primary:active { background-color: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn--secondary:active { background-color: var(--color-dark-hover); border-color: var(--color-dark-hover); }
/* Outlined pill (K-07, AD-08): the one secondary action of the system (Kopiuj, Prowadź do celu, Zmień osobę, Ustawienia cookies,
   ZnanyLekarz, links to other services, anchor chips). 48 px, graphite outline, small semibold text, a pink icon; under the
   pointer and pressed it fills graphite. Chosen or current (aria-current="true": the anchor chip of the section, the view of the
   price list): the graphite fill of --color-selected, unchanged under the pointer. The CookieYes "Dostosuj" button has the same
   look in its skin (63-tresci.css), because the CookieYes markup cannot take this class. */
.btn--outline {
  justify-content: center; gap: var(--space-8); min-height: var(--target); padding: var(--space-10) var(--space-20);
  background-color: var(--color-bg); color: var(--color-title);  /* the 1 px border of .btn is currentColor: graphite */
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold);
}
.btn.btn--outline .ico { margin: 0; color: var(--color-primary); font-size: var(--ico-s); }
@media (hover: hover) {
  .btn--outline:hover { border-color: var(--color-bg-dark); background-color: var(--color-bg-dark); color: var(--color-on-dark); }
  .btn.btn--outline:hover .ico { color: inherit; }
}
.btn--outline:active, .btn--outline[aria-current="true"] { border-color: var(--color-selected); background-color: var(--color-selected); color: var(--color-on-dark); }
.btn.btn--outline:active .ico { color: inherit; }
/* switched off (K-03, T-12): disabled or aria-disabled="true": grey box, text colour, no pointer; after the hover and pressed
   rules, so neither changes it */
.btn:is(:disabled, [aria-disabled="true"]) { border-color: var(--color-disabled-bg); background-color: var(--color-disabled-bg); color: var(--color-disabled-text); cursor: default; }
/* .btn--lg (--fs-btn-lg): 16px, 15/20 below 992; 18px, 18/25 from 992 (measured; source CSS says max-width 768 but the live page switches at 992).
   padding-block 18 px from 992: see the exception below */
.btn--lg { font-size: var(--fs-btn-lg); font-weight: var(--fw-btn); padding: var(--space-15) var(--space-20); }
/* exception: padding-block 18 px; the 20 px step would make the large button 4 px taller and with it the hero (layout-critical, v10) */
@media (width >= 992px) { .btn--lg { padding: 18px var(--space-25); } }
.btn .ico { margin-left: var(--space-4); }
/* the calendar of a booking button stands before the label (Konrad 5.12.2026: every "Rezerwacja online" like the header one) */
.btn .ico--calendar { margin: 0 var(--space-4) 0 0; }
/* Two-line pill (Konrad 5.12.2026: the phone hours inside the phone pill): .btn__lines holds the label and under it a small
   .btn__sub; the block padding shrinks, so beside a one-line .btn--lg in a row that stretches (align-items: stretch) both pills
   are one height. On hover and pressed the second line takes the text colour of the pill, like the label. */
.btn.btn--two { padding-block: var(--space-5); }  /* two lines + 2 x 5 px stay under the one-line .btn--lg, which keeps its own height */
.btn__lines { display: flex; flex-direction: column; align-items: flex-start; text-align: start; }
.btn__sub { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text); transition: color var(--dur-base) var(--ease-out); }
@media (hover: hover) { .btn--outline:hover .btn__sub { color: inherit; } }
.btn--outline:active .btn__sub { color: inherit; }
/* Ladder of actions (AD-06, F10): 1 .btn--primary (pink, at most one per card), 2 .btn--secondary (graphite), 3 .btn--outline,
   4 .link-arrow: a text link with an icon, graphite semibold, the icon pink; under the pointer the text goes pink and an arrow
   moves --space-4. Its 48 px hit area is the ::after of the touch targets below. In a table it stays a link of the row (pricelist). */
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-5); font-weight: var(--fw-semibold); color: var(--color-title); transition: color var(--dur-base) var(--ease-out); }
.link-arrow .ico { color: var(--color-primary); }
.link-arrow .ico--arrow-right { transition: translate var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover { color: var(--color-link-hover); }
  .link-arrow:hover .ico--arrow-right { translate: var(--space-4) 0; }
}
.link-arrow:active { color: var(--color-link-hover); }
/* the arrow of a button and of the arrow sign of a card moves under the pointer exactly like the arrow of .link-arrow
   (Konrad 5.12.2026: "strzałki na przyciskach … powinny się przesuwać dokładnie tak samo jak przy linkach") */
:is(.btn, .card-link__arrow) .ico--arrow-right { transition: translate var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .btn:hover .ico--arrow-right, .card-link:hover .card-link__arrow .ico--arrow-right { translate: var(--space-4) 0; }
}

/* Badge (AD-08, F17): a pill that only informs (announced price, state of a person): grey fill, no outline, caption size;
   never a link. Variants: --warning (warm surface: links and small labels go graphite, T-03), --dark (the strongest state). */
.badge {
  display: inline-block; padding: var(--space-4) var(--space-10); border-radius: var(--radius-pill);
  background-color: var(--color-badge-bg); color: var(--color-title); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold);
}
.badge--warning { background-color: var(--color-warning-bg); --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare); }
.badge--dark { background-color: var(--color-bg-dark); color: var(--color-on-dark); }

/* Clickable card (K-06, F18): one pattern for every card that is one link. Either the card is the <a> itself (a.card-link), or
   the card holds one link .card-link__target whose ::after covers the card (other links inside stay above it, z-index raised).
   Rest: --elev-card (the card's own rule). Keyboard focus: the ring around the whole card. Under the pointer and pressed: the
   card rises to --elev-hover, its .card-link__title goes pink and its .card-link__arrow (a .sign with an arrow, the sign of
   clickability) goes graphite. No movement. */
.card-link { position: relative; transition: box-shadow var(--dur-base) var(--ease-out); }
.card-link__target::after { content: ""; position: absolute; inset: 0; z-index: var(--z-base); }
.card-link .card-link__target:focus-visible { outline: 0; }
.card-link:has(.card-link__target:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.card-link__title { transition: color var(--dur-base) var(--ease-out); }
.card-link__arrow { transition: background-color var(--dur-base) var(--ease-out); }
@media (hover: hover) {
  .card-link:hover { box-shadow: var(--elev-hover); }
  .card-link:hover .card-link__title { color: var(--color-link-hover); }
  .card-link:hover .card-link__arrow { background-color: var(--color-primary-hover); }
}
:is(a.card-link:active, .card-link:has(.card-link__target:active)) { box-shadow: var(--elev-hover); }
:is(a.card-link:active, .card-link:has(.card-link__target:active)) .card-link__title { color: var(--color-link-hover); }
:is(a.card-link:active, .card-link:has(.card-link__target:active)) .card-link__arrow { background-color: var(--color-primary-hover); }

/* Check list: tick icon (02-ikony.css) in primary, 15/19 below 1200, 16/24 from 1200 (source medium 500, rendered 400); two columns from 576 */
.checklist { display: flex; flex-wrap: wrap; color: var(--color-title); font-weight: var(--fw-body); margin-bottom: var(--stack-m); }
.checklist > li { position: relative; width: 100%; padding: var(--space-5); padding-left: var(--space-30); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.checklist > li::before { position: absolute; left: var(--space-4); top: calc(var(--space-5) + (1lh - var(--bullet)) / 2); color: var(--color-primary); } /* the dot on the middle of the first line (v15) */
/* a table row whose head cell holds only a link (.link-arrow, F25: "Kto jak się umawia") is a 48 px control row, like a hub row:
   the link fills the cell height, so the cell has no own padding (the price list sets its links inline, 63-tresci.css) */
th > a:only-child { display: inline-flex; align-items: center; min-height: var(--target); }
th:has(> a:only-child) { padding-block: 0; }
@media (width >= 576px) { .checklist--2 > li { width: 50%; } }

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* Block and script hooks of the clone markup that have no styles of their own in 00-44 (svc__grid: card script hook).
   Declared here so the class guard of the templates knows them; no properties on purpose. */
.about, .svc, .tabs, .faq, .service, .person {}  /* .person: hook of the booking context and date scripts */

/* Wordmark font of the Femedis logo (copied from v1 fonty/, latin subset only: "femedis") */
@font-face { font-family: "Geomini"; font-weight: 700 800; font-style: normal; font-display: swap; src: url("media/femedis/fonty/geomini-logo.woff2?v=26291ecd") format("woff2"); }


/* Links inside running text (T-02; the source has none). One rule for every link without a class in a paragraph, list item,
   table cell, definition, caption or quote, outside headings and navigation: --color-link (graphite), semibold, no underline,
   --color-link-hover (pink) under the pointer (v15, Konrad 4.12: one look for every link). A new component with text needs nothing: its links are visible by default. A surface where pink fails AA sets
   --color-link (T-03, tokens.css); a link that should look otherwise gets a class and its own rule. Specificity stays (0,1,1)
   (the rest sits in :where), so such a component rule later in the cascade wins (.ftr__legal a, .map-ph__credit a).
   Phone numbers never break. */
:where(p, li, td, th, dd, figcaption, blockquote, caption) a:not([class]):where(:not(:is(h1, h2, h3, h4, h5, h6, nav) a)) {
  color: var(--color-link); font-weight: var(--fw-semibold); text-decoration: none; transition: color var(--dur-base) var(--ease-out);
}
@media (hover: hover) { :where(p, li, td, th, dd, figcaption, blockquote, caption) a:not([class]):where(:not(:is(h1, h2, h3, h4, h5, h6, nav) a)):where(:hover) { color: var(--color-link-hover); } }
:where(p, li, td, th, dd, figcaption, blockquote, caption) a:not([class]):where(:not(:is(h1, h2, h3, h4, h5, h6, nav) a)):where(:active) { color: var(--color-link-hover); }
a[href^="tel:"] { white-space: nowrap; }
/* a two-part surname in a heading (sklad.py wraps it, F34): no break at its hyphen from 576 px, where it fits the line */
@media (width >= 576px) { .surname { white-space: nowrap; } }

/* ===== Motion (PLAN-DESIGN-SYSTEMU.md 7). Reduced motion: one rule ends every CSS transition and animation at once, colour
   changes stay (with time 0). Script animations go through ruch() (skrypty/00-ruch.js), which does the same. ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Entry while scrolling (7.4, skrypty/30-wejscie.js): nothing is hidden in the HTML. The script hides only elements below the
   screen (.is-pending) after its first observer callback and brings them in through ruch(): opacity and --reveal-shift up,
   --dur-reveal, in a grid --reveal-step apart. A script animation, so the hover transitions of the cards stay their own. */
[data-reveal].is-pending { opacity: 0; translate: 0 var(--reveal-shift); }
@media print { [data-reveal].is-pending { opacity: 1; translate: none; } }

/* Between pages (strona/serwis/PLAN-ANIMACJI.md, Konrad 5.12.2026): a short cross-fade of the whole page instead of the blank
   flash of a plain navigation. CSS only, no script; a browser without cross-document view transitions (Firefox, older
   Safari) navigates as before. Off with reduced motion. Short, because the page takes no clicks while it runs. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation-duration: var(--dur-page-out); }
::view-transition-new(root) { animation-duration: var(--dur-page); }

/* Touch targets (P:698, PLAN-DESIGN-SYSTEMU.md 8.5, DESIGN.md rule 6). A link that looks like text (crumbs, a phone number,
   a link under a card or a rating) never gets a min-height: the 48 x 48 hit area comes from an ::after, so its box and the
   layout do not change. min-height is only for controls that look like controls (buttons, chips, rows of the menu and of the
   table of contents) and for the footer rows (F01.4, waiting for a decision). Links inside sentences keep their size.
   Stretched card links (::after over the card) are targets of the card size. */
:is(.ftr__mini, .ftr__mark, .hdr__mark, .hdr__phone-num, .hdr__toggler, .hdr__caret, .bar .btn, .hero__talk, .pick__name, .tabs__btn, .person-row__note > a, .guide-meta__item dd a, .booking__name,
  .page-hero__crumb a, .contact-list__link, .contact-card__link, .phone-hours__num, .map-card__link, .link-arrow,
  .error-page__tel, .price-card__tel-num, .kt-way__num, .kt-way__mail, .kt-person__name, .ftr__contact-link) { position: relative; }
:is(.ftr__mini, .ftr__mark, .hdr__mark, .hdr__phone-num, .hdr__toggler, .hdr__caret, .bar .btn, .hero__talk, .pick__name, .tabs__btn, .person-row__note > a, .guide-meta__item dd a, .booking__name,
  .page-hero__crumb a, .contact-list__link, .contact-card__link, .phone-hours__num, .map-card__link, .link-arrow,
  .error-page__tel, .price-card__tel-num, .kt-way__num, .kt-way__mail, .kt-person__name, .ftr__contact-link)::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, var(--target)); height: max(100%, var(--target)); translate: -50% -50%; }
/* A link in a check list keeps the v10 row (29-34 px apart). Its area is 48 px tall from the top of its row down; the later
   row lies over the earlier one, so the area of the next link starts below this link's text (the gap between two rows is
   10 px, the area starts 5 px above the text): a tap on the text of a link always opens that link. */
.checklist > li > a { position: relative; }
.checklist > li > a::after { content: ""; position: absolute; left: 0; top: calc(-1 * var(--space-5)); width: max(100%, var(--target)); height: var(--target); }

/* High contrast (forced colours, WCAG 1.4.11): the browser drops shadows and paints every fill in the page colour. Each
   component file ends with its own @media (forced-colors: active) block (after its normal rules, so it wins the cascade):
   a shape drawn only by a fill or a shadow gets `outline: 1px solid CanvasText`, a selected state drawn by a fill gets
   Highlight / HighlightText, a mask icon or a filled dot keeps the forced text colour. The normal look does not change. */
@media (forced-colors: active) {
  .badge { outline: 1px solid CanvasText; }
  .btn--outline[aria-current="true"] { forced-color-adjust: none; background-color: Highlight; color: HighlightText; } /* a chosen pill drawn by a fill */
}

/* ===== 01-siatka.css ===== */
/* Grid: container with the side margin --gutter (decision 1b: 20 px, 16 below 360); from 576 the content width stays the source one
   (520/700/940/1120/1310), so the max-width adds both gutters. Column gutter 20 px (10 per side) as in the source. Only used columns. */
.container { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
@media (width >= 576px) { .container { max-width: calc(520px + 2 * var(--gutter)); } }
@media (width >= 768px) { .container { max-width: calc(700px + 2 * var(--gutter)); } }
@media (width >= 992px) { .container { max-width: calc(940px + 2 * var(--gutter)); } }
@media (width >= 1200px) { .container { max-width: calc(1120px + 2 * var(--gutter)); } }
@media (width >= 1400px) { .container { max-width: calc(1310px + 2 * var(--gutter)); } }

.row { display: flex; flex-wrap: wrap; margin-inline: calc(-1 * var(--space-10)); }
.row > * { width: 100%; padding-inline: var(--space-10); }
.row--center { align-items: center; }

@media (width >= 576px) {

.row > .col-sm-9 { flex: 0 0 auto; width: 75%; }

}
@media (width >= 768px) {

.row > .col-md-8 { flex: 0 0 auto; width: 66.666667%; }

}
@media (width >= 992px) {

.row > .col-lg-6 { flex: 0 0 auto; width: 50%; }

.row > .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }

}
@media (width >= 1200px) {

.row > .col-xl-6 { flex: 0 0 auto; width: 50%; }

}


/* ===== 02-ikony.css ===== */
/* Icons (stage 3 of PLAN-DESIGN-SYSTEMU.md, 29.11): the glyphs of the three source icon fonts (feather, flaticon, Font Awesome)
   as SVG files in media/ikony/ (narzedzia/makiety-v15/ikony.py), drawn as a mask in currentColor, so the colour still comes
   from `color`. Each file keeps its glyph's metrics (width = advance, height = ascent + descent of its font, baseline at the
   ascent), and the box below reproduces the glyph's inline box: 1lh tall, the drawing centred in it, the baseline where the
   font put it. So an icon sits where the glyph sat. Markup: <i class="ico ico--arrow-right" aria-hidden="true"></i>;
   pseudo-element icons (menu chevron, breadcrumb separator, service glyphs) use the same rule and files. The list bullet
   is a dot drawn by its pseudo-element (v15, below).
   --i-w: advance, --i-h: ascent + descent, --i-d: descent, all in em (values printed by ikony.py). */
.ico { display: inline-block; font-style: normal; line-height: var(--lh-none); }
.ico::before, .hdr__caret::before, .page-hero__crumb--sep::before, .page-hero__crumb:last-child::after {
  content: ""; display: inline-block; box-sizing: content-box; width: calc(var(--i-w, 1) * 1em); height: 1lh;
  vertical-align: calc(-1em * var(--i-d, 0.125) - (1lh - 1em * var(--i-h, 1)) / 2);
  background-color: currentColor;
  mask-repeat: no-repeat; mask-position: center; mask-size: calc(var(--i-w, 1) * 1em) calc(var(--i-h, 1) * 1em);
}
/* feather (upm 1024, ascent 896, descent 128): the defaults above */
.ico--arrow-right::before { mask-image: url("media/ikony/strzalka-prawo.svg?v=3e0cf04b"); }
.ico--chevron-right::before { mask-image: url("media/ikony/szewron-prawo.svg?v=af222b13"); }
.ico--chevron-down::before { mask-image: url("media/ikony/szewron-dol.svg?v=86af21eb"); }
.ico--calendar::before { mask-image: url("media/ikony/kalendarz.svg?v=7bf4cad4"); }
.ico--phone::before { mask-image: url("media/ikony/telefon.svg?v=833b82f2"); }
/* List bullet (v15, Konrad 4.12, variant 1 of three: a dot instead of the pink tick): a --bullet circle in currentColor; the
   list component places it (left, top) so its centre sits on the middle of the first line. */
.checklist > li::before, .service__list > li::before {
  content: ""; display: block; width: var(--bullet); height: var(--bullet); border-radius: var(--radius-round); background-color: currentColor;
}
/* Font Awesome 6 solid (upm 512, ascent 459, descent 75) */
.hdr__caret::before, .page-hero__crumb--sep::before, .page-hero__crumb:last-child::after { --i-h: 1.043; --i-d: 0.1465; }
.hdr__caret::before { --i-w: 0.625; mask-image: url("media/ikony/menu-prawo.svg?v=2ca74ace"); }
.hdr__caret[aria-expanded="true"]::before { --i-w: 1; mask-image: url("media/ikony/menu-dol.svg?v=cec6f0f5"); }
.page-hero__crumb--sep::before, .page-hero__crumb:last-child::after { mask-image: url("media/ikony/okruszki.svg?v=7f4c6814"); }
/* Icons of the new sections (stage 6: contact, service parts, people, content). Flaticon files: square, no descent. */
:is(.ico--clock, .ico--pin, .ico--doctor, .ico--list, .ico--check, .ico--date, .ico--stethoscope)::before { --i-d: 0; }
.ico--clock::before { mask-image: url("media/ikony/zegar.svg?v=ce1f5ebf"); }
.ico--pin::before { mask-image: url("media/ikony/pinezka.svg?v=038da6a1"); }
.ico--doctor::before { mask-image: url("media/ikony/lekarz.svg?v=b0d3edfa"); }
.ico--list::before { mask-image: url("media/ikony/lista.svg?v=a0ae9181"); }
.ico--check::before { mask-image: url("media/ikony/ptaszek.svg?v=90abc3f2"); }
.ico--date::before { mask-image: url("media/ikony/data.svg?v=7775517d"); }
.ico--stethoscope::before { mask-image: url("media/ikony/stetoskop.svg?v=8545e58a"); }
/* Social profiles in the footer (Konrad 5.12.2026: Facebook and Instagram, no YouTube): Simple Icons 13.0.0, CC0 1.0
   (simpleicons.org), square 24 x 24, no descent. */
:is(.ico--facebook, .ico--instagram)::before { --i-d: 0; }
.ico--facebook::before { mask-image: url("media/ikony/facebook.svg?v=0aae8699"); }
.ico--instagram::before { mask-image: url("media/ikony/instagram.svg?v=93422842"); }
/* Fields of the team (v15, Konrad 4.12: the v10 drawings did not match the fields): Healthicons outline, CC0 1.0
   (github.com/resolvetosavelives/healthicons, the source path is in each file), square 48 x 48, no descent. */
:is(.ico--gynecology, .ico--ultrasound, .ico--vein, .ico--virus, .ico--spine)::before { --i-d: 0; }
.ico--gynecology::before { mask-image: url("media/ikony/ginekologia.svg?v=758eafae"); }
.ico--ultrasound::before { mask-image: url("media/ikony/usg.svg?v=88e9aed9"); }
.ico--vein::before { mask-image: url("media/ikony/angiologia.svg?v=7161b982"); }
.ico--virus::before { mask-image: url("media/ikony/wirus.svg?v=ab9048ed"); }
.ico--spine::before { mask-image: url("media/ikony/kregoslup.svg?v=904eb90c"); }

/* Sign (AD-05): the icon in a circle, one component. Always a circle; sizes only from the tokens --sign-s/m/l (m and l are
   smaller below 576, AD-07); two fills: pink (default: an action, a step, a channel, a kind of content) and --neutral graphite
   (information: notices, a switched-off service, special hours). A state such as a warning is carried by the surface of its
   box, never by the colour of the sign. Markup: <span class="sign sign--s lists__ico" aria-hidden="true"><i class="ico ..."></i></span>;
   the component class keeps only the placement. Exception from v10: .service__icon (70 px, 41-usluga.css). */
.sign {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: var(--sign-m); height: var(--sign-m);
  border-radius: var(--radius-round); background-color: var(--color-primary); color: var(--color-on-dark); font-size: var(--ico-l);
}
.sign--s { width: var(--sign-s); height: var(--sign-s); font-size: var(--ico-m); }
.sign--l { width: var(--sign-l); height: var(--sign-l); }  /* the icon stays --ico-l: a bigger circle, the same drawing */
.sign--neutral { background-color: var(--color-bg-dark); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .ico::before, .checklist > li::before, .service__list > li::before, .hdr__caret::before, .page-hero__crumb--sep::before, .page-hero__crumb:last-child::after { forced-color-adjust: none; color: inherit; } /* currentColor = the forced text colour of the element */
  .sign { outline: 1px solid CanvasText; }
}

/* ===== 10-naglowek.css ===== */
/* Site header: white pill (logo, menu, cart) + APPOINTMENT button, absolute over the page top.
   Values from computed styles of the source (service-detail, 375..1920). Sticky from scrollY > 100 (.is-fixed, skrypty/10-naglowek.js).
   Below 992: hamburger opens a 288px side panel with an overlay; submenus slide open. Below 576 the cart becomes a bottom bar.
   Layers inside the header (its own stacking context at --z-sticky): inner --z-base < overlay --z-menu-overlay < side menu --z-menu < skip link --z-dialog. */

.hdr { position: absolute; top: 0; left: 0; z-index: var(--z-sticky); width: 100%; margin-bottom: var(--space-30); padding-top: var(--space-20); }
.hdr__bar { width: 100%; transition: background-color var(--dur-base) var(--ease-out); }
@media (width < 576px) { .hdr__bar { padding-inline: var(--space-10); } }
.hdr__inner { display: flex; align-items: center; position: relative; z-index: var(--z-base); }

/* sticky state */
.hdr.is-fixed .hdr__bar { position: fixed; top: 0; left: 0; background-color: var(--color-bg); animation: hdr-slide-down var(--dur-slow) var(--ease-out) backwards; }
/* v15 (Konrad 4.12, the side menu did not open after scrolling): an animation of transform makes the bar the containing block
   of its fixed children (side menu .hdr__nav, overlay) for as long as it is in effect. The fill mode was "both", so it stayed
   in effect after the slide and the menu and overlay were as tall as the bar (70 px). Fill "backwards" ends it with the slide,
   and an open menu drops it at once (also when Menu is pressed during the slide). */
.hdr.is-fixed.is-open .hdr__bar { animation: none; }
.hdr.is-fixed .hdr__pill::before { box-shadow: none; }
/* the bar comes down from above the screen: transform only, the header is out of the flow, so nothing below moves */
@keyframes hdr-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
/* below 576 the bottom bar (position: fixed) sits inside the header bar: a transform there would make the header its containing
   block for the time of the slide and pull the bottom bar to the top of the screen, so on phones the header fades in instead */
@media (width < 576px) { .hdr.is-fixed .hdr__bar { animation-name: hdr-fade-in; } }
@keyframes hdr-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* white pill: the ::before draws it wider than the content box */
.hdr__pill { position: relative; flex: 1 1 0%; display: flex; align-items: center; background-color: transparent; }
.hdr__pill::before {
  content: ""; position: absolute; top: 0; left: calc(-1 * var(--space-5)); z-index: var(--z-below); width: calc(100% + var(--space-10)); height: 100%;
  border-radius: var(--radius-pill); background-color: var(--color-bg);
  box-shadow: var(--shadow-s);
}
@media (width >= 576px) { .hdr__pill::before { left: calc(-1 * var(--space-20)); width: calc(100% + var(--space-20)); } }
@media (width >= 992px) { .hdr__pill::before { left: calc(-1 * var(--space-10)); width: calc(100% + var(--space-30)); } }

.hdr__logo { display: flex; align-items: center; width: 135px; height: 70px; padding-right: var(--space-15); margin-right: var(--space-8); }  /* no line between the logo and the menu (Konrad 5.12.2026: "Tę pionową linię usuń") */
.hdr__logo a, .hdr__nav-logo a { display: block; width: 100%; }

@media (width >= 1200px) { .hdr__logo { width: 145px; margin-right: 0; } }

/* hamburger (bar positions and widths are the icon drawing, kept literal) */
.hdr__toggler { position: relative; order: 1; float: right; width: 44px; height: 44px; margin: var(--space-10) var(--space-20) var(--space-10) 0; border-radius: var(--radius-s); background-color: var(--color-bg-dark); cursor: pointer; }
.hdr__toggler span { position: absolute; left: 10px; display: block; height: 2px; border-radius: 1px; background-color: var(--color-bg); transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.hdr__toggler span:nth-child(1) { top: 13px; width: 22px; }
.hdr__toggler span:nth-child(2) { top: 22px; width: 25px; transition-duration: 0s; }
.hdr__toggler span:nth-child(3) { top: 32px; width: 16px; }
/* the three lines turn into a cross by transform only (centres moved to y 24, the third line stretched to 23 px) */
.hdr.is-open .hdr__toggler span:nth-child(1) { transform: translateY(10px) rotate(135deg); }
.hdr.is-open .hdr__toggler span:nth-child(2) { opacity: 0; }
.hdr.is-open .hdr__toggler span:nth-child(3) { transform: translate(3.5px, -9px) rotate(-135deg) scaleX(1.4375); }
@media (width < 576px) { .hdr__toggler { margin-left: auto; } }
/* hover and pressed (K-05, K-03): the dark pill goes darker, like the dark button */
@media (hover: hover) { .hdr__toggler:hover { background-color: var(--color-dark-hover); } }
.hdr__toggler:active { background-color: var(--color-dark-hover); }

.hdr__overlay { position: fixed; top: 0; left: 0; z-index: var(--z-menu-overlay); width: 100%; height: 100%; background-color: var(--color-overlay); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out); }
.hdr.is-open .hdr__overlay { opacity: 1; pointer-events: auto; }
/* without JS "Menu" cannot open anything: it is not shown (its place stays, so nothing moves when JS starts); the footer has the whole navigation */
.hdr:not(.has-js) :is(.hdr__toggler, .hdr__overlay) { visibility: hidden; }  /* hidden but keeping its place: no shift when JS starts */
.hdr-lock { overflow: hidden; }

/* menu: side panel below 992, slides in by transform; closed it is hidden, so its links take no focus */
.hdr__nav { display: flex; flex-direction: column; font-family: var(--font-base); position: fixed; top: 0; left: 0; z-index: var(--z-menu); width: 288px; height: 100%; padding-inline: var(--space-20); overflow: auto; background-color: var(--color-bg); scrollbar-width: thin;
  transform: translateX(-100%); visibility: hidden; transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
.hdr.is-open .hdr__nav { transform: none; visibility: visible; transition: transform var(--dur-slow) var(--ease-out); }
.hdr__nav-logo { position: relative; z-index: var(--z-raised); display: flex; align-items: center; width: 135px; height: 61px; padding-block: var(--space-25); }

.hdr__item { display: block; border-bottom: 1px solid var(--color-border); }
.hdr__item--rel { position: relative; }
.hdr__link { position: relative; display: flex; align-items: center; min-height: var(--target); padding-block: var(--space-8); font-size: var(--fs-nav); line-height: var(--lh-nav); font-weight: var(--fw-nav); color: var(--color-title); transition: color var(--dur-base) var(--ease-out); }
.hdr__link > span { display: inline-block; line-height: 30px; }  /* exception: line box = the 30 px row of the v10 menu (geometry) */
/* submenu button (K-01, disclosure pattern): the parent link goes to its hub, this button next to it opens the submenu
   (aria-expanded, aria-controls). In the panel it is the v10 dark square at the right edge of the row (the item is a flex row:
   link, button, submenu below); its 48 px target is the ::after of 00-baza.css. */
.hdr__caret { display: block; flex: none; width: 28px; height: 28px; border-radius: var(--radius-xs); background-color: var(--color-bg-dark); color: var(--color-on-dark); font-size: var(--ico-xs); line-height: 28px; /* exception: line box = the 28 px caret box (geometry) */ text-align: center; font-style: normal; }
@media (hover: hover) { .hdr__link:hover { color: var(--color-primary); } .hdr__caret:hover { background-color: var(--color-dark-hover); } }
.hdr__caret:active { background-color: var(--color-dark-hover); }
/* group item (v15, Konrad 4.12, variant 4): an item without a page of its own, a button that opens its list (disclosure:
   aria-expanded, aria-controls; the same submenu logic as .hdr__caret, 10-naglowek.js). Markup:
   <li class="hdr__item hdr__item--rel"><button type="button" class="hdr__link hdr__group" aria-expanded="false" aria-controls="id">
   <span>Label</span><span class="hdr__group-ico" aria-hidden="true"><i class="ico ico--chevron-down"></i></span></button><ul class="hdr__sub" id="id">...</ul></li>.
   In the panel it is a whole row with the dark square of .hdr__caret at the right edge, from 1200 a menu item with a small chevron. */
.hdr__group { width: 100%; justify-content: space-between; gap: var(--space-4); border: 0; background: none; font-family: inherit; text-align: start; cursor: pointer; }
.hdr__group-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-xs); background-color: var(--color-bg-dark); color: var(--color-on-dark); font-size: var(--ico-s); rotate: -90deg; transition: rotate var(--dur-base) var(--ease-out); } /* exception: the 28 px square of .hdr__caret (geometry) */
.hdr__group[aria-expanded="true"] > .hdr__group-ico { rotate: 0deg; }
@media (hover: hover) { .hdr__group:hover { color: var(--color-primary); } }
@media (width >= 1200px) {
  .hdr .hdr__group { display: inline-flex; width: auto; }  /* two classes: beats .hdr__link of the desktop menu below */
  .hdr__group-ico { width: auto; height: auto; border-radius: 0; background: none; color: inherit; font-size: var(--ico-xs); rotate: none; }
  .hdr__group[aria-expanded="true"] > .hdr__group-ico { rotate: 180deg; }
}

/* submenus (dropdowns from 992, sliding lists below) */
.hdr__sub { display: none; width: 100%; padding-block: var(--space-10); border-top: 1px solid var(--color-border); background-color: var(--color-bg); text-align: start; z-index: var(--z-raised); transition: opacity var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out), visibility var(--dur-base); }
.hdr__item.is-open > .hdr__sub { display: block; }

.hdr__subitem { position: relative; }
.hdr__sublink { position: relative; display: flex; align-items: center; min-height: var(--target); padding-block: var(--space-5); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); transition: color var(--dur-base) var(--ease-out); }

@media (hover: hover) { .hdr__sublink:hover, .hdr__mega-link:hover { color: var(--color-primary); } }

/* mega menu: the links of a hub in groups (v15, Konrad 5.12.2026, artifact "menu rozwinięte": variant 1 rejected after seeing it
   online, variant 3 "Lista pod pozycją" chosen). Markup: <div class="hdr__mega" id="id"><ul class="hdr__mega-row"> one
   <li class="hdr__mega-col"> per group: an optional title <span class="hdr__mega-title" id="t"><span class="hdr__mega-sign"
   aria-hidden="true"><i class="ico ico--field"></i></span><span>Name</span></span> and <ul class="hdr__mega-list" aria-labelledby="t">
   of <li><a class="hdr__mega-link">Text<i class="ico ico--arrow-right hdr__mega-go" aria-hidden="true"></i></a>; a person link
   starts with <img class="hdr__mega-face" alt=""> and has <span class="hdr__mega-spec"> (field caption) after the link, so the
   link text is the name alone; then <p class="hdr__mega-foot"><a class="link-arrow hdr__mega-all"> (the hub itself).
   In the panel (below 1200) a group is its title with the pink field icon and the links under the title text; from 1200 a
   compact list under its item (see the 1200 block). */
.hdr__mega { display: none; width: auto; max-width: 100%; padding-block: var(--space-10); border-top: 1px solid var(--color-border); background-color: var(--color-bg); text-align: start; z-index: var(--z-raised); transition: opacity var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out), visibility var(--dur-base); }
.hdr__item.is-open > .hdr__mega { display: block; }
.hdr__mega-title { display: flex; align-items: center; gap: var(--space-10); font-weight: var(--fw-semibold); color: var(--color-title); }
.hdr__mega-sign { display: inline-flex; flex: none; color: var(--color-primary); font-size: var(--ico-m); }
.hdr__mega-go { display: none; }
.hdr__mega-link { position: relative; display: flex; align-items: center; gap: var(--space-10); min-height: var(--target); padding-block: var(--space-5); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); transition: color var(--dur-base) var(--ease-out); }
.hdr__mega-face { flex: none; width: var(--sign-s); height: var(--sign-s); border-radius: var(--radius-round); object-fit: cover; object-position: top; background-color: var(--color-bg-hero); }
/* the caption is not part of the link (its text would join the link name); the pointer goes through it to the link under it */
.hdr__mega-spec { display: block; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--color-text); pointer-events: none; }
.hdr__mega-foot { max-width: none; margin: 0; }
@media (width < 1200px) {
  .hdr__mega-col + .hdr__mega-col { margin-top: var(--space-5); }
  .hdr__mega-title { min-height: var(--target); font-size: var(--fs-small); line-height: var(--lh-small); }
  .hdr__mega-title + .hdr__mega-list .hdr__mega-link { padding-left: calc(var(--ico-m) + var(--space-10)); }  /* under the title text */
  .hdr__mega-spec, .hdr__mega-foot { display: none; }  /* the hub is the row of the item itself */
}


/* social links inside the side panel */
.hdr__social { display: block; padding: var(--space-20); text-align: center; }

/* cart: inside the pill from 576, fixed bottom bar below (shown while scrolling down) */
.bar { display: flex; align-items: center; height: 70px; margin-left: auto; padding-right: var(--space-20); }
.hdr__extra-in { display: flex; align-items: center; width: 100%; }

@media (width < 576px) {
  .bar { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--bar-h); padding-inline: var(--space-20); background-color: var(--color-bg); box-shadow: var(--shadow-bar); transition: transform var(--dur-slow) var(--ease-out); }
  /* with JS (bar--auto) it comes up while scrolling down and hides at the end of the page; without JS it stays.
     Hidden it is also invisible (after the slide), so its links leave the Tab order (F06), as the closed menu panel. */
  .bar.bar--auto, .bar.bar--auto.is-end { transform: translateY(calc(100% + var(--space-20))); visibility: hidden; transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
  .bar.bar--auto.is-active:not(.is-end) { transform: none; visibility: visible; transition: transform var(--dur-slow) var(--ease-out); }
  /* the keyboard focus scrolled into view stops above the bar (F05) */
  :root { --cover-bottom: var(--bar-h); }
}
/* what covers the window: the fixed header at the top (--header-offset) and, at the bottom, the bar below 576 and the
   cookie banner while it is open (--cky-h, set by skrypty/62-kontakt.js); scrolling to a focused element or an anchor keeps it
   clear of them (F05, F07; zaslanianie.mjs: the aside beside the bio text on the person page sat under the header at 1440).
   Anchors need no scroll-margin of their own. */
html { scroll-padding-top: var(--header-offset); scroll-padding-bottom: calc(var(--cover-bottom) + var(--cky-h) + var(--space-10)); }

@media (width >= 1680px) { .bar { padding-left: var(--space-30); } }

/* Booking button outside the pill, from 576 (below it is the bottom bar).
   v14 (Konrad 4.12): normal letters, the v13 width kept (--hdr-btn-w), so the shorter word leaves more pink around it. The weight is
   the one of every booking button (Konrad 5.12.2026: "zunifikuj", the semibold header button stood out from the others).
   "It may never touch the menu": the padding-left of .hdr__cta is the gap to the pill (30) and the box never
   shrinks (flex: none), so the pill gives way instead; odstep_przycisku.sh measures the gap at 576-1920 (gate step "odstep-przycisku"). */
.hdr__cta { display: none; flex: none; align-items: center; height: 70px; margin-left: auto; margin-right: calc(-1 * var(--space-10)); padding-left: var(--space-30); }
.hdr__cta-list { display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); width: 100%; }
.hdr__btn { justify-content: center; min-width: var(--hdr-btn-w); }
.hdr__btn .ico { margin: 0 var(--space-4) 0 0; }
/* 576-1399: the gap to the pill stays 30, the button's own padding is 15 as in the side cards (63-tresci.css), so
   "Rezerwacja online 24/7" stays inside the screen at 576 and 1200 (with 25 it ran 6-9 px past it, Konrad 5.12.2026) */
@media (576px <= width < 1400px) { .hdr .hdr__btn { padding-inline: var(--space-15); } }
@media (width >= 1200px) { .hdr__cta { display: flex; } }

/* desktop menu from 992 */
@media (width >= 992px) {
  .hdr__toggler, .hdr__overlay, .hdr__nav-logo, .hdr__social, .hdr__caret { display: none; }
  .hdr__nav { position: static; flex-direction: row; flex: 1 1 auto; justify-content: flex-start; width: auto; height: auto; padding-inline: 0; overflow: visible; background-color: transparent; transform: none; visibility: visible; transition: none; }
  .hdr__menu { display: flex; flex-wrap: wrap; padding-left: var(--space-20); }
  .hdr__item { display: inline-block; border-bottom: 0; }
  .hdr__link { display: inline-block; padding: var(--space-20) var(--space-8); }

  /* a short list ("Dla pacjentów", "O centrum"): a small card under its item, like the mega card (the 1200 block) */
  .hdr__sub, .hdr__item.is-open > .hdr__sub {
    display: block; position: absolute; top: calc(100% + var(--space-10)); left: calc(-1 * var(--space-15)); width: max-content; min-width: 220px; padding: var(--space-10); border-top: 0;
    border-radius: var(--card-radius); box-shadow: var(--elev-float); opacity: 0; visibility: hidden; translate: 0 var(--space-10);
  }

  /* open under the pointer or from the submenu button (.is-open, 10-naglowek.js), never by focus alone (K-02); Escape sets
     .is-dismissed until the pointer leaves the item. Without JS the focus still opens it (the button cannot work then). */
  .hdr__item:not(.is-dismissed):hover > .hdr__sub, .hdr__item.is-open > .hdr__sub, .hdr:not(.has-js) .hdr__item:focus-within > .hdr__sub { opacity: 1; visibility: visible; translate: 0 0; }
  .hdr__sublink { padding-inline: var(--space-15); }
}
@media (width >= 1200px) {
  .hdr__link { padding-inline: var(--space-15); }
}

/* the dropdowns from 1200 (v15, Konrad 5.12.2026: variant 3 "Lista pod pozycją", then "bardziej na szerokość niż na wysokość",
   so that no menu needs scrolling on a low screen; until then a 100vw band of three bare columns): a white card 10 px under the
   header row, laid out in width. Its place is --hdr-mega-x from 10-naglowek.js: under its item with the text of its rows straight
   under the text of the item, moved left when it would end past the booking button, at most to the edge of the white pill (the
   pill is its containing block; without JS it stays at that edge). Rows are 48 px, light up grey under the pointer with an arrow
   at the right end; field names are small graphite capitals over their group. Groups are grid columns of 320 px in the source order
   of the links: a group of four links or more is two grid rows tall, one of seven or more also two columns wide with its list in
   two (rows across, so the rows of both columns line up and Tab goes row by row), the short groups fill the cells left (Oferta: Ginekologia | Angiologia over Fizjoterapia | USG in two columns);
   people one group a column (Lekarze); a lone list without a title runs in three columns, rows across (Diagnostyka). Columns shrink to 200 px
   when the card would be wider than the header row (--hdr-mega-w from 10-naglowek.js, without JS the window less 80 px). A person row: photo, name, field caption,
   the whole row is the link. The short lists (.hdr__sub) are the same card, one column. Check: kontrola step "menu" (every
   dropdown whole on screen, no scrolling, at 7 screens from 1200x650 to 2560x1440). */
@media (width >= 1200px) {
  .hdr__mega, .hdr__item.is-open > .hdr__mega {
    display: block; position: absolute; top: calc(100% + var(--space-10)); left: var(--hdr-mega-x, calc(-1 * var(--space-10))); width: max-content;
    max-width: var(--hdr-mega-w, calc(100vw - 2 * var(--space-40))); max-height: calc(100vh - var(--header-offset)); padding-block: 0; border-top: 0;
    border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--elev-float);
    overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; translate: 0 var(--space-10);
  }
  .hdr__item:not(.is-dismissed):hover > .hdr__mega, .hdr__item.is-open > .hdr__mega, .hdr:not(.has-js) .hdr__item:focus-within > .hdr__mega { opacity: 1; visibility: visible; translate: 0 0; }
  /* the pointer crosses the 10 px gap under the item without leaving it */
  .hdr__item:has(> .hdr__sub, > .hdr__mega):is(:hover, .is-open)::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: var(--space-20); }
  .hdr__mega-row { display: grid; grid-template-columns: repeat(4, minmax(200px, 320px)); column-gap: var(--space-20); align-items: start; padding: var(--space-10); }
  .hdr__mega-col:not(:only-child):has(> .hdr__mega-list > li:nth-child(4)) { grid-row: span 2; }
  .hdr__mega-col:not(:only-child):has(> .hdr__mega-list > li:nth-child(7)) { grid-column: span 2; }
  .hdr__mega-col:not(:only-child):has(> .hdr__mega-list > li:nth-child(7)) > .hdr__mega-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-20); }
  .hdr__mega-row:has(> .hdr__mega-col:only-child) { grid-template-columns: repeat(3, minmax(200px, 320px)); }
  /* people: three columns, so every name and field caption fits on one line (Konrad 5.12.2026: "Magdalena Manowiec" broke
     at 1280, the double surnames up to 1920 in four columns of at most 320 px); the first field takes two rows, so the fourth goes
     under the second and the card stays lower than the screen (menu.mjs) */
  .hdr__mega-row:has(.hdr__mega-spec) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hdr__mega-row:has(.hdr__mega-spec) > .hdr__mega-col:first-child { grid-row: span 2; }  /* the longest field down the first column, the fourth under the second */
  .hdr__mega-col:only-child { grid-column: 1 / -1; }
  .hdr__mega-col:only-child > .hdr__mega-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-20); }
  .hdr__mega-col:is(:only-child, :has(> .hdr__mega-list > li:nth-child(7))) > .hdr__mega-list > li > .hdr__mega-link { height: 100%; }  /* the whole grid row, text in its middle */
  .hdr__mega-col { padding-bottom: var(--space-10); }
  .hdr__mega-title {
    padding: var(--space-10) var(--space-15) var(--space-5); font-size: var(--fs-caption); line-height: var(--lh-caption);
    font-weight: var(--fw-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-title);
  }  /* graphite like the phone panel titles, so the field names stand out over the rows (Konrad 5.12) */
  .hdr__mega-sign { display: none; }
  /* a row: 48 px, the arrow at the right end; under the pointer or the keyboard focus grey with the arrow shown */
  .hdr__mega-list > li { border-radius: var(--radius-s); transition: background-color var(--dur-base) var(--ease-out); }
  .hdr__mega-link {
    padding-inline: var(--space-15) calc(var(--space-15) + var(--ico-s) + var(--space-5));
    font-size: var(--fs-nav); line-height: var(--lh-item); color: var(--color-text);
  }
  .hdr__mega-go {
    display: inline-block; position: absolute; top: 50%; right: var(--space-15); color: var(--color-primary); font-size: var(--ico-s);
    opacity: 0; translate: 0 -50%; transition: opacity var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out);
  }
  .hdr__mega-list > li:has(> .hdr__mega-link:is(:hover, :focus-visible)) { background-color: var(--color-bg-hero); }
  .hdr__mega-link:is(:hover, :focus-visible) > .hdr__mega-go { opacity: 1; translate: var(--space-4) -50%; }  /* the step of .link-arrow (00-baza.css) */
  @media (hover: hover) { .hdr__mega-link:hover, .hdr__item--rel > .hdr__sub .hdr__sublink:hover { color: var(--color-title); } }  /* the grey row marks it; pink text on grey would be 4.23:1 */
  /* a person: photo, name and caption; the whole row is the link (its ::after), 48 px and more */
  .hdr__mega-list > li:has(> .hdr__mega-spec) {
    position: relative; min-height: calc(var(--sign-s) + 2 * var(--space-8));
    padding: var(--space-8) calc(var(--space-15) + var(--ico-s) + var(--space-5)) var(--space-8) calc(var(--space-15) + var(--sign-s) + var(--space-15));
  }
  .hdr__mega-list > li:has(> .hdr__mega-spec) > .hdr__mega-link { position: static; min-height: 0; padding: 0; font-weight: var(--fw-semibold); }
  .hdr__mega-list > li:has(> .hdr__mega-spec) > .hdr__mega-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-s); }
  .hdr__mega-face { position: absolute; top: 50%; left: var(--space-15); translate: 0 -50%; }
  .hdr__mega-foot { padding: var(--space-10) var(--space-25) var(--space-15); border-top: 1px solid var(--color-border); }
  .hdr__mega-all { min-height: var(--target); font-size: var(--fs-nav); }
  /* the short lists: the same card and rows, one column */
  .hdr__subitem { border-radius: var(--radius-s); transition: background-color var(--dur-base) var(--ease-out); }
  .hdr__subitem:has(> .hdr__sublink:is(:hover, :focus-visible)) { background-color: var(--color-bg-hero); }
  .hdr__item--rel > .hdr__sub .hdr__sublink { font-size: var(--fs-nav); line-height: var(--lh-item); color: var(--color-text); white-space: nowrap; }
}

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* ===== hdr--femedis: logo, phone instead of the cart, booking button from 576, side menu up to 1399 ===== */
.hdr__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hdr__logo .hdr__mark, .hdr__nav-logo .hdr__mark { display: inline-flex; align-items: center; width: auto; color: var(--color-title); }
.hdr__mark { gap: var(--space-5); }
.hdr__mark-sig { flex: none; width: 28px; height: 28px; fill: var(--color-primary); }
/* exception: logo wordmark in Geomini 800, not a Montserrat role (at 700 the word renders 2-3 px narrower) */
.hdr__mark-word { font-family: "Geomini", var(--font-base); font-weight: 800; font-size: 23px; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }

/* phone (number + caption) where the source has the cart */
.hdr__phone { display: flex; flex-direction: column; justify-content: center; white-space: nowrap; }
.hdr__phone-num { display: inline-flex; align-items: center; gap: var(--space-5); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.hdr__phone-num .ico { color: var(--color-primary); font-size: var(--ico-s); }
.hdr__phone-cap { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text); }
@media (hover: hover) { .hdr__phone-num:hover { color: var(--color-primary); } }

/* booking button in the phone bar: only in the bottom bar below 576 (data-place="pasek"); from 576 the header button shows */
.hdr__pasek-btn { flex: none; margin-right: var(--space-10); padding: var(--space-10) var(--space-15); font-size: var(--fs-small); font-weight: var(--fw-small); }
@media (width < 576px) {
  .hdr .hdr__extra-in { justify-content: space-between; }
  .hdr .hdr__phone { min-width: 0; white-space: normal; }
  .hdr .hdr__phone-num { white-space: nowrap; }
}
@media (width < 360px) {
  .hdr .bar { padding-inline: var(--space-10); }
  .hdr__pasek-btn { margin-right: var(--space-8); padding-inline: var(--space-10); }
  .hdr .hdr__phone-num .ico { display: none; }
}
@media (width >= 576px) {
  .hdr__pasek-btn { display: none; }
  .hdr .hdr__cta { display: flex; }
}
@media (576px <= width < 992px) { .hdr .hdr__toggler { margin-left: auto; } }

/* v9 (27.11, Konrad): the bare hamburger square becomes a pill with the word "Menu" next to the three bars,
   because older patients may not recognise the icon alone. The visible word names the button (no aria-label).
   Left padding 50 (source of v9: 48) holds the bars (drawn from 16 px, kept literal like the rest of the bar drawing). */
.hdr .hdr__toggler { width: auto; padding: 0 var(--space-20) 0 var(--space-50); border-radius: var(--radius-pill); }
.hdr .hdr__toggler span { left: 16px; }
.hdr .hdr__toggler .hdr__toggler-napis {
  position: static; display: block; height: auto; border-radius: 0; background-color: transparent; transition: none;
  font-size: var(--fs-btn); line-height: 44px; font-weight: var(--fw-semibold); color: var(--color-on-dark); /* exception: line box = the 44 px button (geometry) */
}
/* phone in the pill only 992-1199; below 992 the pill plus the booking button would overflow the container (measured at 768),
   from 1200 the menu takes the space. Below 576 it is the bottom bar. */
@media (576px <= width < 992px) { .hdr .bar { display: none; } }
@media (width >= 1200px) { .hdr .bar { display: none; } }

/* side panel: phone fact in place of the social icons */
.hdr__social--tel { padding-inline: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); text-align: start; color: var(--color-text); }
.hdr__social--tel a { font-weight: var(--fw-semibold); color: var(--color-title); }


/* 992-1199: the menu items do not fit the pill next to the logo and the booking button, so the side panel of the source
   stays (v15, Konrad 4.12: from 1200, --bp-menu, the full menu; 13-inch laptops at 1280-1399 showed the panel until v14). */
@media (992px <= width < 1200px) {
  .hdr .hdr__toggler { display: block; }
  .hdr .hdr__overlay { display: block; }
  .hdr .hdr__nav-logo { display: flex; }
  .hdr .hdr__social { display: block; }
  .hdr .hdr__caret { display: block; }
  .hdr .hdr__nav {
    position: fixed; top: 0; left: 0; flex: none; flex-direction: column; justify-content: flex-start;
    width: 288px; height: 100%; padding-inline: var(--space-20); overflow: auto; background-color: var(--color-bg);
    transform: translateX(-100%); visibility: hidden; transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow);
  }
  .hdr.is-open .hdr__nav { transform: none; visibility: visible; transition: transform var(--dur-slow) var(--ease-out); }
  .hdr .hdr__menu { display: block; padding-left: 0; }
  .hdr .hdr__item { display: block; border-bottom: 1px solid var(--color-border); }
  .hdr .hdr__link { display: flex; padding: var(--space-8) 0; }
  .hdr .hdr__sub, .hdr .hdr__mega,
  .hdr .hdr__item.is-open > .hdr__sub, .hdr .hdr__item.is-open > .hdr__mega {
    display: none; position: static; width: 100%; max-width: 100%; max-height: none; margin-inline: 0; padding: var(--space-10) 0;
    border-top: 1px solid var(--color-border); box-shadow: none; overflow: visible; opacity: 1; visibility: visible; translate: none;
  }
  .hdr .hdr__item.is-open > .hdr__sub, .hdr .hdr__item.is-open > .hdr__mega { display: block; }
  .hdr .hdr__item:hover > :is(.hdr__sub, .hdr__mega), .hdr .hdr__item:focus-within > :is(.hdr__sub, .hdr__mega) { translate: none; }
  .hdr .hdr__sublink { padding-inline: 0; }
}

/* from 1200 (--bp-menu, v15; 1400 until v14): menu in the pill (--fs-nav: 15 px below 1400, 16 px from 1400), so six items fit;
   "Umów wizytę" is the button next to it. */
@media (width >= 1200px) {
  .hdr .hdr__item--zapis { display: none; }
  .hdr .hdr__menu { flex-wrap: nowrap; padding-left: var(--space-10); }  /* one row always (v15: from 1200 the row is shorter) */
  .hdr .hdr__link { padding-inline: var(--space-10); white-space: nowrap; }
  /* submenu button (K-02): no room of its own (it fills the 20 px between two items), shown only when focused by keyboard or
     while its submenu is open; the pointer keeps opening the menu by hovering, as in v10 */
  .hdr .hdr__caret {
    display: inline-block; width: var(--space-20); height: var(--space-20); margin-inline: calc(-1 * var(--space-10));
    line-height: var(--space-20); vertical-align: middle; translate: 0 var(--space-20); /* under the text line, so its ring covers no letter */ opacity: 0; pointer-events: none;
  }
  .hdr .hdr__caret:is(:focus-visible, [aria-expanded="true"]) { opacity: 1; }
  .hdr .hdr__caret::after { content: none; }  /* no pointer here, so no 48 px area over the neighbouring items */
}

/* v15 (Konrad 4.12, artifact: "at 1440 it looks awful, too tight"): from 1200 the items spread over the whole pill instead of
   crowding next to the logo, so the free room goes into the gaps (1440: 141 px more, about 23 px per gap; 1200-1399 the row
   fills the pill already). Evenly (Konrad 5.12.2026, the line between the logo and the menu removed): the gap before the first
   item gets its share too, so the logo keeps 20 px more than the gaps between items (1440: 57 against 37). */
@media (width >= 1200px) {
  .hdr .hdr__menu { flex: 1 1 auto; justify-content: space-evenly; padding-right: var(--space-20); }
}
/* from 1800 (--bp-menu-flat): all nine items in one row, the groups opened into plain items (Konrad 4.12: "when everything
   fits without the groups, show everything"). Measured 4.12: the nine labels take 804 px at 16 px; the 1310 container leaves
   the menu 865 px (7 px per gap, too tight at every width), so from 1800 the header bar grows to 1580 px (--hdr-max) and the
   menu gets about 1090 px, 30 px per gap. The content below keeps its container. Same DOM: the group button hides, its list
   becomes items (display: contents), keyboard and no-JS read plain links. */
@media (width >= 1800px) {
  .hdr .hdr__inner { max-width: calc(var(--hdr-max) + 2 * var(--gutter)); }
  .hdr .hdr__item:has(> .hdr__group) { display: contents; }
  .hdr .hdr__item:has(> .hdr__group) > .hdr__group { display: none; }
  .hdr .hdr__item:has(> .hdr__group) > .hdr__sub { display: contents; visibility: visible; }
  .hdr .hdr__item:has(> .hdr__group) .hdr__subitem { display: inline-block; background-color: transparent; }  /* items of the bar, not rows of a card */
  .hdr .hdr__item:has(> .hdr__group) .hdr__sublink {
    padding: var(--space-20) var(--space-10); font-size: var(--fs-nav); line-height: var(--lh-nav); font-weight: var(--fw-nav);
    color: var(--color-title); white-space: nowrap;
  }
}

/* panel (below 1200, --bp-menu): an item with a submenu is a row of its link and button, the submenu below them */
@media (width < 1200px) {
  .hdr .hdr__item:has(> .hdr__caret) { display: flex; flex-wrap: wrap; align-items: center; }
  .hdr .hdr__item:has(> .hdr__caret) > .hdr__link { flex: 1 1 0%; margin-right: var(--space-10); }  /* ends where the 48 px area of the button (00-baza.css) begins */
  .hdr .hdr__item:has(> .hdr__caret) > :is(.hdr__sub, .hdr__mega) { flex: 0 0 100%; }
}

/* the menu marks the page you are on (K-10): aria-current="page", semibold; the sublinks also take the title colour */
.hdr :is(.hdr__link, .hdr__sublink, .hdr__mega-link)[aria-current="page"] { font-weight: var(--fw-semibold); color: var(--color-title); }

/* ===== skip link: hidden above the page until focused by keyboard (first in the tab order after the cookie banner) ===== */
.skip {
  position: absolute; top: var(--space-10); left: var(--space-10); z-index: var(--z-dialog);
  display: inline-flex; align-items: center; min-height: var(--target); padding-inline: var(--space-20);
  border-radius: var(--radius-pill); background-color: var(--color-bg-dark); color: var(--color-on-dark);
  font-size: var(--fs-body); font-weight: var(--fw-semibold); transform: translateY(calc(-100% - var(--space-20)));
}
.skip:focus { transform: none; }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .hdr__pill::before, .hdr__toggler, .hdr__caret, .hdr__sub, .hdr__mega { outline: 1px solid CanvasText; }
  .hdr__toggler span { background-color: CanvasText; }
  @media (width < 576px) { .bar { border-top: 1px solid CanvasText; } }
}

/* ===== 20-hero.css ===== */
/* Hero (index, block 1): full-bleed photo with pink haze, label, H1, lead, two actions; side rails on wide screens.
   Measured on the source at 375/576/768/992/1199/1281/1400/1481/1681/1920. */

/* Height: auto (content) / 600 md / 650 lg / 920 xl (1200) / 950 (1480). Photo is a cover layer anchored top-left. */
.hero { position: relative; z-index: var(--z-base); overflow: hidden; height: auto; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: var(--z-below);
  background: url("media/wzor/images/hero-banner/banner-1.webp?v=3991dc5f") no-repeat 0 0 / cover;
}
@media (width >= 768px) { .hero { height: 600px; } }
@media (width >= 992px) { .hero { height: 650px; } }
@media (width >= 1200px) { .hero { height: 920px; } }
@media (width >= 1480px) { .hero { height: 950px; } }

.hero__container { height: 100%; }
/* Top offset clears the absolute header: 160 / 151 sm / 30 lg / 0 xl (content is centred from xl).
   --hero-clear holds 160 / 151 (tokens.css) */
.hero__inner { height: 100%; padding-top: var(--hero-clear); }
@media (width >= 992px) { .hero__inner { padding-top: var(--space-30); } }
@media (width >= 1200px) { .hero__inner { padding-top: 0; } }
.hero__row { height: 100%; }

.hero__content { position: relative; z-index: var(--z-base); margin-bottom: var(--stack-m); }
@media (width >= 768px) { .hero__content { margin-bottom: 0; } }
@media (width >= 1480px) { .hero__content { margin-left: var(--space-10); } }

/* Label: 17px bold (line 24.29, the theme's 20/14 ratio), 18/28 from sm */
.hero__eyebrow { display: block; margin-bottom: var(--stack-xs); font-size: var(--fs-eyebrow-hero); line-height: var(--lh-eyebrow-hero); font-weight: var(--fw-eyebrow-hero); text-transform: uppercase; color: var(--color-primary); }  /* large text: pink stays on the hero grey (T-03) */

/* H1: 28/39.2, 35/45.5 sm, 40/52 md, 55/66 xl (1200), 60/72 (1480) */
.hero__title { font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: var(--fw-hero); margin-bottom: var(--stack-s); text-wrap: balance; }

/* Lead: 16/24, 18/28 sm, 20/28 xl (1200); mb 20 / 30 lg. The source asks for light 300, which Montserrat here renders as 400. */
.hero__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); margin-bottom: var(--space-20); }
@media (width >= 992px) { .hero__lead { margin-bottom: var(--space-30); } }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; }
.hero__btn { margin-right: var(--space-30); }
.hero__btn .ico { margin-left: 0; }


/* Left rail: vertical label, from 1281 (breakpoint not yet on the list, stage 4 point 10); left 30 / 20 (1480) */
.hero__emergency {
  display: none; position: absolute; top: 50%; left: var(--space-30);
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title);
  writing-mode: vertical-rl; rotate: -180deg; translate: 0 -50%;
}
/* from 1480 only: at 1400-1479 the rail (30-50 px from the edge) ran 5 px into the hero text, which starts at 45 px (stage 8) */
@media (width >= 1480px) { .hero__emergency { display: block; left: var(--space-20); } }

/* Right rail: 80px column with social links and the LET'S TALK pill, from 1480. */
.hero__social {
  display: none; position: absolute; right: 0; bottom: 0; height: 100%; width: 80px; min-width: 80px;
  flex-direction: column; justify-content: space-between; align-items: center;
  padding: var(--space-80) var(--space-15); border-right: 1px solid var(--color-border);
}
@media (width >= 1480px) { .hero__social { display: flex; } }

.hero__talk {
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); padding: var(--space-15) var(--space-8); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); writing-mode: vertical-rl;
}
@media (hover: hover) { .hero__talk:hover { border-color: var(--color-dark-hover); background-color: var(--color-dark-hover); } }

/* Video dialog opened by "Watch Highlight" (skrypty/20-hero.js) */

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* ===== hero: rail without social networks (only the Kontakt pill, at the bottom) ===== */
.hero__social--bez-sieci { justify-content: flex-end; }
/* long Polish H1 + lead: the fixed 600/650 px of the source cut the button off at 768-1199, so the height follows the content there.
   --hero-clear clears the header as in .hero__inner */
@media (768px <= width < 1200px) {
  .hero--dlugi { height: auto; min-height: 600px; }
  .hero--dlugi .hero__inner { padding-top: var(--hero-clear); padding-bottom: var(--space-70); }
}

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* ===== hero--zespol: the team photo (cut-out, six people, cropped at the thighs) instead of the stock photo.
   v4 (23.11) built four variants; Konrad picked variant 1 without the pink ring and without the graphite arch (v5, 27.11):
   the team alone on the light grey hero.
   The photo always stands on the bottom edge of the hero, because the crop cuts the legs. Below 992 px it sits under the text,
   full width; from 992 px it fills the right half (left 50%, right 0 / 80 px next to the rail from 1480 px). ===== */
/* the hero grey: pink small text fails AA on it (4.23:1), so links and small labels go graphite (T-03) */
.hero--zespol { background-color: var(--color-bg-hero); --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare); }
.hero--zespol::after { display: none; }

/* v6 (27.11, Konrad): the text block keeps the same distance to the menu above and to what is below it:
   the hero bottom from 992 px, the team photo below 992 px (the photo stacks under the text there).
   exception: --hdr-dol = bottom of the menu pill (header padding 20 + pill 70), measured at 375..1920 (geometry of v10). */
.hero--zespol { --hdr-dol: 90px; --hero-odstep: var(--space-50); }
@media (width >= 576px) { .hero--zespol { --hero-odstep: var(--space-60); } }
@media (width >= 992px) { .hero--zespol { --hero-odstep: var(--space-70); } }
.hero--zespol, .hero--zespol.hero--dlugi { height: auto; min-height: 0; }
.hero--zespol :is(.hero__container, .hero__row) { height: auto; }
.hero--zespol .hero__inner, .hero--zespol.hero--dlugi .hero__inner { height: auto; padding-top: calc(var(--hdr-dol) + var(--hero-odstep)); padding-bottom: 0; }
.hero--zespol .hero__content { margin-bottom: var(--hero-odstep); }
@media (width >= 992px) {
  /* text centred in the band under the menu: equal padding, and the min-height surplus splits evenly through align-items */
  .hero--zespol .hero__inner, .hero--zespol.hero--dlugi .hero__inner { display: flex; align-items: center; padding-top: var(--hdr-dol); }
  .hero--zespol .hero__row { flex: 1 1 0%; padding-block: var(--hero-odstep); }
  .hero--zespol .hero__content { margin-bottom: 0; }
}
@media (width >= 1200px) { .hero--zespol .hero__inner { min-height: 760px; } }
@media (width >= 1480px) { .hero--zespol .hero__inner { min-height: 800px; } }

.hero__team { position: relative; z-index: var(--z-flat); width: 100%; max-width: 700px; margin-inline: auto; }
@media (width >= 992px) {
  .hero__team { position: absolute; left: 50%; right: 0; bottom: 0; width: auto; max-width: none; margin: 0; }
}
@media (width >= 1480px) { .hero__team { right: 80px; } } /* = width of the right rail (.hero__social) */
.hero__team-img { display: block; width: 100%; height: auto; }

/* v7 (27.11, Konrad): the camera motion of v6 removed (barely visible, and the zoom-out phase looked odd); the photo is static again. */

/* ===== v10 (28.11, Konrad chose variant 2 of six): no empty band above the team on desktop; the hero is as tall as the photo
   plus --zesp-nad under the menu pill, so the heads start just below the menu.
   v15 (4.12, Konrad: "the woman touches the screen edge with her elbow, too much space above the heads, they look pasted
   flat"; variant 1 of four, "Poświata", chosen in the artifact 4.12): the team's right edge lines up with the container edge (never the screen edge;
   from 1480 also clear of the 80 px rail), the text column takes 40% of the row, the height comes from the real ratio of
   the photo (--zesp-ratio: height / width of the file; the site sets its own photo's ratio), a disc of white light falls on the
   grey wall behind the upper bodies and the cut-out casts a soft shadow to the left, so the people stand in front of the
   wall, not pasted on it. Below 992 px the photo keeps the
   gutter on both sides. Geometry (DESIGN.md rule 3): container widths of 01-siatka.css (940/1120/1310 + gutters), the 80 px
   rail, the 40 px edge of 13-inch laptops; 100vw is the layout width here (the hero spans the page). ===== */
.hero--zespol-wiekszy { --zesp-ratio: 0.642; }  /* geometry: zespol-1400.webp of the mockups is 1400 x 899 */
.hero--zespol-wiekszy .hero__team { width: calc(100% - 2 * var(--gutter)); max-width: 700px; margin-inline: auto; }
@media (width >= 992px) {
  .hero--zespol-wiekszy {
    --cmax: calc(940px + 2 * var(--gutter)); /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
    --edge: max(var(--gutter), (100vw - var(--cmax)) / 2 + var(--gutter)); /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
    --txt: 0.4;
    --zesp-w: calc((100vw - 2 * var(--edge)) * (1 - var(--txt)) - var(--space-30)); /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
    --zesp-nad: var(--space-30);
    --zesp-prawo: var(--edge);  /* the team's right offset (the wall of .hero--zespol-sciana follows it) */
    --hero-odstep: var(--space-30);  /* 992-1199: the text sets the hero height, a shorter band brings the heads closer to the menu */
  }
  .hero--zespol-wiekszy .hero__team { left: auto; right: var(--zesp-prawo); width: var(--zesp-w); max-width: none; margin: 0; }
  .hero--zespol-wiekszy .hero__inner { min-height: calc(var(--zesp-w) * var(--zesp-ratio) + var(--hdr-dol) + var(--zesp-nad)); }
  .hero--zespol-wiekszy .hero__row > div { width: calc(var(--txt) * 100%); }
}
@media (width >= 1200px) { .hero--zespol-wiekszy { --cmax: calc(1120px + 2 * var(--gutter)); --hero-odstep: var(--space-50); } } /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
/* 1200-1399 (13-inch laptops at 1280 and 1366): lined up with the 1160 container the team would be small, so it ends
   --space-40 from the screen edge and the column keeps 42% (the title takes three lines) */
@media (1200px <= width < 1400px) {
  .hero--zespol-wiekszy {
    --txt: 0.42; --hero-odstep: var(--space-40); --zesp-prawo: var(--space-40);
    --zesp-w: calc(100vw - var(--space-40) - (100vw - var(--cmax)) / 2 - var(--gutter) - var(--txt) * (var(--cmax) - 2 * var(--gutter)) - var(--space-30)); /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
  }
}
@media (width >= 1400px) { .hero--zespol-wiekszy { --cmax: calc(1310px + 2 * var(--gutter)); } } /* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
/* exception: geometry of the team, also read by the haze gradient of .hero--zespol-sciana */
@media (width >= 1480px) { .hero--zespol-wiekszy { --edge: max(80px + var(--gutter), (100vw - var(--cmax)) / 2 + var(--gutter)); } }  /* 80 px = the rail */
/* the light behind the team: a white disc on the hero grey behind the upper bodies, fading out (no shape, no edge) */
.hero--zespol-wiekszy .hero__team::before {
  content: ""; position: absolute; z-index: var(--z-below); left: -10%; right: -10%; top: -18%; bottom: -10%; pointer-events: none;
  background: radial-gradient(closest-side at 50% 42%, var(--color-bg) 0%, var(--color-bg) 55%, transparent 100%);
}
.hero--zespol-wiekszy .hero__team-img { filter: drop-shadow(-18px 12px 24px rgba(var(--shadow-rgb), 0.22)); } /* exception: soft neutral cast shadow of the cut-out, to the left */

/* ===== hero--zespol-sciana (Konrad 5.12.2026, artifact "Femedis: zespół na cemencie, 3 wersje", B "okno", fixes B3): the team
   stands at a photographed wall instead of the grey band. The page sets --zesp-sciana (the wall picture, its own shadows of
   the people baked in, so it must line up with its own team file), --zesp-sciana-ratio (height / width of the picture) and
   --zesp-sciana-kolor (the colour of its top edge).
   Geometry in team widths T: the picture is 3.8 T wide, its left edge 2.2 T left of the team, its bottom on the team's bottom.
   The disc of light and the drop shadow of the cut-out go (the wall carries light and shadow). A light haze under the text
   (to the right from the left edge on desktop, down to the heads on phones) and the lead in --color-text-sciana keep the
   text contrast (pink overline 3.2:1 large text, lead 5.1:1, measured 5.12 at 1440 and 390). ===== */
/* below 992: the team width of .hero--zespol-wiekszy (100vw: also inside the haze gradient, where % is its height); the page sets the wall,
   its ratio and its edge colour (defaults: no picture, the hero grey) */
.hero--zespol-sciana { --zesp-sciana: none; --zesp-sciana-ratio: 0.5553; --zesp-sciana-kolor: var(--color-bg-hero); background-color: var(--zesp-sciana-kolor);
  --zesp-t: min(100vw - 2 * var(--gutter), 700px); } /* exception: geometry of the team, also read by the haze gradient */
.hero--zespol-sciana::before {
  content: ""; position: absolute; z-index: var(--z-below); bottom: 0; pointer-events: none;
  left: calc(50% - 2.7 * var(--zesp-t)); width: calc(3.8 * var(--zesp-t)); aspect-ratio: 1 / var(--zesp-sciana-ratio);
  background: var(--zesp-sciana) no-repeat 0 0 / 100% 100%;
  /* the picture ends above the band at 320 and left of it from about 2400: its top and right edges fade into
     --zesp-sciana-kolor (the colour of its top edge), so no seam shows (measured 5.12 at 320-2560) */
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%), linear-gradient(to left, transparent 0, #000 4%); mask-composite: intersect; /* exception: a fade mask, #000 is full coverage, not a colour */
}
.hero--zespol-sciana::after {
  display: block; background: linear-gradient(to bottom, var(--hero-mgla-telefon) 0,
    var(--hero-mgla-telefon) calc(100% - var(--zesp-t) * var(--zesp-ratio) - var(--space-40)), transparent calc(100% - var(--zesp-t) * var(--zesp-ratio) + var(--space-30)));
}
.hero--zespol-sciana .hero__team::before { content: none; }
.hero--zespol-sciana .hero__team-img { filter: none; }
.hero--zespol-sciana .hero__lead { color: var(--color-text-sciana); }
@media (width >= 992px) {
  .hero--zespol-sciana::before { left: auto; right: calc(var(--zesp-prawo) - 0.6 * var(--zesp-w)); width: calc(3.8 * var(--zesp-w)); }
  /* the haze is full under the text column (up to 40 px before the team) and gone a third into the team, at every width */
  .hero--zespol-sciana::after { background: linear-gradient(to right, var(--hero-mgla) 0,
    var(--hero-mgla) calc(100% - var(--zesp-prawo) - var(--zesp-w) - var(--space-40)), transparent calc(100% - var(--zesp-prawo) - 0.68 * var(--zesp-w))); }
}

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .hero__talk { outline: 1px solid CanvasText; }
}

/* ===== 21-o-nas.css ===== */
/* About (index, block 2): rounded photo left, eyebrow + title + text + 2-column check list + button and phone pills right.
   Shell (.section, .section-head, .eyebrow, .title, .text, .checklist) comes from 00-baza.css. */

/* Photo column: mb 30 always; inner padding pe 15 (lg), pe 55 + ps 65 (1480) */
.about__media-col { margin-bottom: var(--stack-m); }
@media (width >= 992px) { .about__media { padding-right: var(--space-15); } }
@media (width >= 1480px) { .about__media { padding-inline: var(--space-60); } }
/* the frame wraps the photo (width: fit-content), so a photo narrower than the column (gfx-oferta, 579 px, Konrad 5.12.2026)
   keeps its rounded corners and is never shown larger than it is */
.about__img { position: relative; width: fit-content; overflow: hidden; border-radius: var(--radius-xl); }
/* the photo drifts like a film (Konrad 5.12.2026: "jakby to był film"): it slowly grows and moves inside its frame, then
   back, without end, at an even speed (no slow start), so a visitor who scrolls to it sees it move at once; the frame clips
   it, so the layout never moves. Not with reduced motion (00-baza.css). */
@media (prefers-reduced-motion: no-preference) {
  .about__img img { animation: about-film var(--dur-film) linear infinite alternate; }
}
@keyframes about-film { from { scale: 1; translate: 0 0; } to { scale: var(--film-zoom); translate: var(--film-shift) var(--film-shift); } }
/* --media-wide-only (Konrad 5.12.2026: on the phone the reception photo adds nothing): the photo only where it stands beside
   the text (from 992); in one column it is gone, and with loading="lazy" on the img a hidden photo is not downloaded */
@media (width < 992px) { .about--media-wide-only .about__media-col { display: none; } }

.about__actions { display: flex; flex-wrap: wrap; align-items: center; }

/* Button and phone (v13, Konrad 3.12, chosen variant 1b "Dwie pigułki"): the number is a second pill (outlined, the large
   size of the button beside it) with the hours inside it on a second line (.btn--two, Konrad 5.12.2026: the note under both
   is gone); the row stretches, so both pills are one height; below 576 both pills take the full width, one under the other,
   in a grid whose rows are all as tall as the tallest, so they stay one height there too */
.about__actions--pills { align-items: stretch; gap: var(--space-10) var(--space-15); }
.about__actions--pills .btn--outline.btn--lg { font-size: var(--fs-btn-lg); line-height: var(--lh-btn); font-weight: var(--fw-semibold); }  /* the height of the pink pill beside it */
@media (width < 576px) {
  .about__actions--pills { display: grid; grid-auto-rows: 1fr; }
  .about__actions--pills .btn { justify-content: center; }
}

/* ===== 23-uslugi.css ===== */
/* Offer (index, block 4, v10): centred section head with the eyebrow, text and a two-column check list.
   Shell (.section, .section-head--center, .eyebrow, .title, .text, .checklist) comes from 00-baza.css; this file keeps nothing of the
   eyebrow (its icon left in v15). The photo cards and the strip of the source are not used. */


/* Groups (v13, Konrad 3.12, chosen variant 2a "Cztery karty"): the 14 items in four groups under a short title, each group
   a white card on the light section, two cards a row from 768; the lead of the head keeps the reading measure */
.svc--cards .section-head .text { max-width: var(--measure); }
.svc__groups { display: grid; gap: var(--grid-gap); }
.svc__group-title { margin-bottom: var(--stack-s); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.svc__group .checklist { margin-bottom: 0; }
.svc--cards .svc__group { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
@media (width >= 768px) { .svc--cards .svc__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the leading group across both columns (Konrad 5.12.2026: gynecologic oncology first, "the heart of the centre"), so the other
   four stay two by two */
.svc--cards .svc__group--wide { grid-column: 1 / -1; }

/* high contrast (00-baza.css, forced colours): the group cards are drawn by a fill and a shadow */
@media (forced-colors: active) {
  .svc--cards .svc__group { outline: 1px solid CanvasText; }
}

/* ===== 27-zakladki.css ===== */
/* Care tabs (index, block 8): white bar of icon tabs (active and hovered = pink with white text and icon),
   panel below with title, text, check list and button, photo on the right (above the text below 1200).
   Switching: skrypty/27-zakladki.js. */

.tabs__head { margin-bottom: var(--space-20); }
@media (width >= 768px) { .tabs__head { margin-bottom: var(--space-40); } }
.tabs__box { margin-bottom: var(--space-40); }

/* Bar: white, radius 20, py 15 (source 14), centred wrap; items px 5 with a hairline on the right, mb 5 below 1200 */
.tabs__bar { display: flex; flex-wrap: wrap; justify-content: center; padding-block: var(--space-15); border-radius: var(--radius-l); background-color: var(--color-bg); }
.tabs__item { padding-inline: var(--space-5); border-right: 1px solid var(--color-border-soft); margin-bottom: var(--space-5); }
@media (width >= 1200px) { .tabs__item { margin-bottom: 0; } }

/* Tab button: 12/16 (18/28 from 768), py 10, px 10 / 15 (lg) / 20 (xl) (source 14 / 18), radius 10 / 15 (lg) */
.tabs__btn {
  display: block; width: 100%; padding: var(--space-10); border-radius: var(--radius-s); background-color: var(--color-bg);
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-title); text-align: center; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
@media (width >= 768px) { .tabs__btn { font-size: var(--fs-lead); line-height: var(--lh-lead); } }
@media (width >= 992px) { .tabs__btn { padding-inline: var(--space-15); border-radius: var(--radius-m); } }
@media (width >= 1200px) { .tabs__btn { padding-inline: var(--space-20); } }

/* Icon: 25 / 30 (sm) / 35 (lg) / 40 (xl), me 10, centred on the text line */
.tabs__ico { display: inline-block; vertical-align: middle; width: 25px; height: 25px; margin-right: var(--space-10); color: var(--color-primary); }
@media (width >= 576px) { .tabs__ico { width: 30px; height: 30px; } }
@media (width >= 992px) { .tabs__ico { width: 35px; height: 35px; } }
@media (width >= 1200px) { .tabs__ico { width: 40px; height: 40px; } }
.tabs__ico path { transition: fill var(--dur-base) var(--ease-out); }

.tabs__item.is-active .tabs__btn { color: var(--color-on-dark); background-color: var(--color-primary); }
.tabs__item.is-active .tabs__ico path { fill: var(--color-bg); }
@media (hover: hover) {
  .tabs__item:hover .tabs__btn { color: var(--color-on-dark); background-color: var(--color-primary); }
  .tabs__item:hover .tabs__ico path { fill: var(--color-bg); }
}

/* Panels: pt 50; row inset 20px each side from 576 */
.tabs__panels { padding-top: var(--space-50); }
.tabs__panel[hidden] { display: none; }
/* without JS (K-11): the panels ship visible and the bar is not shown (its buttons could not switch anything), so all panels
   stand one under another, each with its title; skrypty/27-zakladki.js adds .has-js and hides the panels not selected */
.tabs__box:not(.has-js) .tabs__bar { display: none; }
.tabs__box:not(.has-js) .tabs__panel + .tabs__panel { margin-top: var(--space-50); }
@media (width >= 576px) { .tabs__row { margin-inline: var(--space-20); } }
.tabs__text { order: 2; }
.tabs__media { order: 1; margin-bottom: var(--stack-m); }
@media (width >= 1200px) { .tabs__text { order: 1; } .tabs__media { order: 2; } }

.tabs__intro { margin-bottom: var(--space-20); }
@media (width >= 576px) { .tabs__intro { margin-bottom: var(--space-30); } }
.tabs__title { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); margin-bottom: var(--stack-xs); }

.tabs__img { position: relative; overflow: hidden; border-radius: var(--card-radius); }
.tabs__img > img { width: 100%; }

/* Main page head and panel (v13, Konrad 3.12, chosen 3b + 4a). The study page keeps the plain .tabs.
   Head .tabs--head-lead: left-aligned; from 992 the title and the first paragraph (lead role, title colour) in the first
   5 of 12 columns, the second paragraph beside them from the top of the title. */
.tabs--head-lead .tabs__head > p { margin-inline: 0; }
.tabs--head-lead .tabs__head > p:first-of-type { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); color: var(--color-title); }
@media (width >= 992px) {
  .tabs--head-lead .tabs__head { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: var(--grid-gap); align-items: start; }
  .tabs--head-lead .tabs__head > p:last-of-type { grid-column: 2; grid-row: 1 / span 2; }
}

/* Panel .tabs--panel-card: one white card, the photo fills its right part from 768 (above the text below); the people are
   rows without lines (Konrad 4.12, v15), the name a .link-arrow and the field of work on its own line under it */
.tabs__people { display: grid; margin-bottom: var(--stack-m); }
.tabs__person { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-15); }
.tabs__person-spec { grid-column: 1; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }
.tabs--panel-card .tabs__row { display: grid; align-items: stretch; margin-inline: 0; overflow: hidden; border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.tabs--panel-card .tabs__row > * { width: auto; padding-inline: 0; }
.tabs--panel-card .tabs__text { padding: var(--card-pad); }
.tabs--panel-card .tabs__media { margin-bottom: 0; }
.tabs--panel-card .tabs__img { height: 100%; border-radius: 0; }
.tabs--panel-card .tabs__img > img { height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (width >= 768px) {
  .tabs--panel-card .tabs__row { grid-template-columns: 7fr 5fr; }
  .tabs--panel-card .tabs__text { order: 1; }
  .tabs--panel-card .tabs__media { order: 2; min-height: 320px; }
  .tabs--panel-card .tabs__img > img { position: absolute; inset: 0; aspect-ratio: auto; }
}
.tabs--panel-card .tabs__intro { margin-bottom: var(--stack-s); }
.tabs--panel-card .tabs__person { padding-block: var(--space-10); }
.tabs--panel-card .tabs__person > .link-arrow { justify-self: start; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .tabs__item.is-active .tabs__btn { forced-color-adjust: none; background-color: Highlight; color: HighlightText; } /* no text backplate over the highlight */
  .tabs--panel-card .tabs__row { outline: 1px solid CanvasText; }  /* the main page panel card */
}

/* ===== 28-pytania.css ===== */
/* FAQ with photo (source: index block 9, service-detail block 4; .myAccordion.style-3).
   Markup: section.section.faq > .container > .row.row--center > .faq__media + .faq__body.
   Accordion: .faq__list > details.faq__item[name] > summary.faq__q [h3.faq__text + span.faq__arrow] + .faq__answer.
   Behaviour (skrypty/28-pytania.js, PLAN 7.3): one item open at a time (also without JS, through `name`), height animated by
   ruch() (00-ruch.js) on the details element, chevron right -> down.
   Values measured on the source at 375/576/768/992/1199/1281/1400/1481/1920. */

/* columns: 50/50 from 992, 5/12 + 7/12 from 1400; both mb 30 */
.row > .faq__media, .row > .faq__body { margin-bottom: var(--stack-m); }
@media (width >= 1400px) {
  .row > .faq__media { width: 41.666667%; }
  .row > .faq__body { width: 58.333333%; }
}
.faq__frame { position: relative; overflow: hidden; border-radius: var(--radius-l); }
.faq__img { width: 100%; }
@media (width >= 1200px) { .faq__inner { padding-left: var(--space-30); } }

/* heading: 28/39.2, 32/44.8 (576), 38/53.2 (992), 45/58.5 (1480); bold, mb 15 */
.faq__head { margin-bottom: var(--space-20); }
@media (width >= 576px) { .faq__head { margin-bottom: var(--space-30); } }
.faq__title { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-section); color: var(--color-title); margin-bottom: var(--stack-xs); }
/* lead: the source asks for font-light 300; there is no Montserrat 300 face, so it renders as 400 */
.faq__lead { font-weight: var(--fw-body); font-size: var(--fs-body); line-height: var(--lh-body); margin-bottom: var(--stack-s); }
@media (width >= 1200px) { .faq__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); } }

/* accordion (style-3): bottom rules, 18/28 questions (source medium 500, rendered 400), padding-block 25 (source 23) */
.faq__list { margin-bottom: var(--stack-m); }
.faq__q {
  position: relative; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-15); cursor: pointer; list-style: none;
  margin: 0; padding-block: var(--space-25); border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-regular); color: var(--color-title);
}
.faq__q::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq__q:hover { color: var(--color-primary); } }  /* hover (K-05): the question turns pink like a link */
.faq__text { margin: 0; font: inherit; color: inherit; text-align: start; }
.faq__arrow .ico { display: block; font-size: var(--ico-m); }
.faq__arrow .ico--chevron-down { display: none; }
/* open: chevron down; an item that is still closing (script) already shows the closed chevron */
.faq__item[open] > .faq__q:not([aria-expanded="false"]) .ico--chevron-right { display: none; }
.faq__item[open] > .faq__q:not([aria-expanded="false"]) .ico--chevron-down { display: block; }
.faq__answer { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); padding-top: var(--space-15); padding-bottom: var(--space-25); border-bottom: 1px solid var(--color-border); border-radius: var(--radius-xs); }
.faq__answer p { margin-bottom: 0; }
.faq__answer > p + p { margin-top: var(--stack-s); }

/* ===== 29-zespol.css ===== */
/* Team by field (v15, Konrad 4.12: variant C of three; replaces the tabs on the main page): no tabs, every field is a white
   card at once: an icon sign and the field name, the people as rows (name with an arrow to the person page, field below),
   one button to the doctors hub under the cards. Five cards fill the grid without a hole: the first card (the field with
   the most people) is the tall one, two rows high, from 768. Head: the title and the lead in the first 5 of 12 columns from
   992, the second paragraph beside them (the same head as .tabs--head-lead of v13). */

.team-fields__head { margin-bottom: var(--section-head-gap); }
.team-fields__head > p { margin-inline: 0; }
.team-fields__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); color: var(--color-title); }
@media (width >= 992px) {
  .team-fields__head { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: var(--grid-gap); align-items: start; }
  .team-fields__head > p:last-of-type { grid-column: 2; grid-row: 1 / span 2; }
}

.team-fields__grid { display: grid; gap: var(--grid-gap); margin-bottom: var(--stack-m); }
@media (width >= 768px) {
  .team-fields__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-fields__card:first-child { grid-row: span 2; }
}
@media (width >= 1200px) { .team-fields__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.team-fields__card { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.team-fields__card-head { display: flex; align-items: center; gap: var(--space-15); margin-bottom: var(--stack-s); }
.team-fields__card-head > .sign { font-size: var(--ico-xl); }
.team-fields__title { margin: 0; font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); text-wrap: balance; }

.team-fields__people { display: grid; margin: 0; }
.team-fields__person { display: grid; padding-block: var(--space-10); }
/* a long name (Koczorowska-Melaniuk) wraps: the arrow follows the last word (a <b> around the last part of the name
   and the arrow never part; a double surname may break at its hyphen, sklad.py leaves card names alone) */
.team-fields__person > .link-arrow { display: inline; justify-self: start; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.team-fields__person > .link-arrow .ico { margin-left: var(--space-5); vertical-align: middle; }
.team-fields__person > .link-arrow > b { font-weight: inherit; white-space: nowrap; }  /* a plain <b> (no BEM class): the text checks of the site read a BEM element as a block */
.team-fields__spec { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .team-fields__card { outline: 1px solid CanvasText; }
}

/* ===== 40-baner-podstrony.css ===== */
/* Subpage banner (v14, Konrad 4.12, chosen variant 1b): a compact light grey band with the breadcrumbs as plain small text
   above the H1 and the Femedis sign drawn large on the right, cut by the band (no cover photo, no pink pill). The site header
   lies over its top, so the content starts at --banner-clear. The markup of v13 stays (H1, then the crumbs nav): the column is
   reversed, so the crumbs stand above the title while a screen reader still meets the title first. */

.page-hero { position: relative; z-index: var(--z-base); width: 100%; overflow: hidden; background-color: var(--color-bg-hero); --color-link-hover: var(--color-link-hover-szare); }
.page-hero__inner { position: relative; z-index: var(--z-base); }
.page-hero__cell { display: flex; flex-direction: column-reverse; align-items: flex-start; padding-top: var(--banner-clear); padding-bottom: var(--space-30); }
.page-hero__title { margin-bottom: 0; hyphens: auto; font-size: var(--fs-banner); line-height: var(--lh-banner); font-weight: var(--fw-banner); color: var(--color-title); text-wrap: balance; }
@media (width >= 992px) { .page-hero__cell { padding-bottom: var(--space-40); } }

/* the sign: the logo mark of the header in pink, 14 % opaque (Konrad chose it knowing it is a tint of the one pink, 4.12);
   from 576 only, below there is no room beside the title. It starts just under the header pill and the band cuts it. */
@media (width >= 576px) {
  .page-hero::after {
    content: ""; position: absolute; z-index: var(--z-flat); top: calc(var(--banner-clear) - var(--space-25)); right: 0; width: 300px; aspect-ratio: 1;
    background-color: var(--color-primary); opacity: .14; mask: url("media/femedis/sygnet.svg?v=f66c97b2") center / contain no-repeat; /* exception: the 14 % sign Konrad chose (1b, 4.12), the only tint of the one pink */
  }
}
@media (width >= 1200px) { .page-hero::after { top: calc(var(--banner-clear) - var(--space-30)); right: 4%; width: 380px; } }

/* crumbs: one line of small text, links graphite semibold without underline (v15), pink separators (02-ikony.css); only the
   pages above this one: the H1 names the current page, so it is no crumb (Konrad 5.12.2026: the last crumb repeated the H1) */
.page-hero__crumbs { display: flex; flex-wrap: wrap; align-items: center; isolation: isolate; margin-bottom: var(--space-10); }
/* the 48 px target of a crumb link is the ::after of 00-baza.css; the areas lie under the text of the crumbs (z-index -1 inside
   the isolated list), so when the crumbs wrap (320-360 px) a tap on the text of a crumb always opens that crumb */
.page-hero__crumb a { display: inline-block; font-weight: var(--fw-semibold); color: var(--color-link); transition: color var(--dur-base) var(--ease-out); }
.page-hero__crumb a::after { z-index: var(--z-below); }
/* hover: pink, the one link look of v15 (4.23:1 on the grey band, the exception noted at --color-link-hover) */
@media (hover: hover) { .page-hero__crumb a:hover { color: var(--color-link-hover); } }
.page-hero__crumb { display: inline-flex; align-items: center; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }
/* the separator (Konrad 5.12.2026: on the axis of the text, the same gap on both sides): a 1em box centred on the line by
   the flex row, --space-8 on both sides; the drawing is centred top to bottom in its file but sits 1/32 em right of the
   middle, which the translate takes back; the last crumb has one after it too, pointing at the H1 (Konrad 5.12.2026: "ten
   różowy znaczek… wiadomo, że to jest breadcrumb") */
.page-hero__crumb--sep::before, .page-hero__crumb:last-child::after {
  flex: none; width: 1em; height: 1em; margin-inline: var(--space-8); vertical-align: 0; color: var(--color-primary);
  translate: calc(-1em / 32) 0;  /* exception: geometry of the icon drawing (64 and 32 of 512 units at its sides), not a spacing */
}

/* phone (v15, Konrad 4.12, serwis/AUDYT-PREZENTACJI.md): the path took two or three lines with a separator starting a line;
   below 576 one line shows only the way back to the parent page (a mirrored pink separator before it, the name cut with an
   ellipsis), the other crumbs stay for screen readers only; the H1 under it names the current page */
@media (width < 576px) {
  .page-hero__cell > nav { max-width: 100%; }  /* the crumbs never wider than the container, so the ellipsis of the link works (audit 4.12) */
  .page-hero__crumbs { flex-wrap: nowrap; }
  .page-hero__crumb:not(:last-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-hero__crumb:last-child { display: flex; align-items: center; min-width: 0; }
  /* the link clips its text for the ellipsis, which clips the 48 px ::after too: the link box itself is the 48 px target here,
     its padding taken back by negative margins so the line keeps its height */
  .page-hero__crumb:last-child a { overflow: hidden; min-width: var(--target); padding-block: calc((var(--target) - 1lh) / 2); margin-block: calc((1lh - var(--target)) / 2); text-overflow: ellipsis; white-space: nowrap; }
  .page-hero__crumb:last-child::after { content: none; }  /* the phone line is the way back, its mirrored separator stands before it */
  .page-hero__crumb:last-child::before {
    content: ""; flex: none; width: 1em; height: 1lh; margin: 0 var(--space-5) 0 0; translate: none;
    background-color: var(--color-primary); scale: -1 1;
    mask: url("media/ikony/okruszki.svg?v=7f4c6814") no-repeat center / 1em calc(1.043 * 1em);  /* exception: geometry of the icon (its 23:24 viewBox), not a spacing */
  }
}

/* high contrast (00-baza.css, forced colours): the sign is decoration, gone with the forced colours */
@media (forced-colors: active) { .page-hero::after { display: none; } }

/* ===== 41-usluga.css ===== */
/* Service detail (source: service-detail block 2, .service-single): photo + text card, then "Steps in ..." check list
   and "What to Expect" with round pink icons. Shell: .section.section--light.
   Values measured on the source at 375/576/768/992/1199/1281/1400/1481/1920. */

/* card: stacked below 992 (photo 300 / 420 from 576), side by side from 992 (photo 390, 465 from 1200) */
.service__card { display: flex; flex-direction: column; }
@media (width >= 992px) { .service__card { flex-direction: row; } }
.service__media { width: 100%; height: 300px; overflow: hidden; border-radius: var(--radius-m) var(--radius-m) 0 0; }
@media (width >= 576px) { .service__media { height: 420px; } }
@media (width >= 992px) { .service__media { width: 390px; min-width: 390px; border-radius: var(--radius-m) 0 0 var(--radius-m); } }
@media (width >= 1200px) { .service__media { width: 465px; min-width: 465px; } }
.service__img { width: 100%; height: 100%; object-fit: cover; }
.service__body { padding: var(--space-20); background-color: var(--color-bg); border-radius: 0 0 var(--radius-m) var(--radius-m); }
@media (width >= 576px) { .service__body { padding: var(--pad-card-m); } }
@media (width >= 992px) { .service__body { border-radius: 0 var(--radius-m) var(--radius-m) var(--radius-m); } }
/* title (h4): 28/39.2, 35/45.5 (576), 38/49.4 (992); semibold, capitalised */
.service__title { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-semibold); color: var(--color-title); margin-bottom: var(--stack-xs); }
/* text: 14 / 15 (576) / 16 (1200) / 18 (1480), line-height 1.5 */
.service__text { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); margin-bottom: var(--stack-s); }
@media (width >= 1480px) { .service__text { font-size: var(--fs-lead); line-height: var(--lh-lead); } }

/* second part: pt 40 / 50 (576) / 70 (768) / 100 (1480), the section top rhythm --section-pt */
.service__more { padding-top: var(--section-pt); }
.service__cols { justify-content: space-between; }
.service__summary { margin-bottom: var(--stack-m); }
/* From 992 the summary list (one column) stood beside four teasers twice its height and left an empty half (Konrad 1.12, no empty
   halves on desktop). A sticky summary would hide its own bottom at 992-1199 (868-916 px under a 120 px header). So both blocks span
   the row: the summary flows into two columns, the teasers form a 2 x 2 grid. */
@media (width >= 992px) {
  .service__cols > .service__summary, .service__cols > .service__summary + * { width: 100%; }
  .service__summary { margin-bottom: var(--stack-m); }
  .service__summary .service__list--facts { display: block; columns: 2; column-gap: var(--space-60); }
  .service__summary .service__list--facts > li { break-inside: avoid; }
  .service__summary + * { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--stack-m) var(--space-60); }
  .service__summary + * > .service__feature { margin-bottom: 0; }
}
.service__subtitle { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-semibold); color: var(--color-title); margin-bottom: var(--space-20); }
/* check list: 2 columns from 576, 17/35 semibold (18 from 992), tick icon (02-ikony.css) */
.service__list { display: flex; flex-wrap: wrap; color: var(--color-title); }
.service__list > li {
  position: relative; width: 100%; padding: var(--space-5) var(--space-5) var(--space-5) var(--space-30); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold);
}
@media (width >= 576px) { .service__list > li { width: 50%; } }
.service__list > li::before { position: absolute; left: var(--space-4); top: calc(var(--space-5) + (1lh - var(--bullet)) / 2); color: var(--color-primary); } /* the dot on the middle of the first line (v15) */

/* what to expect: 70 px pink circle with a 40 px white icon, title 22/33 */
.service__feature { display: flex; align-items: center; gap: var(--space-20); margin-bottom: var(--space-20); text-align: start; }
.service__icon { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; min-width: 70px; border-radius: var(--radius-round); background-color: var(--color-primary); }
.service__feature-title { margin-bottom: 0; font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-semibold); color: var(--color-title); }
/* source asks for light 300, rendered as 400 (no Montserrat 300 face) */
.service__feature-text { margin-bottom: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* ===== service: icons (02-ikony.css) for "what to expect" items; price card; field list ===== */
.service__icon .ico { color: var(--color-on-dark); font-size: var(--ico-xl); }
.service__feature-text + .service__feature-text { margin-top: var(--space-8); }
/* teaser with several sentences (page sections as "what to expect"): icon at the top, body-text leading */
.service__feature--teaser { align-items: flex-start; margin-bottom: var(--stack-m); }
.service__feature--teaser .service__feature-title { margin-bottom: var(--space-5); line-height: var(--lh-block); }
.service__feature--teaser .service__feature-text { font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-body-l); }  /* 16/24 at every width, as v10 (F21) */

/* price card: on phones the white panel (price, button) comes before the photo, so both are on the first screen */
@media (width < 992px) {
  .service__card--price .service__body { order: -1; border-radius: var(--radius-m) var(--radius-m) 0 0; }
  .service__card--price .service__media { height: 220px; border-radius: 0 0 var(--radius-m) var(--radius-m); }
}
.service__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10) var(--space-20); margin-bottom: var(--stack-s); }
.service__actions .service__text { margin-bottom: 0; }
.service__label { font-weight: var(--fw-semibold); color: var(--color-title); }

/* field list ("... w skrócie"): one column, label + value, normal leading for long values */
.service__list--facts > li { width: 100%; padding-block: var(--space-8); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-text); }
@media (width >= 576px) { .service__list--facts > li { width: 100%; } }
.service__list--facts > li::before { top: calc(var(--space-8) + (1lh - var(--bullet)) / 2); }

/* ===== 42-galeria.css ===== */
/* Service gallery (source: service-detail block 3): six photos, 2 columns, 3 from 768, gap 20.
   Shell: .section.section--light without top padding; pb 40 / 70 (1480) from .section. Radius 10 (source 8) / 15 from 576. */
.svc-gallery { padding-top: 0; }
.svc-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-20); }
@media (width >= 768px) { .svc-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-gallery__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }  /* one frame for every photo; the box is known before the file loads (CLS 0) */
@media (width >= 576px) { .svc-gallery__img { border-radius: var(--radius-m); } }

/* ===== 44-cta.css ===== */
/* CTA "Want to schedule an appointment?": light band, photo of mother and baby pinned top right (contain; 45% wide from 1480; hidden below 576).
   Values from computed styles of the source (service-detail, 375..1920). */

.cta { position: relative; z-index: var(--z-base); background-color: var(--color-bg-soft); }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: var(--z-below);
  background: var(--color-bg-soft) none no-repeat right top / contain;
}
.cta__box {
  position: relative; overflow: hidden; min-height: 258px; margin-inline: 0; padding-block: var(--space-40); border-radius: var(--radius-l);
}
.row > .cta__col { flex-shrink: 0; }
.cta__content { position: relative; z-index: var(--z-raised); margin-bottom: 0; }
.cta__title { margin-bottom: var(--stack-s); font-size: var(--fs-closing); line-height: var(--lh-closing); font-weight: var(--fw-closing); color: var(--color-title); }
.cta__btn .ico { margin-left: 0; }

@media (width >= 576px) {
  .cta::after { background-image: url("media/wzor/images/about/1.png?v=cc6bffb1"); }
  .cta__box { padding-inline: var(--space-15); }
  .row > .cta__col { width: 75%; }
}
@media (width >= 768px) { .row > .cta__col { width: 58.333333%; } }
@media (width >= 992px) {
  .cta__box { min-height: 300px; padding: var(--space-80) var(--space-50); border-radius: var(--radius-xl); }
}
@media (width >= 1200px) {
  .cta { margin-top: var(--space-30); }
  .row > .cta__col { width: 50%; }
}
@media (width >= 1400px) { .cta__box { border-radius: var(--radius-2xl); } }
@media (width >= 1480px) {
  .cta { margin-top: 0; }
  .cta::after { background-size: 45%; }
  /* exception: the box reaches 100 px past the content, but never closer than the side margin to the screen edge (1480-1549 px, geometry) */
  .cta__box { min-height: 400px; margin-inline: max(-1 * var(--space-100), (100% - 100vw) / 2 + var(--gutter)); padding: var(--space-120) var(--space-100); }
}

/* ----- Femedis (moved from 50-femedis.css, stage 6) ----- */
/* ===== cta: sentence, phone fact and the booking tiles under the button ===== */
.cta__text { margin-bottom: var(--space-20); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }
.cta__note { margin: var(--space-15) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
/* v10 (28.11): photo from femedis.pl (orchid and the consulting room) instead of the stock mother and baby; its left edge
   fades out in the file itself. It is a rectangle, not a cut-out, so it must not end inside the band (the tiles make the
   band taller): from 992 it fills the right part of the band at full height; below 992 it is hidden and the text and the
   tiles take the whole width (beside the photo three tiles were ~70 px wide at 768). */
@media (width >= 576px) and (width < 992px) {
  .cta--kafelki::after { background-image: none; }
  .cta--kafelki .row > .cta__col { width: 100%; }
}
@media (width >= 992px) {
  /* cover crops the photo differently at each width, so the left edge fades here (mask), not only in the file.
     exception: #000 is a mask stop (only its alpha counts) */
  .cta--kafelki::after {
    left: auto; width: 45%; background-image: url("media/femedis/strona/zamkniecie-storczyk.webp?v=446e3e26"); background-position: right center; background-size: cover;
    mask-image: linear-gradient(to right, transparent 0, #000 30%);  /* exception: #000 is the opaque stop of the mask, not a colour */
  }
}
@media (width >= 992px) and (width < 1200px) { .cta--kafelki .row > .cta__col { width: 55%; } }
.cta__tiles { display: grid; gap: var(--space-15); margin-top: var(--stack-m); }
@media (width >= 576px) { .cta__tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-20); } }
/* beside the photo (992-1199) the column is narrow: one tile per row instead of two plus an orphan */
@media (width >= 992px) and (width < 1200px) { .cta__tiles { grid-template-columns: none; } }
.cta__tile { padding: var(--pad-card-s); border-radius: var(--radius-m); background-color: var(--color-bg); box-shadow: var(--shadow-m); }
.cta__tile-title { margin-bottom: var(--stack-xs); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); }
.cta__tile-text { margin-bottom: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .cta__tile { outline: 1px solid CanvasText; }
}

/* ===== 51-stopka.css ===== */
/* ===== v10 (28.11): the Femedis footer .ftr instead of the clone footer (white card on a photo, cut-out photo, plum strip;
   Konrad: "ta sekcja jest ohydna"). Konrad chose variant 2 of three (--jasna), with an interactive grayscale map instead of the
   reception photo. Content: a contact card (map, booking call, phone, e-mail, address, booking button), then the logo with the
   emergency note beside three link groups, then the company line and the legal links. Markup: narzedzia/makiety-v10/wstaw_stopke.py. ===== */

.ftr { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.ftr a { transition: color var(--dur-base) var(--ease-out); }

/* logo. exception: wordmark in Geomini 800, not a Montserrat role (at 700 the word renders 2-3 px narrower) */
.ftr__mark { display: inline-flex; align-items: center; gap: var(--space-10); color: var(--color-title); }
.ftr__sig { flex: none; width: 40px; height: 40px; fill: var(--color-primary); }
/* exception: logo wordmark in Geomini 800, not a Montserrat role (the same word as .hdr__mark-word, 10-naglowek.css) */
.ftr__word { font-family: "Geomini", var(--font-base); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }

/* booking call */
.ftr__cta-title { margin-bottom: var(--stack-xs); font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--fw-headline); color: var(--color-title); }
.ftr__cta-lead { max-width: 620px; margin-bottom: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }

/* contact: icon in a pink circle + text; small pill buttons (Kopiuj, Prowadź) */
.ftr__contact { display: grid; gap: var(--space-15); }
.ftr__contact-item { display: flex; align-items: center; gap: var(--space-10); }
.ftr__ico {
  flex: none; width: var(--sign-s); height: var(--sign-s); padding: var(--space-10); border-radius: var(--radius-round); background-color: var(--color-bg-soft);
  fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ftr__contact-link { font-weight: var(--fw-semibold); color: var(--color-title); }
.ftr__nowrap { white-space: nowrap; }
.ftr__mini {
  display: inline-block; margin-left: var(--space-5); padding: 0 var(--space-10); border: 1px solid currentColor; border-radius: var(--radius-pill);
  background: none; font: inherit; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: inherit; cursor: pointer; vertical-align: 1px;
}

/* link groups */
.ftr__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-30) var(--space-25); }
@media (width >= 768px) { .ftr__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ftr__heading { margin-bottom: var(--space-15); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-accent); }  /* 15 px of v10 (16 = --stack-s would move it: list B) */
.ftr__link { display: inline-flex; align-items: center; min-width: var(--target); min-height: var(--target); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }  /* semibold like every link (Konrad 5.12.2026) */
@media (hover: hover) { .ftr__link:hover, .ftr__contact-link:hover { color: var(--color-primary); } }

/* emergency note, company line, legal links */
.ftr__note, .ftr__copy { margin-bottom: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-20); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.ftr__legal a, .ftr__legal-btn { display: inline-flex; align-items: center; min-height: var(--target); padding: 0; border: 0; background: none; font: inherit; font-weight: var(--fw-semibold); color: var(--color-link); text-decoration: none; cursor: pointer; transition: color var(--dur-base) var(--ease-out); }
/* hover and pressed (K-05, K-03): text links turn pink, the small pill fills with graphite like .btn--outline */
@media (hover: hover) {
  .ftr__legal a:hover, .ftr__legal-btn:hover { color: var(--color-link-hover); }
  .ftr__mini:hover { border-color: var(--color-bg-dark); background-color: var(--color-bg-dark); color: var(--color-on-dark); }
}
.ftr__mini:active { border-color: var(--color-bg-dark); background-color: var(--color-bg-dark); color: var(--color-on-dark); }
/* social profiles at the end of the legal links (Konrad 5.12.2026, artifact „Femedis: media społecznościowe na stronie”,
   footer variant A moved down to the company line): graphite icon in an outlined 48 px circle, pink on hover like the links;
   two classes, so the plain look of `.ftr__legal a` (no border, inherited font) does not win */
.ftr__social { display: flex; gap: var(--space-10); }
.ftr__social .ftr__social-link { display: grid; place-items: center; width: var(--target); height: var(--target); border: 1px solid var(--color-border); border-radius: var(--radius-round); background-color: var(--color-bg); color: var(--color-title); font-size: var(--ico-m); line-height: var(--lh-none); transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
@media (hover: hover) { .ftr__social .ftr__social-link:hover { border-color: currentColor; color: var(--color-link-hover); } }
.ftr__social .ftr__social-link:active { border-color: currentColor; color: var(--color-link-hover); }
/* the page you are on (K-10): aria-current="page"; every footer link is semibold since 5.12.2026, so the current one is pink */
.ftr__link[aria-current="page"] { color: var(--color-primary); }

/* --jasna: light band, contact card with the map, light link columns */
.ftr--light { padding-top: var(--space-60); background-color: var(--color-bg-soft); color: var(--color-text); }
@media (width >= 992px) { .ftr--light { padding-top: var(--space-80); } }
.ftr__card { display: grid; overflow: hidden; border-radius: var(--radius-xl); background-color: var(--color-bg); box-shadow: var(--shadow-l); }
@media (width >= 992px) { .ftr__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* map half of the card: the consent placeholder (62-kontakt.css) fills it without its own border; 340 px tall on the phone */
.ftr__map { position: relative; display: grid; overflow: hidden; background-color: var(--color-bg-soft); }
.ftr__map > .map-ph { border: 0; border-radius: 0; }  /* grid item: fills the card half on desktop, grows with its text on the phone (min 340 px) */
/* the embed always shows Google's place card (name, rating, "Otwórz w Mapach") in the top left corner and no URL parameter
   turns it off: the frame starts 170 px above the box, so the card stays hidden; Google's attribution at the bottom stays visible */
.ftr__map .consent-frame { top: -170px; height: calc(100% + 170px); }
/* panel: gap 30, padding 30/20 on the phone (v10: 28, 32/22), 56 from 992 (--pad-card-l) */
.ftr__panel { display: grid; gap: var(--space-30); align-content: center; padding: var(--space-30) var(--space-20); }
@media (width >= 992px) { .ftr__panel { padding: var(--pad-card-l); } }
.ftr__eyebrow { margin-bottom: var(--space-10); }  /* the small label of v10: its look is the small label of 00-baza.css (F14) */
.ftr__main { display: grid; gap: var(--space-40); padding-block: var(--space-60) var(--space-40); }
@media (width >= 992px) { .ftr__main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--space-60); } }
.ftr__brand { display: grid; gap: var(--space-20); align-content: start; }
.ftr__bottom { display: grid; gap: var(--space-10); padding-block: var(--space-25) var(--space-30); border-top: 1px solid var(--color-border); }
/* two halves from 992: with "auto" the unwrapped legal links squeezed the company line to ~100 px at 1024 */
@media (width >= 992px) { .ftr__bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-40); align-items: center; } .ftr__legal { justify-content: flex-end; } }
/* below 576 the fixed booking bar covers the bottom of the page: room for it (bar height + the usual 30) */
@media (width < 576px) { .ftr__bottom { padding-bottom: calc(var(--bar-h) + var(--space-30)); } }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .ftr__card { outline: 1px solid CanvasText; }
}

/* ===== 60-osoby.css ===== */
/* People (PLAN-DESIGN-SYSTEMU.md 5B points 9-14, 5C osoba and hub-lekarze, 5E point 6), stage 6, 30.11.2026.
   Blocks: portrait (photo or sygnet), person (page head and card), person-facts (facts table of the card), the state badge (.badge, status
   badge), bio, quals, rating, person-row (row of a list), team-card (doctors hub grid), perf-card ("Kto wykonuje" and "Inni
   specjaliści"). Layouts follow ClinicMaster team-detail, team-grid and teams-3, written in v11 tokens. Mobile first. */

/* Icons (.ico--clock and the rest) are in 02-ikony.css. */

/* Links in the running text of these blocks: the one rule of 00-baza.css (T-02). */

/* ===== portrait: photo or the pink sygnet on a soft rounded block (no single portraits yet) ===== */
.portrait {
  display: flex; flex: none; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--radius-l); background-color: var(--color-bg-soft); color: var(--color-primary);
}
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }  /* the face is in the upper part of a portrait (F09) */
.portrait__sign { width: 42%; aspect-ratio: 1; fill: currentColor; }
.portrait--l { width: 160px; }                                   /* fixed media size: 160 px on phones keeps name and booking on the first screen */
@media (width >= 576px) { .portrait--l { width: 240px; } }       /* fixed media size: 240 px (plan point 10) */
.portrait--s { width: 72px; aspect-ratio: 1; border-radius: var(--radius-m); }  /* fixed media size: 72 px below 576 */
@media (width >= 576px) { .portrait--s { width: 96px; } }        /* fixed media size: 96 px (plan point 9) */
.portrait--round { width: var(--sign-l); aspect-ratio: 1; border-radius: var(--radius-round); }
.portrait--fill { width: 100%; aspect-ratio: 4 / 5; }
.portrait--fill .portrait__sign { width: 30%; }
/* pick (F09): the 40 px avatar of the person choice and of the chosen person on the booking page; photo or sygnet like the rest */
.portrait--pick { width: var(--sign-s); aspect-ratio: 1; border-radius: var(--radius-round); }
.portrait--pick .portrait__sign { width: 60%; }

/* ===== person: page head and card. Portrait in a side column, sticky from 992 (ClinicMaster team-detail) ===== */
.person__grid { display: grid; gap: var(--stack-m); align-items: start; }
@media (width >= 992px) {
  .person__grid { grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-60); }  /* 240 = portrait */
  .person__aside { position: sticky; top: var(--header-offset); }                           /* below the fixed header bar */
}
.person__name {
  margin-bottom: var(--stack-xs); font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--fw-headline);
  color: var(--color-title); overflow-wrap: break-word;
}
.person__spec { margin-bottom: var(--stack-s); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold); color: var(--color-title); }  /* graphite: pink here read as a link (F14) */
.person__lead { max-width: var(--measure); }
.person__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10) var(--space-15); }
.person__tel .ico { margin: 0 var(--space-8) 0 0; }
.person__note { margin: var(--space-10) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
/* message instead of schedule and booking (not confirmed, temporarily not seeing patients, not seeing patients) */
.person__msg {
  margin-bottom: var(--stack-s); padding: var(--pad-card-s); border-radius: var(--radius-m); background-color: var(--color-info-bg);
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-title);
}
/* warm surface: pink fails AA here (4.33:1), so links and small labels go graphite (T-03) */
.person__msg--pause { background-color: var(--color-warning-bg); --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare); }
.person__msg > :last-child { margin-bottom: 0; }
.person__msg .badge { margin-bottom: var(--space-10); }

/* small examples of the variants: white card; portrait beside the name from 576, the rest under both */
.person--sm { height: 100%; padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.person--sm .person__name { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
.person--sm .person__spec { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); }
.person--sm .person__grid { grid-template-columns: auto minmax(0, 1fr); gap: var(--stack-s) var(--space-15); align-items: center; }
.person--sm .person__aside { position: static; }
.person--sm .person__main { display: contents; }
.person--sm .person__body { grid-column: 1 / -1; }
.person--sm .person-facts tr:nth-child(odd) > * { background-color: var(--color-bg-soft); }
@media (width >= 576px) { .person--sm .person__grid { gap: var(--stack-s) var(--space-20); } }
.person--sm .person__head > :last-child { margin-bottom: 0; }

/* ===== person-facts: facts table of the card (striped rows, ClinicMaster team-detail); label above value below 576 ===== */
.person-facts {
  width: 100%; max-width: var(--measure-box); margin-block: var(--stack-m); border-collapse: separate; border-spacing: 0;
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-text);
}
.person-facts caption {
  caption-side: top; padding-bottom: var(--space-10); text-align: start;
  font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title);
}
.person-facts :is(th, td) { padding: var(--pad-cell); text-align: start; vertical-align: top; overflow-wrap: break-word; }
.person-facts th { font-weight: var(--fw-semibold); color: var(--color-title); }
.person-facts tr:nth-child(odd) > * { background-color: var(--color-bg-soft); }
.section--light .person-facts tr:nth-child(odd) > * { background-color: var(--color-bg); }
@media (width < 576px) {
  .person-facts :is(tr, th, td) { display: block; }
  .person-facts th { padding-bottom: 0; border-radius: var(--radius-s) var(--radius-s) 0 0; }
  .person-facts td { border-radius: 0 0 var(--radius-s) var(--radius-s); }
}
@media (width >= 576px) {
  .person-facts th { width: 38%; border-radius: var(--radius-s) 0 0 var(--radius-s); }
  .person-facts td { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
}
.person-facts__hours > li { display: flex; flex-wrap: wrap; gap: 0 var(--space-8); font-variant-numeric: tabular-nums; }
.person-facts__day { min-width: 3.5em; font-weight: var(--fw-semibold); color: var(--color-title); }
.person__price { font-family: var(--font-number); font-weight: var(--fw-num); color: var(--color-title); white-space: nowrap; }
/* four states of the schedule and visit form, side by side from 768 */
.person-fields { display: grid; gap: var(--grid-gap); }
@media (width >= 768px) { .person-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person-fields .person-facts { margin-block: 0; }

/* state of a person: a .badge (00-baza.css): "Zapytaj w rejestracji" plain, "Czasowo nie przyjmuje" --warning, "Nie przyjmuje" --dark */

/* ===== bio: long biography (up to ~300 words); the areas of work sit in a card beside it from 992 px, below it on phones ===== */
.bio__grid { display: grid; gap: var(--stack-m) var(--grid-gap); }
@media (width >= 992px) { .bio__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; column-gap: var(--space-60); } }
.bio__text { max-width: var(--measure); }
.bio__title { margin-bottom: var(--stack-s); font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-section); color: var(--color-title); }  /* heads its section: the section role, as .title (F20) */
.bio__aside { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-soft); }
.bio__subtitle { margin-bottom: var(--space-10); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); }
.bio .checklist { margin-bottom: 0; }  /* context override of .checklist (00-baza.css): the box ends with the list */
/* the ZnanyLekarz score at the end of the side column: white card inside the soft column, without its own shadow */
.bio__aside .rating { display: block; max-width: none; margin-top: var(--stack-m); padding: var(--pad-card-s); box-shadow: none; }
/* in the side column the score stands above the text (at 992-1199 the text column beside it was 91 px and the arrow stuck out) */

/* ===== quals: qualifications with source type and date ===== */
.quals { display: grid; gap: var(--space-15); }
@media (width >= 768px) { .quals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); } }
.quals__item { padding: var(--pad-card-s); border-radius: var(--radius-m); background-color: var(--color-bg-soft); }
.section--light .quals__item { background-color: var(--color-bg); }
.quals__text { margin-bottom: var(--stack-xs); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.quals__src { margin: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.quals__type { font-weight: var(--fw-semibold); color: var(--color-accent); }

/* ===== rating: ZnanyLekarz score without stars and without quotes; from 768 px the score stands left of the text ===== */
.rating { max-width: var(--measure-box); padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
@media (width >= 768px) {
  .rating { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-40); align-items: center; }
  .rating__score { grid-row: span 2; margin-bottom: 0; }
}
.rating__score { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-8); margin-bottom: var(--space-8); color: var(--color-title); }
.rating__value { font-family: var(--font-number); font-size: var(--fs-num-l); line-height: var(--lh-num); font-weight: var(--fw-num); color: var(--color-primary); }
.rating__max { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold); }
.rating__text { margin-bottom: var(--stack-s); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.rating__link { justify-self: start; }  /* a .link-arrow (00-baza.css) */

/* ===== person-row: row of a list (hub, "zapytaj w rejestracji", staff). A .card-link: the name link covers the row. ===== */
.person-list { display: grid; gap: var(--space-15); }
.person-row {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--stack-xs) var(--space-15); align-items: start;
  padding: var(--card-pad-tight); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
/* below 992 the portrait sits beside the name block only; hours, note and link take the full row width under them,
   because in the column beside the portrait the hours wrapped into 3-4 short lines (Konrad 1.12) */
.person-row > .portrait { grid-row: 1; }
.person-row > :not(.portrait) { grid-column: 2; min-width: 0; }
.person-row > :is(.person-row__time, .person-row__note, .person-row__more) { grid-column: 1 / -1; }
.person-row__name { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); overflow-wrap: break-word; }
.person-row__spec { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.person-row__time { display: flex; gap: var(--space-10); margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-title); font-variant-numeric: tabular-nums; }
.person-row__time .ico { flex: none; margin-top: calc((1lh - 1em) / 2); color: var(--color-primary); }  /* exception: optical centre of the icon on the first text line */
.person-row__note { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.person-row__note .badge, .perf-card__note .badge, .team-card__note .badge { display: flex; width: fit-content; margin: 0 0 var(--space-8); }
.team-card__note .badge { margin-inline: auto; }
.person-row__note a { position: relative; z-index: var(--z-raised); }  /* tel link above the row link */
.person-row__more { display: inline-flex; align-items: center; gap: var(--space-4); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-link); transition: color var(--dur-base) var(--ease-out); }
@media (hover: hover) { .person-row__more:hover { color: var(--color-link-hover); } }
.person-row--staff, .section:not(.section--light) .person-row--staff { border: 1px solid var(--color-border); background-color: transparent; box-shadow: none; }
@media (width >= 576px) { .person-row { gap: var(--stack-xs) var(--space-20); } }
/* one line per person from 992 (at 768 the hours column was 4fr of 700 px and wrapped like on a phone) */
@media (width >= 992px) {
  .person-row { grid-template-columns: auto minmax(0, 5fr) minmax(0, 4fr) auto; align-items: center; }
  .person-row > .portrait { grid-row: auto; }
  .person-row > :not(.portrait), .person-row > :is(.person-row__time, .person-row__note, .person-row__more) { grid-column: auto; }
}

/* ===== team-card: doctors hub, groups by field, 1/2/3/4 columns (ClinicMaster team-grid, without social icons) ===== */
.team-group + .team-group { margin-top: var(--section-pt); }
.team-group__title { margin-bottom: var(--section-head-gap); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); }
.team-grid { display: grid; gap: var(--grid-gap); }
@media (width >= 576px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 992px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (width >= 1200px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* groups side by side from 768: a group takes as many card columns as it has people (3, from 1200 4 in a row),
   so a group of one person does not leave three quarters of a row empty */
.team-groups { container-type: inline-size; }
@media (width >= 768px) {
  .team-groups { display: flex; flex-wrap: wrap; gap: var(--space-60) var(--grid-gap); --team-cols: 3; }
  .team-groups > .team-group + .team-group { margin-top: 0; }
  .team-groups .team-group { display: flex; flex-direction: column; }
  .team-groups .team-grid { display: flex; flex: 1; }  /* groups in one line stretch to one height, so do their cards (P2-8) */
  .team-groups .team-card { width: calc((100cqi - (var(--team-cols) - 1) * var(--grid-gap)) / var(--team-cols)); }
}
@media (width >= 1200px) { .team-groups { --team-cols: 4; } }
.team-groups + .people-note + .team-group { margin-top: var(--section-pt); }
.team-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--card-radius);
  background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.team-card > .portrait { border-radius: 0; }
.team-card__body { flex: 1; padding: var(--card-pad-tight); text-align: center; }
/* below 576 one column of horizontal cards: a full-width portrait per person made the hub ~430 px per card */
@media (width < 576px) {
  .team-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }  /* two rows, so the portrait spans the text and the arrow */
  .team-card > .portrait { grid-row: 1 / -1; width: 96px; aspect-ratio: auto; min-height: 96px; }  /* fixed media size: 96 px */
  .team-card__body { text-align: start; }
  .team-card__note .badge { margin-inline: 0; }
}
/* the arrow of the card after its body (F18: a card of a person shows that it is a link, like a hub row): the body grows, so
   in a row of cards every arrow stands on one line at the bottom; below 576 the card is a row (portrait | text) and the arrow
   stands under the text */
.team-card > .card-link__arrow { flex: none; align-self: center; margin: 0 0 var(--card-pad-tight); }
@media (width < 576px) { .team-card > .card-link__arrow { grid-column: 2; justify-self: start; margin: 0 0 var(--card-pad-tight) var(--card-pad-tight); } }
.team-card__name { margin-bottom: var(--space-5); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); overflow-wrap: break-word; text-wrap: balance; }
.team-card__spec { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.team-card__note { margin: var(--space-10) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.team-card__note a { position: relative; z-index: var(--z-raised); }
.people-note { margin: var(--stack-m) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.people-more { margin-top: var(--stack-m); }

/* ===== perf-card: compact horizontal card (ClinicMaster teams-3): who performs the service, other specialists ===== */
.perf-grid { display: grid; gap: var(--space-15); }
@media (width >= 768px) { .perf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 992px) { .perf-grid { gap: var(--grid-gap); } }
@media (width >= 1200px) { .perf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.perf-block + .perf-block { margin-top: var(--section-pt); }
.perf-block__title { margin-bottom: var(--section-head-gap); font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-section); color: var(--color-title); }  /* heads its section (F20) */
.perf-card {
  display: flex; align-items: center; gap: var(--space-20); height: 100%; padding: var(--card-pad-tight);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.perf-card__body { min-width: 0; }
.perf-card > .card-link__arrow { margin-left: auto; }  /* F18: the arrow at the right edge, like a hub row */
.perf-card__field { margin-bottom: var(--space-2); }  /* small label of 00-baza.css (F14) */
.perf-card__name { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); overflow-wrap: break-word; }
.perf-card__spec { margin: var(--stack-xs) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.perf-card__note { margin: var(--space-10) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.perf-card__note a { position: relative; z-index: var(--z-raised); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .person--sm, .person-row, .team-card, .perf-card, .rating { outline: 1px solid CanvasText; }
}

/* ===== 61-usluga-czesci.css ===== */
/* Service and examination parts (PLAN-DESIGN-SYSTEMU.md 5B points 1, 2, 4, 5, 15, 18, 33; 5C badanie; 5E points 1, 3, 7, 8, 9, 14).
   They go under the v10 top of a service page (page hero, then the service card section, decision 1b).
   Values only from tokens.css; catalogue examples in katalog/czesci/usluga.html. */

/* links inside the running text of these parts: the one rule of 00-baza.css (T-02) */

/* ===== 1. notice above the content (5E pkt 14: shown between data-od and data-do) ===== */
/* its place on every page (K-09): the slot right under the page hero (on a page without a hero: the start of <main>), in every
   pattern and in _szkielet.html; a band of its own, gone while it holds no notice in its period */
.notice-slot { padding-top: var(--stack-m); }
.notice-slot > .container { display: grid; gap: var(--space-10); }
.notice-slot:not(:has(.notice:not([hidden]))) { display: none; }
.notice {
  display: flex; align-items: flex-start; gap: var(--space-15); padding: var(--card-pad);
  border: 1px solid var(--color-border); border-radius: var(--radius-m); background-color: var(--color-info-bg);
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-text);
}
/* .notice__ico: a .sign (02-ikony.css), neutral in every variant: the warning is the warm surface, not the sign (AD-05) */
.notice__body { min-width: 0; }
.notice__title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title); }
.notice__text { margin-bottom: 0; }
.notice__meta { margin: var(--space-8) 0 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.notice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10) var(--space-20); margin-top: var(--space-15); }
.notice__actions .notice__text { margin: 0; }
.notice__actions .btn .ico { margin: 0 var(--space-8) 0 0; }
/* warning: warm background (online off, service unavailable). Pink text fails AA on the warm background (4.33:1), so the surface
   turns links and small labels graphite (T-03) */
.notice--warning { border-color: transparent; background-color: var(--color-warning-bg); --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare); }

/* ===== 33. price: today's amount, announced amount next to it, what it includes; switch off = sentence with a link ===== */
/* colour (F17): the one amount of a card (.price--l, the 750 zł of the v10 card) is pink large text; every other amount (row
   of a card, list, table, sample prices) is graphite. The announced amount is a .badge (never a chip). */
.price { margin-bottom: var(--stack-s); }
.price__now { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) var(--space-15); margin-bottom: 0; }
.price__amount {
  font-family: var(--font-number); font-size: var(--fs-num-s); line-height: var(--lh-num);
  font-weight: var(--fw-num); color: var(--color-title); white-space: nowrap;
}
.price__next { font-family: var(--font-number); font-weight: var(--fw-num); white-space: nowrap; }  /* on a .badge */
.price__incl { margin: var(--space-10) 0 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.price__label { font-weight: var(--fw-semibold); color: var(--color-title); }
.price__ref { margin-bottom: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
/* large: the one amount of a card (44 / 56 from 992) */
.price--l .price__amount { font-size: var(--fs-num-l); color: var(--color-primary); }
.price--l .price__next { font-size: var(--fs-small); line-height: var(--lh-small); }

/* ===== 4. card "Cena i rezerwacja" (F10): one component, the v10 card of the kolposkopia page (.service__card--price,
   41-usluga.css: photo and white body, full width, the body first on phones). .price-card on its body holds the parts of the
   variants: one shared amount or a row per person, the phone first in phone mode, data-online / data-cena per row.
   Buttons: one pink button per card (the big "Rezerwacja online" of one person); with several people each row has an
   outlined one, because the rows are a choice between equals. ===== */
.price-card { flex: 1 1 0; min-width: 0; }  /* the body fills the card beside the photo from 992, whatever its content */
.price-card__sub { margin: var(--space-20) 0 var(--space-5); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title); }
.price-card__rows { margin-bottom: var(--space-20); }
/* row: name, price, actions stacked below 576 (a long name and the announced price do not fit side by side at 320);
   from 576 the price stands right of the name */
.price-card__row { display: grid; gap: var(--space-10) var(--space-15); padding-block: var(--space-15); border-top: 1px solid var(--color-border); }
.price-card__row:last-child { border-bottom: 1px solid var(--color-border); }
.price-card__who { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; margin: 0; }
.price-card__name { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title); }
.price-card__entity { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.price-card__row > .price { margin: 0; }
@media (width >= 576px) {
  .price-card__row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .price-card__row > .price { text-align: end; }
  .price-card__row > .price .price__now { flex-direction: column; align-items: flex-end; gap: var(--space-5); }
  .price-card__row > .price--off, .price-card__off, .price-card__actions { grid-column: 1 / -1; }
  .price-card__row > .price--off { text-align: start; }
}
.price-card__off { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.price-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-15) var(--space-20); }  /* row gap 15: the 48 px area of a wrapped .link-arrow stays off the pill above */
/* person rows under a shared amount: name and button on one line from 576 */
@media (width >= 576px) {
  .price-card__rows--shared .price-card__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .price-card__rows--shared .price-card__actions { grid-column: 2; }
}
/* phone fact under the rows (online mode) and the big number first (phone mode, data-online="nie") */
.price-card__phone { margin-bottom: var(--space-10); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.price-card__hours { white-space: nowrap; }
.price-card__phone a { font-weight: var(--fw-semibold); color: var(--color-link); }  /* the one link look of v15 (00-baza.css) */
.price-card__tel { margin-bottom: var(--space-20); padding: var(--pad-card-s); border-radius: var(--radius-m); background-color: var(--color-bg-soft); }
.price-card__tel-label { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title); }
.price-card__tel-num {
  display: inline-flex; align-items: center; gap: var(--space-10); font-family: var(--font-number);
  font-size: var(--fs-num-m); line-height: var(--lh-num); font-weight: var(--fw-num); color: var(--color-primary); white-space: nowrap;
}
.price-card__tel-num .ico { font-size: var(--ico-l); }
@media (hover: hover) { .price-card__tel-num:hover { color: var(--color-link-hover); } }
.price-card__tel-hours { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.price-card__note { margin: var(--space-8) 0 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }

/* ===== 5. "w skrócie" (F10): one form, the check list of the kolposkopia page (.service__list--facts, 41-usluga.css), label and
   value per line, two columns from 992 under the card. A field with several people has a line per person. ===== */

/* ===== 18. steps: vertical with icon signs and a 1 px line (template list style 4); a row of 3-4 from 992 ===== */
.steps { counter-reset: step; }
.steps__item {
  position: relative; display: grid; grid-template-columns: var(--sign-m) minmax(0, 1fr); gap: var(--space-20);
  padding-bottom: var(--stack-m); counter-increment: step;
}
.steps__item:last-child { padding-bottom: 0; }
.steps__item:not(:last-child)::before {
  content: ""; position: absolute; top: calc(var(--sign-m) + var(--space-5)); bottom: var(--space-5); left: calc(var(--sign-m) / 2);
  border-left: 1px solid var(--color-primary);
}
/* the icon of a step is a .sign (02-ikony.css) */
.steps__body { min-width: 0; padding-top: var(--space-4); }
.steps__body::before {
  content: "Krok " counter(step); display: block; margin-bottom: var(--space-2);  /* small label of 00-baza.css (F14) */
}
.steps__title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); }
.steps__text { margin-bottom: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
@media (width >= 992px) {
  .steps--row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: var(--grid-gap); }
  .steps--row .steps__item { grid-template-columns: none; align-content: start; gap: var(--space-15); padding-bottom: 0; }
  .steps--row .steps__item:not(:last-child)::before {
    top: calc(var(--sign-m) / 2); bottom: auto; left: calc(var(--sign-m) + var(--space-10)); right: calc(var(--space-10) - var(--grid-gap));
    border-left: 0; border-top: 1px solid var(--color-primary);
  }
}

/* ===== 5C badanie: the teasers of an exam page are the v10 block .service__feature--teaser (41-usluga.css); a card that leads to a
   guide is .guide-card (63-tresci.css). K-08: the third form (.teaser) is gone. ===== */

/* ===== 15. sample prices: 4 rows (service, price, what it includes) behind the price switch; each row is a .card-link ===== */
.sample-prices { display: grid; gap: var(--space-10); margin-bottom: var(--stack-m); }
.sample-prices__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4) var(--space-20);
  padding: var(--card-pad-tight); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.sample-prices__name { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.sample-prices__incl { grid-column: 1; margin: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.sample-prices__row > .price { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: end; }
.sample-prices__row > .price .price__now { flex-direction: column; align-items: flex-end; gap: var(--space-5); }
.sample-prices__row > .price--off { grid-column: 1 / -1; grid-row: auto; text-align: start; }
/* row without a price: the row is not one link (the price cell has its own), the name keeps a 48 px hit area of its own */
.sample-prices__row:has(.price--off) .sample-prices__link { position: relative; }
.sample-prices__row:has(.price--off) .sample-prices__link::after { inset: auto 0; top: 50%; height: max(100%, var(--target)); translate: 0 -50%; }
.sample-prices__off { margin-bottom: var(--stack-m); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }

/* ===== 5E pkt 7: service temporarily unavailable, no booking, no price ===== */
.unavailable {
  max-width: var(--measure-box); margin-inline: auto; padding: var(--pad-card-m) var(--pad-card-s); border-radius: var(--card-radius);
  background-color: var(--card-bg); box-shadow: var(--card-shadow); text-align: center;
}
@media (width >= 768px) { .unavailable { padding: var(--pad-card-l); } }
.unavailable__ico { margin: 0 auto var(--space-20); }  /* a neutral .sign--l */
.unavailable__title { margin-bottom: var(--space-10); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
.unavailable__text { margin-bottom: var(--space-20); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.unavailable__phone { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); margin-bottom: var(--stack-m); }
.unavailable__phone .btn .ico { margin: 0 var(--space-8) 0 0; }
.unavailable__hours { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.unavailable__sub { margin-bottom: var(--space-10); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title); }
.unavailable__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-10); }  /* links: .btn--outline */

/* ===== indications and preparation: check lists in cards, side by side from 768; groups (Kobiety, Mężczyźni) the same ===== */
.lists { display: grid; gap: var(--grid-gap); }
@media (width >= 768px) { .lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lists__card { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.section:not(.section--light) .lists__card { background-color: var(--color-bg-soft); box-shadow: none; }
.lists__title { display: flex; align-items: center; gap: var(--space-15); margin-bottom: var(--stack-xs); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
/* the icon of a list title is a .sign--s (02-ikony.css) */
.lists__lead { margin-bottom: var(--space-10); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.lists__card .checklist { margin-bottom: 0; }  /* context override of .checklist (00-baza.css): the card ends with the list */
.lists__card .checklist > li { width: 100%; }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .sample-prices__row, .unavailable, .lists__card { outline: 1px solid CanvasText; }
}

/* ===== 62-kontakt.css ===== */
/* Contact and booking (stage 6, PLAN-DESIGN-SYSTEMU.md 5B 3, 6, 7, 8, 19-23 and 5E 4, 11, 13, 14): home shortcuts, contact facts
   with "Kopiuj" and "Prowadź do celu", contact cards, phone with hours, opening hours and special hours, urgent help, consent
   placeholders for the Google map and the YouTube film (decision 1b: frames load only after CookieYes consent), booking page
   blocks (person choice, chosen person with the myDR dummy, accounts switched off), "kto jak się umawia", booking channels.
   Script: skrypty/62-kontakt.js (Kopiuj; map and film after the femedis:zgoda event). Catalogue part: katalog/czesci/kontakt.html. */

/* icons used here (.ico--pin, --clock, --list, --doctor, --stethoscope, --check) are defined in 02-ikony.css */

/* links inside sentences of this group: the one rule of 00-baza.css (T-02) */

/* secondary actions of this group (Kopiuj, Prowadź do celu, Zmień osobę, Ustawienia cookies, ZnanyLekarz): the outlined pill
   .btn.btn--outline of 00-baza.css (K-07) */

/* ===== 8. Kopiuj: the button ships with [hidden] (no clipboard without JS); the message is an aria-live region ===== */
.copy__btn[hidden] { display: none; }  /* hook of 62-kontakt.js */
.copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) var(--space-10); }
.copy__msg { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); color: var(--color-title); }
.copy__msg:empty { position: absolute; }
/* states (T-12): the message says what happened, the background of the state token marks it (no colour of its own) */
.copy__msg--done, .copy__msg--error { padding: var(--space-2) var(--space-8); border-radius: var(--radius-xs); }
.copy__msg--done { background-color: var(--color-success-bg); }
.copy__msg--error { background-color: var(--color-error-bg); }
.copy__sel { font-weight: var(--fw-regular); overflow-wrap: anywhere; user-select: all; }

/* ===== 3. Shortcuts on the home page: 6 task tiles (a.card-link with a .sign), 2 columns on the phone, 3 from 768, 6 from 992 ===== */
.shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
@media (width >= 768px) { .shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (width >= 992px) { .shortcuts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.shortcut {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-15); height: 100%;
  padding: var(--card-pad-tight) var(--space-10); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
  text-align: center; color: var(--color-title); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold);
}
.shortcut__label { overflow-wrap: break-word; min-width: 0; }

/* ===== 6. Contact facts: label, value, actions; optional note tied to the value by aria-describedby (5E pkt 13) ===== */
.contact-list { border-top: 1px solid var(--color-border); }
.contact-list__row { display: grid; gap: var(--space-8); padding-block: var(--space-20); border-bottom: 1px solid var(--color-border); }
@media (width >= 768px) { .contact-list__row { grid-template-columns: 10em minmax(0, 1fr); column-gap: var(--space-30); align-items: start; }
  /* the label sits on the first line of the value, not in the middle of a tall row */
  .contact-list__label { padding-top: calc((var(--lh-lead) - var(--lh-caption)) / 2); } }
.contact-list__label {
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--color-accent);
}
.contact-list__value { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-15) var(--space-20); min-width: 0; }  /* row gap 15: the 48 px area of a wrapped link (::after) stays off "Kopiuj" below it */
.contact-list__what { display: grid; flex: 1 1 14em; min-width: 0; }
.contact-list__main { color: var(--color-title); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
/* the 48 px target is the ::after of 00-baza.css, so the phone row is not taller than the address row */
.contact-list__link { display: inline-flex; align-items: center; justify-self: start; }
.contact-list__link[href^="tel:"] { white-space: nowrap; }
@media (hover: hover) { .contact-list__link:hover { color: var(--color-primary); } }
.contact-list__sub { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.contact-list__actions { display: flex; flex-wrap: wrap; gap: var(--space-10); }
.contact-list__note {
  flex-basis: 100%; max-width: var(--measure); margin: 0; padding: var(--pad-card-s); border-radius: var(--radius-s);
  background-color: var(--color-bg-soft); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small);
}

/* contact cards (ClinicMaster icon box): .sign, title, text; 1 column, 2 from 576, 4 from 1200 */
.contact-cards { display: grid; gap: var(--grid-gap); }
@media (width >= 576px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1200px) { .contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-card {
  display: flex; align-items: flex-start; gap: var(--space-20); min-width: 0; padding: var(--card-pad);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
/* icon above the text where the card is narrow (two columns at 576-767: "pn–pt 9.00–19.00" did not fit beside the icon) and from 1200 */
@media (576px <= width < 768px) { .contact-card { flex-direction: column; } }
@media (width >= 1200px) { .contact-card { flex-direction: column; } }
.contact-card__svg { width: var(--ico-l); height: var(--ico-l); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__body { min-width: 0; }
.contact-card__title { margin-bottom: var(--space-5); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.contact-card__text { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.contact-card__link { display: inline-flex; align-items: center; color: var(--color-title); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
.contact-card__link[href^="tel:"] { white-space: nowrap; }
@media (hover: hover) { .contact-card__link:hover { color: var(--color-primary); } }

/* ===== 7. Phone with hours: normal, big (phone mode), with special hours ===== */
.phone-hours { display: grid; justify-items: start; gap: var(--space-4); }
.phone-hours__num {
  display: inline-flex; align-items: center; gap: var(--space-10); color: var(--color-title);
  font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); white-space: nowrap;
}
.phone-hours__num .ico { color: var(--color-primary); font-size: var(--ico-m); }
@media (hover: hover) { .phone-hours__num:hover { color: var(--color-primary); } }
.phone-hours__hours { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.phone-hours__special {
  display: flex; align-items: flex-start; gap: var(--space-8); margin: var(--space-8) 0 0; padding: var(--pad-card-s);
  border-radius: var(--radius-s); background-color: var(--color-warning-bg); color: var(--color-title);
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small);
  --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare);  /* warm surface (T-03) */
}
.phone-hours__special .ico { flex: none; color: var(--color-primary); }
/* big: the number is the main button of the page in phone mode; full width on the phone */
.phone-hours--big { justify-items: stretch; gap: var(--space-10); }
@media (width >= 576px) { .phone-hours--big { justify-items: start; } }
.phone-hours--big .phone-hours__num {
  flex-wrap: wrap; justify-content: center; column-gap: var(--space-8); padding: var(--space-15) var(--space-20); border-radius: var(--radius-pill);
  background-color: var(--color-primary); color: var(--color-on-dark); box-shadow: var(--shadow-s); white-space: normal; text-align: center;
  transition: background-color var(--dur-base) var(--ease-out);
}
@media (width >= 576px) { .phone-hours--big .phone-hours__num { padding-inline: var(--space-30); } }
.phone-hours__digits { white-space: nowrap; }
.phone-hours--big .phone-hours__num .ico { color: inherit; }
@media (hover: hover) { .phone-hours--big .phone-hours__num:hover { background-color: var(--color-primary-hover); color: var(--color-on-dark); } }
.phone-hours--big .phone-hours__hours { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }

/* ===== 21. Opening hours: two tables (przyjęcia, rejestracja telefoniczna) and special hours with a visibility period ===== */
.hours-grid { display: grid; gap: var(--grid-gap); }
/* side by side from 768 the two cards have one height (F43: the short card of the phone hours left 225-245 px of empty half
   beside the week of the clinic); its note stands at the bottom */
@media (width >= 768px) { .hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hours-card { display: flex; flex-direction: column; padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.hours { border-collapse: collapse; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.hours__caption { margin-bottom: var(--space-10); text-align: start; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.hours th, .hours td { padding-block: var(--space-10); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.hours tr:last-child > * { border-bottom: 0; }
.hours th { padding-inline-end: var(--space-15); text-align: start; font-weight: var(--fw-semibold); color: var(--color-title); }
.hours td { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours__closed { color: var(--color-text); }
.hours-card__note { margin: auto 0 0; padding-top: var(--space-10); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }

.hours-special-list { display: grid; gap: var(--space-15); margin-top: var(--stack-m); }
@media (width >= 992px) { .hours-special-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hours-special {
  display: flex; align-items: flex-start; gap: var(--space-15); padding: var(--pad-card-s); border-radius: var(--radius-m);
  background-color: var(--color-warning-bg); color: var(--color-title); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small);
  --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare);  /* warm surface (T-03) */
}
/* .hours-special__ico: a neutral .sign--s; "zamknięte" is said in words, not by the colour of the sign (AD-05) */
.hours-special__title { display: block; margin-bottom: var(--space-4); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-bold); }
.hours-special__line { display: block; }

/* ===== 22. Urgent help: 112 and 999, night and holiday care; no medical advice ===== */
.urgent {
  display: grid; gap: var(--space-15); padding: var(--card-pad); border: 1px solid var(--color-border);
  border-radius: var(--card-radius); background-color: var(--color-bg);
}
@media (width >= 576px) { .urgent { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-30); } }
.urgent__nums { display: flex; gap: var(--space-10); margin: 0; }
@media (width >= 576px) { .urgent__nums { flex-direction: column; } }
.urgent__num {
  display: flex; align-items: center; justify-content: center; min-width: var(--sign-l); height: var(--sign-m); padding-inline: var(--space-15);
  border-radius: var(--radius-pill); background-color: var(--color-bg-soft); color: var(--color-title);
  font-family: var(--font-number); font-size: var(--fs-num-s); line-height: var(--lh-none); font-weight: var(--fw-num);
}
.urgent__title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.urgent__text { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }

/* ===== 23. Map placeholder: soft box with pin, address, directions, consent note; the Google frame replaces it after consent ===== */
/* 340 px: same height as the map of the footer on the phone (51-stopka.css) */
.map-ph {
  position: relative; display: grid; place-items: center; min-height: 340px; overflow: hidden; padding: var(--pad-card-m) var(--pad-card-s);
  border: 1px solid var(--color-border); border-radius: var(--card-radius); background-color: var(--color-bg-soft); text-align: center;
  background: var(--color-bg-soft) url("media/femedis/strona/mapa-statyczna.webp?v=fed9dc85") center / cover no-repeat;  /* grey OSM picture, centre = the clinic */
}
.map-ph__credit {
  position: absolute; right: var(--space-15); bottom: var(--space-10); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text);
}
.map-ph__credit a { font-weight: var(--fw-semibold); color: var(--color-link); }
@media (hover: hover) { .map-ph__credit a:hover { color: var(--color-link-hover); } }
.map-ph.is-loaded .map-ph__credit { visibility: hidden; }
.map-ph__body { display: grid; justify-items: center; gap: var(--space-15); max-width: 26em; }
.map-ph__pin { box-shadow: var(--elev-float); }  /* a .sign--l above the map picture */
.map-ph__addr { margin: 0; color: var(--color-title); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.map-ph__note { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.map-ph__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-10); }
/* the frame of the map or the film, inserted by 62-kontakt.js after consent and removed when consent is withdrawn */
.consent-frame { position: absolute; inset: 0; z-index: var(--z-raised); width: 100%; height: 100%; border: 0; }
.map-ph .consent-frame { filter: grayscale(1); }
.map-ph.is-loaded > .map-ph__body, .video-ph.is-loaded .video-ph__bar, .video-ph.is-loaded .video-ph__play { visibility: hidden; }

/* contact page map (ClinicMaster contact-us): map area with a card; stacked on the phone, card over the map from 992 */
.map-block { display: grid; }
.map-block__map { min-height: 300px; padding-bottom: calc(var(--pad-card-m) + var(--space-40)); } /* 300 px: map height on the phone, the card overlaps its lower edge */
.map-card {
  position: relative; z-index: var(--z-raised); display: grid; gap: var(--space-15); margin: calc(-1 * var(--space-40)) var(--space-10) 0;
  padding: var(--pad-card-m) var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--elev-float);
}
@media (width >= 992px) {
  .map-block { position: relative; }
  /* 520 px: map height on the desktop */
  .map-block__map { min-height: 520px; place-items: center end; padding-inline: var(--pad-card-l); }
  .map-block__map .map-ph__body { max-width: 18em; }
  .map-card { position: absolute; top: 50%; left: var(--pad-card-l); width: 24em; margin: 0; transform: translateY(-50%); }
}
.map-card__brand { display: flex; align-items: center; gap: var(--space-10); margin: 0; color: var(--color-title); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.map-card__sig { flex: none; width: var(--sign-s); height: var(--sign-s); fill: var(--color-primary); }
.map-card__kind { display: block; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text); }
.map-card__addr { margin: 0; color: var(--color-title); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); }
.map-card__hours { display: grid; gap: var(--space-8); padding-block: var(--space-15); border-block: 1px solid var(--color-border); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.map-card__hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-10); }
.map-card__hours dt { color: var(--color-title); font-weight: var(--fw-semibold); }
.map-card__hours dd { font-variant-numeric: tabular-nums; }
.map-card__link { display: inline-flex; align-items: center; gap: var(--space-8); color: var(--color-title); font-weight: var(--fw-semibold); white-space: nowrap; }
.map-card__link .ico { color: var(--color-primary); }
@media (hover: hover) { .map-card__link:hover { color: var(--color-primary); } }
.map-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-15) var(--space-20); }  /* row gap 15: the 48 px area of the number (::after) stays off the button above it */

/* ===== Film placeholder (YouTube on the gallery and rental pages): poster with a play mark, consent bar below ===== */
.video-ph { overflow: hidden; border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.video-ph__poster { position: relative; aspect-ratio: 16 / 9; background-color: var(--color-bg-dark); }
.video-ph__img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }  /* exception: the poster is dimmed under the play mark */
/* play mark: decorative (the film starts only after consent), a pink circle with a triangle drawn by clip-path */
.video-ph__play {
  position: absolute; top: 50%; left: 50%; width: var(--sign-l); height: var(--sign-l); border-radius: var(--radius-round);
  background-color: var(--color-primary); box-shadow: var(--elev-float); transform: translate(-50%, -50%);
}
.video-ph__play::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: var(--space-20); height: var(--space-25); translate: var(--space-2) 0;
  background-color: var(--color-on-dark); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video-ph__bar { display: grid; gap: var(--space-15); padding: var(--card-pad); }
@media (width >= 768px) { .video-ph__bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-30); } }
.video-ph__title { margin-bottom: var(--space-4); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.video-ph__note { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.video-ph__actions { display: flex; flex-wrap: wrap; gap: var(--space-10); }

/* ===== 19. Booking page: person choice grouped by service, chosen person, accounts switched off (5E pkt 4, 11) ===== */
.booking { display: grid; gap: var(--stack-m); }
.booking__lead { max-width: var(--measure); margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }

.pick { display: grid; gap: var(--stack-m); }
@media (width >= 992px) { .pick { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; } }
.pick__title { margin-bottom: var(--space-10); color: var(--color-title); font-weight: var(--fw-item); font-size: var(--fs-item); line-height: var(--lh-item); }
.pick__list { display: grid; gap: var(--space-10); }
/* a person to choose: a.card-link with the .portrait--pick avatar (F09) and a pink chevron; states of 00-baza.css */
.pick__person {
  display: flex; align-items: center; gap: var(--space-15); padding: var(--card-pad-tight);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); color: var(--color-title);
}
a.pick__person > .ico { margin-left: auto; color: var(--color-primary); font-size: var(--ico-m); }
.pick__text { display: grid; min-width: 0; }
.pick__name { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); overflow-wrap: break-word; }
a.pick__name { justify-self: start; color: var(--color-link); }
@media (hover: hover) { a.pick__name:hover { color: var(--color-link-hover); } }
.pick__meta { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text); }
/* no online booking (F24): the account is switched off, or the person books only by phone. Not one link: a stand-in state
   with a 1 px line instead of the card depth (AD-01); the name links to the person page, the meta says how to book
   ("Zapis telefoniczny", "Zapis online chwilowo wyłączony") and the person's channels follow as outlined pills */
.pick__person--off { flex-wrap: wrap; box-shadow: none; border: 1px solid var(--color-border); }
.pick__person--off .pick__text { flex: 1 1 12em; }
.pick__channels { display: flex; flex-wrap: wrap; gap: var(--space-10); flex-basis: 100%; }
@media (width >= 576px) { .pick__channels { flex-basis: auto; } }

/* chosen person: head with "Zmień osobę", context above the myDR dummy, phone beside it from 992 */
.booking__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-15); padding-bottom: var(--space-20); border-bottom: 1px solid var(--color-border); }
.booking__who { display: flex; align-items: center; gap: var(--space-15); min-width: 0; margin: 0; }
.booking__who-text { display: grid; min-width: 0; }
/* .booking__label: the small label of 00-baza.css (F14) */
.booking__name { color: var(--color-title); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); overflow-wrap: break-word; }
@media (hover: hover) { .booking__name:hover { color: var(--color-primary); } }
.booking__grid { display: grid; gap: var(--stack-m); }
@media (width >= 992px) { .booking__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: var(--grid-gap); } }
.booking__main { display: grid; gap: var(--space-20); min-width: 0; }
.booking__ctx {
  display: grid; gap: var(--space-10); padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-soft);
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body);
}
.booking__ctx p { margin: 0; }
.booking__ctx strong { color: var(--color-title); }
.booking__service { color: var(--color-title); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-bold); }
/* myDR dummy: a box of the plugin's size; children of the plugin button let the click through to it (P:772) */
.booking__widget {
  display: grid; place-items: center; align-content: center; gap: var(--space-10); height: 200px; /* 200 px: reserved plugin box */
  padding: var(--pad-card-s); border: 1px solid var(--color-border); border-radius: var(--radius-l); text-align: center;
}
/* states of the plugin box (K-03): loading (aria-busy="true", a grey box with one line in a status region) and not answering
   (--error: warm surface, a sentence with the phone as an outlined pill); the box keeps its 200 px, so nothing below moves */
.booking__widget[aria-busy="true"] { border-color: transparent; background-color: var(--color-disabled-bg); }  /* text: --color-text = --color-disabled-text */
.booking__widget--error { border-color: transparent; background-color: var(--color-error-bg); color: var(--color-title); --color-link: var(--color-title); --color-accent: var(--color-title); --color-link-hover: var(--color-link-hover-szare); }
.booking__widget-msg { margin: 0; max-width: var(--measure); font-weight: var(--fw-semibold); }  /* body size */
.booking__open > * { pointer-events: none; }
/* the line that fits the form of visit of the block (5E pkt 3): payment at the reception only for a visit in the clinic */
.booking:not([data-forma="stacjonarna"]) [data-forma-tylko="stacjonarna"],
.booking:not([data-forma="nieustalona"]) [data-forma-tylko="nieustalona"],
.booking:not([data-forma="online"]) [data-forma-tylko="online"] { display: none; }

.booking__dummy { margin-top: var(--space-15); padding: var(--pad-card-s); border: 1px solid var(--color-border); border-radius: var(--radius-m); background-color: var(--color-bg); }
.booking__dummy-title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title); }
.booking__dummy-text { margin-bottom: var(--space-15); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.booking__open .ico { margin: 0 var(--space-8) 0 0; }
.booking__widget-note { margin: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.booking__aside { display: grid; gap: var(--space-15); padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.booking__aside-title { margin: 0; color: var(--color-title); font-weight: var(--fw-item); font-size: var(--fs-item); line-height: var(--lh-item); }
.booking__off { display: grid; gap: var(--space-15); padding: var(--card-pad); border: 1px solid var(--color-border); border-radius: var(--card-radius); }
.booking__off p { margin: 0; }

/* ===== 20. "Kto jak się umawia": person, online booking, other ways. The person links are .link-arrow, like the rows of hubs and
   the price list (F25: links in tables have the title colour and a pink arrow, no pink underline) ===== */
.who-books-wrap { overflow-x: auto; border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.who-books { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.who-books caption { padding: var(--pad-card-s) var(--pad-card-s) var(--space-10); text-align: start; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.who-books th, .who-books td { padding: var(--space-10) var(--space-5); border-bottom: 1px solid var(--color-border); text-align: start; vertical-align: top; }
.who-books th:first-child { padding-inline-start: var(--pad-card-s); }
.who-books :is(th, td):last-child { padding-inline-end: var(--pad-card-s); }
.who-books tbody tr:last-child > * { border-bottom: 0; }
.who-books thead th { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-accent); }
.who-books tbody th { font-weight: var(--fw-semibold); color: var(--color-title); overflow-wrap: break-word; }
@media (width >= 576px) { .who-books { font-size: var(--fs-body); line-height: var(--lh-body); } .who-books :is(th, td) { padding-inline: var(--space-15); } }

/* ===== Booking channels (ClinicMaster appointment info cards): online, phone, at the reception ===== */
/* The icon (.sign, a circle like every sign, AD-05) sits inside the card, in one row with the title (Konrad 1.12: the ClinicMaster
   icon hanging over the top edge is out); no stroke under the title (rule 8). The link of each card is a .link-arrow. */
.channels { display: grid; gap: var(--grid-gap); }
/* three columns from 992: at 768 the icon beside "Rejestracja telefoniczna" left 115 px and the word ran past the padding */
@media (width >= 992px) { .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.channel {
  display: flex; flex-direction: column; gap: var(--space-10); padding: var(--card-pad);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.channel__head { display: flex; align-items: center; gap: var(--space-15); }
.channel__title { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.channel__text { flex: 1; margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.channel__link { align-self: flex-start; }

/* ===== 24. Contact page /kontakt/ (v15, Konrad 4.12.2026: "tutaj jest po prostu stopka"): three ways to reach us with the
   phone first, online booking strip, contact form beside "Zanim napiszesz", how to book each person, map with transit,
   registry data. PLAN-KONTAKT.md. ===== */
/* the heading of the three cards is for screen readers only (the cards carry their own titles) */
.kt-top__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ===== three ways: phone, e-mail, address. Phone first and widest; one column on a phone, from 992 three in a row ===== */
.kt-ways { display: grid; gap: var(--grid-gap); }
@media (width >= 768px) { .kt-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kt-way--phone { grid-column: 1 / -1; } }
@media (width >= 1200px) { .kt-ways { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); } .kt-way--phone { grid-column: auto; } }
.kt-way {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-10); padding: var(--card-pad);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.kt-way .sign { margin-bottom: var(--space-5); }
.kt-way__title { margin: 0; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.kt-way__value { margin: 0; color: var(--color-title); font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-semibold); }
.kt-way__num { font-size: var(--fs-num-m); line-height: var(--lh-num); font-weight: var(--fw-num); color: var(--color-title); white-space: nowrap; font-variant-numeric: tabular-nums; }
.kt-way__mail { color: var(--color-title); overflow-wrap: anywhere; }
@media (hover: hover) { :is(.kt-way__num, .kt-way__mail):hover { color: var(--color-link-hover); } }
.kt-way__note { margin: 0; max-width: var(--measure); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.kt-way__actions { display: flex; flex-wrap: wrap; gap: var(--space-10); margin: auto 0 0; padding-top: var(--space-10); }
/* the phone card: pink sign stays, the number is the biggest text on the page after the title */
.kt-way--phone .kt-way__num { color: var(--color-primary); }
@media (hover: hover) { .kt-way--phone .kt-way__num:hover { color: var(--color-title); } }

/* online booking strip under the cards: text left, button right from 768 */
.kt-online {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-15) var(--grid-gap);
  margin-top: var(--grid-gap); padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-dark); color: var(--color-on-dark);
}
.kt-online__text { flex: 1 1 18em; margin: 0; font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-body-l); color: var(--color-on-dark); }
.kt-online__title { display: block; margin-bottom: var(--space-4); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-on-dark); }
.kt-online .btn { flex: none; }
@media (width < 576px) { .kt-online .btn { width: 100%; justify-content: center; } }

/* ===== form beside "Zanim napiszesz": stacked on a phone (form first), 8 / 4 from 992 ===== */
.kt-write__grid { display: grid; gap: var(--grid-gap); align-items: start; }
@media (width >= 992px) { .kt-write__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.kt-form-card { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.kt-form { display: grid; gap: var(--space-20); }
.kt-form__row { display: grid; gap: var(--space-20); }
@media (width >= 768px) { .kt-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* field: label above, 48 px control, 1 px line that turns graphite on focus and pink-bordered with a message on error */
.kt-field { display: grid; gap: var(--space-8); min-width: 0; }
.kt-field__label { color: var(--color-title); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); }
.kt-field__opt { font-weight: var(--fw-regular); color: var(--color-text); }
.kt-field__input {
  width: 100%; min-height: var(--target); padding: var(--space-10) var(--space-15); border: 1px solid var(--color-border-field); border-radius: var(--radius-s);
  background-color: var(--color-bg); color: var(--color-title); font: inherit; font-size: var(--fs-body-l); line-height: var(--lh-body-l);
  transition: border-color var(--dur-base) var(--ease-out);
}
.kt-field__input:hover { border-color: var(--color-title); }
.kt-field__input:focus-visible { border-color: var(--color-focus); outline: 2px solid var(--color-focus); outline-offset: 0; }
.kt-field__input[aria-invalid="true"] { border-color: var(--color-primary); }
.kt-field__area { min-height: calc(6 * var(--lh-body-l) + 2 * var(--space-10)); resize: vertical; }
.kt-field__select { position: relative; display: block; }
.kt-field__select select { appearance: none; padding-right: calc(var(--space-15) * 2 + var(--ico-m)); cursor: pointer; }
.kt-field__select .ico { position: absolute; right: var(--space-15); top: 50%; translate: 0 -50%; font-size: var(--ico-m); color: var(--color-primary); pointer-events: none; }
.kt-field__hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4) var(--space-15); margin: 0; font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.kt-field__hint > span:first-child { flex: 1 1 20em; }
.kt-field__count { font-variant-numeric: tabular-nums; }
.kt-field__err { margin: 0; color: var(--color-title); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); }
.kt-field__err:empty { display: none; }
.kt-field__err::before { content: "!"; display: inline-grid; place-items: center; width: var(--ico-s); height: var(--ico-s); margin-right: var(--space-8); border-radius: var(--radius-round); background-color: var(--color-primary); color: var(--color-on-dark); font-size: var(--fs-caption); line-height: var(--lh-none); vertical-align: -3px; }

.kt-form__send { display: grid; gap: var(--space-15); justify-items: start; }
@media (width < 576px) { .kt-form__send .btn { width: 100%; justify-content: center; } }
.kt-form__legal { margin: 0; max-width: var(--measure); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.kt-form__status { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title); }
.kt-form__status:empty { display: none; }

/* "Zanim napiszesz": a soft box of four short answers, sticky beside the form from 992 */
.kt-before { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-soft); }
@media (width >= 992px) { .kt-before { position: sticky; top: var(--header-offset); } }
.kt-before__title { margin-bottom: var(--stack-s); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.kt-before__list { display: grid; gap: var(--space-15); }
.kt-before__item { display: grid; grid-template-columns: var(--ico-xl) minmax(0, 1fr); gap: var(--space-15); align-items: start; padding-top: var(--space-15); border-top: 1px solid var(--color-border); font-size: var(--fs-body); line-height: var(--lh-body); }
.kt-before__item:first-child { padding-top: 0; border-top: 0; }
.kt-before__item > .ico { font-size: var(--ico-l); color: var(--color-primary); justify-self: center; }
.kt-before__head { display: block; color: var(--color-title); font-weight: var(--fw-semibold); }
.kt-before__num { justify-self: center; color: var(--color-primary); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-bold); }

/* ===== each person: photo, field, days and hours, how to book. 1 / 2 / 4 columns ===== */
.kt-team__lead { margin: var(--stack-s) 0 0; max-width: var(--measure); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }
.kt-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }  /* minmax: an auto column grew to the nowrap button and scrolled 320 sideways */
@media (width >= 768px) { .kt-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1400px) { .kt-people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }  /* 4 from 1400, not 1200: at 1200-1399 the card is 218 px inside, the booking button "Rezerwacja online 24/7" 237 (Konrad 5.12.2026) */
.kt-person {
  display: flex; flex-direction: column; gap: var(--space-15); padding: var(--card-pad-tight);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.kt-person__head { display: flex; align-items: center; gap: var(--space-15); }
/* four cards in a row from 1200: the portrait stands above the name, so long double surnames fit the card */
@media (width < 576px), (width >= 1200px) { .kt-person__head { flex-direction: column; align-items: flex-start; } }  /* below 576 too: a double surname kept whole by the composer did not fit beside the portrait at 320 */
.kt-person__photo { width: var(--sign-l); }
.kt-person__who { display: grid; min-width: 0; }
.kt-person__name { color: var(--color-title); font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-bold); overflow-wrap: break-word; }
@media (hover: hover) { .kt-person__name:hover { color: var(--color-link-hover); } }
.kt-person__field { margin-top: var(--space-2); }  /* the look is the small label .eyebrow--s (00-baza.css); the card keeps only the spacing */
.kt-person__hours { display: grid; gap: var(--space-4); margin: 0; padding-block: var(--space-10); border-block: 1px solid var(--color-border); font-size: var(--fs-small); line-height: var(--lh-small); }
.kt-person__hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-10); }
.kt-person__hours dt { color: var(--color-title); font-weight: var(--fw-semibold); }
.kt-person__hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.kt-person__book { display: flex; flex-wrap: wrap; gap: var(--space-10); margin: auto 0 0; }
.kt-person__book .btn { flex: 1 1 auto; justify-content: center; padding-inline: var(--space-15); }  /* padding 15: "Rezerwacja online 24/7" (237 px) fits the 4-column card from 1400 (Konrad 5.12.2026) */
/* booking by phone: the words above an outlined button with the number (P2-10: every way to book in the card is a .btn); the
   field of the person is the small label .eyebrow--s of 00-baza.css */
.kt-person__book-label { flex-basis: 100%; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }

/* ===== transit under the map: tram and bus, one column on a phone, two from 768 (they fill the width, no empty half) ===== */
.kt-transit { display: grid; gap: var(--space-15) var(--grid-gap); }
.map-block + .kt-transit { margin-top: var(--stack-m); }  /* /kontakt/ shows the footer map right under the section (P2-15), so there the list follows the head */
@media (width >= 768px) { .kt-transit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kt-transit__item { padding-top: var(--space-15); border-top: 1px solid var(--color-border); font-size: var(--fs-body); line-height: var(--lh-body); }
.kt-transit__title { display: block; margin-bottom: var(--space-4); color: var(--color-title); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }

/* ===== registry data: a white card, label and value; two columns of short values from 768 ===== */
.kt-reg { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.kt-reg__list { display: grid; margin: 0; }
@media (width >= 768px) { .kt-reg__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); } .kt-reg__row--wide { grid-column: 1 / -1; } }
/* from 1200 four columns: company and address share the first row, the four numbers the second; no empty half */
@media (width >= 1200px) { .kt-reg__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kt-reg__row--wide { grid-column: span 2; } }
.kt-reg__row { display: grid; gap: var(--space-2); padding-block: var(--space-15); border-bottom: 1px solid var(--color-border); }
.kt-reg__row dt { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.kt-reg__row dd { margin: 0; color: var(--color-title); font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kt-reg__more { margin: var(--space-15) 0 0; font-size: var(--fs-small); line-height: var(--lh-small); }
/* a person whose hours are not confirmed: one quiet line in the place of the hours */
.kt-person__hours--ask { display: block; color: var(--color-text); }
/* the person card can hold the phone line and a button under it */
.kt-person__book--tel + .kt-person__book { margin-top: 0; }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .shortcut, .contact-card, .hours-card, .map-card, .pick__person, .booking__aside, .who-books-wrap, .channel, .phone-hours--big .phone-hours__num { outline: 1px solid CanvasText; }
  .kt-way, .kt-form-card, .kt-before, .kt-person, .kt-reg, .kt-online { outline: 1px solid CanvasText; }
  .kt-field__input { border-color: CanvasText; }
}

/* ===== 63-tresci.css ===== */
/* Content group (PLAN-DESIGN-SYSTEMU.md 5B: 14, 16, 17, 25-29, 32): price list table with a print view, anchor chips,
   long text (prose), guide (meta, table of contents, reviewer, ending), guide cards, hub rows, about the centre (owner, values),
   404, language switch, CookieYes skin. Tokens only (tokens.css); links inside sentences are the only targets below 48 px. */

/* ===== chips (17): a row of outlined pills (.btn.btn--outline, 00-baza.css, K-07) linking to anchors on the same page (price list
   groups, guide chapters, 404 sections); the chip of the current section has aria-current="true" (graphite, --color-selected).
   A long name wraps inside its pill. ===== */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-10); }
.chips--center { justify-content: center; }
.chips .btn { white-space: normal; }
/* the view of the price list (date of the prices to print): the shown view is chosen (graphite), the other one an outlined pill */
.pricelist__view--now, .pricelist__anchor:target ~ * .pricelist__view--later { border-color: var(--color-selected); background-color: var(--color-selected); color: var(--color-on-dark); }
.pricelist__anchor:target ~ * .pricelist__view--now { border-color: var(--color-title); background-color: var(--color-bg); color: var(--color-title); }
@media (hover: hover) {
  .pricelist__anchor:target ~ * .pricelist__view--now:hover { border-color: var(--color-bg-dark); background-color: var(--color-bg-dark); color: var(--color-on-dark); }
}

/* ===== pricelist (16): one table per group, always expanded; provider column only where filled; prices right, tabular digits.
   Date view without JS: the empty anchor #ceny-od-... before the content; when it is the :target, the later amounts and the
   later "obowiązują od" line replace today's (print the page in that state). ===== */
.pricelist { overflow-wrap: break-word; }
.pricelist__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-15) var(--space-30); margin-bottom: var(--stack-s); }
.pricelist__date { margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold); color: var(--color-title); }
.pricelist__views { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10); }
.pricelist__views-label { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.pricelist__nav { margin-bottom: var(--stack-m); }
.pricelist__when--later, .pricelist .price__amount.pricelist__later { display: none; }
.pricelist__anchor:target ~ * :is(.pricelist__when--now, .pricelist__now) { display: none; }
.pricelist__anchor:target ~ * .pricelist__when--later { display: inline; }
.pricelist__anchor:target ~ * .pricelist__later { display: block; }

.pricelist__group + .pricelist__group { margin-top: var(--stack-m); }
.pricelist__title { margin-bottom: var(--stack-xs); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
.pricelist__intro { margin-bottom: var(--stack-s); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.pricelist__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pricelist__table {
  width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--card-radius); background-color: var(--card-bg);
  box-shadow: var(--card-shadow); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-text);
}
.pricelist__table thead th {
  padding: var(--pad-cell); border-bottom: 1px solid var(--color-border); text-align: left;
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); color: var(--color-title); text-transform: uppercase;
}
.pricelist__table thead th.pricelist__head-price { text-align: right; }
.pricelist__row > * { height: var(--target); padding: var(--pad-cell); vertical-align: top; text-align: left; }  /* a cell is at least 48 px: the name link covers it */
.pricelist__row:nth-child(even) > * { background-color: var(--color-bg-soft); }
.pricelist__row:last-child > :first-child { border-bottom-left-radius: var(--card-radius); }
.pricelist__row:last-child > :last-child { border-bottom-right-radius: var(--card-radius); }
/* exception: the 2 px ring of the linked row has the width of the focus outline (rule 13) */
.pricelist__row:target > * { box-shadow: inset 0 0 0 2px var(--color-primary); }

.pricelist__service { position: relative; font-weight: var(--fw-regular); }
/* the name is a .link-arrow (00-baza.css) that flows as text, so a long name wraps with its arrow after the last word; the whole
   name cell is its target (>= 48 px) instead of the centred 48 px area of the other text links */
.pricelist__service .pricelist__link { display: inline; position: static; }
.pricelist__link .ico { margin-left: var(--space-5); }
.pricelist__service .pricelist__link::after { inset: 0; translate: none; }  /* the cell is at least 48 px, so the size of the base rule is the cell */
.pricelist__link:focus-visible { outline: none; }
/* exception: the focus outline of rule 13 drawn inside the cell (-2 px), so the neighbouring cells do not cover it */
.pricelist__service:has(.pricelist__link:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.pricelist__note { display: block; margin-top: var(--space-2); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.pricelist__provider { width: 38%; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }

.pricelist__price { width: 1%; text-align: right; white-space: nowrap; color: var(--color-title); font-variant-numeric: tabular-nums; }
/* amounts: the price component (61-usluga-czesci.css) at table size and in the title colour, the announced price as its pill */
.pricelist .price__amount { display: block; font-size: inherit; line-height: inherit; color: var(--color-title); }
.pricelist .price__next { margin-top: var(--space-5); }
.pricelist__price--text { min-width: 10em; white-space: normal; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }
.pricelist__packages > li { font-size: var(--fs-small); font-weight: var(--fw-small); color: var(--color-text); }
.pricelist__packages > li + li { margin-top: var(--space-4); }
.pricelist__packages .price__amount { display: inline; }
.pricelist__row--off .pricelist__link { color: var(--color-text); }

/* phones: each row is a small card, name and price side by side, provider below with its label; a long price goes under the name */
@media screen and (width < 768px) {
  .pricelist__table, .pricelist__table tbody { display: block; }
  .pricelist__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pricelist__table thead :is(tr, th) { display: block; } /* stay inside the 1 px box */
  .pricelist__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-15); padding: var(--space-15) var(--pad-card-s); }
  .pricelist__row:nth-child(even) { background-color: var(--color-bg-soft); }
  .pricelist__row:first-child { border-radius: var(--card-radius) var(--card-radius) 0 0; }
  .pricelist__row:last-child { border-radius: 0 0 var(--card-radius) var(--card-radius); }
  .pricelist__row:only-child { border-radius: var(--card-radius); }
  .pricelist__row > *, .pricelist__row:nth-child(even) > * { height: auto; padding: 0; background-color: transparent; }
  .pricelist__service { min-height: var(--target); } /* the name cell is the target of its link (::after): at least 48 px, grows with the text */
  /* exception: the 2 px ring of the linked row, as above */
  .pricelist__row:target { box-shadow: inset 0 0 0 2px var(--color-primary); }
  .pricelist__row:target > * { box-shadow: none; }
  .pricelist__service { grid-column: 1; grid-row: 1; }
  .pricelist__price { grid-column: 2; grid-row: 1; width: auto; }
  .pricelist__price--text, .pricelist__price--packages { grid-column: 1 / -1; grid-row: 2; min-width: 0; margin-top: var(--space-8); text-align: left; }
  .pricelist__provider { grid-column: 1 / -1; grid-row: 3; width: auto; margin-top: var(--space-8); }
  .pricelist__provider::before { content: attr(data-label) ": "; display: block; font-weight: var(--fw-semibold); color: var(--color-title); }
}

/* print (P:386, 480): only the price list, black on white, no header, bar, chips or catalogue labels; the banner keeps only
   the title (no photo, no crumbs); the footer keeps only its contact lines (phone, e-mail, address). Context overrides of the
   page frame (rule 2): they hold only under body:has(.pricelist). */
@media print {
  body:has(.pricelist) :is(.hdr, .bar, .pricelist__views, .pricelist__nav, .cky-consent-container, .cky-modal, .page-hero nav) { display: none; }
  body:has(.pricelist) .page-hero { display: block; min-height: 0; background: none; }
  body:has(.pricelist) .page-hero__cell { display: block; height: auto; padding: 0; }
  body:has(.pricelist) .ftr :is(.ftr__map, .ftr__panel > :not(.ftr__contact), .ftr__main, .ftr__bottom, .ftr__mini, .copy) { display: none; }
  body:has(.pricelist) .ftr, body:has(.pricelist) .ftr * { color: black; background: none; box-shadow: none; }
  body:has(.pricelist) :is(.ftr, .ftr__card, .ftr__panel) { display: block; padding: 0; border-radius: 0; }
  body:has(.pricelist) .ftr { margin-top: var(--stack-m); }
  body:has(.pricelist) .ftr__contact { break-inside: avoid; }
  body:has(.pricelist) .ftr__ico { stroke: currentColor; }
  .pricelist .price__next { display: none; }  /* a printed list holds the prices of one date: no badge of the next price */
  body:has(.pricelist), body:has(.pricelist) .section { padding-block: 0; background: none; }
  body:has(.pricelist) .container { max-width: none; padding-inline: 0; }
  body:has(.pricelist) .pricelist, body:has(.pricelist) .pricelist * { color: black; background: none; box-shadow: none; border-radius: 0; } /* no print token: black is the print ink */
  .pricelist__row > *, .pricelist__row:nth-child(even) > * { border-bottom: 1px solid; background: none; }
  .pricelist__row:last-child > *, .pricelist__row:last-child > :is(:first-child, :last-child) { border-radius: 0; }
  .pricelist__row { break-inside: avoid; }
  .pricelist__title { break-after: avoid; }
  .pricelist__link { text-decoration: none; }
}

/* ===== prose (27): long text, line length --measure ===== */
.prose { max-width: var(--measure); overflow-wrap: break-word; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); color: var(--color-text); }
.prose > * + * { margin-top: var(--stack-s); }
.prose p { margin-bottom: 0; }
.prose :is(h2, h3, h4) { color: var(--color-title); font-weight: var(--fw-bold); }
.prose > :is(h2, h3, h4):not(:first-child) { margin-top: var(--stack-m); }
.prose > :is(h2, h3, h4) + * { margin-top: var(--stack-xs); }
.prose h2 { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
.prose h3 { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.prose h4 { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-bold); }
.prose :is(ul, ol) { list-style: none; }
.prose li { position: relative; padding-left: var(--space-25); }
.prose li + li { margin-top: var(--space-5); }
.prose ul > li::before {
  content: ""; position: absolute; left: var(--space-5); top: calc(var(--lh-body) / 2 - var(--space-4));
  width: var(--space-8); height: var(--space-8); border-radius: var(--radius-round); background-color: var(--color-primary);
}
.prose ol { counter-reset: prose; }
.prose ol > li { counter-increment: prose; }
.prose ol > li::before { content: counter(prose) "."; position: absolute; left: 0; font-weight: var(--fw-bold); color: var(--color-primary); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }  /* one surface for tables (AD-01) */
.prose caption { padding-bottom: var(--space-8); caption-side: top; text-align: left; font-weight: var(--fw-semibold); color: var(--color-title); }
.prose :is(th, td) { padding: var(--pad-cell); vertical-align: top; text-align: left; }
.prose thead th { border-bottom: 1px solid var(--color-border); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); text-transform: uppercase; color: var(--color-title); }
.prose tbody th { width: 40%; font-weight: var(--fw-semibold); color: var(--color-title); }
.prose tbody tr:nth-child(even) > * { background-color: var(--color-bg-soft); }
.prose tbody tr:last-child > :first-child { border-bottom-left-radius: var(--card-radius); }
.prose tbody tr:last-child > :last-child { border-bottom-right-radius: var(--card-radius); }
.prose blockquote {
  padding: var(--pad-card-s); border-radius: var(--radius-m);
  background-color: var(--color-bg-soft); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); color: var(--color-title);
}
.section--light .prose blockquote { background-color: var(--card-bg); }  /* on the grey section the grey box was invisible and its text looked indented (audit 4.12) */
.prose figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); }
.prose figcaption { margin-top: var(--space-8); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }

/* ===== text with side headings (v14, Konrad 4.12, chosen variant 2c): the text pages of the site (service, examination).
   Rows divided by a hairline; from 992 the subheading stands in a left column (sticky under the header, a short pink line under
   it) and its text in the right one, at most --measure wide. A row without a subheading (the text before the first one) keeps
   its text in the right column. Body 16/24 at every width; the first paragraph of the page is the lead (.txt__lead). Lists are
   .checklist (pink ticks, one column). The site build turns the WordPress paste into this markup, the words stay 1:1. ===== */
.txt__row { display: grid; gap: var(--space-10); padding-block: var(--space-30); border-top: 1px solid var(--color-border); }
.txt__row:not(.txt__row + .txt__row) { padding-top: 0; border-top: 0; }  /* the first row of a run (after the section head too) */
.txt__row:last-child { padding-bottom: 0; }
.txt__title { margin: 0; font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); text-wrap: balance; scroll-margin-top: var(--header-offset); }
.txt__body { max-width: var(--measure); overflow-wrap: break-word; font-size: var(--fs-body-l); line-height: var(--lh-body-l); font-weight: var(--fw-body-l); color: var(--color-text); }
.txt__body > * + * { margin-top: var(--stack-s); }
.txt__body p { max-width: none; margin-bottom: 0; }
.txt__body .txt__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); color: var(--color-title); }
.txt__body .checklist { display: grid; gap: var(--space-8); margin-bottom: 0; }
.txt__body .checklist > li { padding: 0 0 0 var(--space-30); font-size: inherit; line-height: inherit; color: var(--color-text); }
.txt__body .checklist > li::before { top: calc((1lh - var(--bullet)) / 2); } /* no padding here: the dot on the middle of the first line (v15) */
@media (width >= 992px) {
  .txt__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-60); padding-block: var(--space-50); }
  .txt__row > .txt__body:only-child { grid-column: 2; }
  /* a text with no subtitle at all (37 of 42 text pages, 4.12): it starts at the left edge under the page title, so the left
     column is never an empty half (Konrad 4.12, v15, "Wynajem gabinetu") */
  :not(:has(> .txt__row > .txt__head)) > .txt__row > .txt__body:only-child { grid-column: 1 / -1; }
  .txt__head { position: sticky; top: var(--header-offset); align-self: start; }
  .txt__title::after { content: ""; display: block; width: var(--space-40); height: var(--space-4); margin-top: var(--space-15); border-radius: var(--radius-pill); background-color: var(--color-primary); }
}
/* the headline size from 1200 only: at 992-1199 the left column is about 320 px and a long word ("kolposkopowe?" 328 px) would stick out (skan, 4.12) */
@media (width >= 1200px) {
  .txt__title { font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--fw-headline); }
}

/* ===== page with a side card (v15, Konrad 4.12, serwis/AUDYT-PREZENTACJI.md: one pattern for every content page: service,
   examination, person, rental, results, registration). .page-cols holds the text (.page-cols__main: .txt rows, the film) and
   one card (.page-cols__aside > .side-card: booking, a person's portrait and hours, the rental contact). Below 992 one column,
   the card after the text (.page-cols--aside-first: before it, a person's portrait). From 992 the card has one width on every
   page (--aside-w) and stands --cols-gap from the text, sticky under the header: on the right, on a person page on the left
   (portrait left, bio right). The text keeps a reading measure: --measure in rows with subheadings, --measure-wide in a text
   without them, so the line stays under 80 characters (consistency audit 4.12: one card width and one layout per page type).
   Subheadings stand above their text up to 1399 and in their own column from 1400 (variant 2c of v14).
   --even: two equal cards (registration); --doc: one reading column without a card (legal pages), at the left edge. ===== */
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--stack-m); }
.page-cols--aside-first > .page-cols__aside { order: -1; }
.page-cols__main { min-width: 0; }  /* the .txt rows keep their own hairline rhythm; anything else (the film) stands --stack-m below */
.page-cols__main > * + :not(.txt__row) { margin-top: var(--stack-m); }
.page-cols__main > .txt__row:has(+ :not(.txt__row)) { padding-bottom: 0; }
.page-cols__main:not(:has(.txt__head)) .txt__body { max-width: var(--measure-wide); }
.page-cols__main .txt__title { overflow-wrap: break-word; }
/* a plain list kept from the paste (a list with a numbered list inside, porzadkuj_tekst.py): markers in pink, the same
   spacing as .checklist */
.txt__body :is(ul, ol):not([class]) { display: grid; gap: var(--space-8); margin-bottom: 0; padding-left: var(--space-25); }
.txt__body ul:not([class]) { list-style: disc; }
.txt__body ol:not([class]) { list-style: decimal; }
.txt__body :is(ul, ol):not([class]) > li::marker { color: var(--color-primary); }
.txt__body :is(ul, ol):not([class]) :is(ul, ol):not([class]) { margin-top: var(--space-8); }
.page-cols--doc { max-width: var(--measure); }
@media (width >= 768px) { .page-cols--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } .page-cols--even > * { display: grid; } }  /* two cards of one height */
@media (width >= 992px) {
  .page-cols:not(.page-cols--even, .page-cols--doc) { grid-template-columns: minmax(0, 1fr) var(--aside-w); column-gap: var(--cols-gap); align-items: start; }
  .page-cols--aside-first:not(.page-cols--even, .page-cols--doc) { grid-template-columns: var(--aside-w) minmax(0, 1fr); }
  .page-cols:not(.page-cols--even) > .page-cols__aside { position: sticky; top: var(--header-offset); }
  .page-cols__main .txt__title::after { margin-top: var(--space-10); }
}
/* up to 1399 the main column is 580-720 px: a subheading stands above its text, the text keeps --measure */
@media (992px <= width < 1400px) {
  .page-cols__main > .txt__row { grid-template-columns: minmax(0, 1fr); }
  .page-cols__main > .txt__row > .txt__body:only-child { grid-column: 1; }
  .page-cols__main .txt__head { position: static; }
}
@media (width >= 1200px) {
  .page-cols__main .txt__title { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
}
@media (width >= 1400px) {
  .page-cols__main > .txt__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-40); }
  /* a run without a subtitle on a page with subtitles (the intro) starts at the subtitle column, under the page title and the
     crumbs, and keeps the reading measure of .txt__body (Konrad 4.12, v15) */
  .page-cols__main > .txt__row > .txt__body:only-child { grid-column: 1 / -1; }
}

/* side card: white, shadow of a card, four rounded corners. Parts: __media (a portrait or a photo, edge to edge at the top;
   beside __body from 576 to 991, where the card spans the column), __body (the rest of a card with media), __title (the
   person's name, the registration sentence), __label (a short heading such as the hours), __list (hours, one per line),
   __text (small text), __actions (buttons on the full width of the card; the parent of the myDR button carries data-place),
   __frame (texts of the frame of the site: the registration phone, e-mail, address; the content check skips it) */
.side-card, .side-card__body { display: grid; align-content: start; gap: var(--space-15); min-width: 0; }
.side-card { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.side-card > *, .side-card__body > *, .side-card__frame > * { min-width: 0; margin: 0; }
.side-card > .side-card__media { overflow: hidden; margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) var(--space-5); border-radius: var(--card-radius) var(--card-radius) 0 0; }
@media (576px <= width < 992px) {
  .side-card:has(> .side-card__media) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--space-30); align-items: start; }
  .side-card > .side-card__media { margin: calc(-1 * var(--card-pad)) 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)); border-radius: var(--card-radius) 0 0 var(--card-radius); }
}
.side-card__media > .portrait { aspect-ratio: 1; border-radius: 0; }  /* square in the card: the face (object-position of .portrait__img) with less height than 4:5 */
.side-card__media > .portrait > picture { display: block; width: 100%; height: 100%; }
.side-card__media > img, .side-card__media > picture > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.side-card__title { font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); text-wrap: balance; }
.side-card__label { margin-top: var(--space-5); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); text-wrap: balance; }
.side-card__body > .side-card__label:first-child { margin-top: 0; }
.side-card__label + :is(.side-card__list, .side-card__text, .side-card__actions) { margin-top: calc(-1 * var(--space-5)); }
.side-card__list { display: grid; gap: var(--space-4); padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.side-card__list > li { padding: 0; }
.side-card__list > li::before { content: none; }
.side-card__text { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); overflow-wrap: anywhere; }
.side-card__actions { display: grid; gap: var(--space-10); }
/* "Rezerwacja online 24/7" (Konrad 5.12.2026) is 9 px wider than the card at 320 and 17 px in the aside at 1024-1199 with
   the padding of 25; with 15 it fits on one line (a button never breaks, spojnosc.mjs G) */
.side-card__actions .btn { padding-inline: var(--space-15); }
.side-card__frame { display: grid; gap: var(--space-10); padding-top: var(--space-15); border-top: 1px solid var(--color-border); }
.side-card__frame:first-child { padding-top: 0; border-top: 0; }
/* a long raw address in running text (a link written as its URL) breaks instead of widening the phone screen */
:is(.txt__body, .prose) a { overflow-wrap: anywhere; }

/* ===== guide (25, 26): head with meta, table of contents (sticky column from 992, box above the text on phones), body, ending ===== */
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--stack-m); }
@media (width >= 992px) {
  .guide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: var(--space-60); }
  .guide__head, .guide__body, .guide__end { grid-column: 1; }
  .guide__toc {
    grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: var(--header-offset);
    max-height: calc(100vh - var(--header-offset) - var(--space-20)); overflow-y: auto;
  }
}
.guide__title { margin-bottom: var(--stack-s); font-size: var(--fs-section); line-height: var(--lh-section); font-weight: var(--fw-section); }
.guide__lead { margin: var(--stack-s) 0 0; max-width: var(--measure); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); color: var(--color-title); }

/* meta of the guide (F38): no boxes (on --color-bg-soft they were invisible and took ~320 px on a phone before the first sentence).
   Phone: a compact two-column list, label and value on one line, between two 1 px lines; from 768 the fields in a row, the
   label above its value */
.guide-meta {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-4) var(--space-15); align-items: baseline;
  padding-block: var(--space-15); border-block: 1px solid var(--color-border);
}
.guide-meta__item { display: contents; }
.guide-meta dt { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.guide-meta dd { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title); }
@media (width >= 768px) {
  .guide-meta { display: flex; flex-wrap: wrap; gap: var(--space-15) var(--space-30); }
  .guide-meta__item { display: block; }
}

.toc { padding: var(--pad-card-s); border-radius: var(--radius-l); background-color: var(--color-bg-soft); }
.toc__title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.toc__list { list-style: none; counter-reset: toc; }
.toc__list > li { counter-increment: toc; border-top: 1px solid var(--color-border); }
.toc__link {
  display: flex; align-items: center; gap: var(--space-10); min-height: var(--target); padding-block: var(--space-8);
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title); transition: color var(--dur-base) var(--ease-out);
}
.toc__link::before { content: counter(toc); flex: none; min-width: 2ch; font-family: var(--font-number); color: var(--color-primary); }
@media (hover: hover) { .toc__link:hover { color: var(--color-primary); } }

.guide__next { margin: var(--stack-s) 0 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.guide__variant { margin-top: var(--stack-m); max-width: var(--measure); }
.guide__variant-label { margin-bottom: var(--space-10); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); }

/* reviewer signature: sygnet avatar, label, name with link to the person page, verification date, disclaimer */
.reviewer {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-15) var(--space-20); max-width: var(--measure);
  padding: var(--pad-card-s); border-radius: var(--radius-l); background-color: var(--color-bg-soft); overflow-wrap: break-word;
}
.section--light .reviewer { background-color: var(--color-bg); }  /* the soft box on a soft section would vanish */
.reviewer__sign, .owner__sign {
  display: grid; place-items: center; flex: none; width: var(--sign-m); height: var(--sign-m); border-radius: var(--radius-round);
  background-color: var(--color-bg); color: var(--color-primary);
}
.reviewer__sign > svg, .owner__sign > svg { width: 64%; height: 64%; fill: currentColor; }
.reviewer__body > p { margin: 0; }
/* .reviewer__label: the small label of 00-baza.css (F14) */
.reviewer__name { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.reviewer__date { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.reviewer__note { grid-column: 1 / -1; margin: 0; padding-top: var(--space-15); border-top: 1px solid var(--color-border); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }

/* ===== guide cards: hub of guides and "related guides"; text-only by default, image-top variant. The one card that leads to a
   guide (K-08); a .card-link (00-baza.css) ===== */
.guide-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
.guide-cards + .guide-cards { margin-top: var(--grid-gap); }
@media (width >= 768px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1200px) { .guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guide-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-10); padding: var(--card-pad);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); overflow-wrap: break-word;
}
/* .guide-card__tag: the small label of 00-baza.css, text without a pill: a pink pill read as a button (F14) */
.guide-card__title { margin: 0; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.guide-card__text { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
.guide-card__date { margin: auto 0 0; padding-top: var(--space-5); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }
.guide-card--img { padding: 0; overflow: hidden; gap: 0; }
.guide-card__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: var(--space-10); width: 100%; padding: var(--pad-card-s) var(--pad-card) var(--pad-card); }

/* ===== hub rows (14): groups with a heading, rows "name + one sentence + arrow" (a.card-link, the arrow a .sign--s); 1 column, 2 from 992 ===== */
.hub { display: grid; gap: var(--stack-m); }
.hub__group { min-width: 0; }  /* one group (title and rows) is a grid item of .hub: long names wrap inside the column */
.hub__title { margin-bottom: var(--stack-s); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }
.hub__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-15); }
@media (width >= 992px) { .hub__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); } }
.hub__row {
  display: flex; align-items: center; gap: var(--space-20); height: 100%; min-height: var(--target); padding: var(--card-pad-tight);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); overflow-wrap: break-word;
}
.hub__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: var(--space-4); min-width: 0; }
.hub__name { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-semibold); color: var(--color-title); }
.hub__desc { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }

/* ===== about the centre: owner block (text left, photo right with a sygnet badge) and three value cards ===== */
.owner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--stack-m); }
@media (width >= 992px) { .owner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-60); } }
.owner .checklist { margin-bottom: var(--stack-m); }  /* context override of .checklist (00-baza.css) */
.owner__media { position: relative; }
.owner__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); }
.owner__badge {
  position: absolute; left: var(--space-20); bottom: var(--space-20); display: flex; align-items: center; gap: var(--space-15);
  max-width: calc(100% - 2 * var(--space-20)); padding: var(--space-10) var(--space-25) var(--space-10) var(--space-10);
  border-radius: var(--radius-pill); background-color: var(--color-bg); box-shadow: var(--elev-float); overflow-wrap: break-word;
}
.owner__sign { background-color: var(--color-bg-soft); }
.owner__who { display: flex; flex-direction: column; min-width: 0; }
.owner__name { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.owner__role { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); }

.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); margin-top: var(--space-60); }
@media (width >= 992px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.values__card { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-soft); }
.values__icon { margin-bottom: var(--space-20); }  /* a .sign--l */
.values__title { margin-bottom: var(--stack-xs); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); }
.values__text { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }

/* ===== 404 (28): big number, sentence, main sections as chips, phone ===== */
.error-page { max-width: var(--measure-box); margin-inline: auto; text-align: center; }
.error-page__code {
  margin-bottom: var(--space-10); font-family: var(--font-number); font-size: var(--fs-num-xl); line-height: var(--lh-none);
  font-weight: var(--fw-num); color: var(--color-primary);
}
.error-page .chips { margin-bottom: var(--stack-m); }
.error-page__phone { display: flex; flex-direction: column; align-items: center; margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.error-page__tel { display: inline-flex; align-items: center; gap: var(--space-5); font-weight: var(--fw-semibold); color: var(--color-title); white-space: nowrap; }
.error-page__tel .ico { color: var(--color-primary); }
@media (hover: hover) { .error-page__tel:hover { color: var(--color-primary); } }

/* ===== language switch (32): PL / EN in the header; current language graphite (--color-selected, AD-02) ===== */
.lang-row { display: flex; flex-wrap: wrap; gap: var(--space-20); margin-bottom: var(--stack-m); }
.lang__list { display: inline-flex; align-items: center; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-pill); background-color: var(--color-bg); }
.lang__link {
  display: inline-flex; align-items: center; justify-content: center; min-width: var(--target); min-height: var(--target); padding-inline: var(--space-10);
  border-radius: var(--radius-pill); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-title);
  transition: color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.lang__link[aria-current="true"] { background-color: var(--color-selected); color: var(--color-on-dark); }
@media (hover: hover) { .lang__link:not([aria-current="true"]):hover { color: var(--color-primary); } }
.en-head { padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--color-bg-soft); }
.en-head__title { margin-bottom: var(--stack-s); font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); }

/* ===== CookieYes skin (29, 5E pkt 5): real .cky-* classes. Reject = text link, Customize = outline, Accept = filled pink;
   on phones Reject goes under the other two. Banner up to 170 px from 992 and scrolls inside (also at 200% zoom).
   The floating revisit circle is hidden; settings open from the footer button with .cky-banner-element.
   On the live site CookieYes injects its own CSS: these rules will need !important there (Umiko global.css, same skin). ===== */
.cky-btn-revisit-wrapper { display: none; }
/* The buttons that open the settings ("Ustawienia cookies" in the footer and the placeholders) show once CookieYes is on the page (html.cky-ready, skrypty/62-kontakt.js): without it the button does
   nothing (K-11); hidden, it keeps its place */
html:not(.cky-ready) .cky-banner-element { visibility: hidden; }
.cky-consent-container { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-dialog); padding: var(--space-10); }
.cky-modal { position: fixed; inset: 0; z-index: var(--z-dialog); display: none; align-items: center; justify-content: center; padding: var(--gutter); background-color: var(--color-overlay); }
.cky-modal.cky-modal-open { display: flex; }
.cky-preview { position: relative; }
.cky-preview + .cky-preview { margin-top: var(--stack-m); }
.cky-preview .cky-consent-container { position: static; padding: 0; }
.cky-preview .cky-modal { position: static; display: block; padding: 0; background: none; }

.cky-consent-bar, .cky-preference-center { font-family: var(--font-base); color: var(--color-text); background-color: var(--color-bg); overflow-wrap: break-word; }
.cky-consent-bar {
  max-height: 60vh; overflow-y: auto;
  padding: var(--space-15) var(--pad-card-s); border-radius: var(--radius-l); box-shadow: var(--shadow-bar);
}
@media (width >= 992px) { .cky-consent-bar { max-height: 170px; padding: var(--space-20) var(--pad-card-m); } } /* 170: plan 5B pkt 29 */
.cky-title { margin: 0 0 var(--space-4); font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.cky-notice-des p, .cky-preference-content-wrapper p, .cky-accordion-header-des p { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); }
/* links in the banner text: the one rule of 00-baza.css (T-02); on the live site CookieYes will need the same with !important */
:is(.cky-notice-des, .cky-preference-content-wrapper) a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.cky-notice-btn-wrapper, .cky-prefrence-btn-wrapper { display: flex; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-15); }
.cky-notice-btn-wrapper .cky-btn, .cky-prefrence-btn-wrapper .cky-btn { flex: 1 1 0; padding-inline: var(--space-15); white-space: nowrap; }
.cky-notice-btn-wrapper .cky-btn-reject, .cky-prefrence-btn-wrapper .cky-btn-reject { order: 3; flex-basis: 100%; }
@media (width >= 768px) {
  .cky-notice-btn-wrapper, .cky-prefrence-btn-wrapper { flex-wrap: nowrap; justify-content: flex-end; }
  .cky-notice-btn-wrapper .cky-btn, .cky-prefrence-btn-wrapper .cky-btn { flex: 0 0 auto; padding-inline: var(--space-25); }
  .cky-notice-btn-wrapper .cky-btn-reject, .cky-prefrence-btn-wrapper .cky-btn-reject { order: 0; }
}
/* F26, as the CookieYes banner of Umiko: a phone held sideways (576-767) has the three buttons in one row, in the phone order;
   below 576 and in a window lower than 500 px the title is not shown (the region keeps its name "Pliki cookies") */
@media (576px <= width < 768px) {
  .cky-notice-btn-wrapper, .cky-prefrence-btn-wrapper { flex-wrap: nowrap; }
  .cky-notice-btn-wrapper .cky-btn-reject, .cky-prefrence-btn-wrapper .cky-btn-reject { flex: 0 0 auto; }
}
@media (width < 576px), (height < 500px) { .cky-consent-bar .cky-title { display: none; } }
/* while the banner is open the page ends lower by its height (--cky-h, skrypty/62-kontakt.js), so the last links of the footer
   can scroll out from under it (F07); below 576 the banner stands on the bottom bar while the bar is shown (F26) */
body { padding-bottom: var(--cky-h); }
@media print { body { padding-bottom: 0; } }
@media (width < 576px) {
  body > .cky-consent-container { transition: translate var(--dur-slow) var(--ease-out); }
  body:has(.bar--auto.is-active:not(.is-end)) > .cky-consent-container { translate: 0 calc(-1 * var(--bar-h)); }
}
@media (width >= 992px) {
  .cky-notice-group { display: flex; align-items: center; gap: var(--space-30); }
  .cky-notice-des { flex: 1 1 auto; }
  .cky-notice-btn-wrapper { flex: none; margin-top: 0; }
}

.cky-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--target); padding: var(--space-10) var(--space-25);
  border: 1px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-base); font-size: var(--fs-small); line-height: var(--lh-small);
  font-weight: var(--fw-semibold); cursor: pointer; transition: color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.cky-btn:focus-visible, .cky-btn-close:focus-visible, .cky-switch input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.cky-btn-accept { border-color: var(--color-primary); background-color: var(--color-primary); color: var(--color-on-dark); }
.cky-btn-customize, .cky-btn-preferences { border-color: var(--color-title); background-color: var(--color-bg); color: var(--color-title); }  /* the look of .btn--outline (K-07) */
.cky-btn-reject { padding-inline: var(--space-10); background-color: transparent; color: var(--color-link); font-weight: var(--fw-semibold); text-decoration: none; }
@media (hover: hover) {
  .cky-btn-accept:hover { border-color: var(--color-primary-hover); background-color: var(--color-primary-hover); }
  .cky-btn-customize:hover, .cky-btn-preferences:hover { background-color: var(--color-bg-dark); color: var(--color-on-dark); }
  .cky-btn-reject:hover { color: var(--color-link-hover); }
}
/* pressed = hover (K-03) */
.cky-btn-accept:active { border-color: var(--color-primary-hover); background-color: var(--color-primary-hover); }
.cky-btn-customize:active, .cky-btn-preferences:active { background-color: var(--color-bg-dark); color: var(--color-on-dark); }
.cky-btn-reject:active { color: var(--color-link-hover); }

/* preferences layer: header with close, description, three categories, buttons */
.cky-preference-center {
  display: flex; flex-direction: column; width: 100%; max-width: var(--measure-box); max-height: calc(100vh - 2 * var(--gutter));
  margin-inline: auto; border-radius: var(--radius-l); box-shadow: var(--elev-float); overflow: hidden;
}
.cky-preview .cky-preference-center { max-height: none; margin-inline: 0; }
.cky-preference-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-15); padding: var(--space-10) var(--space-10) var(--space-10) var(--pad-card-s); border-bottom: 1px solid var(--color-border); }
.cky-preference-title { margin: 0; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); }
.cky-btn-close { position: relative; flex: none; width: var(--target); height: var(--target); border-radius: var(--radius-round); color: var(--color-title); cursor: pointer; }
.cky-btn-close::before, .cky-btn-close::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: var(--ico-m); height: var(--space-2); border-radius: var(--space-2);
  background-color: currentColor; translate: -50% -50%; rotate: 45deg;
}
.cky-btn-close::after { rotate: -45deg; }
@media (hover: hover) { .cky-btn-close:hover { background-color: var(--color-bg-soft); } }
.cky-preference-body-wrapper { flex: 1 1 auto; overflow-y: auto; padding: var(--space-15) var(--pad-card-s); }
.cky-accordion { padding-block: var(--space-10); border-top: 1px solid var(--color-border); }
.cky-preference-content-wrapper { padding-bottom: var(--space-15); }
.cky-accordion-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-15); min-height: var(--target); }
.cky-accordion-btn { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-semibold); color: var(--color-title); }
.cky-always-active { padding: var(--space-4) var(--space-15); border-radius: var(--radius-pill); background-color: var(--color-bg-soft); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); color: var(--color-title); }
@media (width >= 768px) { .cky-accordion-header-des { padding-right: var(--space-60); } }

/* toggle: the input itself, 56 x 50 hit area; track and knob drawn by pseudo-elements (appearance: none) */
.cky-switch { flex: none; display: flex; }
.cky-switch input {
  --knob-gap: calc((var(--space-30) - var(--ico-l)) / 2);
  --switch-w: calc(2 * var(--ico-l) + var(--space-8));  /* 56 px at every width (the sign tokens shrink on phones, AD-07) */
  position: relative; width: var(--switch-w); height: var(--space-50); margin: 0; appearance: none; background: none; cursor: pointer;
}
.cky-switch input::before, .cky-switch input::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; transition: background-color var(--dur-base) var(--ease-out), translate var(--dur-base) var(--ease-out); }
.cky-switch input::before { left: 0; width: 100%; height: var(--space-30); border-radius: var(--radius-pill); background-color: var(--color-text); }
.cky-switch input::after { left: var(--knob-gap); width: var(--ico-l); height: var(--ico-l); border-radius: var(--radius-round); background-color: var(--color-bg); }
.cky-switch input:checked::before { background-color: var(--color-primary); }
.cky-switch input:checked::after { translate: calc(var(--switch-w) - var(--ico-l) - 2 * var(--knob-gap)) -50%; }

.cky-footer-wrapper { padding: var(--space-15) var(--pad-card-s); border-top: 1px solid var(--color-border); }
.cky-footer-wrapper .cky-prefrence-btn-wrapper { margin-top: 0; }

/* ===== page update date (5B 25): last line of the page content, above the footer ===== */
.updated { margin: 0; padding-block: var(--space-20); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-caption); color: var(--color-text); }

/* high contrast (00-baza.css, forced colours): lines for shapes drawn by a fill or a shadow, system colours for states and icons */
@media (forced-colors: active) {
  .pricelist__table, .guide-card, .cky-consent-bar, .cky-preference-center { outline: 1px solid CanvasText; }
  .pricelist__view--now, .lang__link[aria-current="true"] { forced-color-adjust: none; background-color: Highlight; color: HighlightText; } /* no text backplate over the highlight */
  .hub__row, .prose table, .side-card { outline: 1px solid CanvasText; }
  .prose ul > li::before, .txt__title::after { background-color: CanvasText; }
}

/* ===== 64-zbiorcze.css ===== */
/* Collection pages of the site (v15, Konrad 4.12, choices in the artifact "Femedis v15: wybory"): /oferta/ as white group cards
   with the lead in the first cell, /diagnostyka/ as one tile per test, /lekarze/ as person cards with hours (60-osoby.css
   team-card), /cennik/ with a side list of the sections and the shared .side-card, /galeria/ as one photo viewer
   (skrypty/64-galeria.js). The words of the old site stay 1:1; lists of the old site start lower case, so the first letter is
   set upper case here, not in the text. */

/* hidden words that stay for screen readers and in the text of the page (the dash between a test and its note, the label of
   the hours of a person): shown as the layout itself (two lines, the clock icon) */
.test-tile__sep, .team-card__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ===== hub rows (63-tresci.css .hub): a row of an item without its own page (the USG hub) has the same card surface, only no
   arrow; it keeps the height of a row with the arrow, so a lone plain row does not look switched off (P3, audit 4.12) ===== */
.hub__row--plain { min-height: calc(var(--sign-s) + 2 * var(--card-pad-tight)); }
.hub__name::first-letter { text-transform: uppercase; }

/* ===== group cards (/oferta/): 1 column, 2 from 768, 3 from 1200; the lead sentence takes the first cell ===== */
.group-cards { display: grid; gap: var(--grid-gap); }
@media (width >= 768px) { .group-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1200px) { .group-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the lead stands across the whole row above the cards (Konrad 5.12.2026: with the sixth group, gynecologic oncology, the
   cards fill whole rows, 3 + 3 from 1200 and 2 + 2 + 2 from 768; in its own cell the seventh card stood alone) */
.group-cards__lead { grid-column: 1 / -1; max-width: var(--measure); margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-semibold); color: var(--color-title); }
.group-card { min-width: 0; padding: var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.group-card .checklist { margin-bottom: 0; }
.group-card .checklist > li::first-letter { text-transform: uppercase; }
/* the items read like the lists of the content pages (.txt__body .checklist): 16/24 at every width, not the 14 px body of a phone */
.group-card .checklist > li { font-size: var(--fs-body-l); line-height: var(--lh-body-l); }

/* ===== test tiles (/diagnostyka/): one card per test, the name large, the note after the dash under it; 1, 2 from 576,
   3 from 992 columns; the whole tile is the link to the test page ===== */
.test-tiles { display: grid; gap: var(--grid-gap); margin: 0; padding: 0; list-style: none; }
@media (width >= 576px) { .test-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 992px) { .test-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.test-tile {
  display: flex; flex-direction: column; gap: var(--space-8); min-width: 0; padding: var(--card-pad);
  border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow);
}
.test-tile__name { margin: 0; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: var(--fw-item); color: var(--color-title); overflow-wrap: break-word; }
.test-tile__name::first-letter { text-transform: uppercase; }
.test-tile__desc { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }
.test-tile > .card-link__arrow { align-self: flex-start; margin-top: auto; }

/* ===== doctors list (/lekarze/): the team photo on top, then the team cards of 60-osoby.css in groups; a card also shows the
   hours under a clock icon (the label "Godziny przyjmowania:" stays for screen readers); the bio is on the person page ===== */
.team-photo { margin: 0 0 var(--section-pt); }
.team-photo img { display: block; width: 100%; height: auto; border-radius: var(--card-radius); }
/* the picture of a portrait fills the card media box: below 576 the card is a row and its text is taller than 96 px */
.team-card > .portrait > picture { display: block; width: 100%; height: 100%; }
.team-groups + .person-list { margin-top: var(--section-pt); }
@media (width >= 768px) { .team-groups + .person-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); } }
@media (width >= 1200px) { .team-groups + .person-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the staff row after the groups: as wide as a card column, portrait beside the name and the field line at every width
   (60-osoby.css spreads a row into four columns from 992, for rows with hours) */
.team-groups + .person-list .person-row { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.team-groups + .person-list .person-row > .portrait { grid-row: span 2; }
.team-groups + .person-list .person-row > :not(.portrait) { grid-column: 2; }
.team-groups + .person-list .person-row__name { align-self: end; }
.team-groups + .person-list .person-row__spec { align-self: start; }
.team-card__time {
  display: flex; justify-content: center; gap: var(--space-8); margin: var(--space-10) 0 0;
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-title); font-variant-numeric: tabular-nums;
}
.team-card__time .ico { flex: none; margin-top: calc((1lh - 1em) / 2); color: var(--color-primary); }  /* exception: optical centre of the icon on the first text line */
.team-card__hours { margin: 0; padding: 0; list-style: none; text-align: start; }
@media (width < 576px) { .team-card__time { justify-content: flex-start; } }

/* ===== price list (/cennik/): from 992 a sticky side (the list of sections with their counts, the booking card) beside the
   tables; below 992 the booking card on top, the list of sections, the tables, the booking card again at the end ===== */
.price-index { display: grid; gap: var(--stack-m); }
.price-index > * { min-width: 0; }
.price-index__side { display: grid; gap: var(--space-20); align-content: start; }
@media (width >= 992px) {
  .price-index { grid-template-columns: var(--aside-w) minmax(0, 1fr); gap: var(--cols-gap); align-items: start; }  /* the side column of a content page: one width and gap (consistency audit 4.12) */
  .price-index__side { position: sticky; top: var(--header-offset); }
  .price-index__end { display: none; }
}
@media (width < 992px) { .price-index__side > .side-card { order: -1; } }
.price-index__toc { padding: var(--space-10) var(--card-pad); border-radius: var(--card-radius); background-color: var(--card-bg); box-shadow: var(--card-shadow); }
.price-index__toc ul { margin: 0; padding: 0; list-style: none; }
.price-index__toc li + li { border-top: 1px solid var(--color-border); }
.price-index__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-15); min-height: var(--target); padding-block: var(--space-8);
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-semibold); color: var(--color-link); transition: color var(--dur-base) var(--ease-out);
}
@media (hover: hover) { .price-index__link:hover { color: var(--color-link-hover); } }
.price-index__n {
  flex: none; min-width: var(--space-30); padding: var(--space-2) var(--space-8); border-radius: var(--radius-pill); background-color: var(--color-bg-hero);
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); color: var(--color-title); text-align: center; font-variant-numeric: tabular-nums;
}
.price-index .pricelist__group { scroll-margin-top: var(--header-offset); }
.price-index .pricelist__service { color: var(--color-title); }  /* regular weight: semibold marks a link, and a name here is none (Konrad 5.12.2026) */
.price-index .pricelist__service::first-letter { text-transform: uppercase; }
.price-index .pricelist__price { font-weight: var(--fw-semibold); white-space: nowrap; }
/* a name here is not a link, so below 768 the row hugs its text instead of the 48 px control height of .pricelist__row */
@media screen and (width < 768px) {
  .price-index .pricelist__service { min-height: 0; }
  .price-index .pricelist__row { align-items: baseline; }
}
.price-notes { margin-top: var(--stack-m); }
.price-notes p { margin: 0 0 var(--stack-xs); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-small); color: var(--color-text); }
.price-notes p::first-letter { text-transform: uppercase; }
.price-index__end { margin-top: var(--stack-m); }
/* the booking card is the shared .side-card (63-tresci.css), one card on the whole site */

/* ===== photo viewer (/galeria/): the sentence as the title, one large photo with previous / next, the counter and a strip of
   thumbnails, the film card; from 992 the photo on the left (8/12), the title and the film on the right (4/12).
   The title and the film sit in .viewer__side (one column from 992, below it the title goes first and the film last).
   Without JS (no .is-ready) every photo shows in a grid; skrypty/64-galeria.js builds the stage and the buttons ===== */
.viewer { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "main" "film"; gap: var(--space-30); }
.viewer__side { display: contents; }
@media (width >= 992px) {
  .viewer { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "main side"; gap: var(--grid-gap); align-items: start; }
  .viewer__side { grid-area: side; display: grid; gap: var(--space-20); min-width: 0; }
  .viewer .viewer__side > * { grid-area: auto; }
}
.viewer__title { grid-area: title; margin: 0; font-size: var(--fs-block); line-height: var(--lh-block); font-weight: var(--fw-block); color: var(--color-title); }
.viewer__main { grid-area: main; min-width: 0; }
.viewer__film { grid-area: film; min-width: 0; }
.viewer__film .video-ph__bar { grid-template-columns: minmax(0, 1fr); }
.viewer__film .video-ph__actions { flex-direction: column; align-items: stretch; }
.viewer__film .video-ph__actions .btn { justify-content: center; }
.viewer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10); margin: 0; padding: 0; list-style: none; }
@media (width >= 768px) { .viewer__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-15); } }
.viewer__thumb { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); background-color: var(--color-bg-hero); }

.viewer__stage { position: relative; overflow: hidden; border-radius: var(--card-radius); background-color: var(--color-bg-hero); touch-action: pan-y; }
.viewer__photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.viewer__count {
  position: absolute; left: var(--space-15); bottom: var(--space-15); margin: 0; padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-pill); background-color: var(--color-bg); box-shadow: var(--elev-float);
  font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-semibold); color: var(--color-title); font-variant-numeric: tabular-nums;
}
.viewer__btn {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: var(--target); height: var(--target); padding: 0;
  border: 0; border-radius: var(--radius-round); background-color: var(--color-bg); box-shadow: var(--elev-float); color: var(--color-title);
  font-size: var(--ico-m); cursor: pointer; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
@media (hover: hover) { .viewer__btn:hover { background-color: var(--color-bg-dark); color: var(--color-on-dark); } }  /* like .btn--outline: graphite fill (P2-14) */
.viewer__btn:active { background-color: var(--color-selected); color: var(--color-on-dark); }
.viewer__btn--prev { left: var(--space-15); }
.viewer__btn--prev .ico { scale: -1 1; }
.viewer__btn--next { right: var(--space-15); }
/* with JS the list is a strip of thumbnail buttons under the photo; the one shown is marked, the rest dimmed */
.viewer.is-ready .viewer__list {
  position: relative;
  display: flex; gap: var(--space-10); margin-top: var(--space-15); padding: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.viewer.is-ready .viewer__list > li { flex: none; width: 96px; scroll-snap-align: start; }  /* fixed media size: 96 px thumbnail */
@media (width >= 768px) { .viewer.is-ready .viewer__list > li { width: 120px; } }  /* fixed media size: 120 px thumbnail */
.viewer__pick {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-m); background: none; cursor: pointer;
  opacity: 0.55; transition: opacity var(--dur-base) var(--ease-out);  /* exception: the thumbnails not shown are dimmed */
}
/* the photo shown: full opacity and a pink bar along the bottom of the thumbnail, the mark of the chosen tab (27-zakladki.css);
   the keyboard focus keeps the graphite ring outside (00-baza.css), so focus and choice never look alike (P2-14) */
.viewer__pick[aria-current="true"] { opacity: 1; }
.viewer__pick[aria-current="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: var(--space-4); background-color: var(--color-primary); }
@media (hover: hover) { .viewer__pick:hover { opacity: 1; } }

@media (forced-colors: active) {
  .hub__row--plain, .group-card, .test-tile, .price-index__toc { outline: 1px solid CanvasText; }
  .viewer__btn { border: 1px solid ButtonText; }
  .viewer__pick[aria-current="true"]::after { forced-color-adjust: none; background-color: Highlight; }
}

/* the USG hub: text after the list of its USG pages keeps the block rhythm */
.hub + .txt__row { margin-top: var(--stack-m); }

