/* Stage1d, confirmed fixes after1c.2. */
.home-partners a { min-height:112px; padding:8px 20px; }
.home-partners .partner-logo { object-fit:contain; width:auto; max-width:100%; }
.home-partners .partner-logo--ptzs { height:96px; }
.home-partners .partner-logo--siec-badawcza-w-psychoterapii { height:84px; }
.home-partners .partner-logo--akademia-humanitas-ciemne { height:44px; }
.part-1c2-profile .profile-hero .profile-free-link { display:block; }
.part-1c2-profile .profile-free-link .arrow { display:inline-block; vertical-align:middle; margin-left:10px; }
.part-1c2-profile .profile-qualifications summary h2 { color:#1c2c44; }
.booking-calendar { width:100%; max-width:1040px; }
.booking-calendar .calendesk-embed { max-width:none; width:100%; }
.booking-calendar__title { margin-bottom:24px; }
@media(min-width:1024px) { .home-partners a { min-height:128px; } }

/* Gabinety, etap 1e partia 4 (Claude, 12.10.2026). Wzór: docs/propozycje/gabinety-poprawki.html (zaakceptowany przez Pawła). */

.g4-glass { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; font-size:13px; font-weight:600; color:var(--color-navy);
  background:rgba(255,255,255,.62); -webkit-backdrop-filter:blur(14px) saturate(170%); backdrop-filter:blur(14px) saturate(170%);
  border:1px solid rgba(255,255,255,.75); box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 8px 22px rgba(28,44,68,.12); }
.g4-ic { display:inline-block; width:20px; height:20px; flex:none; background:currentColor; -webkit-mask:var(--m) center/contain no-repeat; mask:var(--m) center/contain no-repeat; }
.g4-osm { margin:8px 0 0; font-size:12px; color:var(--color-muted); }
.g4-osm a { color:inherit; }

/* Strona zbiorcza: pierwszy ekran z mapą */
.g4-hero { display:grid; gap:40px; align-items:center; padding-block:24px 64px; }
.g4-hero .service-lead { max-width:470px; margin:20px 0 28px; }
.g4-hero h1 { margin:12px 0 0; font-size:clamp(40px,4.6vw,60px); line-height:1.05; }
.g4-hero .service-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px; }
.g4-mapcard { position:relative; margin:0; border-radius:28px; overflow:hidden; box-shadow:0 18px 40px rgba(28,44,68,.08); background:var(--color-sand); }
.g4-mapcard img { width:100%; height:auto; display:block; }
.g4-mapcard .g4-glass { position:absolute; left:16px; top:16px; }
@media (min-width:1024px) { .g4-hero { grid-template-columns:1fr 1.15fr; gap:48px; } }

/* Karty gabinetów */
.g4-offices { display:grid; gap:20px; }
.g4-office { position:relative; background:var(--color-white); border-radius:24px; overflow:hidden; box-shadow:0 18px 40px rgba(28,44,68,.08); display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease; }
.g4-office:hover { transform:translateY(-4px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.g4-office__ph { position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--color-sand); }
.g4-office__ph img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.g4-office:hover .g4-office__ph img { transform:scale(1.04); }
.g4-office__ph .g4-glass { position:absolute; left:14px; bottom:14px; }
.g4-office__bd { padding:22px 24px 24px; display:flex; flex-direction:column; gap:16px; flex:1; }
.g4-office h2 { margin:0; font:500 30px/1.05 var(--font-serif); }
.g4-office h2 a { text-decoration:none; color:inherit; }
.g4-office h2 a::after { content:""; position:absolute; inset:0; z-index:1; } /* cała karta prowadzi do gabinetu */
.g4-office h2 a:focus-visible { outline:none; }
.g4-office:has(h2 a:focus-visible) { outline:2px solid var(--color-navy); outline-offset:4px; }
.g4-addr { display:flex; flex-direction:column; gap:2px; margin:0; font-style:normal; }
.g4-addr b { font-size:18px; font-weight:600; }
.g4-addr span { font-size:14.5px; color:var(--color-muted); }
.g4-hints { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.g4-hints li { display:flex; gap:10px; align-items:flex-start; background:var(--color-cream); border-radius:14px; padding:10px 12px; font-size:15px; line-height:1.45; }
.g4-hints .g4-ic { color:var(--color-rust); margin-top:1px; }
.g4-who { display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--color-muted); margin:0; }
.g4-who__faces { display:flex; }
.g4-who__faces img { width:32px; height:32px; border-radius:50%; object-fit:cover; object-position:50% 20%; border:2px solid var(--color-white); margin-left:-8px; }
.g4-who__faces img:first-child { margin-left:0; }
.g4-who b { color:var(--color-navy); }
.g4-office__actions { margin-top:auto; display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; justify-content:space-between; position:relative; z-index:2; }
.g4-office__actions .button { min-height:44px; padding:10px 18px; font-size:15px; }
@media (min-width:768px) { .g4-offices { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .g4-offices { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Online i Białołęka */
.g4-extras { display:grid; gap:20px; margin-top:20px; margin-bottom:72px; }
.g4-online { position:relative; overflow:hidden; background:var(--color-navy); color:var(--color-cream); border-radius:28px; padding:26px; display:grid; gap:20px 24px; align-items:center; }
.g4-online__bubble { width:92px; height:92px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); }
.g4-online__bubble .g4-ic { width:40px; height:40px; color:var(--color-pale-coral); }
.g4-online h2 { margin:0; font:500 clamp(28px,2.6vw,36px)/1.1 var(--font-serif); color:var(--color-cream); }
.g4-online h2 em { color:var(--color-pale-coral); }
.g4-online p { margin:8px 0 0; color:#d9dde5; }
.g4-online ul { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 0; padding:0; list-style:none; }
.g4-online li { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:6px 12px; font-size:14px; }
.g4-online .text-link { color:var(--color-cream); margin-top:16px; }
.g4-online :focus-visible { outline-color:var(--color-pale-coral); }
.g4-online__rings { position:absolute; right:-70px; bottom:-90px; width:280px; height:280px; opacity:.15; pointer-events:none; color:var(--color-cream); }
.g4-soon { position:relative; overflow:hidden; border-radius:28px; padding:24px; border:2px dashed rgba(168,60,52,.55); background:repeating-linear-gradient(135deg,rgba(255,107,97,.05) 0 14px,transparent 14px 28px),var(--color-peach); display:flex; flex-direction:column; gap:12px; }
.g4-soon__badge { display:inline-flex; align-items:center; gap:8px; width:fit-content; background:var(--color-white); border-radius:999px; padding:6px 14px; font-size:13px; font-weight:700; color:var(--color-rust); letter-spacing:.04em; text-transform:uppercase; }
.g4-soon__badge i { width:8px; height:8px; border-radius:50%; background:var(--color-coral); position:relative; }
.g4-soon__badge i::after { content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--color-coral); animation:g4-ping 1.8s ease-out infinite; }
@keyframes g4-ping { 0% { transform:scale(.4); opacity:.9; } 100% { transform:scale(1.6); opacity:0; } }
.g4-soon h2 { margin:0; font:500 clamp(28px,2.6vw,36px)/1.1 var(--font-serif); }
.g4-soon h2 em { color:var(--color-rust); }
.g4-soon p { margin:0; max-width:420px; color:var(--color-navy); }
.g4-soon small { font-size:14px; color:var(--color-muted); }
.g4-soon__rings { position:absolute; right:-40px; top:-40px; width:200px; height:200px; opacity:.5; pointer-events:none; color:var(--color-rust); }
@media (min-width:640px) { .g4-online { grid-template-columns:auto 1fr; padding:36px; } .g4-soon { padding:32px; } }
@media (min-width:1024px) { .g4-extras { grid-template-columns:1.25fr 1fr; } }

/* Strona gabinetu: pierwszy ekran */
/* Clip at the page edge, preserving portrait crops and the overlapping round photo. */
.part-1c main:has(> .g4-ohero) { overflow-x:clip; }
.g4-ohero { display:grid; gap:40px; align-items:center; padding-block:16px 64px; }
.g4-ohero h1 { margin:0; }
.g4-ohero__addr { margin:22px 0 18px; display:flex; flex-direction:column; gap:4px; font-style:normal; }
.g4-ohero__addr b { font-size:22px; font-weight:600; line-height:1.3; }
.g4-ohero__addr span { color:var(--color-muted); font-size:16px; }
.g4-facts { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 26px; padding:0; list-style:none; }
.g4-facts li { display:inline-flex; align-items:center; gap:8px; background:var(--color-white); border:1px solid #eee5d9; border-radius:999px; padding:7px 14px 7px 10px; font-size:14.5px; }
.g4-facts .g4-ic { width:18px; height:18px; color:var(--color-rust); }
.g4-arch { position:relative; margin:0; max-width:460px; width:100%; justify-self:center; }
.g4-arch__main { border-radius:999px 999px 32px 32px; overflow:hidden; aspect-ratio:4/5; box-shadow:0 18px 40px rgba(28,44,68,.08); background:var(--color-sand); }
.g4-arch__main img { width:100%; height:100%; object-fit:cover; }
.g4-arch__mini { position:absolute; left:-12px; bottom:56px; width:36%; aspect-ratio:1; border-radius:50%; overflow:hidden; border:6px solid var(--color-cream); box-shadow:0 18px 40px rgba(28,44,68,.08); }
.g4-arch__mini img { width:100%; height:100%; object-fit:cover; }
.g4-arch__rings { position:absolute; right:-30px; top:30px; width:120px; height:120px; color:var(--color-rust); opacity:.5; pointer-events:none; }
.g4-arch figcaption { font-size:14px; color:var(--color-muted); margin-top:12px; text-align:center; }
@media (min-width:1024px) { .g4-ohero { grid-template-columns:1fr 1fr; gap:56px; } .g4-arch { max-width:500px; justify-self:end; } .g4-arch__mini { left:-36px; } }

/* Galeria: zdjęcia w równych kafelkach */
.service-room-gallery.g4-gal { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.g4-gal figure { margin:0; }
.g4-gal button { display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; border-radius:20px; overflow:hidden; aspect-ratio:4/5; }
.g4-gal img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.g4-gal figure:hover img { transform:scale(1.04); }
.g4-gal figcaption { font-size:14px; color:var(--color-muted); margin-top:10px; }
@media (min-width:1024px) { .service-room-gallery.g4-gal { grid-template-columns:repeat(var(--g4-cols,4),minmax(0,1fr)); } }

/* Jak trafić: mapa i droga krok po kroku */
.g4-way { display:grid; gap:32px; align-items:start; margin-top:32px; }
.g4-maplink { display:block; position:relative; border-radius:28px; overflow:hidden; box-shadow:0 18px 40px rgba(28,44,68,.08); text-decoration:none; }
.g4-maplink img { width:100%; height:auto; display:block; transition:transform .6s ease; }
.g4-maplink:hover img { transform:scale(1.02); }
.g4-maplink .g4-glass { position:absolute; right:16px; bottom:16px; }
.g4-steps { list-style:none; margin:0; padding:0; position:relative; }
.g4-steps::before { content:""; position:absolute; left:23px; top:24px; bottom:24px; border-left:1px dashed rgba(168,60,52,.45); }
.g4-steps li { position:relative; display:grid; grid-template-columns:48px 1fr; gap:16px; padding:0 0 22px; }
.g4-steps li:last-child { padding-bottom:0; }
.g4-steps__dot { width:48px; height:48px; border-radius:16px; background:var(--color-white); display:grid; place-items:center; color:var(--color-rust); box-shadow:0 6px 16px rgba(28,44,68,.06); position:relative; z-index:1; }
.g4-steps__dot .g4-ic { width:22px; height:22px; }
.g4-steps b { display:block; font-size:17px; }
.g4-steps span { font-size:15.5px; color:var(--color-muted); }
.g4-onsite-title { margin:56px 0 0; font-size:24px; font-weight:500; }
.g4-onsite-title em { font-family:var(--font-serif); color:var(--color-rust); }
.g4-onsite { display:grid; gap:16px; margin:24px 0 0; padding:0; list-style:none; }
.g4-onsite li { display:flex; gap:12px; align-items:center; background:var(--color-white); border-radius:18px; padding:16px 18px; font-size:15.5px; }
.g4-onsite .g4-ic { width:22px; height:22px; color:#6e5a84; }
@media (min-width:768px) { .g4-onsite { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:1024px) { .g4-way { grid-template-columns:1.1fr 1fr; gap:40px; } }

/* Kto tu przyjmuje: poziome karty z tytułem */
.g4-people .service-people { grid-template-columns:minmax(0,1fr); gap:16px; }
.g4-people .service-person { background:var(--color-white); border-radius:22px; padding:16px; box-shadow:0 18px 40px rgba(28,44,68,.08); transition:transform .25s ease, box-shadow .25s ease; }
.g4-people .service-person:hover { transform:translateY(-3px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.g4-people .service-person__profile { display:grid; grid-template-columns:84px minmax(0,1fr); grid-template-rows:auto auto 1fr; column-gap:16px; align-items:start; }
.g4-people .service-person img { grid-row:1 / span 3; width:84px; height:100px; aspect-ratio:auto; border-radius:999px 999px 18px 18px; object-fit:cover; object-position:50% 18%; }
.g4-people .service-person h3 { margin:4px 0 0; font-size:17px; font-weight:600; }
.g4-people .service-person .service-person__role { margin:3px 0 8px; font-size:13px; font-weight:600; line-height:1.4; color:var(--color-rust); }
.g4-people .service-person p:not(.service-person__role) { justify-self:start; align-self:start; background:var(--color-cream); border-radius:999px; padding:3px 10px; font-size:12.5px; color:var(--color-muted); }
.g4-people__head { display:flex; justify-content:space-between; align-items:end; gap:16px 24px; flex-wrap:wrap; }
@media (min-width:768px) { .g4-people .service-people { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .g4-people .service-people { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) {
  .g4-office, .g4-office__ph img, .g4-gal img, .g4-maplink img, .g4-people .service-person { transition:none; }
  .g4-office:hover, .g4-people .service-person:hover { transform:none; }
  .g4-soon__badge i::after { animation:none; }
}

/* Partia 23: opinie Google (dane z profili Google, 12.10.2026) */
.g-star { color:#e0a100; }
.g4-facts li.g4-rating { padding:0; }
.g4-facts li.g4-rating a { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px 0 12px; border-radius:999px; font-weight:600; color:var(--color-navy); text-decoration:none; }
.g4-facts li.g4-rating a:hover { text-decoration:underline; text-underline-offset:3px; }
.g4-rating-line { display:flex; align-items:center; gap:6px; margin:6px 0 0; font-size:14px; font-weight:600; color:var(--color-navy); }

/* Partia 36: na telefonie przybliżona mapa; w układzie jednokolumnowym etykieta pod mapą, nie na pinezkach */
.g4-mapcard picture { display:block; }
@media (max-width:1023.98px) {
  .g4-mapcard .g4-glass { position:static; display:flex; margin:0; padding:12px 18px 14px; border:0; border-radius:0; background:none;
    -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; font-size:14px; }
  .g4-mapcard .g4-glass::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--color-coral,#ff6b61); flex:none; }
}

/* Partia 45: „Zobacz gabinet” to podpis karty; kliknięcie trafia w link całej karty (h2 a::after). */
.g4-office__actions { z-index:auto; }
.g4-office__actions a { position:relative; z-index:2; }
/* Partia 53: gabinety, usługi i pytania (Claude, 13.10.2026). */
.g53-tiles { display:grid; gap:10px; margin:20px 0 0; padding:0; list-style:none; }
.g53-tiles li { display:flex; margin:0; }
.g53-tile { flex:1; display:grid; grid-template-columns:52px 1fr 20px; align-items:center; gap:14px; min-height:76px; padding:12px 16px 12px 12px; border-radius:18px; background:var(--color-white); color:var(--color-navy); text-decoration:none; box-shadow:0 10px 26px rgba(28,44,68,.06); transition:transform .2s ease, box-shadow .2s ease; }
.g53-tile:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(28,44,68,.10); }
.g53-art { width:52px; height:52px; border-radius:14px; background:var(--s-bg); color:var(--s-ink); display:grid; place-items:center; overflow:hidden; }
.g53-art svg { width:44px; height:44px; }
.g53-tile b { display:block; font-size:16px; font-weight:600; line-height:1.25; }
.g53-tile small { display:block; margin-top:2px; font-size:14px; color:var(--color-muted); }
.g53-tile .arrow { justify-self:end; }
.g53-faq { margin-top:20px; }
@media (prefers-reduced-motion: reduce) { .g53-tile { transition:none; } .g53-tile:hover { transform:none; } }
@media (min-width:640px) { .g53-tiles { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px) { .g53-tiles { grid-template-columns:repeat(3,1fr); } }

/* Menu górne, wariant A „pływająca kapsuła”: etap 1e partia 20 (Claude, 12.10.2026).
   Wzór: docs/propozycje/strona-glowna-v2.html i docs/propozycje/menu-warianty.html (zaakceptowane przez Pawła).
   Plik ładowany jako ostatni arkusz każdej strony (przesunięcia przyklejonych pasków na końcu). */

:root { --h20-top:0px; }
.skip-link { z-index:120; }
html.h20-lock { overflow:hidden; }

.h20 { position:sticky; top:0; z-index:60; padding:14px 16px 0; pointer-events:none; transition:transform .3s ease; }
.h20 > * { pointer-events:auto; }
.h20[data-hidden] { transform:translateY(-110%); }
.h20__cap { position:relative; max-width:calc(var(--width-content, 1160px) + 48px); margin:0 auto; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; min-height:68px; padding:0 10px 0 24px; background:rgba(255,255,255,.84); -webkit-backdrop-filter:saturate(1.3) blur(14px); backdrop-filter:saturate(1.3) blur(14px); border:1px solid rgba(28,44,68,.07); border-radius:999px; box-shadow:0 12px 32px rgba(28,44,68,.07); }
.h20__logo { justify-self:start; display:inline-flex; align-items:center; min-height:44px; }
.h20__logo img { width:136px; height:auto; }

/* Linki */
.h20__links { display:flex; align-items:center; gap:2px; margin:0; padding:0; list-style:none; }
.h20__sheet-top, .h20__sheet-foot, .h20__more-label { display:none; }
.h20__l { position:relative; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; border:0; border-radius:999px; background:none; font:500 15.5px/1 var(--font-sans); color:var(--color-navy); text-decoration:none; white-space:nowrap; cursor:pointer; }
.h20__l::after { content:""; position:absolute; left:50%; bottom:3px; width:5px; height:5px; margin-left:-2.5px; border-radius:50%; background:var(--color-coral); opacity:0; transform:scale(.3); transition:opacity .2s, transform .2s; }
.h20__l:hover::after, .h20__l[aria-current="page"]::after, .h20__l.is-current::after, .h20__l[aria-expanded="true"]::after { opacity:1; transform:none; }
.h20__l[aria-current="page"], .h20__l.is-current { color:var(--color-rust); }
.h20__l[aria-current="page"]::after, .h20__l.is-current::after { background:var(--color-rust); } /* kropka bieżącej strony: kontrast min. 3:1 */
.h20__chev { width:12px; height:12px; flex:none; transition:transform .2s; }
[aria-expanded="true"] > .h20__chev { transform:rotate(180deg); }
.h20 :focus-visible { outline:2px solid var(--color-navy); outline-offset:2px; }

/* Rozwijane listy */
.h20__dd { position:relative; }
.h20__panel { display:none; position:absolute; top:calc(100% + 18px); left:50%; z-index:5; transform:translateX(-50%); min-width:270px; padding:12px; border:1px solid #efe6da; border-radius:22px; background:var(--color-white); box-shadow:0 24px 60px rgba(28,44,68,.16); text-align:left; }
.h20__dd[data-open] > .h20__panel { display:block; }
html:not(.js) .h20__dd:hover > .h20__panel, html:not(.js) .h20__dd:focus-within > .h20__panel { display:block; }
.h20__panel ul { margin:0; padding:0; list-style:none; }
.h20__panel a { display:flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border-radius:12px; font-size:15.5px; line-height:1.3; color:var(--color-navy); text-decoration:none; }
.h20__panel a:hover { background:var(--color-cream); color:var(--color-rust); }
.h20__panel a[aria-current="page"] { color:var(--color-rust); font-weight:600; }
.h20__panel--help { width:560px; }
.h20__dd[data-open] > .h20__panel--help { display:grid; grid-template-columns:1fr 1fr; gap:0 8px; }
html:not(.js) .h20__dd:hover > .h20__panel--help, html:not(.js) .h20__dd:focus-within > .h20__panel--help { display:grid; grid-template-columns:1fr 1fr; }
.h20__pfoot { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:12px; margin:6px 0 0; padding:8px 6px 0; border-top:1px solid #f0e9df; font-size:14.5px; color:var(--color-muted); }
.h20__panel .h20__pfoot a { display:inline-flex; padding:0 6px; font-size:14.5px; font-weight:600; }
.h20__panel--more { width:320px; }
.h20__sep { height:1px; margin:6px 12px; background:#f0e9df; }
.h20__panel a.h20__crisis { color:var(--color-rust); }
.h20__crisis::before { content:""; width:7px; height:7px; flex:none; border-radius:50%; background:var(--color-coral); }
.h20__panel a.h20__biz { position:relative; overflow:hidden; justify-content:space-between; gap:12px; margin-top:8px; min-height:66px; padding:12px 12px 12px 16px; border-radius:16px; background:var(--color-night); color:var(--color-cream); }
.h20__biz::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(251,248,244,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(251,248,244,.1) 1px,transparent 1px); background-size:18px 18px; -webkit-mask-image:radial-gradient(circle at 80% 20%,#000 0,transparent 80%); mask-image:radial-gradient(circle at 80% 20%,#000 0,transparent 80%); }
.h20__biz > span { position:relative; }
.h20__biz b { display:block; font-size:15.5px; font-weight:600; }
.h20__biz small { display:block; margin-top:3px; font-size:13px; color:#d9dde5; }
.h20__panel a.h20__biz:hover, .h20__panel a.h20__biz[aria-current="page"] { background:#17253d; color:var(--color-cream); }
.h20 .h20__biz:focus-visible { outline-color:var(--color-coral); }
.h20__biz-go { width:32px; height:32px; flex:none; display:grid; place-items:center; border-radius:50%; background:rgba(251,248,244,.12); font-size:14px; transition:transform .2s; }
.h20__biz:hover .h20__biz-go { transform:translateX(3px); }
.h20__panel--end { left:auto; right:0; transform:none; }
.h20__call { margin:0; padding:8px 12px 10px; font-size:14.5px; color:var(--color-muted); }
.h20__panel .h20__call a { display:flex; align-items:center; min-height:44px; padding:0; border-radius:0; font:500 26px/1.25 var(--font-serif); font-variant-numeric:lining-nums; color:var(--color-navy); }
.h20__panel .h20__call a:hover { background:none; color:var(--color-rust); }

/* Prawa strona: telefon, przycisk, menu */
.h20__right { justify-self:end; display:flex; align-items:center; gap:8px; }
.h20__ic { width:44px; height:44px; flex:none; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:var(--color-sand); color:var(--color-navy); cursor:pointer; }
.h20__ic:hover { background:#e9e0d3; }
.h20__phone { width:19px; height:19px; background:currentColor; -webkit-mask:url(/assets/icons/phosphor/regular/phone.svg) center/contain no-repeat; mask:url(/assets/icons/phosphor/regular/phone.svg) center/contain no-repeat; }
.h20 .h20__cta { min-height:48px; padding:10px 20px; white-space:nowrap; }
.h20__burger { display:none; }
.h20__bars { width:18px; height:12px; display:grid; align-content:space-between; }
.h20__bars::before, .h20__bars::after { content:""; height:1.6px; border-radius:2px; background:currentColor; }
.h20__x { position:relative; width:16px; height:16px; }
.h20__x::before, .h20__x::after { content:""; position:absolute; left:-1px; right:-1px; top:50%; height:1.6px; margin-top:-.8px; border-radius:2px; background:currentColor; transform:rotate(45deg); }
.h20__x::after { transform:rotate(-45deg); }

/* Telefon i tablet: kapsuła z logo, „Umów wizytę” i menu na cały ekran */
@media (max-width:1099px) {
  .h20 { padding:10px 12px 0; }
  .h20__cap { grid-template-columns:1fr auto; min-height:60px; padding:0 8px 0 18px; }
  .h20__logo img { width:118px; }
  .h20__tel { display:none; }
  .h20__burger { display:grid; }
  html.js .h20__nav { display:none; }
  .h20[data-menu-open] .h20__cap { -webkit-backdrop-filter:none; backdrop-filter:none; } /* backdrop-filter tworzy blok zawierający dla position:fixed */
  html.js .h20[data-menu-open] .h20__nav { position:fixed; inset:0; z-index:100; display:flex; flex-direction:column; overflow-y:auto; overscroll-behavior:contain; padding:12px 20px max(22px, env(safe-area-inset-bottom)); background:var(--color-cream); }
  html:not(.js) .h20__nav { grid-column:1/-1; padding:0 8px 16px; }
  .h20__sheet-top { display:flex; align-items:center; justify-content:space-between; min-height:60px; padding-left:6px; }
  .h20__sheet-top img { width:118px; height:auto; }
  .h20__links { flex-direction:column; align-items:stretch; gap:0; margin-top:8px; }
  .h20__links > li:not(.h20__dd--more) { border-bottom:1px solid var(--color-line); }
  .h20__l { width:100%; justify-content:space-between; min-height:58px; padding:0; border-radius:0; font-size:22px; }
  .h20__l[aria-current="page"], .h20__l.is-current { color:var(--color-rust); }
  a.h20__l::after { content:"→"; position:static; width:auto; height:auto; margin:0; border-radius:0; background:none; opacity:1; transform:none; font-size:18px; color:var(--color-muted); }
  button.h20__l::after { display:none; }
  .h20__l[aria-current="page"]::after, .h20__l.is-current::after { background:none; }
  .h20__chev { width:18px; height:18px; }
  .h20__panel, .h20__panel--help, .h20__panel--more { position:static; width:auto; min-width:0; transform:none; padding:0 0 12px; border:0; border-radius:0; background:none; box-shadow:none; }
  .h20__dd[data-open] > .h20__panel--help { display:block; }
  .h20__panel a { padding:0 4px; font-size:16px; }
  .h20__pfoot { margin:4px 0 0; padding:6px 0 0; }
  .h20__pfoot > span { display:none; }
  .h20__panel .h20__pfoot a { padding:0 4px; font-size:16px; }
  /* „Więcej” na telefonie: zawsze widoczne pigułki */
  .h20__dd--more > .h20__l { display:none; }
  .h20__more-label { display:flex; align-items:center; gap:8px; margin:20px 0 10px; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--color-rust); }
  .h20__more-label::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--color-coral); }
  .h20__dd--more > .h20__panel { display:block; padding:0; }
  .h20__panel--more ul { display:flex; flex-wrap:wrap; gap:8px; }
  .h20__panel--more ul a { min-height:44px; padding:0 15px; border:1px solid #d9d1c5; border-radius:999px; background:var(--color-white); font-size:15px; }
  .h20__sep, .h20__panel--more > .h20__crisis { display:none; }
  .h20__panel a.h20__biz { display:inline-flex; min-height:44px; margin-top:8px; padding:0 16px; border-radius:999px; font-size:15px; }
  .h20__biz b { font-size:15px; }
  .h20__biz small { display:none; }
  .h20__biz-go { width:auto; height:auto; background:none; }
  .h20__sheet-foot { display:grid; gap:10px; margin-top:auto; padding-top:28px; }
  .h20__sheet-foot .button { width:100%; justify-content:center; }
  .h20__sheet-foot p { margin:4px 0 0; text-align:center; font-size:14.5px; color:var(--color-muted); }
  .h20__sheet-foot p a { display:inline-flex; align-items:center; min-height:44px; font-weight:600; color:var(--color-navy); }
  .h20__sheet-foot .h20__crisis { gap:8px; margin-top:-6px; color:var(--color-rust); text-decoration:none; }
}
@media (max-width:479px) {
  .h20 .h20__cta { min-height:44px; padding:10px 15px; font-size:14.5px; }
  .h20 .h20__cta .arrow { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .h20, .h20__l::after, .h20__chev, .h20__biz-go { transition:none; }
}

/* Paski przyklejone do góry na podstronach: zjeżdżają pod widoczne menu. --h20-top ustawia scripts/header-1e20.js. */
.p1d-page-nav, .service-page-nav, .part-1c2-profile .service-page-nav, .profile-1e .service-page-nav.p1e-nav, .f12-side { top:var(--h20-top); transition:top .3s ease; }
.b10-side, .blog-toc, .k8-biz, .h13-close__intro, .p1d-toc, .w16-toc { top:calc(var(--h20-top) + 24px); transition:top .3s ease; }
.r14-toc { top:calc(var(--h20-top) + 20px); transition:top .3s ease; }
.j11-lead { top:calc(var(--h20-top) + 106px); transition:top .3s ease; }
.profile-1e .p1e-qual > aside { top:calc(var(--p1e-nav-height, 90px) + 16px + var(--h20-top)); transition:top .3s ease; }
@media (prefers-reduced-motion:reduce) {
  .p1d-page-nav, .service-page-nav, .f12-side, .b10-side, .blog-toc, .k8-biz, .h13-close__intro, .p1d-toc, .w16-toc, .r14-toc, .j11-lead, .profile-1e .p1e-qual > aside { transition:none; }
}
/* Partia 27 (Claude): „Trwa nabór” przy terapii grupowej. */
.h20__panel li.h20__li-tag { display:flex; align-items:center; gap:4px; }
.h20__panel li.h20__li-tag > a:first-child { flex:1; min-width:0; }
.h20__panel a.h20__tag { position:relative; flex:none; display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:0 10px; border-radius:999px; background:#ffe3e0; color:var(--color-rust); font-size:12.5px; font-weight:700; letter-spacing:.01em; white-space:nowrap; }
.h20__panel a.h20__tag::before { content:""; position:absolute; inset:-8px -4px; }
.h20__panel a.h20__tag:hover { background:#ffd3ce; color:var(--color-rust); }
.h20__tag-dot { width:7px; height:7px; border-radius:50%; background:var(--color-coral); box-shadow:0 0 0 0 rgba(255,107,97,.5); animation:h20-pulse 2.2s ease-out infinite; }
@keyframes h20-pulse { 0% { box-shadow:0 0 0 0 rgba(255,107,97,.5); } 70% { box-shadow:0 0 0 6px rgba(255,107,97,0); } 100% { box-shadow:0 0 0 0 rgba(255,107,97,0); } }
@media (prefers-reduced-motion: reduce) { .h20__tag-dot { animation:none; } }
/* Partia 34 (Claude): .k8-biz jest przyklejona tylko od 1024 px; niżej `top` przesuwał kartę (position:relative). */
@media (max-width:1023.98px) { .k8-biz { top:auto; transition:none; } }

/* Highlight the approaches entry in both navigation variants (Pawel, 2026-10-14). */
.h20__nurty > summary, .h20__panel a.h20__nurty-m { font-weight:600; color:var(--color-rust); background:var(--color-cream); }
.h20__nurty > summary:hover, .h20__panel a.h20__nurty-m:hover { color:var(--color-rust); background:var(--color-sand); }
/* Partia 59: większe logo w nagłówku i stopce (Claude, 14.10.2026). */
.h20__logo img { width:160px; }
@media (max-width:1099px) { .h20__logo img { width:144px; } }
@media (max-width:379px) { .h20__logo img { width:128px; } }
.site-footer__logo { width:190px; }
@media (min-width:1024px) { .site-footer__logo { width:220px; } }
