/* Zespół: recepcja (Klaudia i Magdalena), partia 37 (Claude, 13.10.2026). Karty jak na stronie Kontakt (contact-1e8.css). */
#recepcja .t3-qhead { margin-bottom:28px; }
.k8-team { display:grid; gap:20px; margin:0; padding:0; list-style:none; }
.k8-person { display:grid; grid-template-columns:96px 1fr; gap:20px; align-items:start; background:var(--color-white); border-radius:26px; padding:22px; box-shadow:0 18px 40px rgba(28,44,68,.08); }
.k8-person__ph { width:96px; height:116px; border-radius:999px 999px 20px 20px; overflow:hidden; display:grid; place-items:center; }
.k8-person__ph img { width:100%; height:100%; object-fit:cover; object-position:50% 18%; }
.k8-person h3 { margin:2px 0 0; font:500 26px/1.15 var(--font-serif); }
.k8-person__role { margin:4px 0 10px; font-size:13.5px; font-weight:600; color:var(--color-rust); }
.k8-person ul { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; padding:0; list-style:none; }
.k8-person li { background:var(--color-cream); border-radius:999px; padding:5px 11px; font-size:13.5px; }
.k8-person .text-link { font-size:15px; }
.t37-desk-contact { margin:22px 0 0; font-size:15px; color:var(--color-muted); }
.t37-desk-contact a { color:var(--color-navy); font-weight:600; }
.t37-nw { white-space:nowrap; }
/* Profil Magdaleny Zarzyckiej: przycisk i mikrotekst pod krokami bezpłatnej rozmowy. */
.t37-free-row { display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-top:28px; }
.t37-free-note { margin:12px 0 0; font-size:14px; color:var(--color-muted); }
@media (min-width:768px) { .k8-team { grid-template-columns:1fr 1fr; } }
@media (max-width:479px) { .k8-person { grid-template-columns: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; } }
