/* 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; } }

/* Oferta i strony usług, etap 1e partia 6 (Claude, 12.10.2026). Wzór: docs/propozycje/oferta-poprawki.html (zaakceptowany przez Pawła). */

/* ---------- Strona Oferta ---------- */
.o6-hero { display:grid; gap:32px 48px; align-items:end; padding-block:16px 40px; }
.o6-nav { background:var(--color-white); border-radius:24px; padding:22px; box-shadow:0 18px 40px rgba(28,44,68,.08); }
.o6-nav p { margin:0 0 12px; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:var(--color-muted); }
.o6-nav ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.o6-nav a { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:48px; padding:10px 14px; border-radius:14px; background:var(--color-cream); text-decoration:none; font-weight:500; font-size:15.5px; transition:background .2s; }
.o6-nav a:hover { background:var(--color-lavender); }
.o6-nav a span { color:var(--color-muted); font-size:13.5px; font-weight:400; }
@media (min-width:640px) { .o6-nav ul { grid-template-columns:1fr 1fr; } }
@media (min-width:1024px) { .o6-hero { grid-template-columns:1.1fr 1fr; } }

.o6-grid { display:grid; gap:20px; }
h2 + .o6-grid, h2 + .o6-other { margin-top:28px; } /* nagłówek kategorii nie przylega do kafelków (uwaga Pawła 12.10.2026) */
.o6-card { 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; }
.o6-card:hover { transform:translateY(-5px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.o6-card:has(a:focus-visible) { outline:2px solid var(--color-navy); outline-offset:4px; }
.o6-card__band { position:relative; min-height:150px; background:var(--service-bg); display:flex; align-items:flex-end; padding:20px 22px; }
.o6-card__motif { position:absolute; right:-30px; top:-72px; width:190px; height:190px; color:var(--service-ink); opacity:.75; transition:transform .6s ease; pointer-events:none; }
.o6-card:hover .o6-card__motif { transform:rotate(-8deg) scale(1.06); }
.o6-card h3 { position:relative; margin:0; max-width:70%; font:500 27px/1.1 var(--font-serif); }
.o6-card h3 a { text-decoration:none; color:var(--color-navy); }
.o6-card h3 a::after { content:""; position:absolute; inset:-300px -600px -1500px; z-index:2; } /* cała karta klikalna (karta ma overflow:hidden) */
.o6-card h3 a:focus-visible { outline:none; }
.o6-card__bd { padding:18px 22px 22px; display:flex; flex-direction:column; gap:16px; flex:1; }
.o6-card__bd > p { margin:0; font-size:16px; }
.o6-card__foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.o6-meta { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
.o6-meta > span { background:var(--color-cream); border-radius:999px; padding:5px 11px; font-size:13.5px; }
.o6-meta b { font:500 16px/1 var(--font-serif); font-variant-numeric:lining-nums; }
.o6-go { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; flex:none; background:var(--service-bg); color:var(--service-ink); transition:transform .25s, background .25s, color .25s; }
.o6-go svg { width:18px; height:18px; }
.o6-card:hover .o6-go, .o6-big:hover .o6-go { transform:translateX(4px); background:var(--color-navy); color:var(--color-white); }
@media (min-width:768px) { .o6-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .o6-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

.o6-other { display:grid; gap:20px; }
.o6-big { position:relative; overflow:hidden; border-radius:28px; padding:26px; min-height:240px; display:flex; flex-direction:column; justify-content:flex-end; gap:12px; text-decoration:none; box-shadow:0 18px 40px rgba(28,44,68,.08); transition:transform .25s, box-shadow .25s; }
.o6-big:hover { transform:translateY(-5px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.o6-big svg.o6-big__motif { position:absolute; right:-30px; top:-30px; width:260px; height:260px; opacity:.55; transition:transform .6s; pointer-events:none; }
.o6-big:hover svg.o6-big__motif { transform:rotate(-8deg) scale(1.05); }
.o6-big h3 { position:relative; margin:0; font:500 clamp(30px,3vw,40px)/1.05 var(--font-serif); }
.o6-big p { position:relative; margin:0; max-width:420px; }
.o6-big .o6-go { position:relative; }
.o6-big--online { background:var(--color-navy); color:var(--color-cream); }
.o6-big--online svg.o6-big__motif { color:var(--color-pale-coral); }
.o6-big--online h3 em { color:var(--color-pale-coral); }
.o6-big--online p { color:#d9dde5; }
.o6-big--online .o6-go { background:rgba(255,255,255,.14); color:var(--color-cream); }
.o6-big--online:focus-visible { outline:2px solid var(--color-pale-coral); outline-offset:4px; }
.o6-big--firm { background:var(--color-peach); color:var(--color-navy); }
.o6-big--firm svg.o6-big__motif { color:var(--color-rust); }
.o6-big--firm h3 em { color:var(--color-rust); }
.o6-big--firm .o6-go { background:var(--color-white); color:var(--color-rust); }
@media (min-width:768px) { .o6-other { grid-template-columns:1fr 1fr; } .o6-big { padding:34px; min-height:260px; } }

/* ---------- Strony usług ---------- */
/* Pierwszy ekran: zdjęcie w łuku na tle koła z rysunkiem usługi */
.o6 .service-hero__visual { background:none; padding:0; overflow:visible; border-radius:0; max-width:470px; width:100%; justify-self:center; }
.o6 .service-hero__visual::before { content:""; position:absolute; right:-12px; top:-16px; width:78%; aspect-ratio:1; border-radius:50%; background:var(--service-bg); z-index:0; }
.o6 .service-hero__visual > .service-motif { right:-12px; top:-16px; width:78%; height:auto; aspect-ratio:1; opacity:.6; z-index:0; }
.o6 .service-hero__visual > img { position:relative; z-index:1; border-radius:999px 999px 32px 32px; aspect-ratio:4/5; box-shadow:0 18px 40px rgba(28,44,68,.08); }
.o6 .service-hero__visual figcaption { position:relative; z-index:1; justify-content:center; color:var(--color-muted); }
@media (min-width:1024px) { .o6 .service-hero__visual { justify-self:end; } .o6 .service-hero__visual::before, .o6 .service-hero__visual > .service-motif { right:-26px; top:-26px; } }

/* Fakty jako pigułki w pierwszym ekranie */
.o6 .service-hero__copy .service-facts { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 26px; border:0; background:none; border-radius:0; overflow:visible; grid-template-columns:none; }
.o6 .service-hero__copy .service-fact { display:inline-flex; flex-direction:row; align-items:center; gap:8px; padding:7px 14px 7px 10px; background:var(--color-white); border:1px solid #eee5d9; border-radius:999px; min-width:0; }
.o6 .service-hero__copy .service-fact .mc-icon { width:auto; height:auto; background:none; padding:0; }
.o6 .service-hero__copy .service-fact .mc-icon img { width:18px; height:18px; }
.o6 .service-hero__copy .service-fact dt { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.o6 .service-hero__copy .service-fact dd { margin:0; font-family:var(--font-sans); font-size:15px; line-height:1.3; }
.o6 .service-hero__copy .service-micro { margin-top:18px; font-size:14px; color:var(--color-muted); max-width:470px; }

/* „Kiedy warto”: białe dymki */
.o6 .service-when li { display:block; border-radius:22px 22px 22px 6px; padding:20px 20px 18px; font:italic 500 19px/1.35 var(--font-serif); box-shadow:0 10px 26px rgba(28,44,68,.06); transition:transform .25s, box-shadow .25s; }
.o6 .service-when li:hover { transform:translateY(-3px); box-shadow:0 18px 40px rgba(28,44,68,.1); }
.o6 .service-when li::before { content:"…"; display:block; font:700 20px/1 var(--font-sans); color:var(--color-coral); margin-bottom:6px; }
.o6 .service-when .service-check, .o6 .service-when .mc-icon { display:none; }
.o6 .service-quote { display:flex; gap:14px; align-items:center; margin:24px 0 0; padding:20px 24px; border:0; border-radius:22px; background:var(--color-navy); color:var(--color-cream); font-size:20px; max-width:none; }
.o6 .service-quote::before { content:""; width:26px; height:26px; flex:none; background:var(--color-pale-coral); -webkit-mask:url("/assets/icons/phosphor/regular/heart.svg") center/contain no-repeat; mask:url("/assets/icons/phosphor/regular/heart.svg") center/contain no-repeat; }
@media (min-width:768px) and (max-width:1023px) { .o6 .service-when { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* „Krok po kroku”: oś z numerami w kołach */
.o6 .service-timeline::before { background:none; border-left:1px dashed rgba(168,60,52,.5); }
.o6 .service-step-number { border:0; background:var(--color-white); box-shadow:0 8px 20px rgba(28,44,68,.08); font:500 24px/1 var(--font-serif); color:var(--color-rust); z-index:1; }
.o6 .service-timeline .mc-icon { display:none; }
.o6 .service-timeline h3 { font-size:18px; margin-bottom:8px; }
.o6 .service-timeline p { color:var(--color-muted); font-size:15.5px; }
@media (min-width:1024px) { .o6 .service-timeline::before { border-left:0; border-top:1px dashed rgba(168,60,52,.5); } }

/* Specjaliści: poziome karty z tytułem (jak w Gabinetach) */
.o6-people .service-people { grid-template-columns:minmax(0,1fr); gap:16px; }
.o6-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; }
.o6-people .service-person:hover { transform:translateY(-3px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.o6-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; }
.o6-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%; }
.o6-people .service-person h3 { margin:4px 0 0; font-size:17px; font-weight:600; }
.o6-people .service-person .service-person__role { margin:3px 0 8px; font-size:13px; font-weight:600; line-height:1.4; color:var(--color-rust); }
.o6-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); }
@media (min-width:768px) { .o6-people .service-people { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .o6-people .service-people { grid-template-columns:repeat(3,minmax(0,1fr)); } }

@media (prefers-reduced-motion:reduce) {
  .o6-card, .o6-card__motif, .o6-go, .o6-big, .o6-big svg.o6-big__motif, .o6 .service-when li, .o6-people .service-person { transition:none; }
  .o6-card:hover, .o6-big:hover, .o6 .service-when li:hover, .o6-people .service-person:hover { transform:none; }
}

/* Accessibility: standalone follow-up links, excluding links embedded in prose. */
.o6 #badania .service-content > p > a:only-child,
.o6 #rodzaje .service-content > p > a:only-child,
.o6 #porownanie .service-follow > a { display:inline-block; position:relative; }
.o6 #badania .service-content > p > a:only-child::after,
.o6 #rodzaje .service-content > p > a:only-child::after,
.o6 #porownanie .service-follow > a::after { content:""; position:absolute; left:0; right:0; top:50%; height:44px; min-width:44px; transform:translateY(-50%); }
/* Partia 32 (Claude): ikona w dd, żeby dl miał poprawną strukturę; wygląd bez zmian. */
.o6 .service-hero__copy .service-fact dd { display:inline-flex; align-items:center; gap:8px; }
/* Partia 58: baner o relacji i karta faktów na telefonie (Claude, 14.10.2026). */
.rel-banner { margin:28px 0 0; padding:18px 20px 16px; border-radius:20px; background:var(--color-night); color:var(--color-cream); }
.service-content .rel-banner p, .rel-banner p { margin:10px 0 0; max-width:none; font-size:15.5px; line-height:1.5; color:var(--color-pale-text); }
.service-content .rel-banner .rel-banner__title, .rel-banner .rel-banner__title { display:flex; align-items:center; gap:12px; margin:0; font-size:19px; font-weight:600; line-height:1.3; color:var(--color-cream); }
.rel-banner__art { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:rgba(255,107,97,.16); color:var(--color-pale-coral); }
.rel-banner__art svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.8; }
.rel-banner__title em { font-family:var(--font-serif); font-style:italic; font-weight:400; color:var(--color-pale-coral); }
.service-content .rel-banner .rel-banner__src, .rel-banner .rel-banner__src { margin-top:8px; font-size:13px; color:#b8c1cf; }
@media (min-width:768px) { .rel-banner { padding:20px 24px 18px; } }
.service-facts-repeat .service-fact dd { display:flex; align-items:center; gap:12px; }
.service-facts-repeat .service-fact dd .mc-icon { flex:none; }
@media (max-width:767px) {
  .service-facts-repeat .service-facts { grid-template-columns:minmax(0,1fr); }
  .service-facts-repeat .service-fact { flex-direction:column; gap:8px; padding:16px 18px; }
  .service-facts-repeat .service-fact:nth-child(n) { border-left:0; border-top:1px solid var(--color-line); }
  .service-facts-repeat .service-fact:first-child { border-top:0; }
  .service-facts-repeat .service-fact dd { margin-top:0; font-size:20px; }
}
@media (min-width:768px) and (max-width:1023.98px) {
  .service-facts-repeat .service-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .service-facts-repeat .service-fact { flex-direction:column; gap:8px; padding:18px 20px; }
  .service-facts-repeat .service-fact dd { margin-top:0; }
  .service-facts-repeat .service-fact:nth-child(n) { border-top:0; border-left:1px solid var(--color-line); }
  .service-facts-repeat .service-fact:first-child { border-left:0; }
}

/* Etap 2a partia 54 (Claude, 13.10.2026): strony nurtów psychoterapii i psychotraumatologa.
   Źródło: prototyp/review/qa/nurty-2a.css; build-nurty-2a.py kopiuje go do styles/nurty-2a.css. */

/* Pierwszy ekran: koło w kolorze nurtu, duży rysunek z cienkiej linii i siatka twarzy osób z nurtu (bez zdjęcia gabinetu). */
.n2-hero { align-items:center; }
.n2-visual { position:relative; width:100%; max-width:380px; aspect-ratio:1; margin:8px auto 16px; }
.n2-blob { position:absolute; inset:4%; border-radius:50%; background:var(--service-bg); }
.n2-rings { position:absolute; left:-3%; top:-3%; width:40%; fill:none; stroke:var(--color-navy); stroke-width:1.1; opacity:.28; }
.n2-motif { position:absolute; left:12%; top:12%; width:76%; height:76%; color:var(--service-ink); opacity:.34; }
.n2-faces { position:absolute; left:50%; top:50%; width:var(--w); transform:translate(-50%,-52%); display:grid; grid-template-columns:repeat(var(--cols),minmax(0,1fr)); gap:5%; }
.n2-face { display:block; width:100%; aspect-ratio:1; height:auto; border-radius:50%; object-fit:cover; border:5px solid var(--color-cream); }
.n2-faces--c2 .n2-face:nth-child(2n), .n2-faces--c3 .n2-face:nth-child(3n+2) { transform:translateY(20%); }
.n2-dot { position:absolute; right:12%; bottom:9%; width:14px; height:14px; }

/* Cechy nurtu i wskazówki */
.n2-traits { display:grid; gap:14px; margin:28px 0 0; padding:0; list-style:none; }
.n2-traits li { padding:20px 20px 18px; border-radius:20px; background:var(--color-white); box-shadow:0 14px 34px rgba(28,44,68,.06); }
.n2-traits .brand-dot { display:inline-block; width:9px; height:9px; }
.n2-traits h3 { margin:10px 0 6px; font-size:18px; }
.n2-traits p { margin:0; font-size:16px; }

/* Kroki spotkań */
.n2-steps { counter-reset:n2step; display:grid; gap:0; margin:20px 0 0; padding:0; list-style:none; }
.n2-steps li { counter-increment:n2step; display:grid; grid-template-columns:52px minmax(0,1fr); gap:14px; padding:18px 0; border-top:1px solid var(--color-line); }
.n2-steps li:last-child { border-bottom:1px solid var(--color-line); }
.n2-steps li::before { content:counter(n2step, decimal-leading-zero); font:400 30px/1 var(--font-serif); font-style:italic; color:var(--color-rust); font-variant-numeric:lining-nums; }

/* Listy z koralową kropką */
.n2-list { display:grid; gap:10px; margin:16px 0 0; padding:0; list-style:none; }
.n2-list li { position:relative; padding-left:22px; }
.n2-list li::before { content:''; position:absolute; left:2px; top:.62em; width:8px; height:8px; border-radius:50%; background:var(--color-coral); }
.n2-note { margin-top:20px; padding:16px 18px; border-left:3px solid var(--color-coral); background:var(--color-white); border-radius:0 14px 14px 0; font-size:16px; }

/* Specjaliści: karty z o6-people; wszystkie osoby widoczne */
.n2-people { margin-top:22px; }
.n2-also { margin-top:26px; padding:20px; border-radius:20px; background:rgba(255,255,255,.6); }
.n2-also h3 { margin:0 0 12px; font-size:17px; }
.n2-also ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.n2-also li { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:6px; padding:8px 14px; border-radius:999px; background:var(--color-white); font-size:14.5px; }
.n2-also a { font-weight:600; color:var(--color-navy); }
.n2-also span { color:var(--color-muted); }

/* Inne nurty: kafelki */
.n2-tiles { display:grid; gap:10px; margin:22px 0 0; padding:0; list-style:none; }
.n2-tiles li { display:flex; }
.n2-tile { flex:1; display:grid; grid-template-columns:52px minmax(0,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; }
.n2-tile:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(28,44,68,.10); }
.n2-tile__art { width:52px; height:52px; border-radius:14px; background:var(--s-bg); color:var(--s-ink); display:grid; place-items:center; overflow:hidden; }
.n2-tile__art svg { width:44px; height:44px; }
.n2-tile b { display:block; font-size:16px; font-weight:600; line-height:1.25; }
.n2-tile small { display:block; margin-top:2px; font-size:14px; color:var(--color-muted); }
.n2-more { margin-top:18px; }

/* Strona zbiorcza: karty nurtów */
.n2-cards { display:grid; gap:16px; margin:24px 0 0; padding:0; list-style:none; }
.n2-cards li { display:flex; }
.n2-card { flex:1; display:flex; flex-direction:column; overflow:hidden; border-radius:24px; background:var(--color-white); color:var(--color-navy); text-decoration:none; box-shadow:0 18px 40px rgba(28,44,68,.08); transition:transform .25s ease, box-shadow .25s ease; }
.n2-card:hover { transform:translateY(-3px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.n2-card__band { position:relative; min-height:132px; background:var(--s-bg); color:var(--s-ink); overflow:hidden; }
.n2-card__band svg { position:absolute; right:-24px; top:-40px; width:170px; height:170px; opacity:.8; }
.n2-card__faces { position:absolute; left:18px; bottom:14px; display:flex; }
.n2-card__faces img { width:52px; height:52px; border-radius:50%; object-fit:cover; object-position:50% 22%; border:3px solid var(--color-white); }
.n2-card__faces img + img { margin-left:-12px; }
.n2-card__body { display:flex; flex-direction:column; gap:6px; padding:18px 20px 20px; flex:1; }
.n2-card__body b { font-size:19px; font-weight:600; line-height:1.25; }
.n2-card__body span { font-size:16px; }
.n2-card__body small { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:10px; font-size:14px; font-weight:600; color:var(--color-rust); }

/* Źródła i zamknięcie */
.n2-sources ul { margin:12px 0 0; padding-left:18px; font-size:14.5px; color:var(--color-muted); }
.n2-sources li + li { margin-top:8px; }
.n2-sources a { overflow-wrap:anywhere; }
.n2-close { text-align:left; }
.n2-close .service-actions { margin-top:20px; }

/* Słowniczek: hasła jak w leksykonie, kursywa w kolorze nurtu */
.n2-concepts { display:grid; gap:10px; margin:24px 0 0; }
.n2-concept { margin:0; padding:18px 18px 16px; border-radius:20px; background:var(--color-white); box-shadow:0 14px 34px rgba(28,44,68,.06); }
.n2-concept dt { font:400 23px/1.2 var(--font-serif); font-style:italic; color:var(--service-ink); font-variant-numeric:lining-nums; }
.n2-concept dt::after { content:''; display:block; width:28px; height:1px; margin-top:10px; background:var(--color-line); }
.n2-concept dd { margin:10px 0 0; font-size:16px; }

/* Historia: oś czasu (pionowa na telefonie, pozioma od 1024 px) */
.n2-timeline { list-style:none; margin:28px 0 0; padding:0; display:grid; }
.n2-timeline li { position:relative; margin-left:6px; padding:0 0 28px 30px; border-left:1px solid var(--color-frame); }
.n2-timeline li:last-child { padding-bottom:0; border-left-color:transparent; }
.n2-timeline li::before { content:''; position:absolute; left:-6px; top:8px; width:11px; height:11px; border-radius:50%; background:var(--color-coral); }
.n2-year { display:block; font:400 30px/1.1 var(--font-serif); font-style:italic; color:var(--color-rust); font-variant-numeric:lining-nums; }
.n2-timeline p { margin:8px 0 0; font-size:16px; max-width:46ch; }

/* Inne nurty: ta sama rodzina jako kafelki, reszta jako pigułki */
.n2-subhead { margin:28px 0 0; font-size:17px; }
.n2-pills { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0; padding:0; list-style:none; }
.n2-pills a { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--color-line); border-radius:999px; background:var(--color-white); color:var(--color-navy); font-size:15px; font-weight:500; text-decoration:none; transition:border-color .2s ease; }
.n2-pills a:hover { border-color:var(--color-navy); }

/* Strona zbiorcza: rodziny nurtów */
.n2-family { margin-top:36px; }
.n2-family h3 { margin:0; font-size:22px; }
.n2-family > p { margin:6px 0 0; max-width:62ch; }
.n2-family .n2-cards { margin-top:18px; }

/* Bezpłatna rozmowa: smukła biała belka ze zdjęciami Magdaleny, Klaudii i Marcina, jednym zdaniem, przyciskiem i telefonem */
.n2-free { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin:32px 0 0; padding:18px; border:1px solid var(--color-line); border-radius:20px; background:var(--color-white); box-shadow:0 10px 30px rgba(28,44,68,.05); }
.n2-free__faces { display:flex; padding-left:10px; }
.n2-free__faces img { width:46px; height:46px; margin-left:-10px; border-radius:50%; border:3px solid var(--color-white); object-fit:cover; }
.service-content .n2-free__copy p { margin:0; max-width:none; }
.service-content .n2-free__copy .n2-free__title { font-size:18px; font-weight:600; line-height:1.3; }
.n2-free__title em { font-family:var(--font-serif); font-style:italic; font-weight:400; color:var(--color-rust); }
.service-content .n2-free__copy p + p { margin-top:2px; font-size:15.5px; }
.n2-free__actions { display:flex; flex-wrap:wrap; align-items:center; gap:4px 20px; }
.n2-free__actions .text-link { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
#nurty-lista .n2-free { margin:24px 0 8px; }
.n2-people-note { margin-top:24px; max-width:62ch; font-size:16px; }
.n2-people-note a { font-weight:600; text-underline-offset:4px; text-decoration-color:var(--color-coral); }

@media (prefers-reduced-motion: reduce) {
  .n2-tile, .n2-card, .n2-pills a { transition:none; }
  .n2-tile:hover, .n2-card:hover { transform:none; }
}
@media (min-width:640px) {
  .n2-free { grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px 18px; }
  .n2-free__actions { grid-column:2; }
  .n2-concept { padding:22px 22px 20px; }
  .n2-concept dt { font-size:25px; }
  .n2-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .n2-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .n2-concepts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:768px) {
  .n2-traits { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .n2-visual { margin:0 0 0 auto; max-width:470px; }
}
@media (min-width:1024px) {
  .n2-tiles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .n2-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .n2-steps { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:40px; }
  .n2-steps li:nth-last-child(2) { border-bottom:1px solid var(--color-line); }
  .n2-concepts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .n2-cards { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .n2-timeline { grid-template-columns:repeat(var(--cols),minmax(0,1fr)); column-gap:28px; row-gap:36px; }
  .n2-timeline li, .n2-timeline li:last-child { margin:0; padding:28px 0 0; border-left:0; border-top:1px solid var(--color-frame); }
  .n2-timeline li::before { left:0; top:-6px; }
  .n2-free { grid-template-columns:auto minmax(0,1fr) auto; gap:20px; padding:16px 18px; }
  .n2-free__actions { grid-column:auto; flex-wrap:nowrap; }
}

/* 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; } }
