/* 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?v=312dee73d1") center/contain no-repeat; mask:url("/assets/icons/phosphor/regular/heart.svg?v=312dee73d1") 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; }
}

/* 1e-74 pomoc za granicą (Claude, 16.10.2026) */
.o74-abroad { margin-top:16px; border-top:1px solid var(--color-line); padding-top:12px; }
.o74-abroad > summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-weight:600; color:var(--color-navy); }
.o74-list { display:grid; gap:12px; margin:8px 0 0; }
.o74-list > div { display:grid; gap:2px; }
.o74-list dt { font-weight:600; }
.o74-list dd { margin:0; line-height:1.55; }
.o74-list a { color:var(--color-navy); font-weight:600; text-underline-offset:3px; }
.o74-note { margin:12px 0 0 !important; color:var(--color-muted); font-size:var(--text-meta); }
@media (min-width: 768px) { .o74-list { grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:24px; } }
/* 1e-74 pomoc za granicą: koniec */

/* 2f-online-pillar (Claude, 30.10.2026): research cards on /oferta/sesje-online. */
/* end 2f-online-pillar */

/* 2f-content (Claude, 30.10.2026): sections of the "nr 1" plan on service and approach pages. */
.f2-section .service-content > p, .f2-section .f2-note, .f2-section .f2-split__text > p { max-width: 62ch; }
.f2-section .service-list { font-size: inherit; }
/* Heading on the left, first paragraph on the right (as the home page sections). */
.f2-section .f2-head { display: grid; gap: 16px; }
.f2-section .f2-head > * { margin: 0; }
.f2-section .f2-head p { margin: 0; color: var(--color-navy); }
.f2-section .f2-head__side > p + p { margin-top: 14px; }
@media (min-width: 1024px) { .f2-section .f2-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: end; } }
/* Text beside a visual. */
.f2-section .f2-split { display: grid; gap: 32px; }
.f2-section .f2-split__text > * { margin: 0; }
.f2-section .f2-split__text > * + * { margin-top: 16px; }
.f2-section .f2-split__text > h2 { margin-top: 8px; }
@media (min-width: 1024px) { .f2-section .f2-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; } }
/* Research cards with a large figure. */
.f2-section .f2-evidence { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.f2-section .f2-evidence li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.f2-section .f2-evidence li > svg { display: none; }
.f2-section .f2-evidence--bento > li:first-child > svg { display: block; position: absolute; right: -50px; bottom: -50px; width: 280px; height: 280px; color: var(--color-rust); opacity: .12; pointer-events: none; }
.f2-section .f2-evidence li > * { margin: 0; }
.f2-section .f2-evidence h3 { font-size: 20px; line-height: 1.3; }
.f2-section .f2-evidence__kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-rust); }
.f2-section .f2-figure { font-family: var(--font-serif); font-weight: 500; font-size: clamp(44px, 4.4vw, 60px); line-height: 1; color: var(--color-navy); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; padding-bottom: 4px; }
.f2-section .f2-figure small { margin-left: 8px; font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.f2-section .f2-evidence li > .f2-evidence__src { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--color-line); font-size: 14px; color: var(--color-muted); }
.f2-section .f2-evidence__src a { color: inherit; }
@media (min-width: 900px) { .f2-section .f2-evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.f2-section .f2-note { margin: 32px 0 0; padding-left: 20px; border-left: 2px solid var(--color-coral); }
/* Navy card with numbered steps (as the free call on the home page). */
.f2-section .f2-steps { position: relative; overflow: hidden; list-style: none; margin: 0; padding: 32px 28px; display: grid; gap: 22px; background: var(--color-navy); color: var(--color-cream); border-radius: var(--radius-card); counter-reset: f2s; }
.f2-section .f2-steps li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; counter-increment: f2s; }
.f2-section .f2-steps li::before { content: counter(f2s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--color-cream); color: var(--color-navy); font-weight: 600; font-size: 15px; }
.f2-section .f2-steps li:last-of-type::before { background: var(--color-coral); color: var(--color-navy); }
.f2-section .f2-steps li:not(:last-of-type)::after { content: ''; position: absolute; left: 15.5px; top: 38px; bottom: -18px; width: 1px; background: rgba(255,255,255,.3); }
.f2-section .f2-steps b { color: var(--color-cream); font-weight: 600; }
.f2-section .f2-steps p { grid-column: 2; margin: 4px 0 0; color: #d9dde5; font-size: 15px; line-height: 1.55; }
.f2-section .f2-steps svg { position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; color: var(--color-pale-coral); opacity: .18; pointer-events: none; }
@media (min-width: 1024px) { .f2-section .f2-steps { padding: 40px 40px 44px; } }
/* Office cards with photos and the online card. */
.f2-section .f2-places { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .f2-section .f2-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .f2-section .f2-places { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.f2-section .f2-place { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: transform var(--duration-fast) var(--ease-calm); }
.f2-section .f2-place:hover { transform: translateY(-3px); }
.f2-section .f2-place img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.f2-section .f2-place__b { display: grid; gap: 6px; padding: 18px 20px 22px; }
.f2-section .f2-place__b > * { margin: 0; }
.f2-section .f2-place__name { font-family: var(--font-serif); font-size: 24px; font-weight: 500; line-height: 1.2; }
.f2-section .f2-place__name a { color: inherit; text-decoration: none; }
.f2-section .f2-place__name a::after { content: ''; position: absolute; inset: 0; }
.f2-section .f2-place__name a:focus-visible { outline: none; }
.f2-section .f2-place:focus-within { outline: 2px solid var(--color-navy); outline-offset: 3px; }
.f2-section .f2-place__addr { font-size: 15px; color: var(--color-muted); }
.f2-section .f2-place__hint { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--color-navy); }
.f2-section .f2-ic { flex: none; width: 18px; height: 18px; background: var(--color-rust); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.f2-section .f2-place--online { justify-content: space-between; padding: 26px 24px; background: var(--color-navy); color: var(--color-cream); }
.f2-section .f2-place--online .f2-place__name { color: var(--color-cream); font-size: 28px; }
.f2-section .f2-place--online .f2-place__name em { color: var(--color-pale-coral); }
.f2-section .f2-place--online ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #d9dde5; }
.f2-section .f2-place--online li { display: flex; align-items: center; gap: 10px; }
.f2-section .f2-place--online .f2-ic { background: var(--color-pale-coral); }
.f2-section .f2-place--online a { color: var(--color-cream); font-weight: 600; }
/* Coloured tiles with a line drawing (as the services on the home page). */
.f2-section .f2-tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .f2-section .f2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .f2-section .f2-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.f2-section .f2-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 132px; padding: 22px 24px; border-radius: 20px; background: var(--t-bg); color: var(--color-navy); }
.f2-section .f2-tile > * { margin: 0; }
.f2-section .f2-tile svg { position: absolute; z-index: -1; right: -34px; top: -38px; width: 140px; height: 140px; color: var(--t-ink); opacity: .45; pointer-events: none; }
.f2-section .f2-tile b { font-size: 18px; font-weight: 600; line-height: 1.35; }
.f2-section .f2-tile p { font-size: 15px; line-height: 1.55; }
.f2-section .f2-tile__figure { font-family: var(--font-serif); font-size: 36px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; color: var(--t-ink); }
.f2-section .f2-tile a { color: inherit; text-decoration: none; }
.f2-section .f2-tile a::after { content: ''; position: absolute; inset: 0; }
.f2-section .f2-tile:has(a) { transition: transform var(--duration-fast) var(--ease-calm); }
.f2-section .f2-tile:has(a):hover { transform: translateY(-3px); }
.f2-section .f2-tile:focus-within { outline: 2px solid var(--color-navy); outline-offset: 3px; }
.f2-section .f2-tile__go { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); font-size: 16px; }
/* Columns to compare. */
.f2-section .f2-compare { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .f2-section .f2-compare { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 20px; } }
.f2-section .f2-compare > li { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.f2-section .f2-compare > li > * { margin: 0; }
.f2-section .f2-compare h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.f2-section .f2-compare h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.f2-section .f2-compare ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.f2-section .f2-compare ul li { position: relative; padding-left: 18px; }
.f2-section .f2-compare ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-coral); }
.f2-section .f2-compare svg { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; color: var(--t-ink, var(--color-rust)); opacity: .35; pointer-events: none; }
.f2-section .f2-compare .f2-compare--accent { background: var(--color-navy); color: var(--color-cream); }
.f2-section .f2-compare .f2-compare--accent :is(h3, .f2-evidence__kicker) { color: var(--color-cream); }
.f2-section .f2-compare .f2-compare--accent ul li::before { background: var(--color-pale-coral); }
/* Editorial quote and photo. */
.f2-section .f2-quote { margin: 28px 0 0 !important; padding-left: 24px; border-left: 2px solid var(--color-coral); font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--color-navy); }
.f2-section .f2-photo { margin: 0; display: grid; gap: 24px; }
.f2-section .f2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
@media (min-width: 1024px) { .f2-section .f2-photo img { aspect-ratio: 5 / 6; } }
.f2-section .f2-photo figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-muted); }
.f2-section .f2-photo figcaption::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--color-coral); }
@media (prefers-reduced-motion: reduce) { .f2-section .f2-place, .f2-section .f2-tile { transition: none; } .f2-section .f2-place:hover, .f2-section .f2-tile:hover { transform: none; } }
/* Navy callout for the one sentence that matters most in a section. */
.f2-section .f2-callout { position: relative; margin: 32px 0 0; padding: 28px 32px 28px 56px; background: var(--color-navy); color: var(--color-cream); border-radius: var(--radius-card); }
.f2-section .f2-callout::before { content: ''; position: absolute; left: 30px; top: 37px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-coral); }
.f2-section .f2-callout p { margin: 0; max-width: 70ch; font-size: 17px; line-height: 1.6; color: var(--color-cream); }
.f2-section .f2-callout a { color: var(--color-cream); }
/* Bento: three research cards, the first one large (2026 layout). */
@media (min-width: 900px) {
  .f2-section .f2-evidence--bento:has(> li:nth-child(3):last-child) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .f2-section .f2-evidence--bento:has(> li:nth-child(3):last-child) > li:first-child { grid-row: span 2; padding: 36px; }
  .f2-section .f2-evidence--bento:has(> li:nth-child(3):last-child) > li:first-child .f2-figure { font-size: clamp(64px, 6.4vw, 104px); }
  .f2-section .f2-evidence--bento:has(> li:nth-child(3):last-child) > li:first-child h3 { font-size: 24px; }
}
/* Phones: cards slide sideways and the next one peeks in, so the page stays short. */
@media (max-width: 699px) {
  .f2-section :is(.f2-places, .f2-evidence) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 14px; margin-inline: -16px; padding: 6px 16px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .f2-section :is(.f2-places, .f2-evidence)::-webkit-scrollbar { display: none; }
  .f2-section :is(.f2-places, .f2-evidence) > li { flex: 0 0 84%; scroll-snap-align: start; }
}
/* The heading stays in place while the steps scroll past it. */
@media (min-width: 1024px) {
  .f2-section .f2-split:has(.f2-steps) { align-items: start; }
  .f2-section .f2-split:has(.f2-steps) .f2-split__text { position: sticky; top: 140px; }
}
/* Calm reveal on scroll, wider screens only (the phone carousels scroll sideways), never with reduced motion. */
@media (min-width: 700px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .f2-section :is(.f2-evidence > li, .f2-places > li, .f2-tiles > li, .f2-compare > li, .f2-steps, .f2-photo) {
      animation: f2-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes f2-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* end 2f-content */

/* 2f-polonia (Claude, 30.10.2026): crisis numbers on the Polonia pages. */
.f2-crisis { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.f2-crisis li { margin: 0; }
#pomoc-w-kryzysie .service-safety { background: #fff; }
.f2-hosts { display: flex; align-items: center; gap: 14px; margin-top: 28px; max-width: 46ch; }
.f2-hosts p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-navy); }
.f2-hosts__faces { flex: none; display: flex; }
.f2-hosts__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-cream); }
.f2-hosts__faces img + img { margin-left: -10px; }
.f2-crisis b { display: block; }
.f2-crisis a[href^="tel:"] { font-weight: 600; }
.f2-crisis small { display: block; margin-top: 2px; font-size: 14px; color: var(--color-muted); }
/* end 2f-polonia */

/* Nearest-slot bar on every specialist card (Claude, 23.10.2026, step 2e): compact 44 px version of the Umów wizytę bar. */
.slot-bar, .specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist), .o6-people .service-person__slot:not([hidden]), .lp-person__slot:not(.lp-person__slot--none):not([hidden]) {
  display:flex; align-items:center; gap:10px; min-height:44px; padding:4px 12px 4px 4px; border-radius:13px; background:#e2f1ea; color:#1d4c3f;
  font-size:14.5px; line-height:1.25; font-weight:600; text-decoration:none; }
.specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist)::before, .o6-people .service-person__slot:not([hidden])::before, .lp-person__slot:not(.lp-person__slot--none):not([hidden])::before {
  content:''; flex:none; width:36px; height:36px; margin:0; border-radius:10px; background:var(--color-white) url(/assets/icons/phosphor/regular/calendar-check.svg?v=94a43416ea) center/18px no-repeat; -webkit-mask:none; mask:none; }
.card-booking-slot__text { display:grid; gap:0; }
.card-booking-slot__label { font-size:11.5px; line-height:1.25; font-weight:500; color:#2f6b5c; }
.card-booking-slot__when { font-size:14.5px; line-height:1.3; font-weight:600; }
.specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist) { width:100%; }
.specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist)::after { content:'→'; margin-left:auto; font-weight:400; color:#2f6b5c; transition:transform .2s ease; }
.specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist):hover { background:#d3eadf; }
.specialist-card .card-booking-slot__link:not(.card-booking-slot__link--waitlist):hover::after { transform:translateX(3px); }
.o6-people .service-person__slot:not([hidden]) { flex:1 1 100%; }
@media (prefers-reduced-motion: reduce) { .specialist-card .card-booking-slot__link::after { transition:none; } }
/* Paweł, 23.10.2026: the bar always sits right above the card's bottom buttons, and the waiting-list message is a bar too
   (lavender, as on Umów wizytę). */
.specialist-card .card-booking-slot:not([hidden]), .specialist-card .card-booking-waitlist { margin-top:auto; margin-bottom:8px; }
.specialist-card .card-booking-slot:not([hidden]) + .specialist-card__actions, .specialist-card .card-booking-waitlist + .specialist-card__actions { margin-top:0; }
.specialist-card .card-booking-slot__link--waitlist { display:flex; align-items:center; width:100%; min-height:44px; padding:4px 12px; border-radius:13px; background:#f0ebf2; color:var(--color-navy); font-size:12.5px; line-height:1.35; }
.specialist-card .card-booking-slot__link--waitlist .card-booking-slot__waitlist-action { font-weight:600; }
.specialist-card .card-booking-waitlist { display:flex; align-items:center; min-height:44px; padding:4px 12px; border-radius:13px; background:#f0ebf2; font-size:13px; line-height:1.4; }
:is(.o6-people,.g4-people) .service-person .service-person__wait { background:#f0ebf2; }
.lp-person__slot--waitlist:not([hidden]) { padding:8px 12px; border-radius:13px; background:#f0ebf2; font-size:13.5px; font-weight:500; line-height:1.45; }
@media (max-width:767px) { .lp .lp-person__slot:not([hidden]) { order:0; width:100%; } }
/* Landing specialist cards (Paweł, 23.10.2026: "za mało nowoczesne"): the same card family as Umów wizytę, in a grid. */
.lp .lp-people { grid-template-columns:minmax(0,1fr); gap:14px; }
@media (min-width:640px) { .lp .lp-people { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (min-width:1024px) { .lp .lp-people { grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; } }
.lp .lp-people .lp-person { display:grid; grid-template-columns:84px minmax(0,1fr) auto; grid-template-rows:auto auto auto auto 1fr auto auto auto;
  grid-template-areas:"photo name name" "photo role role" "help help help" "meta meta meta" ". . ." "slot slot slot" "price price book" "profile profile book";
  column-gap:14px; row-gap:8px; align-items:start; padding:20px; border:1px solid #efe7dc; border-radius:26px; background:var(--color-white); box-shadow:0 12px 32px rgba(28,44,68,.06); }
.lp .lp-people .lp-person[hidden] { display:none; }
.lp .lp-people .lp-person__text, .lp .lp-people .lp-person__act { display:contents; }
.lp .lp-people .lp-person > img { grid-area:photo; align-self:start; width:84px; height:84px; border-radius:24px; object-fit:cover; object-position:50% 20%; }
.lp .lp-people .lp-person h3 { grid-area:name; align-self:end; margin:0; font-family:var(--font-sans); font-weight:600; font-size:20px; line-height:1.2; }
.lp .lp-people .lp-person__role { grid-area:role; align-self:start; margin:0; font-size:13px; line-height:1.4; font-weight:400; color:var(--color-muted); }
.lp .lp-people .lp-person__help { grid-area:help; margin:6px 0 0; font-size:13.5px; line-height:1.5; color:var(--color-navy); }
.lp .lp-person__help .b2e-topics__label { font-weight:600; color:var(--color-rust); }
.lp .lp-people .lp-person__meta { grid-area:meta; margin:0; font-size:13px; line-height:1.45; color:var(--color-muted); }
.lp .lp-people .lp-person__slot { grid-area:slot; flex-basis:auto; order:0; width:100%; margin:4px 0 0; }
.lp .lp-people .lp-person__slot[hidden] { display:none; }
.lp .lp-people .lp-person__price { grid-area:price; align-self:end; flex:none; margin:0; font-family:var(--font-sans); font-size:17px; font-weight:600; color:var(--color-navy); }
.lp .lp-people .lp-person__price span { font-size:13.5px; font-weight:400; }
.lp .lp-people .lp-person__book { grid-area:book; align-self:center; justify-self:end; flex:none; margin:4px 0 0; min-height:46px; padding:0 20px; }
.lp .lp-people .lp-person__profile { grid-area:profile; justify-self:start; padding:0; font-size:14px; font-weight:500; text-decoration:underline; text-decoration-color:var(--color-rust); text-underline-offset:3px; }
/* Service, topic, approach and office pages: the same "Pomaga m.in." line and places as the other cards (Paweł: the
   cards felt empty). */
:is(.o6-people,.g4-people) .service-person .service-person__profile:has(> .sp2e-help) { grid-template-rows:auto auto auto auto 1fr; }
:is(.o6-people,.g4-people) .service-person .service-person__profile > p:is(.sp2e-help,.sp2e-places) { grid-column:1 / -1; justify-self:stretch; align-self:start; margin:0; padding:0; border-radius:0; background:none; }
:is(.o6-people,.g4-people) .service-person .service-person__profile > p.sp2e-help { margin-top:12px; font-size:13.5px; line-height:1.5; color:var(--color-navy); }
:is(.o6-people,.g4-people) .service-person .service-person__profile > p.sp2e-places { display:flex; flex-wrap:wrap; gap:2px 14px; margin-top:6px; font-size:13px; line-height:1.5; color:var(--color-muted); }
.sp2e-help .b2e-topics__label { font-weight:600; color:var(--color-rust); }
.sp2e-places span { display:inline-flex; align-items:center; gap:5px; }
.sp2e-places span::before { content:''; width:15px; height:15px; background:var(--color-rust); -webkit-mask:var(--m) center/contain no-repeat; mask:var(--m) center/contain no-repeat; }
@media (max-width:639px) { .lp .lp-people .lp-person { grid-template-columns:72px minmax(0,1fr) auto; padding:18px; } .lp .lp-people .lp-person > img { width:72px; height:72px; border-radius:20px; } }

/* Site-wide vertical rhythm (Claude, 23.10.2026, step 2e). One section padding for every page. */
:root { --rhythm:48px; --rhythm-hero:40px; }
@media (min-width:768px) { :root { --rhythm:56px; --rhythm-hero:48px; } }
@media (min-width:1024px) { :root { --rhythm:72px; --rhythm-hero:56px; } }
html body main :is(.section, .service-section, .p1e.sec, .p1d-band, .w16-sec) { padding-block:var(--rhythm); }
html body main :is(.section, .service-section, .p1e.sec, .p1d-band, .w16-sec) > .container > :last-child { margin-bottom:0; }
html body main :is(.p1d-hero:not(.page-faq *, .page-pomoc-kryzysowa *), .page-intro.booking-paths, .g4-hero, .g4-ohero, .c5-hero, .f12-hero, .h13-hero, .w16-hero) { padding-bottom:var(--rhythm-hero); }
html body.profile-1e .p1e-hero.p1e-hero--supervisor { padding-bottom:24px; }
@media (max-width:767px) { html body main .service-page-nav { margin-top:16px; } }

/* 2f-polish (Claude, 30.10.2026): rhythm and legibility from the design audit (docs/dla-pawla/audyt-wygladu.md). */
/* Section padding closer to the system (88/72/64): 2e-rhythm cut it to 72/56/48 because same-coloured neighbours left
   up to 208 px of empty background. Neighbours now always differ, so sections get their air back; phones a bit less
   than the system's 64 px, because service pages there are already 18-28 screens long. */
:root { --rhythm:56px; --rhythm-hero:48px; }
@media (min-width:768px) { :root { --rhythm:72px; --rhythm-hero:56px; } }
@media (min-width:1024px) { :root { --rhythm:88px; --rhythm-hero:64px; } }
/* Legibility (measured on all pages, 30.10.2026): text people read in cards at least 15 px instead of 13-14.5 px,
   roles and chips one step up, and no label below 12 px (AGENTS.md). A floor over many page sheets loaded after this
   one, hence !important. */
html body .specialist-card__facts dt, html body .card-booking-slot__label, html body .b2-filters__label { font-size:12px !important; }
html body .service-person .sp2e-help, html body .service-person__wait p, html body .n2-tile small, html body .specialist-card__facts dd,
html body .fc2e .fc2e__step-text, html body .p1e-sup, html body .p1e-faces, html body .blog-editor p, html body .spt-free .spt-free__who { font-size:15px !important; }
html body .booking-card .b2e-topics, html body .p1e-note, html body .w16-by p, html body .spt-free__meta li { font-size:14.5px !important; }
html body .service-person__role, html body .specialist-card__role, html body .booking-card__role { font-size:14px !important; }
html body .service-person__profile > p:not([class]) { font-size:13.5px !important; }
/* Magazine list (audit point 2): „Możesz przyjść, kiedy…” as italic lines between hairlines instead of six shadow cards;
   about 40% shorter on phones and it reads like a conversation. */
html .o6 .service-when { display:grid; grid-template-columns:minmax(0, 1fr); gap:0; margin:28px 0 0; border-bottom:1px solid rgba(28,44,68,.14); }
@media (min-width:1024px) { html .o6 .service-when { grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:56px; } }
html .o6 .service-when li { display:flex; align-items:baseline; gap:14px; padding:18px 0; background:none; border:0; border-top:1px solid rgba(28,44,68,.14); border-radius:0; box-shadow:none; font:italic 400 21px/1.4 var(--font-serif); color:var(--color-navy); }
html .o6 .service-when li:hover { transform:none; box-shadow:none; }
html .o6 .service-when li::before { content:''; flex:none; width:8px; height:8px; margin:0; border-radius:50%; background:var(--color-coral); transform:translateY(-4px); }
/* Practical facts (audit point 11): one specification panel with hairline rows instead of a grid of separate cards. */
html body .service-practical { gap:0; padding:4px 28px; background:var(--color-white); border-radius:var(--radius-card); box-shadow:var(--shadow-card); }
@media (min-width:768px) { html body .service-practical { column-gap:48px; } }
html body .service-practical li { padding:20px 0; background:none; border-radius:0; box-shadow:none; border-top:1px solid rgba(28,44,68,.1); }
html body .service-practical li:first-child { border-top:0; }
@media (min-width:768px) { html body .service-practical li:nth-child(2) { border-top:0; } }
@media (max-width:699px) { html body .service-practical { padding:2px 20px; } html body .service-practical li { padding:16px 0; } }
/* Hubs as an editorial index (audit point 10): each family a title in Brygada beside a list of hairline rows with the
   topic colour and drawing, instead of a wall of equal cards. Trudności and Nurty share the .n2-family markup. */
html body .n2-family { padding-top:28px; border-top:1px solid rgba(28,44,68,.14); }
html body .n2-family h3 { font-family:var(--font-serif); font-weight:400; font-size:28px; line-height:1.2; }
html body .n2-family .n2-cards { grid-template-columns:minmax(0, 1fr); gap:0; margin-top:16px; }
html body .n2-family .n2-card { flex-direction:row; align-items:center; gap:16px; padding:14px 4px; border-radius:0; background:none; box-shadow:none; border-bottom:1px solid rgba(28,44,68,.12); }
html body .n2-family li:first-child .n2-card { border-top:1px solid rgba(28,44,68,.12); }
html body .n2-family .n2-card:hover { transform:none; box-shadow:none; background:rgba(255,255,255,.55); }
html body .n2-family .n2-card__band { flex:none; width:56px; height:56px; min-height:0; border-radius:14px; }
html body .n2-family .n2-card__band svg { right:-10px; top:-10px; width:76px; height:76px; }
html body .n2-family .n2-card__faces { display:none; }
html body .n2-family .n2-card__body { flex-direction:row; flex-wrap:wrap; align-items:baseline; column-gap:12px; row-gap:2px; padding:0; }
html body .n2-family .n2-card__body b { flex:1 1 220px; font-size:19px; }
html body .n2-family .n2-card__body span:not(.arrow) { flex:1 1 100%; order:3; font-size:15px; color:var(--color-muted); }
html body .n2-family .n2-card__body small { margin:0; padding:0; font-size:13.5px; }
@media (min-width:1024px) {
  html body .n2-family { display:grid; grid-template-columns:minmax(0, 4fr) minmax(0, 8fr); column-gap:56px; align-items:start; }
  html body .n2-family > h3, html body .n2-family > p { grid-column:1; }
  html body .n2-family .n2-cards { grid-column:2; grid-row:1 / span 3; margin-top:0; }
}
/* Phones (audit point 3): people and reading cards scroll sideways instead of stacking 6-12 cards (3-6 screens). */
@media (max-width:699px) {
  html .o6 .service-when li { padding:14px 0; font-size:19px; }
  html body .spt__panel .service-people, html body .r2e-arts { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:84%; gap:12px; margin-inline:-16px; padding:4px 16px 14px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:16px; scrollbar-width:none; }
  html body .spt__panel .service-people::-webkit-scrollbar, html body .r2e-arts::-webkit-scrollbar { display:none; }
  html body .spt__panel .service-people > *, html body .r2e-arts > * { scroll-snap-align:start; }
  html body .faq-more { margin-top:16px; }
  html body .t2-links__list, html body .n2-pills { flex-wrap:nowrap; overflow-x:auto; margin:0 -16px !important; padding:2px 16px 8px !important; scrollbar-width:none; }
  html body .t2-links__list::-webkit-scrollbar, html body .n2-pills::-webkit-scrollbar { display:none; }
  html body .t2-links__list > *, html body .n2-pills > * { flex:none; }
}
/* end 2f-polish */

/* Karty artykułów w sekcjach „Do przeczytania” na stronach trudności i usług (Claude, 27.10.2026, krok 2e-read-cards).
   Ten sam wzór co karty Wiedzy (wiedza-1e16.css) i strony głównej; telefon: rząd przesuwany palcem. */
.r2e-arts { display:grid; gap:16px; margin:6px 0 8px; padding:0; list-style:none; }
.r2e-arts .w16-card { position:relative; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; background:var(--color-white); color:var(--color-navy); text-decoration:none; box-shadow:0 18px 40px rgba(28,44,68,.08); transition:transform .25s, box-shadow .25s; }
.r2e-arts .w16-card:hover { transform:translateY(-4px); box-shadow:0 26px 54px rgba(28,44,68,.14); }
.r2e-arts .w16-card:focus-visible { outline:3px solid var(--color-navy); outline-offset:3px; }
.r2e-arts .w16-tcover { position:relative; overflow:hidden; min-height:184px; margin:10px 10px 0; padding:16px 18px 18px; border-radius:18px; background:var(--bg); display:flex; flex-direction:column; justify-content:space-between; gap:18px; }
.r2e-arts .w16-tcover > img { position:absolute; width:var(--w); height:auto; right:var(--x); top:var(--y); transform:rotate(var(--r)); opacity:.6; pointer-events:none; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.r2e-arts .w16-card:hover .w16-tcover > img { transform:rotate(var(--r)) scale(1.07) rotate(4deg); }
.r2e-arts .w16-chip { position:relative; align-self:flex-start; display:inline-flex; align-items:center; gap:8px; margin:0; padding:5px 12px; border-radius:999px; background:var(--color-white); color:var(--color-navy); font-size:13px; font-weight:600; line-height:1.2; }
.r2e-arts .w16-chip::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--ink); }
.r2e-arts .w16-tcover h3 { position:relative; margin:0; max-width:84%; font:500 21px/1.16 var(--font-serif); color:var(--color-navy); text-wrap:pretty; }
.r2e-arts .w16-tcover h3 em { color:var(--color-rust); }
.r2e-arts .w16-card__b { display:flex; flex-direction:column; gap:8px; flex:1; padding:14px 60px 22px 20px; }
.r2e-arts .w16-lead { font-size:15px; line-height:1.5; color:var(--color-muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.r2e-arts .w16-meta { margin:auto 0 0; font-size:13px; color:var(--color-muted); }
.r2e-arts .w16-go { position:absolute; right:18px; bottom:18px; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--color-sand); color:var(--color-navy); transition:transform .25s, background .25s; }
.r2e-arts .w16-card:hover .w16-go { transform:translateX(3px); background:var(--color-coral); }
@media (max-width:767px) {
  .r2e-arts { grid-auto-flow:column; grid-auto-columns:min(84%, 340px); overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:16px; margin-inline:-16px; padding:4px 16px 26px; scrollbar-width:none; }
  .r2e-arts::-webkit-scrollbar { display:none; }
  .r2e-arts > .w16-card { scroll-snap-align:start; }
  .r2e-arts:has(> .w16-card:only-child) { grid-auto-columns:100%; }
}
@media (min-width:768px) { .r2e-arts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } }
@media (min-width:1024px) { .r2e-arts { grid-template-columns:repeat(3,minmax(0,1fr)); } .r2e-arts--4 { grid-template-columns:repeat(4,minmax(0,1fr)); } .r2e-arts--4 .w16-tcover h3 { font-size:20px; max-width:92%; } }
@media (prefers-reduced-motion:reduce) {
  .r2e-arts .w16-card, .r2e-arts .w16-go, .r2e-arts .w16-tcover > img { transition:none; }
  .r2e-arts .w16-card:hover, .r2e-arts .w16-card:hover .w16-go, .r2e-arts .w16-card:hover .w16-tcover > img { transform:none; }
  .r2e-arts .w16-card:hover .w16-tcover > img { transform:rotate(var(--r)); }
}

/* 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; }
/* Reserve the SVG viewBox ratio before decoding; HTML width/height are legacy dimensions. */
.h20__logo img { width:136px; height:auto; aspect-ratio:1541 / 291.1; }

/* 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?v=a6eaa18b76) center/contain no-repeat; mask:url(/assets/icons/phosphor/regular/phone.svg?v=a6eaa18b76) 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; } }
/* 2b menu: Z czym możesz przyjść (Claude, 15.10.2026) */
.h20__panel a.h20__all { grid-column:1/-1; gap:10px; margin:0 0 4px; font-size:17px; font-weight:600; color:var(--color-navy); }
.h20__panel a.h20__all:hover { color:var(--color-navy); background:var(--color-cream); }
.h20__panel a.h20__all .arrow, .h20__panel a.h20__nurty-m .arrow, .h20__panel a.h20__nurty-all .arrow { color:var(--color-rust); }
.h20__panel a.h20__all[aria-current="page"] { color:var(--color-navy); }
.h20__panel .h20__nurty > summary, .h20__panel a.h20__nurty-m { font-size:17px; color:var(--color-navy); }
.h20__panel .h20__nurty > summary:hover, .h20__panel a.h20__nurty-m:hover { color:var(--color-navy); }
.h20__panel .h20__nurty > summary .h20__chev { color:var(--color-rust); }
.h20__panel a.h20__nurty-m[aria-current="page"] { color:var(--color-navy); box-shadow:inset 3px 0 0 var(--color-coral); }
.h20__panel a.h20__nurty-all { color:var(--color-navy); }
.h20__panel .h20__pfoot a { color:var(--color-rust); }
.h20__pfoot { justify-content:flex-start; }
/* Sticky header: with both lists open the panel can be taller than a laptop screen, so it scrolls inside. */
@media (min-width:1100px) { .h20__panel--help { max-height:calc(100vh - 110px); overflow-y:auto; overscroll-behavior:contain; } }
@media (max-width:1099px) {
  .h20__panel a.h20__all { margin:0 0 6px; font-size:17px; }
  .h20__pfoot { display:none; }
}
/* 2b menu: koniec */
/* 1e-71 menu: usługi zwinięte na telefonie (Claude, 15.10.2026) */
.h20__svc-label, .h20__svc-more { display:none; }
@media (min-width:1100px) { .h20__svc { display:contents; } }
@media (max-width:1099px) {
  .h20__svc-label { display:flex; align-items:center; gap:8px; margin:14px 0 2px !important; padding:0 4px; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--color-rust); }
  .h20__svc-label::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--color-coral); }
  html.js .h20__svc:not([data-open]) li:not(.h20__svc-top) { display:none; }
  .h20__svc-more { display:inline-flex; align-items:center; gap:6px; min-height:44px; margin:0 0 10px; padding:0 4px; border:0; border-radius:8px; background:none; font:inherit; font-size:15px; font-weight:500; line-height:1.3; color:var(--color-muted); cursor:pointer; }
  .h20__svc-more:hover { color:var(--color-navy); }
  .h20__svc-more .h20__chev { width:14px; height:14px; color:var(--color-rust); }
  .h20__svc-more-open, .h20__svc-more[aria-expanded="true"] .h20__svc-more-closed { display:none; }
  .h20__svc-more[aria-expanded="true"] .h20__svc-more-open { display:inline; }
  html:not(.js) .h20__svc-more { display:none; }
}
/* 1e-71 menu: koniec */
