/* CM Prokocim – wygląd premium („Medycyna, która ma czas dla człowieka”). */
:root {
  --cmp-ink: #142326;
  --cmp-ink-soft: #3c4b4d;
  --cmp-muted: #5a6466; /* >= 5:1 on paper, ivory and sand */
  --cmp-green: #1d4a4f;
  --cmp-green-deep: #12302f;
  --cmp-brass: #a8834a;
  --cmp-brass-text: #85662f; /* brass for small text on light backgrounds (WCAG AA) */
  --cmp-brass-soft: #d9c4a0;
  --cmp-ivory: #f7f3ec;
  --cmp-paper: #fcfaf6;
  --cmp-sand: #ece4d8;
  --cmp-line: rgba(20, 35, 38, .14);
  --cmp-serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --cmp-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- base (all pages) ---------- */
html, body { margin: 0; }
.cmp-home *, .cmp-home *::before, .cmp-home *::after { box-sizing: border-box; }
.cmp-home img { max-width: 100%; display: block; }
body { font-family: var(--cmp-sans); color: var(--cmp-ink); background: var(--cmp-paper); -webkit-font-smoothing: antialiased; }
#page-container, #main-content, #et-main-area, .et_pb_section:not(.et_pb_with_background) { background-color: var(--cmp-paper); }
body, #main-content:not(.cmp-main) p, .et_pb_text, .et_pb_toggle_content, .et_pb_tab { font-family: var(--cmp-sans); color: var(--cmp-ink-soft); font-size: 17px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6, .et_pb_module_header, .entry-title, .et_pb_toggle_title, .et_pb_tabs_controls li a {
  font-family: var(--cmp-serif) !important; color: var(--cmp-ink); letter-spacing: -.01em; font-weight: 400;
}
#main-content h1, .et_pb_post_title .entry-title { font-weight: 300 !important; }
#main-content:not(.cmp-main) a:not(.et_pb_button):not(.cmp-btn) { color: var(--cmp-green); }
.et_pb_text_inner a:not(.et_pb_button):not(.cmp-btn) { text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }
.cmp-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.cmp-label { font-family: var(--cmp-sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cmp-brass-text); }
.cmp-main h2.cmp-label--h { font-family: var(--cmp-sans) !important; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .22em; margin: 0; }
.cmp-label--light { color: var(--cmp-brass-soft); }
.cmp-label--line { display: flex; align-items: center; gap: 14px; }
.cmp-label--line::before { content: ""; width: 34px; height: 1px; background: var(--cmp-brass); }
.cmp-arrow { display: inline-block; transition: transform .2s; }
a:hover .cmp-arrow { transform: translateX(4px); }
.cmp-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; font-family: var(--cmp-sans); font-weight: 500; font-size: 15px; letter-spacing: .02em; line-height: 1.2; text-decoration: none !important; transition: background .2s, color .2s; }
.cmp-btn--dark { background: var(--cmp-ink); color: var(--cmp-paper) !important; }
.cmp-btn--dark:hover { background: var(--cmp-green); }
.cmp-btn--dark .cmp-arrow { color: var(--cmp-brass-soft); }
.cmp-btn--line { border: 1px solid var(--cmp-ink); color: var(--cmp-ink) !important; }
.cmp-btn--line:hover { background: var(--cmp-ink); color: var(--cmp-paper) !important; }
.cmp-btn--line-light { border: 1px solid rgba(255,255,255,.5); color: #fff !important; }
.cmp-btn--line-light:hover { background: #fff; color: var(--cmp-green-deep) !important; }
.cmp-link { font-weight: 500; border-bottom: 1px solid var(--cmp-brass); padding-bottom: 3px; color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-link--brass { color: var(--cmp-brass-text) !important; }

/* ---------- header ---------- */
.cmp-header { position: sticky; top: 0; z-index: 9990; background: rgba(252, 250, 246, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cmp-line); }
.admin-bar .cmp-header { top: 32px; }
.cmp-header__in { height: 84px; display: flex; align-items: center; gap: 30px; }
.cmp-logo img { height: 42px; width: auto; display: block; }
.cmp-nav { flex: 1; display: flex; justify-content: center; }
.cmp-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.cmp-menu li { list-style: none; position: relative; }
.cmp-menu > li > a { display: block; padding: 30px 0; font-family: var(--cmp-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cmp-ink-soft); text-decoration: none; }
.cmp-menu > li > a:hover, .cmp-menu > li.current-menu-item > a, .cmp-menu > li.current-menu-ancestor > a { color: var(--cmp-ink); box-shadow: inset 0 -1px 0 var(--cmp-brass); }
.cmp-menu .sub-menu { list-style: none; margin: 0; padding: 18px 22px; position: absolute; left: -22px; top: 100%; min-width: 260px; background: var(--cmp-paper); border: 1px solid var(--cmp-line); box-shadow: 0 24px 50px -30px rgba(20,35,38,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.cmp-menu > li:hover > .sub-menu, .cmp-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cmp-menu > li > .sub-menu:has(> li:nth-child(9)) { columns: 2; column-gap: 34px; min-width: 520px; }
.cmp-menu .sub-menu li { break-inside: avoid; }
/* Badania: grupy z podmenu (USG, Biopsja) – dwie kolumny zamiast jednej dlugiej listy */
.cmp-menu > li > .sub-menu:has(.sub-menu) { columns: 2; column-gap: 40px; min-width: 540px; }
.cmp-menu > li > .sub-menu:has(.sub-menu) > li > a { font-weight: 500; color: var(--cmp-ink); }
.cmp-menu .sub-menu a { display: block; padding: 6px 0; font-size: 15px; color: var(--cmp-ink-soft); text-decoration: none; }
.cmp-menu .sub-menu a:hover { color: var(--cmp-green); }
.cmp-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; background: transparent; }
.cmp-menu .sub-menu .sub-menu a { font-size: 14px; color: var(--cmp-muted); padding: 3px 0; }
.cmp-header__right { display: flex; align-items: center; gap: 22px; }
.cmp-header__tel { font-size: 14px; color: var(--cmp-ink) !important; text-decoration: none; white-space: nowrap; }
.cmp-header__cta { padding: 12px 22px; white-space: nowrap; }
.cmp-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.cmp-burger span { display: block; height: 1.5px; background: var(--cmp-ink); margin: 6px 0; transition: transform .2s, opacity .2s; }
.cmp-nav__mobile-cta { display: none; }

/* ---------- footer ---------- */
.cmp-footer { background: var(--cmp-ink); color: #a9b5b6; padding: 90px 0 40px; font-family: var(--cmp-sans); font-size: 15px; }
.cmp-footer a { display: block; padding: 3px 0; color: #a9b5b6 !important; text-decoration: none; }
.cmp-footer a:hover { color: #fff !important; }
.cmp-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cmp-footer__big { font-family: var(--cmp-serif); font-weight: 300; font-size: clamp(34px, 4vw, 56px); color: #fff; line-height: 1.1; max-width: 18ch; }
.cmp-footer__big em { color: var(--cmp-brass-soft); }
.cmp-footer .cmp-btn { display: inline-flex; padding: 16px 28px; color: #fff !important; }
.cmp-footer .cmp-btn:hover { color: var(--cmp-green-deep) !important; }
.cmp-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0; }
.cmp-footer .cmp-fh { font-family: var(--cmp-sans) !important; color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.cmp-footer p { color: #a9b5b6; margin: 0 0 6px; padding: 0; }
.cmp-footer__legal { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.cmp-footer__legal a { display: inline; }
.cmp-mbar { display: none; }

/* ---------- Divi interior pages: page hero, buttons, tabs, toggles ---------- */
html body.et-db #et-boc .et-l div.et_pb_section.et_pb_section:has(.et_pb_post_title),
html body #et-boc .et-l div.et_pb_section.et_pb_section:has(.et_pb_post_title),
html body #page-container div.et_pb_section.et_pb_section:has(.et_pb_post_title) { background: var(--cmp-ivory) !important; background-color: var(--cmp-ivory) !important; background-image: none !important; }
html body #et-boc div.et_pb_section.et_pb_section:has(.et_pb_post_title) .et_pb_bottom_inside_divider,
html body #et-boc div.et_pb_section.et_pb_section:has(.et_pb_post_title) .et_pb_top_inside_divider { display: none !important; }
html body.et-db #et-boc .et-l .et_pb_post_title.et_pb_post_title .et_pb_title_container h1.entry-title.entry-title,
html body #et-boc .et-l .et_pb_post_title.et_pb_post_title .et_pb_title_container h1.entry-title.entry-title,
html body #page-container .et_pb_post_title.et_pb_post_title .et_pb_title_container h1.entry-title.entry-title { color: var(--cmp-ink) !important; font-family: var(--cmp-serif) !important; font-weight: 300 !important; font-size: clamp(38px, 5vw, 68px) !important; line-height: 1.08 !important; text-shadow: none !important; }
#et-boc #breadcrumbs, #et-boc #breadcrumbs a, #et-boc #breadcrumbs span, #breadcrumbs, #breadcrumbs a, #breadcrumbs span { color: var(--cmp-muted) !important; font-size: 13px; letter-spacing: .04em; text-decoration: none !important; text-shadow: none !important; }
#et-boc .et_pb_button, #et-boc .et_pb_button:hover, #et-boc a.et_pb_button, .et_pb_button, a.et_pb_button { background: var(--cmp-ink) !important; color: var(--cmp-paper) !important; border: 0 !important; border-radius: 999px !important; padding: 15px 28px !important; font-family: var(--cmp-sans) !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: .02em !important; text-transform: none !important; text-decoration: none !important; }
#et-boc .et_pb_button:hover, .et_pb_button:hover { background: var(--cmp-green) !important; }
.et_pb_button::after, .et_pb_button::before { display: none !important; }
.et_pb_tabs { border: 1px solid var(--cmp-line) !important; background: #fff; }
.et_pb_tabs_controls { background: var(--cmp-ivory) !important; border-bottom: 1px solid var(--cmp-line); }
.et_pb_tabs_controls li { border-right: 1px solid var(--cmp-line) !important; background: transparent !important; }
.et_pb_tabs_controls li.et_pb_tab_active { background: #fff !important; box-shadow: inset 0 -2px 0 var(--cmp-brass); }
.et_pb_tabs_controls li a { color: var(--cmp-ink) !important; font-size: 17px !important; }
.et_pb_toggle { border: 0 !important; border-bottom: 1px solid var(--cmp-line) !important; background: transparent !important; padding: 22px 0 !important; }
.et_pb_toggle_title { font-size: 21px !important; }
.et_pb_toggle_title::before { color: var(--cmp-brass) !important; }
.et_pb_text table td, .et_pb_text table th { border-color: var(--cmp-line) !important; padding: 12px 14px !important; }
.et_pb_text ul li::marker { color: var(--cmp-brass); }

/* ---------- home ---------- */
.cmp-home .cmp-main { background: var(--cmp-paper); }
.cmp-main h1, .cmp-main h2, .cmp-main h3 { font-weight: 300; line-height: 1.06; margin: 0; padding: 0; }
.cmp-main h2 { font-size: clamp(36px, 4.4vw, 62px); margin-top: 20px; }
.cmp-main h2 em { font-style: italic; color: var(--cmp-green); }
.cmp-main p { margin: 0; padding: 0; }
.cmp-main section { padding: 130px 0; }
.cmp-hero { display: grid; grid-template-columns: 1.08fr 1fr; height: clamp(620px, calc(100vh - 84px), 860px); padding: 0 !important; }
.cmp-hero__text { padding: 9vh 6vw 7vh max(24px, calc((100vw - 1240px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.cmp-hero h1 { font-size: clamp(48px, 6.4vw, 96px); margin: 26px 0 30px; color: var(--cmp-ink); }
.cmp-hero h1 em { font-style: italic; color: var(--cmp-brass); }
.cmp-hero p { font-size: 19px; color: var(--cmp-ink-soft); max-width: 50ch; }
.cmp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.cmp-hero__photo { position: relative; overflow: hidden; }
.cmp-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; }
.cmp-hero__photo::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 58px; height: 1px; background: var(--cmp-brass-soft); }
.cmp-caption { position: absolute; left: 28px; bottom: 26px; color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.cmp-facts { border-top: 1px solid var(--cmp-line); border-bottom: 1px solid var(--cmp-line); }
.cmp-facts .cmp-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.cmp-facts .cmp-wrap > div { padding: 30px 0; display: flex; gap: 18px; align-items: baseline; }
.cmp-facts .cmp-wrap > div + div { padding-left: 40px; border-left: 1px solid var(--cmp-line); }
.cmp-facts b { font-family: var(--cmp-serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--cmp-green); white-space: nowrap; }
.cmp-facts span, .cmp-facts a { font-size: 14.5px; color: var(--cmp-ink-soft) !important; line-height: 1.4; text-decoration: none; }
.cmp-facts a { border-bottom: 1px solid var(--cmp-brass); }
.cmp-manifesto { background: var(--cmp-ivory); text-align: center; }
.cmp-manifesto blockquote { font-family: var(--cmp-serif); font-weight: 300; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.28; max-width: 22ch; margin: 30px auto 26px; color: var(--cmp-ink); border: 0; padding: 0; }
.cmp-manifesto blockquote em { color: var(--cmp-green); }
.cmp-manifesto cite { font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--cmp-muted); }
.cmp-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; text-align: left; border-top: 1px solid var(--cmp-line); }
.cmp-principles > div { padding: 38px 40px 0 0; }
.cmp-principles > div + div { padding-left: 40px; border-left: 1px solid var(--cmp-line); }
.cmp-n { font-family: var(--cmp-serif); font-style: italic; color: var(--cmp-brass); font-size: 20px; }
.cmp-principles h3 { font-size: 30px; margin: 10px 0 14px; }
.cmp-principles p { color: var(--cmp-ink-soft); font-size: 16px; }
.cmp-services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.cmp-services__head p { color: var(--cmp-ink-soft); max-width: 46ch; }
.cmp-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; }
.cmp-group h3 { font-family: var(--cmp-sans) !important; font-size: 12px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--cmp-brass-text); font-weight: 600; padding: 0 0 16px; border-bottom: 1px solid var(--cmp-ink); margin: 46px 0 0; }
.cmp-group:nth-child(-n+2) h3 { margin-top: 0; }
.cmp-row { display: grid; grid-template-columns: 1fr auto 24px; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--cmp-line); color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-row b { font-family: var(--cmp-serif); font-weight: 400; font-size: 26px; display: block; line-height: 1.2; }
.cmp-row small { display: block; color: var(--cmp-muted); font-size: 14.5px; margin-top: 4px; }
.cmp-p { font-size: 14px; color: var(--cmp-ink-soft); white-space: nowrap; }
.cmp-p i { font-style: normal; font-family: var(--cmp-serif); font-size: 21px; color: var(--cmp-ink); }
.cmp-row .cmp-arrow { color: var(--cmp-brass); }
.cmp-row:hover b { color: var(--cmp-green); }
.cmp-services__foot { margin-top: 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; color: var(--cmp-muted); }
.cmp-poz { background: var(--cmp-sand); padding: 100px 0 !important; }
.cmp-poz__in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cmp-poz h2 { margin-bottom: 20px; }
.cmp-poz p { color: var(--cmp-ink-soft); max-width: 46ch; margin-bottom: 32px !important; }
.cmp-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.cmp-steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; padding: 22px 0; border-bottom: 1px solid var(--cmp-line); font-size: 18px; color: var(--cmp-ink); }
.cmp-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--cmp-serif); font-style: italic; color: var(--cmp-brass); font-size: 22px; }
.cmp-bleed { position: relative; height: 82vh; min-height: 520px; max-height: 860px; overflow: hidden; }
.cmp-bleed img { width: 100%; height: 100%; object-fit: cover; }
.cmp-bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,48,47,.72) 0%, rgba(18,48,47,.25) 55%, rgba(18,48,47,0) 80%); }
.cmp-bleed__over { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.cmp-bleed h2 { color: #fff; max-width: 13ch; }
.cmp-bleed h2 em { color: var(--cmp-brass-soft); }
.cmp-bleed p { color: rgba(255,255,255,.85); max-width: 40ch; margin-top: 24px !important; font-size: 18px; }
.cmp-journey { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.cmp-journey > div { padding: 34px 34px 0 0; border-top: 1px solid var(--cmp-ink); }
.cmp-journey > div + div { padding-left: 34px; }
.cmp-journey .cmp-n { font-style: normal; font-weight: 300; font-size: 54px; line-height: 1; }
.cmp-journey h3 { font-size: 25px; margin: 18px 0 12px; }
.cmp-journey p { font-size: 15.5px; color: var(--cmp-ink-soft); }
.cmp-psych { background: var(--cmp-green-deep); color: #dfe8e7; }
.cmp-main section.cmp-psych { padding: 100px 0; }
.cmp-psych .cmp-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.cmp-psych h2 { color: #fff; margin: 22px 0 26px; }
.cmp-psych h2 em { color: var(--cmp-brass-soft); }
.cmp-psych p { color: #b8c9c8; max-width: 46ch; }
.cmp-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 46px; margin: 40px 0 46px; }
.cmp-stats b { display: block; font-family: var(--cmp-serif); font-weight: 300; font-size: 50px; color: #fff; line-height: 1; }
.cmp-stats span { font-size: 13.5px; color: #9fb4b3; }
.cmp-psych img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.cmp-psych--place { background: var(--cmp-brass-soft); color: var(--cmp-ink); }
.cmp-psych--place .cmp-label { color: var(--cmp-green); }
.cmp-psych--place h2 { color: var(--cmp-ink); }
.cmp-psych--place h2 em { color: var(--cmp-green); }
.cmp-psych--place p { color: var(--cmp-ink-soft); max-width: 46ch; }
.cmp-psych--place .cmp-stats b { color: var(--cmp-ink); }
.cmp-psych--place .cmp-stats span { color: var(--cmp-ink-soft); }
.cmp-team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.cmp-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cmp-doc { color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-doc__ph { overflow: hidden; background: var(--cmp-sand); }
.cmp-doc img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .6s; }
.cmp-doc:hover img { transform: scale(1.035); }
.cmp-doc b { display: block; font-family: var(--cmp-serif); font-weight: 400; font-size: 22px; margin-top: 20px; line-height: 1.2; }
.cmp-doc span { font-size: 14px; color: var(--cmp-muted); }
.cmp-doc small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--cmp-ink-soft); }
.cmp-trust p a { color: inherit; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }
.cmp-trust { background: var(--cmp-ivory); }
.cmp-trust .cmp-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.cmp-trust p { color: var(--cmp-ink-soft); max-width: 46ch; margin-top: 26px !important; }
.cmp-award { position: relative; }
.cmp-award img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.cmp-award__tag { position: absolute; left: -36px; bottom: 40px; background: var(--cmp-paper); padding: 22px 26px; max-width: 280px; }
.cmp-award__tag b { font-family: var(--cmp-serif); font-weight: 400; font-size: 21px; display: block; line-height: 1.25; }
.cmp-award__tag span { font-size: 13px; color: var(--cmp-muted); }
.cmp-visit__in { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.cmp-info { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; margin: 0 0 38px; }
.cmp-info b { display: block; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cmp-brass-text); margin-bottom: 6px; font-weight: 600; }
.cmp-info > div { color: var(--cmp-ink-soft); font-size: 16px; }
.cmp-js .cmp-rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.cmp-js .cmp-rv.cmp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cmp-js .cmp-rv { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cmp-header__in { height: 68px; }
  .cmp-logo img { height: 36px; }
  .cmp-header__tel, .cmp-header__cta { display: none; }
  .cmp-burger { display: block; }
  /* Absolute under the sticky header: the header's backdrop-filter would turn position: fixed into a header-sized box. */
  .cmp-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--cmp-paper); display: none; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 120px; justify-content: flex-start; }
  .cmp-nav-open .cmp-nav { display: block; }
  .cmp-nav-open .cmp-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .cmp-nav-open .cmp-burger span:nth-child(2) { opacity: 0; }
  .cmp-nav-open .cmp-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .cmp-menu { flex-direction: column; gap: 0; }
  .cmp-menu > li { border-bottom: 1px solid var(--cmp-line); }
  .cmp-menu > li > a { padding: 18px 0; font-size: 14px; }
  .cmp-menu .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 14px 12px; min-width: 0; columns: 1 !important; }
  .cmp-menu li.cmp-sub-open > .sub-menu { display: block; }
  .cmp-nav__mobile-cta { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
  .cmp-hero { grid-template-columns: 1fr; height: auto; }
  .cmp-hero__text { padding: 44px 24px 40px; }
  .cmp-hero__photo { height: 320px; }
  .cmp-facts .cmp-wrap, .cmp-principles, .cmp-journey, .cmp-groups, .cmp-services__head, .cmp-psych .cmp-wrap, .cmp-trust .cmp-wrap, .cmp-poz__in, .cmp-visit__in { grid-template-columns: 1fr; }
  .cmp-facts .cmp-wrap > div + div, .cmp-principles > div + div, .cmp-journey > div + div { padding-left: 0; border-left: 0; }
  .cmp-facts .cmp-wrap > div { padding: 20px 0; }
  .cmp-facts .cmp-wrap > div + div { border-top: 1px solid var(--cmp-line); }
  .cmp-principles > div { padding-right: 0; }
  .cmp-principles > div + div { border-top: 1px solid var(--cmp-line); margin-top: 30px; }
  .cmp-journey > div { padding-right: 0; margin-top: 26px; }
  .cmp-group h3 { margin-top: 46px !important; }
  .cmp-group:first-child h3 { margin-top: 0 !important; }
  .cmp-main section { padding: 84px 0; }
  .cmp-main section.cmp-psych { padding: 84px 0; }
  .cmp-team { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cmp-psych .cmp-wrap, .cmp-trust .cmp-wrap, .cmp-poz__in, .cmp-visit__in { gap: 46px; }
  .cmp-award__tag { left: 16px; bottom: 16px; }
  .cmp-team-head, .cmp-footer__top { flex-direction: column; align-items: flex-start; }
  .cmp-footer__cols { grid-template-columns: 1fr 1fr; }
  .cmp-mbar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9989; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(252,250,246,.96); border-top: 1px solid var(--cmp-line); }
  .cmp-mbar .cmp-btn { justify-content: center; padding: 14px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .cmp-stats { gap: 28px; }
  .cmp-stats b { font-size: 40px; }
  .cmp-row b { font-size: 22px; }
  .cmp-info { grid-template-columns: 1fr; }
  .cmp-footer__cols { grid-template-columns: 1fr; }
}

/* Free-slot label in the service list (data from the Medfile booking catalog). */
.cmp-slot { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--cmp-green); }
.cmp-slot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3f9b6e; }
.cmp-doc img { height: auto; }

/* Patient reviews. */
.cmp-reviews { background: var(--cmp-ivory); }
.cmp-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.cmp-reviews figure { margin: 0; padding: 34px 32px; background: var(--cmp-paper); border-top: 2px solid var(--cmp-brass); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.cmp-reviews blockquote { margin: 0; padding: 0; border: 0; font-family: var(--cmp-serif); font-weight: 300; font-size: 21px; line-height: 1.45; color: var(--cmp-ink); }
.cmp-reviews figcaption { font-size: 13.5px; color: var(--cmp-muted); }
.cmp-reviews figcaption b { display: block; color: var(--cmp-ink); font-size: 15px; margin-bottom: 2px; }
.cmp-reviews__src { margin-top: 28px !important; font-size: 13.5px; color: var(--cmp-muted); }
.cmp-reviews__src a { color: var(--cmp-ink) !important; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; margin-left: 6px; }

/* FAQ. */
.cmp-faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.cmp-faq details { border-bottom: 1px solid var(--cmp-line); }
.cmp-faq details:first-child { border-top: 1px solid var(--cmp-ink); }
.cmp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--cmp-serif); font-size: 22px; line-height: 1.3; color: var(--cmp-ink); }
.cmp-faq summary::-webkit-details-marker { display: none; }
.cmp-faq summary::after { content: "+"; color: var(--cmp-brass); font-family: var(--cmp-sans); font-size: 24px; line-height: 1; transition: transform .2s; }
.cmp-faq details[open] summary::after { transform: rotate(45deg); }
.cmp-faq details p { margin: -6px 0 26px !important; color: var(--cmp-ink-soft); max-width: 62ch; }

/* Keyboard focus. */
.cmp-header a:focus-visible, .cmp-main a:focus-visible, .cmp-footer a:focus-visible, .cmp-mbar a:focus-visible, .cmp-faq summary:focus-visible, button:focus-visible { outline: 2px solid var(--cmp-brass); outline-offset: 3px; }

@media (max-width: 1100px) {
  .cmp-reviews__grid, .cmp-faq__in { grid-template-columns: 1fr; }
  .cmp-faq__in { gap: 36px; }
}

/* =========================================================
   Subpages: services, profiles, pages, price list, archives
   ========================================================= */
.cmp-sub .cmp-main { background: var(--cmp-paper); }
.cmp-sub .cmp-main section { padding: 88px 0; }
.cmp-sub .cmp-main section.cmp-shero { padding: 56px 0 72px; background: var(--cmp-ivory); }
.cmp-crumbs { font-size: 13.5px; color: var(--cmp-muted); margin-bottom: 30px; }
.cmp-crumbs a { display: inline-block; padding: 6px 0; }
.cmp-crumbs a { color: var(--cmp-muted) !important; text-decoration: none !important; }
.cmp-crumbs a:hover { color: var(--cmp-ink) !important; }
.cmp-crumbs span { margin: 0 4px; }
.cmp-sub .cmp-main h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 300; line-height: 1.05; margin: 22px 0 0; }
.cmp-lead { font-size: 19px; line-height: 1.6; color: var(--cmp-ink-soft); max-width: 58ch; margin-top: 26px !important; }
.cmp-shero__in { display: grid; grid-template-columns: 1.35fr .9fr; gap: 72px; align-items: start; }
.cmp-sfacts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--cmp-line); }
.cmp-sfacts b { display: block; font-family: var(--cmp-serif); font-weight: 300; font-size: 30px; line-height: 1.1; color: var(--cmp-ink); }
.cmp-sfacts span { font-size: 13.5px; color: var(--cmp-muted); }

.cmp-box { background: var(--cmp-paper); padding: 34px 34px 30px; border-top: 2px solid var(--cmp-brass); box-shadow: 0 30px 60px -45px rgba(20,35,38,.35); }
.cmp-box ul { list-style: none; margin: 18px 0 22px; padding: 0; }
.cmp-box li { padding: 11px 0; border-bottom: 1px solid var(--cmp-line); font-size: 15.5px; color: var(--cmp-ink-soft); }
.cmp-box li::before { content: "\2713"; color: var(--cmp-brass); margin-right: 10px; }
.cmp-box li.cmp-box__price::before { content: none; }
.cmp-box__price { font-size: 15px !important; }
.cmp-box__price b { font-family: var(--cmp-serif); font-weight: 400; font-size: 34px; color: var(--cmp-ink); }
.cmp-box__slot { margin: 0 0 22px !important; }
.cmp-box .cmp-btn { width: 100%; justify-content: center; }
.cmp-box .cmp-link { display: block; text-align: center; margin-top: 14px; font-size: 14.5px; }
.cmp-box--inline { margin-top: 34px; max-width: 420px; }

.cmp-article__in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; align-items: start; }
.cmp-article__in--single { grid-template-columns: minmax(0, 820px); }
.cmp-prose { font-size: 17.5px; line-height: 1.75; color: var(--cmp-ink-soft); }
.cmp-prose > :first-child { margin-top: 0 !important; }
.cmp-prose h2 { font-size: clamp(28px, 3vw, 38px) !important; margin: 56px 0 18px !important; color: var(--cmp-ink); line-height: 1.15 !important; }
.cmp-prose h3 { font-size: 23px; font-weight: 400 !important; margin: 36px 0 12px !important; color: var(--cmp-ink); line-height: 1.25 !important; }
.cmp-prose h4 { font-family: var(--cmp-sans) !important; font-size: 17px; font-weight: 600; margin: 28px 0 8px; color: var(--cmp-ink); }
.cmp-main .cmp-prose p { margin: 0 0 18px; }
.cmp-prose ul, .cmp-prose ol { margin: 0 0 22px; padding-left: 22px; }
.cmp-prose li { margin: 0 0 10px; padding-left: 4px; }
.cmp-prose ul li::marker { color: var(--cmp-brass); }
.cmp-prose a { color: var(--cmp-green) !important; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }
.cmp-prose strong { color: var(--cmp-ink); font-weight: 600; }
.cmp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
.cmp-prose td, .cmp-prose th { padding: 12px 10px; border-bottom: 1px solid var(--cmp-line); text-align: left; vertical-align: top; }
.cmp-legacy-img { margin: 0 0 24px; }
.cmp-legacy-img img { max-width: 100%; height: auto; }
.cmp-steps--plain li { display: block; position: relative; padding: 18px 0 18px 54px; font-size: 17px; line-height: 1.65; color: var(--cmp-ink-soft); }
.cmp-steps--plain li::before { position: absolute; left: 0; top: 16px; }
.cmp-prose ol.cmp-steps { padding-left: 0; }
.cmp-prose ol.cmp-steps li { margin: 0; }
.cmp-urgent { margin-top: 40px; padding: 22px 26px; background: var(--cmp-ivory); border-left: 3px solid var(--cmp-brass); font-size: 16px; }
.cmp-main .cmp-urgent p { margin: 0; }
.cmp-main .cmp-byline { margin-top: 40px; font-size: 14px; color: var(--cmp-muted); }
.cmp-related { position: sticky; top: 110px; }
.cmp-related ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--cmp-ink); }
.cmp-related li { border-bottom: 1px solid var(--cmp-line); }
.cmp-related a { display: flex; justify-content: space-between; padding: 14px 0; color: var(--cmp-ink) !important; text-decoration: none !important; font-size: 16px; }
.cmp-related a:hover { color: var(--cmp-green) !important; }
.cmp-related .cmp-arrow { color: var(--cmp-brass); }

.cmp-who { background: var(--cmp-ivory); }
.cmp-main .cmp-who h2, .cmp-main .cmp-pricing h2 { margin-bottom: 44px; }
.cmp-dcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cmp-dcard { display: flex; flex-direction: column; background: var(--cmp-paper); color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-dcard__ph { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cmp-sand); }
.cmp-dcard__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.cmp-dcard:hover img { transform: scale(1.035); }
.cmp-dcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px 22px; }
.cmp-dcard__body b { font-family: var(--cmp-serif); font-weight: 400; font-size: 20px; line-height: 1.25; }
.cmp-dcard__spec { font-size: 13.5px; color: var(--cmp-muted); }
.cmp-rating { font-size: 13.5px; color: var(--cmp-ink-soft); }
.cmp-rating b { color: var(--cmp-ink); }
.cmp-rating::before { content: "\2605  "; color: var(--cmp-brass); }

.cmp-prices { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp-prices th { text-align: left; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cmp-muted); font-weight: 600; padding: 0 12px 14px 0; border-bottom: 1px solid var(--cmp-ink); }
.cmp-prices td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--cmp-line); color: var(--cmp-ink-soft); vertical-align: top; }
.cmp-prices td:first-child { color: var(--cmp-ink); }
.cmp-prices td:last-child, .cmp-prices th:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.cmp-prices td:last-child { font-family: var(--cmp-serif); font-size: 19px; color: var(--cmp-ink); }
.cmp-prices em { font-style: normal; font-size: 13px; color: var(--cmp-green); border: 1px solid var(--cmp-line); padding: 1px 7px; border-radius: 99px; margin-left: 6px; }
.cmp-main .cmp-note { font-size: 13.5px; color: var(--cmp-muted); margin-top: 18px; }
.cmp-main .cmp-note--big { font-size: 17px; color: var(--cmp-ink-soft); }
.cmp-note a { color: var(--cmp-ink) !important; }
.cmp-main .cmp-pricing--all h2 { margin: 64px 0 8px; scroll-margin-top: 100px; }
.cmp-main .cmp-pricing--all h2:first-child { margin-top: 0; }
.cmp-pricing--all h3 { font-size: 22px; font-weight: 400; margin: 34px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.cmp-pricing--all h3 a { color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-pricing--all h3 .cmp-slot { margin: 0; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.cmp-chips a { padding: 8px 14px; border: 1px solid var(--cmp-line); border-radius: 99px; font-size: 14px; color: var(--cmp-ink) !important; text-decoration: none !important; background: var(--cmp-paper); }
.cmp-chips a:hover { border-color: var(--cmp-ink); }

.cmp-faq--sub { background: var(--cmp-paper); }
.cmp-faq__a { margin: -6px 0 26px; color: var(--cmp-ink-soft); max-width: 66ch; }
.cmp-main .cmp-faq__a p { margin: 0 0 12px; }

.cmp-band { background: var(--cmp-green-deep); color: #dfe8e7; }
.cmp-band__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cmp-main .cmp-band h2 { color: #fff; margin: 0; font-size: clamp(30px, 3.4vw, 46px); }
.cmp-main .cmp-band p { color: #b8c9c8; margin-top: 12px; }
.cmp-band__btns { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.cmp-btn--light { background: var(--cmp-paper); color: var(--cmp-ink) !important; }
.cmp-btn--light:hover { background: var(--cmp-brass-soft); }
.cmp-link--light { color: #fff !important; text-decoration: none !important; font-size: 17px; }

.cmp-prof__in { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.cmp-prof__ph img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--cmp-sand); }
.cmp-main .cmp-prof__meta { margin-top: 14px; }

.cmp-list .cmp-rows { border-top: 1px solid var(--cmp-ink); }
.cmp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 26px; }
.cmp-prose .cmp-tile, .cmp-list .cmp-tile { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--cmp-ivory); text-decoration: none; color: var(--cmp-ink-soft) !important; border-top: 2px solid var(--cmp-brass); }
.cmp-tile b { font-family: var(--cmp-serif); font-weight: 400; font-size: 22px; color: var(--cmp-ink); }
.cmp-tile span { font-size: 15px; line-height: 1.55; }
.cmp-visit--page { background: var(--cmp-paper); }

@media (max-width: 1100px) {
  .cmp-shero__in, .cmp-article__in, .cmp-prof__in { grid-template-columns: 1fr; gap: 40px; }
  .cmp-related { position: static; }
  .cmp-dcards { grid-template-columns: repeat(2, 1fr); }
  .cmp-tiles { grid-template-columns: 1fr; }
  .cmp-band__in { flex-direction: column; align-items: flex-start; }
  .cmp-prof__ph { max-width: 320px; }
  .cmp-sub .cmp-main section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .cmp-sfacts { grid-template-columns: 1fr; gap: 16px; }
  .cmp-dcards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cmp-dcard__body { padding: 14px; }
  .cmp-dcard__body b { font-size: 17px; }
  .cmp-box { padding: 26px 22px; }
  .cmp-band__btns { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cmp-prices { font-size: 14.5px; }
  .cmp-prices th:nth-last-child(2), .cmp-prices td:nth-last-child(2) { display: none; }
}

.cmp-mono { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-family: var(--cmp-serif); font-weight: 300; font-size: 64px; color: var(--cmp-brass); background: var(--cmp-sand); letter-spacing: .04em; }

/* Search with suggestions (lists of specializations, doctors, tests, procedures). */
.cmp-search { position: relative; max-width: 640px; margin-top: 34px; }
.cmp-search__in { width: 100%; box-sizing: border-box; padding: 18px 22px 18px 54px; font: 400 17px/1.3 var(--cmp-sans); color: var(--cmp-ink); background: var(--cmp-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23a8834a' stroke-width='1.8'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5'/%3E%3Cpath d='m13.5 13.5 5 5'/%3E%3C/svg%3E") no-repeat 22px center; border: 1px solid var(--cmp-line); border-radius: 999px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.cmp-search__in:focus { border-color: var(--cmp-ink); box-shadow: 0 18px 40px -28px rgba(20,35,38,.45); }
.cmp-search__list { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--cmp-paper); border: 1px solid var(--cmp-line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(20,35,38,.45); }
.cmp-search__list[hidden] { display: none; }
.cmp-search__list a { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-search__list li.is-active a, .cmp-search__list a:hover { background: var(--cmp-ivory); }
.cmp-search__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cmp-brass-text); font-weight: 600; }
.cmp-search__list b { font-family: var(--cmp-serif); font-weight: 400; font-size: 18px; }
.cmp-search__list small { font-size: 13px; color: var(--cmp-muted); text-align: right; }
.cmp-main .cmp-search__empty { margin-top: 16px; font-size: 15px; color: var(--cmp-ink-soft); }
.cmp-search__empty[hidden], .cmp-list [hidden] { display: none !important; }
@media (max-width: 560px) {
  .cmp-search__list a { grid-template-columns: 1fr; gap: 2px; }
  .cmp-search__list small { text-align: left; }
}

.cmp-main .cmp-alt { margin-top: 18px; font-size: 15px; }
.cmp-alt a { color: var(--cmp-green) !important; text-decoration: none !important; }
.cmp-alt .cmp-arrow { color: var(--cmp-brass); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- skip link, doctor groups, gallery, contact map, profile price label ---------- */
.cmp-skip { position: absolute; left: 16px; top: -100px; z-index: 10000; background: var(--cmp-green-deep); color: #fff !important; padding: 12px 20px; font: 600 15px var(--cmp-sans); text-decoration: none; }
.cmp-skip:focus { top: 12px; outline: 2px solid var(--cmp-brass); outline-offset: 2px; }
.cmp-dgroup + .cmp-dgroup { margin-top: 64px; }
.cmp-main h2.cmp-dgroup__h { font-family: var(--cmp-sans) !important; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cmp-brass-text); padding: 0 0 16px; margin: 0 0 28px; border-bottom: 1px solid var(--cmp-ink); }
.cmp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 30px; }
.cmp-gallery a { display: block; overflow: hidden; background: var(--cmp-sand); }
.cmp-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s ease; }
.cmp-gallery a:hover img { transform: scale(1.03); }
.cmp-map { display: block; position: relative; text-decoration: none !important; }
.cmp-map img { width: 100%; height: auto; display: block; box-shadow: 0 30px 60px -45px rgba(20,35,38,.45); }
.cmp-map > span { position: absolute; left: 16px; bottom: 16px; background: var(--cmp-paper); color: var(--cmp-ink); font-size: 14.5px; font-weight: 500; padding: 10px 16px; }
.cmp-visit__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cmp-visit--page .cmp-note { margin-top: 30px; }
.cmp-box__lbl { display: block; font-size: 13.5px; color: var(--cmp-muted); margin-bottom: 2px; }
.cmp-list .cmp-tiles { margin-top: 0; }
@media (max-width: 700px) {
  .cmp-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cmp-dgroup + .cmp-dgroup { margin-top: 44px; }
}
.cmp-article__in--single:has(.cmp-prose--wide) { grid-template-columns: minmax(0, 1fr); }
.cmp-prose--wide .cmp-tiles { grid-template-columns: repeat(4, 1fr); }
.cmp-prose--wide > h2, .cmp-prose--wide > ul, .cmp-prose--wide > ol, .cmp-prose--wide > p { max-width: 820px; }
.cmp-gallery { grid-template-columns: repeat(4, 1fr); }
.cmp-visit--page h2 { margin: 0 0 40px; }
.cmp-info a { color: var(--cmp-ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--cmp-brass-soft); }
@media (max-width: 1100px) { .cmp-prose--wide .cmp-tiles { grid-template-columns: repeat(2, 1fr); } .cmp-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cmp-prose--wide .cmp-tiles { grid-template-columns: 1fr; } .cmp-gallery { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Page layout 2 (services, profiles, guide): one content column + sticky summary.
   The top area sits on an ivory band; the side box overlaps it and stays in view while reading.
   ========================================================= */
.cmp-page2 { overflow-x: clip; }
.cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "top side" "main side"; column-gap: 72px; align-items: start; padding-bottom: 96px; }
.cmp-layout__top { grid-area: top; position: relative; padding: 48px 0 44px; margin-bottom: 52px; }
.cmp-layout__top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw; background: var(--cmp-ivory); }
.cmp-page2 { isolation: isolate; }
.cmp-sub .cmp-page2 h1 { font-size: clamp(36px, 4.2vw, 58px); margin-top: 16px; }
.cmp-page2 .cmp-crumbs { margin-bottom: 22px; }
.cmp-page2 .cmp-lead { margin-top: 20px !important; font-size: 18.5px; }
.cmp-page2 .cmp-sfacts { margin-top: 30px; padding-top: 22px; gap: 34px; }
.cmp-page2 .cmp-sfacts b { font-size: 24px; }
.cmp-layout__side { grid-area: side; position: sticky; top: 104px; margin-top: 48px; display: flex; flex-direction: column; gap: 34px; }
.cmp-layout__main { grid-area: main; min-width: 0; }
.cmp-box--side { padding: 28px 28px 26px; background: var(--cmp-paper); }
.cmp-box--side ul { margin: 12px 0 18px; }
.cmp-box--side li { padding: 9px 0; font-size: 15px; }
.cmp-box__lbl { display: block; font-size: 13.5px; color: var(--cmp-muted); margin-bottom: 2px; }
.cmp-box__note { font-size: 13.5px; color: var(--cmp-muted); margin: 12px 0 0 !important; line-height: 1.5; }
.cmp-related { position: static; }

/* blocks inside the content column: hairline separators instead of full-width bands */
.cmp-block + .cmp-block, .cmp-block + .cmp-faq--inline { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--cmp-line); }
.cmp-layout__main.cmp-prose h2 { margin: 0 0 18px !important; font-size: clamp(26px, 2.6vw, 34px) !important; }
.cmp-block > h2:first-child { margin-top: 0 !important; }
.cmp-block .cmp-prose h2, .cmp-block h2 ~ h2 { margin-top: 36px !important; }
.cmp-layout__main .cmp-prices { font-size: 15px; }
.cmp-layout__main .cmp-note { margin-top: 12px; }
.cmp-urgent-inline { margin-top: 14px !important; padding: 14px 18px; background: var(--cmp-ivory); border-left: 3px solid var(--cmp-brass); font-size: 15.5px; }

/* doctors as compact rows */
.cmp-drows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cmp-drow { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 12px; background: var(--cmp-ivory); color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-drow:hover { background: var(--cmp-sand); }
.cmp-drow__ph { width: 72px; height: 72px; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; }
.cmp-drow__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-drow__ph .cmp-mono { font-size: 24px; }
.cmp-drow__body { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.cmp-drow__body b { font-family: var(--cmp-serif); font-weight: 400; font-size: 18px; }
.cmp-drow .cmp-slot { margin-top: 4px; }

/* inline FAQ */
.cmp-faq--inline { padding: 0; background: none; }
.cmp-faq--inline .cmp-faq__list { border-top: 1px solid var(--cmp-ink); }
.cmp-faq--inline summary { font-size: 19px; padding: 18px 0; }

/* guide article: "Kto u nas pomoże" */
.cmp-help__list { list-style: none; margin: 12px 0 18px !important; padding: 0; }
.cmp-box .cmp-help__list li::before { content: none; }
.cmp-help__list li { padding: 0 !important; }
.cmp-help__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-help__list b { font-family: var(--cmp-serif); font-weight: 400; font-size: 18px; }
.cmp-help__p { font-family: var(--cmp-serif); font-size: 17px; }
.cmp-help__list .cmp-slot { grid-column: 1 / -1; margin: 0; }
.cmp-art .cmp-byline { margin-top: 18px !important; }

/* profile top: photo next to the name */
.cmp-prof2__top { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.cmp-prof2__ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; }
.cmp-prof2__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-prof2__ph .cmp-mono { font-size: 64px; }
.cmp-main .cmp-prof2__svc { margin-top: 18px; font-size: 15.5px; color: var(--cmp-ink-soft); }
.cmp-prof2__svc a { color: var(--cmp-green) !important; }

/* guide archive */
.cmp-guides .cmp-guides__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }

@media (max-width: 1100px) {
  .cmp-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "side" "main"; padding-bottom: 64px; }
  .cmp-layout__top { margin-bottom: 0; padding: 32px 0 30px; }
  .cmp-layout__side { position: static; margin: 24px 0 40px; }
  .cmp-layout__side .cmp-related { display: none; } /* shown at the end of the content instead */
  .cmp-prof2__top { grid-template-columns: 120px 1fr; gap: 20px; }
  .cmp-prof2__ph .cmp-mono { font-size: 36px; }
}
@media (max-width: 700px) {
  .cmp-drows, .cmp-guides .cmp-guides__list { grid-template-columns: 1fr; }
  .cmp-page2 .cmp-sfacts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cmp-page2 .cmp-sfacts b { font-size: 18px; }
  .cmp-page2 .cmp-sfacts span { font-size: 12.5px; line-height: 1.35; display: block; }
  .cmp-page2 .cmp-lead { font-size: 17px; }
  .cmp-block + .cmp-block, .cmp-block + .cmp-faq--inline { margin-top: 36px; padding-top: 30px; }
}

/* tighter rhythm on the front page and plain subpages */
.cmp-main section { padding: 100px 0; }
.cmp-main section.cmp-manifesto { padding: 84px 0; }
.cmp-sub .cmp-main section { padding: 72px 0; }
.cmp-sub .cmp-main section.cmp-shero { padding: 48px 0 56px; }
@media (max-width: 1100px) {
  .cmp-main section { padding: 64px 0; }
  .cmp-sub .cmp-main section { padding: 52px 0; }
}
.cmp-related--end { display: none; }
@media (max-width: 1100px) { .cmp-related--end { display: block; margin-top: 44px; } }

/* content blocks are <section>s: no band padding inside the layout */
.cmp-sub .cmp-main .cmp-layout section.cmp-block { padding: 0; }
.cmp-sub .cmp-main .cmp-layout .cmp-faq--inline { padding: 0; }

/* "Nasze podejście": quote and principles side by side – one compact band instead of 1.5 screens */
.cmp-main section.cmp-manifesto { padding: 76px 0; text-align: left; }
.cmp-manifesto .cmp-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.cmp-manifesto blockquote { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.3; max-width: 21ch; margin: 18px 0 18px; }
.cmp-manifesto .cmp-principles { grid-template-columns: 1fr; margin-top: 0; border-top: 1px solid var(--cmp-line); }
.cmp-manifesto .cmp-principles > div, .cmp-manifesto .cmp-principles > div + div { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--cmp-line); margin: 0; }
.cmp-manifesto .cmp-principles .cmp-n { grid-row: span 2; font-size: 18px; line-height: 1.5; }
.cmp-manifesto .cmp-principles h3 { font-size: 21px; margin: 0 0 4px; }
.cmp-manifesto .cmp-principles p { font-size: 15px; line-height: 1.55; margin: 0; }
@media (max-width: 1100px) {
  .cmp-manifesto .cmp-wrap { grid-template-columns: 1fr; gap: 30px; }
  .cmp-main section.cmp-manifesto { padding: 56px 0; }
}

/* =========================================================
   One header for every subpage: headline and short text on the left,
   a green or sand panel with an interior photo and two sentences on the right.
   ========================================================= */
.cmp-sub .cmp-main section.cmp-phero { padding: 44px 0 60px; background: var(--cmp-ivory); }
.cmp-phero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.cmp-phero__text h1 { margin-top: 16px !important; }
.cmp-sub .cmp-phero h1 { font-size: clamp(38px, 4.4vw, 60px); }
.cmp-phero .cmp-lead { margin-top: 20px !important; }
.cmp-phero .cmp-search { margin-top: 30px; }
.cmp-panel { margin: 0; display: flex; flex-direction: column; box-shadow: 0 34px 70px -50px rgba(20,35,38,.55); }
.cmp-panel__ph { aspect-ratio: 16 / 11; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; }
.cmp-panel__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-panel figcaption { padding: 26px 30px 30px; }
.cmp-panel figcaption p { margin: 10px 0 0 !important; font-family: var(--cmp-serif); font-weight: 300; font-size: 20px; line-height: 1.45; }
.cmp-panel--green { background: var(--cmp-green-deep); }
.cmp-panel--green figcaption .cmp-label { color: var(--cmp-brass-soft); }
.cmp-panel--green figcaption p { color: #e9efee; }
.cmp-panel--sand { background: var(--cmp-sand); }
.cmp-panel--sand figcaption p { color: var(--cmp-ink); }
/* profile: the doctor's photo in the panel */
.cmp-phero--prof .cmp-panel__ph { aspect-ratio: 4 / 4.2; }
.cmp-phero--prof .cmp-panel__ph img { object-position: top; }
.cmp-phero--prof .cmp-panel__ph .cmp-mono { font-size: 88px; }
.cmp-phero--prof .cmp-phero__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }

/* body under the header: content + sticky summary */
.cmp-layout { grid-template-areas: "main side"; padding-top: 56px; }
.cmp-layout__side { margin-top: 0; }

@media (max-width: 1100px) {
  .cmp-phero__in, .cmp-phero--prof .cmp-phero__in { grid-template-columns: 1fr; gap: 28px; }
  .cmp-sub .cmp-main section.cmp-phero { padding: 30px 0 34px; }
  /* compact panel on phones: thumbnail + text */
  .cmp-panel { display: grid; grid-template-columns: 112px 1fr; align-items: stretch; box-shadow: none; }
  .cmp-panel__ph, .cmp-phero--prof .cmp-panel__ph { aspect-ratio: auto; min-height: 120px; }
  .cmp-panel figcaption { padding: 16px 18px; }
  .cmp-panel figcaption p { font-size: 16px; margin-top: 6px !important; }
  .cmp-phero--prof .cmp-panel__ph .cmp-mono { font-size: 36px; }
  .cmp-layout { grid-template-areas: "side" "main"; padding-top: 24px; }
  .cmp-layout__side { margin: 0 0 40px; }
}

/* Header panel v2: a wide coloured field with a line drawing and the text inside (no photos). */
.cmp-phero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.cmp-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 54px 58px; min-height: 380px; box-shadow: none; isolation: isolate; }
.cmp-panel__art { width: 108px; height: 108px; flex: none; }
.cmp-panel__art svg { width: 100%; height: 100%; display: block; }
.cmp-panel figcaption { padding: 0; }
.cmp-panel figcaption p { font-size: 23px; line-height: 1.45; max-width: 30ch; margin-top: 12px !important; }
.cmp-panel__orn { position: absolute; z-index: -1; right: -60px; bottom: -60px; width: 380px; height: 380px; opacity: .14; pointer-events: none; }
.cmp-panel--green .cmp-panel__art, .cmp-panel--green .cmp-panel__orn { color: var(--cmp-brass-soft); }
.cmp-panel--sand .cmp-panel__art, .cmp-panel--sand .cmp-panel__orn { color: var(--cmp-green); }
.cmp-panel--sand .cmp-panel__orn { opacity: .1; }
/* profile: the doctor's photo framed inside the field */
.cmp-phero--prof .cmp-phero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cmp-panel--photo { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 38px; }
.cmp-panel--photo .cmp-panel__art { width: 190px; height: 240px; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; }
.cmp-panel--photo .cmp-panel__art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-panel--photo .cmp-panel__art .cmp-mono { font-size: 64px; }
.cmp-panel--photo figcaption p { font-size: 20px; }

@media (max-width: 1100px) {
  .cmp-phero__in, .cmp-phero--prof .cmp-phero__in { grid-template-columns: 1fr; gap: 26px; }
  .cmp-panel { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 18px; padding: 24px 22px; min-height: 0; }
  .cmp-panel__art { width: 58px; height: 58px; }
  .cmp-panel figcaption p { font-size: 17px; margin-top: 6px !important; }
  .cmp-panel__orn { width: 220px; height: 220px; right: -50px; bottom: -50px; }
  .cmp-panel--photo { grid-template-columns: 96px 1fr; }
  .cmp-panel--photo .cmp-panel__art { width: 96px; height: 120px; }
  .cmp-panel--photo .cmp-panel__art .cmp-mono { font-size: 32px; }
  .cmp-panel--photo figcaption p { font-size: 16px; }
}

/* Header panel v3: identical size and position on every subpage – text on the left, botanical line drawing on the right. */
.cmp-phero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.cmp-panel, .cmp-panel--photo { position: relative; display: block; height: 400px; min-height: 0; padding: 48px 50px; overflow: hidden; box-shadow: none; }
.cmp-panel figcaption { position: relative; z-index: 1; max-width: 52%; padding: 0; }
.cmp-panel figcaption p { font-size: 22px; line-height: 1.5; margin-top: 16px !important; max-width: none; }
.cmp-panel__art { position: absolute; right: 18px; bottom: 0; width: auto; height: 100%; aspect-ratio: 3 / 4; }
.cmp-panel__art path { fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cmp-panel--green .cmp-panel__art circle { fill: rgba(168, 131, 74, .22); }
.cmp-panel--green .cmp-panel__art path { stroke: var(--cmp-brass-soft); }
.cmp-panel--sand .cmp-panel__art circle { fill: rgba(168, 131, 74, .2); }
.cmp-panel--sand .cmp-panel__art path { stroke: var(--cmp-green); }
.cmp-panel__orn { display: none; }
/* profile portrait next to the name */
.cmp-phero__who { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: start; }
.cmp-phero__portrait { width: 132px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; margin-top: 6px; }
.cmp-phero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-phero__portrait .cmp-mono { font-size: 40px; }

@media (max-width: 1100px) {
  .cmp-phero__in { grid-template-columns: 1fr; gap: 26px; }
  .cmp-panel, .cmp-panel--photo { height: 190px; padding: 24px 22px; display: block; }
  .cmp-panel figcaption { max-width: 62%; }
  .cmp-panel figcaption p { font-size: 16.5px; margin-top: 8px !important; }
  .cmp-panel__art { right: 4px; }
  .cmp-phero__who { grid-template-columns: 88px 1fr; gap: 18px; }
  .cmp-phero__portrait { width: 88px; }
}
@media (max-width: 1100px) {
  .cmp-panel, .cmp-panel--photo { height: auto; min-height: 200px; }
  .cmp-panel__art { height: 180px; bottom: 0; }
}
/* comparison variant: typography only */
.cmp-panel--type { display: flex; flex-direction: column; justify-content: flex-end; }
.cmp-panel--type figcaption { max-width: 86%; }
.cmp-panel--type figcaption .cmp-label { display: block; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid currentColor; width: 56px; white-space: nowrap; overflow: visible; }
.cmp-panel--type figcaption p { font-size: 30px; line-height: 1.35; }
@media (max-width: 1100px) { .cmp-panel--type figcaption { max-width: 100%; } .cmp-panel--type figcaption p { font-size: 19px; } }
.cmp-panel__art path { stroke-width: 1.1; }

/* Contact: details and map in the first screen */
.cmp-sub .cmp-main section.cmp-contact__top { padding: 44px 0 72px; background: var(--cmp-ivory); }
.cmp-contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: stretch; }
.cmp-sub .cmp-contact h1 { font-size: clamp(38px, 4.4vw, 60px); margin-top: 16px !important; }
.cmp-contact__addr { font-style: normal; font-family: var(--cmp-serif); font-size: 26px; line-height: 1.35; color: var(--cmp-ink); margin: 18px 0 26px; }
.cmp-contact__list { margin: 0 0 30px; display: grid; gap: 16px; }
.cmp-contact__list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--cmp-line); }
.cmp-contact__list dt { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cmp-brass-text); font-weight: 600; padding-top: 3px; }
.cmp-contact__list dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cmp-ink-soft); }
.cmp-contact__list a { color: var(--cmp-ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--cmp-brass-soft); }
.cmp-contact__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cmp-gmap { position: relative; min-height: 480px; background: var(--cmp-sand); overflow: hidden; }
.cmp-gmap__static, .cmp-gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.cmp-gmap__consent { position: absolute; left: 20px; bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: rgba(252, 250, 246, .94); padding: 14px 18px; }
.cmp-gmap__consent span { font-size: 13px; color: var(--cmp-muted); }
.cmp-gmap.is-loaded .cmp-gmap__consent, .cmp-gmap.is-loaded .cmp-gmap__static { display: none; }
.cmp-gmap__load { cursor: pointer; border: 1px solid var(--cmp-ink); }
.cmp-sub .cmp-main section.cmp-contact__note { padding: 64px 0 80px; }
.cmp-contact__note-in { max-width: 760px; }
.cmp-contact__note h2 { margin: 0 0 14px; }
.cmp-contact__note p { color: var(--cmp-ink-soft); font-size: 17.5px; line-height: 1.7; }
.cmp-contact__note-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 18px !important; }
@media (max-width: 1100px) {
  .cmp-contact__in { grid-template-columns: 1fr; gap: 34px; }
  .cmp-gmap { min-height: 340px; }
  .cmp-contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .cmp-contact__addr { font-size: 22px; }
}

/* Round 4 fixes: contrast (WCAG AA) */
.cmp-panel--sand figcaption .cmp-label { color: #76592a; }
.cmp-principles .cmp-n, .cmp-mono { color: #76592a; }
/* Phones: the header panel moves below the price box (price in the first screen); none on the booking page. */
.cmp-panel--late { display: none; }
@media (max-width: 1100px) {
  .cmp-phero--late .cmp-phero__in > .cmp-panel, .cmp-phero--nopanel-m .cmp-phero__in > .cmp-panel { display: none; }
  .cmp-layout__side .cmp-panel--late { display: block; }
}

/* Specialists and doctors on one page: specialization on the left, the people who see patients there on the right. */
.cmp-sgroup + .cmp-sgroup { margin-top: 72px; }
.cmp-main .cmp-sgroup h2.cmp-dgroup__h { margin-bottom: 0; }
.cmp-srow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--cmp-line); align-items: start; }
.cmp-main .cmp-srow h3 { margin: 0 !important; font-size: 28px; font-weight: 400; line-height: 1.2; }
.cmp-srow h3 a { color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-srow h3 a:hover { color: var(--cmp-green) !important; }
.cmp-srow h3 .cmp-arrow { color: var(--cmp-brass); font-size: .7em; margin-left: 4px; }
.cmp-srow__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 10px 0 0 !important; }
.cmp-srow__meta .cmp-slot { margin: 0; }
.cmp-p--tel { font-size: 13.5px; color: var(--cmp-muted); }
.cmp-srow__docs { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.cmp-srow__docs--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 30px !important; }
.cmp-srow__docs li { margin: 0 !important; padding: 0 !important; }
.cmp-srow__docs li::before { display: none !important; }
.cmp-chip { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; color: var(--cmp-ink) !important; text-decoration: none !important; }
.cmp-chip__ph { width: 56px; height: 70px; overflow: hidden; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; }
.cmp-chip__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cmp-chip__ph .cmp-mono { font-size: 20px; }
.cmp-chip__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-chip__body b { font-family: var(--cmp-serif); font-weight: 400; font-size: 17px; line-height: 1.25; }
.cmp-chip__spec { font-size: 13px; color: var(--cmp-muted); }
a.cmp-chip:hover b { color: var(--cmp-green); }
.cmp-shelp { max-width: 760px; margin-top: 80px; padding-top: 36px; border-top: 1px solid var(--cmp-ink); }
.cmp-shelp h2 { margin: 0 0 12px !important; font-size: clamp(26px, 2.6vw, 34px) !important; }
.cmp-shelp p { color: var(--cmp-ink-soft); font-size: 17px; line-height: 1.7; }
@media (max-width: 900px) {
  .cmp-srow { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .cmp-main .cmp-srow h3 { font-size: 24px; }
  .cmp-srow__docs, .cmp-srow__docs--wide { grid-template-columns: 1fr; gap: 12px; }
}

/* Logo: gold-green "CM Prokocim" (PNG, 2x) */
.cmp-logo img { height: 46px; width: auto; }
@media (max-width: 1100px) { .cmp-logo img { height: 40px; } }

/* Panel drawings from the owner's set: lines only (mask), coloured per panel; own column so they never touch the text. */
.cmp-panel__art--img { position: absolute; top: 26px; right: 26px; bottom: 26px; height: auto; width: auto; aspect-ratio: 600 / 818;
  -webkit-mask: var(--art) center / contain no-repeat; mask: var(--art) center / contain no-repeat; }
.cmp-panel--green .cmp-panel__art--img { background: var(--cmp-brass-soft); }
.cmp-panel--sand .cmp-panel__art--img { background: var(--cmp-green); }
.cmp-panel--img figcaption { max-width: calc(100% - 250px); }
.cmp-panel--img figcaption p { font-size: 20px; }
@media (max-width: 1100px) {
  .cmp-panel__art--img { top: 14px; bottom: 14px; right: 10px; }
  .cmp-panel--img figcaption { max-width: calc(100% - 150px); }
  .cmp-panel--img figcaption p { font-size: 16.5px; }
}

/* Menu fix: a hidden dropdown's nested list (e.g. USG) must not stay "visible" – it caught the pointer over neighbouring items. */
.cmp-menu .sub-menu .sub-menu { visibility: inherit; }

/* Denser subpages: lower header panel, less air between header and content – content starts in the first screen. */
.cmp-sub .cmp-main section.cmp-phero { padding: 28px 0 36px; }
.cmp-phero__text h1 { margin-top: 12px !important; }
.cmp-phero .cmp-lead { margin-top: 14px !important; }
.cmp-phero .cmp-search { margin-top: 22px; }
.cmp-panel, .cmp-panel--photo { height: 320px; padding: 38px 42px; }
.cmp-panel figcaption p { font-size: 19px; line-height: 1.5; margin-top: 12px !important; }
.cmp-panel--img figcaption { max-width: calc(100% - 215px); }
.cmp-panel--img figcaption p { font-size: 19px; }
.cmp-panel__art--img { top: 22px; bottom: 22px; right: 24px; }
.cmp-sub .cmp-main section.cmp-list, .cmp-sub .cmp-main section.cmp-article { padding-top: 40px; }
.cmp-layout { padding-top: 36px; }
.cmp-sub .cmp-main section.cmp-contact__top { padding: 28px 0 48px; }
.cmp-sub .cmp-main section.cmp-contact__note { padding: 44px 0 56px; }
@media (max-width: 1100px) {
  .cmp-panel, .cmp-panel--photo { height: auto; min-height: 190px; padding: 22px 20px; }
  .cmp-panel figcaption p, .cmp-panel--img figcaption p { font-size: 16px; }
  .cmp-panel--img figcaption { max-width: calc(100% - 140px); }
  .cmp-panel__art--img { top: 12px; bottom: 12px; right: 8px; }
  .cmp-sub .cmp-main section.cmp-list, .cmp-sub .cmp-main section.cmp-article { padding-top: 28px; }
  .cmp-layout { padding-top: 20px; }
}

/* Hub pages (NFZ, Dla pacjenta) in the two-column layout */
.cmp-layout--hub .cmp-tiles--hub { grid-template-columns: repeat(2, 1fr); margin: 0 0 40px; }
.cmp-layout--hub .cmp-layout__main > h2 { margin-top: 8px !important; }
@media (max-width: 700px) { .cmp-layout--hub .cmp-tiles--hub { grid-template-columns: 1fr; } }
.cmp-phero__note { margin: 22px 0 0 !important; font-size: 15px; line-height: 1.6; color: var(--cmp-ink-soft); }
.cmp-phero__note a { color: var(--cmp-ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--cmp-brass-soft); }
.cmp-page .cmp-phero .cmp-sfacts { margin-top: 26px; padding-top: 20px; gap: 34px; }
@media (max-width: 1100px) { .cmp-page .cmp-phero .cmp-sfacts { grid-template-columns: 1fr 1fr; gap: 14px 18px; } .cmp-page .cmp-phero .cmp-sfacts b { font-size: 20px; } }
/* Booking page on phones: only the short invitation above the widget – the widget stays in the first screen. */
@media (max-width: 1100px) { .cmp-phero--nopanel-m .cmp-sfacts, .cmp-phero--nopanel-m .cmp-phero__note { display: none; } }

/* Header panel grows with a taller text column (no empty gap under it); never lower than 320 px. */
@media (min-width: 1101px) {
  .cmp-phero__in { align-items: stretch; }
  .cmp-phero__in > .cmp-panel { height: auto; min-height: 320px; }
}
/* Key facts in the header: one line each, smaller serif */
.cmp-page .cmp-phero .cmp-sfacts { grid-template-columns: repeat(3, auto); gap: 30px; }
.cmp-page .cmp-phero .cmp-sfacts b { font-size: 22px; white-space: nowrap; }
.cmp-page .cmp-phero .cmp-sfacts span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; }
/* Booking widget: Medfile's own heading (company name, old logo) is cut off on desktop – the widget starts at the filters. */
@media (min-width: 900px) {
  #medfile-register-widget { overflow: hidden; border-radius: 2px; }
  #medfile-register-widget iframe { margin-top: -150px; }
}
/* the drawing keeps its size when the panel grows (never runs into the text) */
@media (min-width: 1101px) { .cmp-panel__art--img { top: auto; bottom: 22px; height: 276px; } }
@media (min-width: 900px) { #medfile-register-widget iframe { margin-top: -200px; } }

/* Home hero: grows with its content (on low screens the text ran over the facts bar and the photo covered it). */
@media (min-width: 1101px) {
  .cmp-hero { height: auto; min-height: clamp(560px, calc(100vh - 84px), 820px); }
  .cmp-hero__text { padding-top: clamp(40px, 7vh, 90px); padding-bottom: clamp(40px, 6vh, 80px); }
  .cmp-hero h1 { font-size: clamp(46px, min(6.2vw, 10.5vh), 96px); margin: 20px 0 24px; }
  .cmp-hero__cta { margin-top: clamp(24px, 4vh, 40px); }
}

/* Larger header: taller bar, bigger logo and menu, one line of menu items */
@media (min-width: 1101px) {
  .cmp-header .cmp-wrap.cmp-header__in { max-width: 1340px; height: 96px; gap: 34px; }
  .cmp-logo img { height: 56px; }
  .cmp-menu { gap: 30px; }
  .cmp-menu > li > a { padding: 37px 0; font-size: 13.5px; letter-spacing: .12em; white-space: nowrap; }
  .cmp-header__tel { font-size: 15px; }
  .cmp-header__cta { padding: 14px 26px; font-size: 15px; }
  .cmp-layout__side { top: 120px; }
  .cmp-hero { min-height: clamp(560px, calc(100vh - 96px), 820px); }
}
/* narrower desktops: the phone number gives way first, then the gaps shrink */
@media (min-width: 1101px) and (max-width: 1360px) {
  .cmp-header__tel { display: none; }
  .cmp-menu { gap: 22px; }
  .cmp-menu > li > a { font-size: 12.5px; letter-spacing: .1em; }
  .cmp-logo img { height: 50px; }
}

/* ---------- mobile v5 (29.10.2026): booking with one specialist, layout fixes ---------- */
/* Booking page of one specialist (tpl-booking.php) */
.cmp-book .cmp-book__in { padding-block: 8px 56px; }
.cmp-book__who { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.cmp-book__who img, .cmp-book__who .cmp-mono { width: 64px; height: 64px; object-fit: cover; object-position: top; background: var(--cmp-sand); display: flex; align-items: center; justify-content: center; flex: none; }
.cmp-book__spec { margin: 0 0 2px; color: var(--cmp-muted); }
.cmp-book__who .cmp-slot { display: inline-block; margin-top: 2px; }
.cmp-book__alt { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 20px; font-size: 15px; }
.cmp-book__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cmp-green) !important; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }
.cmp-book__next { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid var(--cmp-brass); background: #fff7e6; border-radius: 6px; font-size: 16px; line-height: 1.5; position: sticky; top: calc(var(--cmp-hh, 88px) + 8px); z-index: 50; padding-right: 48px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.cmp-book__next-x { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--cmp-ink); }
@media (max-width: 700px) { .cmp-book__next { font-size: 14px; padding: 10px 44px 10px 14px; } }
.cmp-book__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 28px; }
/* the one-specialist form has no catalog header to hide (the -200px crop is for the catalog only) */
.cmp-book #medfile-register-widget iframe { margin-top: 0 !important; }
.cmp-nombar { padding-bottom: 0 !important; }

/* "Kto przyjmuje": the row opens the profile, the button books with this person */
.cmp-drow-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; background: var(--cmp-ivory); }
.cmp-drow-wrap .cmp-drow { background: transparent; }
.cmp-drow-wrap:hover { background: var(--cmp-sand); }
.cmp-drow__book { margin-right: 12px; padding: 12px 20px; min-height: 44px; }
.cmp-prose .cmp-btn--dark { color: var(--cmp-paper) !important; } /* .cmp-prose a would make the label green on the dark button */
.cmp-book__others { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--cmp-line); }
.cmp-book__others h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.cmp-book__others p { margin: 0 0 18px; }

/* ---------- mobile v5, stage 2: layout, readability, touch targets ---------- */
:root { --cmp-brass-text: #7d5f2b; } /* >= 4.5:1 also on sand (was #85662f: 4.23:1) */
span.cmp-m-only, .cmp-menu li.cmp-m-only { display: none; }
@media (max-width: 1100px) {
  /* hamburger at the right edge (the flex row had no spacer, so it sat next to the logo) */
  .cmp-header__right { margin-left: auto; }
  /* phone menu: full labels, extra items, page behind does not scroll */
  span.cmp-m-only { display: inline; }
  .cmp-menu li.cmp-m-only { display: block; }
  .cmp-d-only { display: none; }
  /* only html: overflow on body too made body a scroll box, the sticky header jumped to the page top and the menu opened off screen */
  html.cmp-nav-open { overflow: hidden; }
  /* labels: 13 px instead of 12 */
  .cmp-label, .cmp-main h2.cmp-label--h { font-size: 13px; letter-spacing: .18em; }
}
@media (max-width: 700px) {
  /* facts and stats: one per row (number + description side by side) instead of three squeezed columns */
  .cmp-page2 .cmp-sfacts, .cmp-stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cmp-page2 .cmp-sfacts > div, .cmp-stats > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
  .cmp-page2 .cmp-sfacts b { font-size: 20px; white-space: nowrap; flex: none; }
  .cmp-page2 .cmp-sfacts span { display: inline; font-size: 14px; }
  .cmp-stats { margin: 28px 0 32px; }
  .cmp-stats b { font-size: 34px; white-space: nowrap; flex: none; min-width: 96px; }
  .cmp-stats span { font-size: 14.5px; }
  .cmp-facts b { font-size: 32px; }
  /* gaps that were left over, not designed */
  .cmp-poz { padding: 64px 0 !important; }
  .cmp-poz p { margin-bottom: 24px !important; }
  .cmp-journey { margin-top: 28px; }
  /* "Wszystkie specjalizacje" under the list, full width */
  .cmp-services__foot { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; }
  .cmp-services__foot .cmp-link { padding: 12px 0 8px; }
}
@media (max-width: 560px) {
  /* home hero: "dla człowieka." is one unbreakable phrase – it set the page wider than 320 px */
  .cmp-hero { grid-template-columns: minmax(0, 1fr); }
  .cmp-hero h1 { font-size: clamp(36px, 11.5vw, 48px); }
  /* team on the home page: one per row, portrait on the left (two 140 px columns were cramped) */
  .cmp-team { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cmp-doc { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
  .cmp-doc__ph { grid-row: 1 / span 3; }
  .cmp-doc b { margin-top: 0 !important; }
}
/* touch targets: stand-alone links get at least 44 px of height (links inside sentences keep their size) */
@media (max-width: 1100px) {
  .cmp-footer__cols a { display: flex; align-items: center; min-height: 40px; padding: 0; margin: 0; }
  .cmp-prof2__svc a { display: inline-block; padding: 10px 0; }
  /* links inside a line of text: padding enlarges the tap area without moving the text */
  .cmp-footer__legal a, .cmp-reviews__src a { padding: 12px 0; }
  .cmp-info a { display: inline-block; padding: 10px 0; }
  .cmp-box .cmp-link { padding: 10px 0; }
  .cmp-hero__cta .cmp-link { display: inline-block; padding: 10px 0; }
  .cmp-srow__main h3 a { display: inline-block; padding: 8px 0; }
  .cmp-pricing h3 a { display: inline-block; padding: 10px 0; }
}
/* contact: phone and e-mail look like links */
.cmp-contact__list a[href^="tel:"], .cmp-contact__list a[href^="mailto:"] { color: var(--cmp-ink) !important; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }

/* ---------- mobile v5, stage 4: prices ---------- */
/* price list: one collapsible section per specialization */
.cmp-pgroup { border-top: 1px solid var(--cmp-ink); scroll-margin-top: 90px; }
.cmp-pgroup:last-of-type { border-bottom: 1px solid var(--cmp-ink); }
.cmp-pgroup > summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; }
.cmp-pgroup > summary::-webkit-details-marker { display: none; }
.cmp-pgroup > summary::after { content: "+"; margin-left: auto; font-family: var(--cmp-serif); font-size: 28px; line-height: 1; color: var(--cmp-brass); }
.cmp-pgroup[open] > summary::after { content: "−"; }
.cmp-pgroup > summary:focus-visible { outline: 2px solid var(--cmp-brass); outline-offset: 3px; }
.cmp-main .cmp-pricing--all .cmp-pgroup h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.cmp-pgroup__n { font-size: 13.5px; color: var(--cmp-muted); }
.cmp-pgroup > h3:first-of-type { margin-top: 8px; }
.cmp-pgroup__top { margin: 22px 0 30px; font-size: 14.5px; }
.cmp-pgroup__top a { display: inline-block; padding: 10px 0; color: var(--cmp-green) !important; text-decoration: underline; text-decoration-color: var(--cmp-brass); text-underline-offset: 3px; }
/* price tables on phones: one card per service – full-width name, who and time below, price on the right */
@media (max-width: 700px) {
  .cmp-prices, .cmp-prices tbody, .cmp-prices tr, .cmp-prices td { display: block; }
  .cmp-prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cmp-prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--cmp-line); }
  .cmp-prices td { padding: 0; border: 0; }
  .cmp-prices td.cmp-prices__name { grid-column: 1; }
  .cmp-prices td.cmp-prices__price { grid-column: 2; grid-row: 1; text-align: right; }
  .cmp-prices td.cmp-prices__who, .cmp-prices td.cmp-prices__min { grid-column: 1; font-size: 13.5px; color: var(--cmp-muted); margin-top: 4px; }
  .cmp-prices th:nth-last-child(2), .cmp-prices td:nth-last-child(2) { display: block; } /* time was hidden on small screens; it fits now */
}
/* home hero on phones: the phone link always under the button (it jumped between one and two rows when the web font loaded – layout shift) */
@media (max-width: 560px) { .cmp-hero__cta { flex-direction: column; align-items: flex-start; gap: 14px; } }
/* a link that is a whole list item (e.g. specializations in a doctor's bio): taller tap area on phones */
@media (max-width: 1100px) { .cmp-prose li > a:only-child { display: inline-block; padding: 8px 0; } }

/* "Wybierz lekarza i termin" jumps to Kto przyjmuje: keep the heading below the sticky header */
#kto-przyjmuje { scroll-margin-top: 96px; }

/* Front page: tighter rhythm – 40px above and below each section (owner, 02.11.2026). Reviews continue the trust block. */
body.cmp-home:not(.cmp-sub) .cmp-main > section:not(.cmp-hero) { padding-top: 40px !important; padding-bottom: 40px !important; }
body.cmp-home:not(.cmp-sub) .cmp-main > section.cmp-reviews { padding-top: 64px !important; } /* own section since 03.11.2026 (award merged in) */

/* No hidden content while scrolling: sections are visible straight away (two reviews saw empty areas; 02.11.2026). */
.cmp-js .cmp-rv { opacity: 1; transform: none; transition: none; }
.cmp-psych .cmp-btn + .cmp-btn { margin-left: 10px; }

/* ---------- Type scale and price tables (02.11.2026): one size per role across the site ----------
   body copy 17 · lead 19 · interface text and tables 15 · small/meta 14 · uppercase labels 12 */
.cmp-prose, .cmp-contact__note p { font-size: 17px; }
.cmp-page2 .cmp-lead { font-size: 19px; }
.cmp-prices, .cmp-layout__main .cmp-prices, .cmp-prose table, .cmp-box li, .cmp-journey p, .cmp-urgent-inline, .cmp-main .cmp-prof2__svc { font-size: 15px; }
.cmp-crumbs, .cmp-main .cmp-note, .cmp-slot, .cmp-rating, .cmp-dcard__spec, .cmp-row small, .cmp-facts span, .cmp-facts a, .cmp-sfacts span,
.cmp-box__lbl, .cmp-box__note, .cmp-box .cmp-link, .cmp-reviews figcaption, .cmp-reviews__src, .cmp-pgroup__n, .cmp-pgroup__top, .cmp-p--tel, .cmp-chips a, .cmp-stats span { font-size: 14px; }
.cmp-prices th, .cmp-info b, .cmp-contact__list dt { font-size: 12px; }
/* free-slot label in the price list headings: body font like everywhere else */
.cmp-pgroup h3 .cmp-slot { font-family: var(--cmp-sans); }
/* price tables: the same column widths in every table, so "Czas" and "Cena" line up from one table to the next */
@media (min-width: 701px) {
  .cmp-prices { table-layout: fixed; }
  .cmp-prices .cmp-prices__min { width: 120px; }
  .cmp-prices .cmp-prices__price { width: 110px; }
  .cmp-prices--who .cmp-prices__who { width: 26%; }
  .cmp-prices td { overflow-wrap: anywhere; }
}
/* one baseline per row: the larger serif price no longer sits lower than the service name */
.cmp-prices td { vertical-align: baseline; }

/* One typeface per line (02.11.2026): serif only for headings and the large price in the summary box.
   Names, ratings and prices in lists, cards and tables use the body font, semibold. */
.cmp-chip__body b, .cmp-drow__body b, .cmp-dcard__body b { font-family: var(--cmp-sans); font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--cmp-ink); }
.cmp-chip__body .cmp-rating b, .cmp-drow__body .cmp-rating b, .cmp-dcard__body .cmp-rating b, .cmp-rating b { font-family: var(--cmp-sans); font-size: inherit; font-weight: 600; }
.cmp-p i { font-family: var(--cmp-sans); font-weight: 600; font-size: 17px; }
.cmp-prices td:last-child, .cmp-prices td.cmp-prices__price { font-family: var(--cmp-sans); font-weight: 600; font-size: 15px; }
.cmp-mono { font-family: var(--cmp-sans); font-weight: 600; }
/* Subpages: facts under the title, the summary-box price, step numbers and FAQ questions in the body font too –
   serif stays for page titles and section headings only. */
.cmp-sfacts b, .cmp-page2 .cmp-sfacts b, .cmp-page .cmp-phero .cmp-sfacts b { font-family: var(--cmp-sans); font-weight: 600; font-size: 20px; line-height: 1.2; }
.cmp-box__price b { font-family: var(--cmp-sans); font-weight: 600; font-size: 30px; letter-spacing: -.01em; }
.cmp-steps li::before { font-family: var(--cmp-sans); font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.cmp-faq summary, .cmp-faq--inline summary { font-family: var(--cmp-sans); font-weight: 600; font-size: 17px; line-height: 1.4; }
@media (max-width: 700px) { .cmp-sfacts b, .cmp-page2 .cmp-sfacts b, .cmp-page .cmp-phero .cmp-sfacts b { font-size: 17px; } .cmp-box__price b { font-size: 26px; } }

/* ---------- Typography (owner's choice, 02.11.2026): serif only in page titles and section headings (H1, H2);
   everything else in the body font, no spaced capitals anywhere. ---------- */
.cmp-label, .cmp-prices th, .cmp-info b, .cmp-contact__list dt, .cmp-footer .cmp-fh { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; }
.cmp-menu > li > a { text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 500; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) *:not(h1, h2, h1 *, h2 *, .cmp-footer__big, .cmp-footer__big *, .cmp-panel figcaption p, .cmp-panel figcaption p *, .cmp-manifesto__q blockquote, .cmp-manifesto__q blockquote *) { font-family: var(--cmp-sans) !important; }
.cmp-panel figcaption p { font-size: 18px; font-weight: 400; }
.cmp-caption, .cmp-group h3, .cmp-manifesto__q cite, .cmp-dgroup__h { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* Emergency box right before the FAQ: same gap and divider as between other sections; text at the body size. */
.cmp-urgent + .cmp-faq--inline { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--cmp-line); }
.cmp-main .cmp-urgent { font-size: 17px; }

/* ---------- Type scale, owner's request 03.11.2026: few sizes and two weights only (400 text, 600 emphasis).
   14 small print · 16 interface and secondary text · 17 body · 19 lead · 22 card titles · 30 key figures · 44 big numbers. ---------- */
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-doc small, .cmp-award__tag span, .cmp-footer__legal, .cmp-footer__legal *, .cmp-chip__spec) { font-size: 14px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-menu > li > a, .cmp-header__tel, .cmp-footer__cols a, .cmp-footer__cols p, .cmp-journey p, .cmp-principles p,
  .cmp-prices, .cmp-layout__main .cmp-prices, .cmp-prose table, .cmp-box li, .cmp-urgent-inline, .cmp-prof2__svc) { font-size: 16px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-menu > li > a { font-weight: 400 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-btn, .cmp-link, .cmp-reviews__grid b, .cmp-prices td.cmp-prices__price, .cmp-prices td:last-child) { font-size: 16px !important; font-weight: 600 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-steps li, .cmp-steps--plain li, .cmp-urgent) { font-size: 17px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-reviews__grid blockquote { font-size: 19px !important; font-weight: 400 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-doc b, .cmp-row b, .cmp-srow__main a, .cmp-principles h3, .cmp-journey h3, .cmp-award__tag b, .cmp-mono, .cmp-sfacts b) { font-size: 22px !important; font-weight: 600 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-manifesto__q blockquote, .cmp-manifesto__q em, .cmp-box__price b) { font-size: 30px !important; font-weight: 400 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-box__price b { font-weight: 600 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-stats b, .cmp-facts b, .cmp-journey .cmp-n) { font-size: 44px !important; font-weight: 400 !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-principles .cmp-n { font-size: 17px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-gmap__consent span, .cmp-prices__name em) { font-size: 14px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-tile span { font-size: 16px !important; }
:is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-tile b, .cmp-contact__addr) { font-size: 22px !important; font-weight: 600 !important; }
@media (max-width: 700px) {
  :is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-stats b, .cmp-facts b, .cmp-journey .cmp-n) { font-size: 36px !important; }
  :is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) :is(.cmp-manifesto__q blockquote, .cmp-manifesto__q em) { font-size: 24px !important; }
  :is(.cmp-header, .cmp-main, .cmp-footer, .cmp-mbar) .cmp-prices td:is(.cmp-prices__who, .cmp-prices__min) { font-size: 14px !important; }
}

/* Green/sand panel next to the page title: the motto in the heading font (owner's choice 03.11.2026). */
:is(.cmp-main) .cmp-panel figcaption p { font-family: var(--cmp-serif) !important; font-weight: 300 !important; font-size: 22px !important; line-height: 1.45 !important; letter-spacing: 0; }
@media (max-width: 700px) { :is(.cmp-main) .cmp-panel figcaption p { font-size: 20px !important; } }

/* Page header without the panel (price list): text across the full width, the lead keeps a readable line length. */
.cmp-phero--nopanel .cmp-phero__in { grid-template-columns: 1fr !important; }
.cmp-phero--nopanel .cmp-lead { max-width: 62ch; }

/* Fixes from the audit of 03.11.2026 */
/* Group headings and the "Nasze podejście" label: plain spelling like every other label (owner's rule, no spaced capitals). */
.cmp-main h2.cmp-dgroup__h, .cmp-main h2.cmp-label--h { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }
/* Phone: the serif motto must not run into the illustration. */
@media (max-width: 700px) {
  :is(.cmp-main) .cmp-panel figcaption { max-width: 60%; }
  .cmp-panel__art--img { top: auto !important; bottom: 14px !important; height: auto !important; width: 36% !important; }
  :is(.cmp-main) .cmp-panel figcaption p { font-size: 18px !important; }
}
/* Two buttons side by side: spacing that also works when they wrap onto two lines. */
.cmp-psych .cmp-btn + .cmp-btn { margin-left: 0; }
.cmp-psych .cmp-btn { margin: 0 10px 10px 0; }
/* Phone number in the "Nie wiesz, do kogo się zapisać?" box: site link style instead of default blue. */
.cmp-shelp a { color: var(--cmp-ink); text-decoration: none; border-bottom: 1px solid var(--cmp-brass); font-weight: 600; }

/* ---------- Front page, shorter version (03.11.2026) ---------- */
/* "Nasze podejście": the quote in the heading font, like the motto in the panels. */
:is(.cmp-main) .cmp-manifesto__q blockquote { font-family: var(--cmp-serif) !important; font-weight: 300 !important; font-size: 32px !important; line-height: 1.3; }
:is(.cmp-main) .cmp-manifesto__q blockquote em { font-family: var(--cmp-serif) !important; font-style: italic; font-weight: 300 !important; font-size: inherit !important; color: var(--cmp-green); }
@media (max-width: 700px) { :is(.cmp-main) .cmp-manifesto__q blockquote { font-size: 25px !important; } }
/* Reviews with the award next to the heading. */
.cmp-reviews__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.cmp-reviews__award { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; }
.cmp-reviews__award img { width: 96px; height: 120px; object-fit: cover; }
.cmp-reviews__award p { margin: 0; color: var(--cmp-ink-soft); font-size: 16px; line-height: 1.6; }
.cmp-reviews__award b { color: var(--cmp-ink); font-weight: 600; }
.cmp-reviews__award a { color: var(--cmp-ink); }
@media (max-width: 900px) { .cmp-reviews__head { grid-template-columns: 1fr; gap: 24px; } }
/* FAQ: the left column carries a short help note instead of staying empty. */
.cmp-faq__head p { margin: 18px 0 14px; color: var(--cmp-ink-soft); font-size: 17px; line-height: 1.65; max-width: 36ch; }
/* Place + visit details in one section. */
.cmp-psych--place .cmp-info { margin: 30px 0 34px; }
.cmp-psych--place .cmp-btn + .cmp-link { margin-left: 22px; }

/* Deposit rules where patients book (front desk's request 03.11.2026). */
.cmp-main .cmp-deposit { margin: 0 0 32px; padding: 22px 26px; background: var(--cmp-ivory); border-left: 3px solid var(--cmp-brass); }
.cmp-main .cmp-deposit h2 { margin: 0 0 10px !important; font-family: var(--cmp-sans) !important; font-size: 19px !important; font-weight: 600 !important; line-height: 1.35 !important; letter-spacing: 0 !important; }
.cmp-main .cmp-deposit ul { margin: 0 0 10px !important; padding-left: 20px !important; }
.cmp-main .cmp-deposit li { margin: 4px 0 !important; font-size: 16px !important; line-height: 1.55 !important; }
.cmp-main .cmp-deposit p { margin: 0 !important; font-size: 16px !important; }
.cmp-main .cmp-deposit a, .cmp-main .cmp-box__deposit a { color: var(--cmp-ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--cmp-brass-soft); }
.cmp-main .cmp-box__deposit { margin: 0 0 18px !important; padding: 12px 14px; background: var(--cmp-ivory); border-left: 3px solid var(--cmp-brass); font-size: 14px !important; line-height: 1.5 !important; }
.cmp-main .cmp-box__deposit b { font-weight: 600; }
.cmp-book__in > .cmp-deposit { max-width: 860px; }

/* ---------- phone menu: sections open AND close on tap (04.11.2026) ---------- */
@media (max-width: 1100px) {
  .cmp-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cmp-menu .menu-item-has-children > a::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .18s; }
  .cmp-menu .menu-item-has-children.cmp-sub-open > a::after { transform: translateY(2px) rotate(-135deg); }
  .cmp-menu .sub-menu .menu-item-has-children > a { padding: 10px 0; }
  .cmp-menu .sub-menu a { padding: 10px 0; }
  .cmp-menu li.cmp-sub-all > a { color: var(--cmp-green); font-weight: 500; }
}
