/* Kancelaria Anna Fus – baza: układ i komponenty. Wygląd (kolory, kroje, motyw ciemny) ustawia style.css. */
:root {
  --bg: #fff; --bg-alt: #f6f2ed; --ink: #1d1718; --muted: #5f5658; --line: #e5ddd4;
  --brand: #751c21; --brand-2: #5c1419; --on-brand: #fff; --accent: #751c21;
  --surface: #fff; --t: var(--bg); --a: var(--brand);
  --f-head: "Playfair Display", Georgia, serif; --f-body: "Source Sans 3", system-ui, sans-serif;
  --w-head: 600; --h1: clamp(2.4rem, 4.6vw, 4rem); --h2: clamp(1.8rem, 3vw, 2.6rem); --h3: 1.25rem;
  --lh-head: 1.12; --track-head: -0.01em;
  --r: 4px; --r-btn: 2px; --r-img: 0;
  --wrap: 1200px; --pad: clamp(20px, 4vw, 40px); --sek: clamp(64px, 8vw, 112px);
  --cien: 0 1px 2px rgba(29, 23, 24, .05), 0 8px 24px rgba(29, 23, 24, .06);
  --gwiazdka: #e2a514; --logo-godlo: var(--brand);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: var(--w-head); line-height: var(--lh-head); letter-spacing: var(--track-head); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sek { padding-block: var(--sek); }
.sek--alt { background: var(--bg-alt); }
.sek__glowa { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.sek__glowa h2 { margin: 0; max-width: 22ch; }
.sek__glowa > p { margin: 0; max-width: 56ch; color: var(--muted); }
.sek__glowa--srodek { flex-direction: column; align-items: center; text-align: center; }
.sek__glowa--srodek h2 { max-width: 26ch; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.link-dalej { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-dalej:hover .strz, .kus:hover .strz { transform: translateX(3px); }
.strz { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.mini { width: 18px; height: 18px; flex: none; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--glowny { background: var(--brand); color: var(--on-brand); }
.btn--glowny:hover { background: var(--brand-2); }
.btn--drugi { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--drugi:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--obrys { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--obrys:hover { background: var(--brand); color: var(--on-brand); }
.btn--cichy { min-height: 44px; padding: 8px 12px; color: var(--ink); background: transparent; }
.btn--cichy:hover { color: var(--accent); }

/* gwiazdki i ikony */
.gwiazdki { display: inline-flex; gap: 2px; vertical-align: middle; }
.gwiazdki svg { width: 16px; height: 16px; fill: var(--gwiazdka); }
.ikona { width: 64px; height: 64px; stroke-width: 4.5; color: var(--ink); }
.ikona .a { stroke: var(--a); }
.ikona .f { fill: var(--t); }
.ikona text { stroke: none; fill: var(--a); font-family: var(--f-head); font-weight: 600; }
.ikona .znak { font-size: 64px; } .ikona .znak-m { font-size: 30px; } .ikona .znak-s { font-size: 17px; letter-spacing: 1px; font-family: var(--f-body); }

/* nagłówek */
.pasek { background: var(--brand); color: var(--on-brand); font-size: .875rem; }
.pasek__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.pasek a { text-decoration: none; }
.pasek a:hover { text-decoration: underline; }
.naglowek { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .25s, background-color .25s; }
.naglowek.przewiniety { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.naglowek__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.naglowek__logo { flex: none; color: var(--ink); }
.naglowek__logo .logo { width: 220px; height: auto; }
.nav { margin-left: auto; }
.nav__lista { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__lista > li > a, .nav__mega { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; text-decoration: none; font-weight: 500;
  background: none; border: 0; cursor: pointer; border-radius: var(--r); position: relative; }
.nav__mega svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__mega[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__lista > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__lista > li > a:hover::after, .nav__lista > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__akcje { display: flex; align-items: center; gap: 8px; flex: none; }
.ma-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.mega.otwarte { opacity: 1; visibility: visible; transform: none; }
.mega__in { max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding: 32px var(--pad) 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.mega__kol:last-of-type ul { columns: 2; column-gap: 32px; }
.mega__tyt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 7px 0; text-decoration: none; break-inside: avoid; }
.mega li a:hover { color: var(--accent); }
.mega__all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; padding-top: 12px; border-top: 1px solid var(--line); }
.nav__burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 16px; } .nav__burger span:nth-child(2) { top: 23px; } .nav__burger span:nth-child(3) { top: 30px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.hero__akcje { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__zaufanie { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.hero__plusy { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; }
.hero__plusy li { display: inline-flex; align-items: center; gap: 8px; }
.hero__plusy li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__plusy li:has(.gwiazdki)::before { display: none; }
.hero__img { width: 100%; object-fit: cover; }
.hero--podstrona { padding-top: 24px; }
.hero--podstrona h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: 20ch; }
.hero--waska .hero__lead { max-width: 60ch; }
.hero__motyw { display: grid; place-items: center; }
.hero__ik { width: min(320px, 70%); height: auto; stroke-width: 2.4; }
.hero__foto--mala { max-width: 420px; justify-self: end; }
[data-wejscie] .hero__tekst, [data-wejscie] .hero__in > *, [data-wejscie].wpis__glowa .wpis__glowa-in > * { animation: wejscie .8s var(--ease) both; }
[data-wejscie] .hero__in > *:nth-child(2) { animation-delay: .12s; }
@keyframes wejscie { from { opacity: 0; transform: translateY(14px); } }

.okruszki ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); }
.okruszki li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.okruszki a { text-decoration: none; }
.okruszki a:hover { color: var(--accent); text-decoration: underline; }
.okruszki li[aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* usługi */
.grupa + .grupa { margin-top: clamp(40px, 5vw, 64px); }
.grupa__tyt { font-family: var(--f-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.siatka-uslug { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.siatka-uslug--3 { grid-template-columns: repeat(3, 1fr); }
.kus { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.kus:hover { transform: translateY(-2px); box-shadow: var(--cien); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.kus__ik { width: 52px; height: 52px; margin-bottom: 6px; }
.kus__tyt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 1.2rem; line-height: 1.25; }
.kus__opis { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.kus__dalej { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--accent); }

/* kroki */
.kroki { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: k; }
.krok { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.krok__nr { display: block; font-family: var(--f-head); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.krok h3 { font-size: 1.2rem; }
.krok p { color: var(--muted); margin: 0; font-size: .98rem; }

/* opinie */
.opinie__suma { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); margin: 0; }
.opinie__suma a { color: var(--accent); }
.opinie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opinia { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 14px; }
.opinia blockquote { margin: 0; flex: 1; }
.opinia blockquote p { margin: 0; font-size: 1.02rem; }
.opinia figcaption { font-size: .88rem; color: var(--muted); }
.opinia--mala { padding: 22px; margin-top: 24px; }

/* koszty */
.koszty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.koszt { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.koszt__co { font-weight: 600; margin-bottom: 6px; }
.koszt__ile { font-family: var(--f-head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--accent); margin-bottom: 10px; }
.koszt__jak { color: var(--muted); margin: 0; font-size: .95rem; }
.koszty__plat { margin: 24px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.koszty__plat a { color: var(--accent); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }

/* casusoft */
.casus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.casus__tekst p { color: var(--muted); max-width: 52ch; }
.casus__okno { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); box-shadow: var(--cien); overflow: hidden; }
.casus__pasek { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.casus__pasek span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.casus__pasek em { margin-left: 10px; font-style: normal; font-size: .85rem; color: var(--muted); }
.casus__lista { list-style: none; padding: 8px; }
.casus__lista li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 14px; border-radius: var(--r); }
.casus__lista li + li { border-top: 1px solid var(--line); }
.casus__lista b { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.casus__lista span { grid-column: 1; font-weight: 500; }
.casus__lista i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: .85rem; color: var(--muted); }
.casus__lista .nowy { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.casus__lista .nowy b { color: var(--accent); }

/* wpisy */
.siatka-wpisow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.kwp[hidden] { display: none; }
.kwp__link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; height: 100%; }
.kwp__img { display: block; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 16 / 10; background: var(--bg-alt); margin-bottom: 8px; }
.kwp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kwp__link:hover .kwp__img img { transform: scale(1.03); }
.kwp__kat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.kwp__tyt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 1.2rem; line-height: 1.3; }
.kwp__link:hover .kwp__tyt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kwp__meta { font-size: .85rem; color: var(--muted); }
.wyroznik { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; margin-bottom: clamp(40px, 5vw, 64px); }
.wyroznik__img { display: block; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 16 / 10; }
.wyroznik__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.wyroznik:hover img { transform: scale(1.02); }
.wyroznik__tekst { display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.wyroznik__tyt { font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; color: var(--ink); }
.chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  text-decoration: none; cursor: pointer; font-size: .93rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filtry { margin-bottom: 32px; }

/* kontakt */
.kontakt { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.kontakt__lead { color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.dane { display: grid; gap: 18px; margin: 28px 0 0; }
.dane div { display: grid; gap: 2px; }
.dane dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dane dd { margin: 0; font-size: 1.05rem; }
.dane a { text-decoration: none; font-weight: 600; }
.dane a:hover { color: var(--accent); }
.formularz { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 2px); }
.formularz__tyt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 1.5rem; margin: 0 0 4px; }
.pole { display: grid; gap: 6px; }
.pole label { font-weight: 600; font-size: .93rem; }
.pole input, .pole select, .pole textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: var(--r);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.pole textarea { resize: vertical; min-height: 110px; }
.pole input:focus, .pole select:focus, .pole textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.pole textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.blad input, .blad textarea { border-color: #b3261e; }
.blad.zgoda span { color: #b3261e; }
.zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.zgoda input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.formularz .btn { justify-self: start; }
.formularz__info { margin: 0; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: .93rem; }
.formularz__uwaga { margin: 0; font-size: .82rem; color: var(--muted); }

.mapa { min-height: 320px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-alt); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 32px; }
.mapa p { margin: 0 0 6px; color: var(--muted); max-width: 46ch; }
.mapa .btn { margin-top: 12px; }
.mapa__link { margin-top: 8px; font-size: .9rem; color: var(--accent); }
.mapa--zaladowana { padding: 0; overflow: hidden; }
.mapa iframe { width: 100%; height: 420px; border: 0; }

/* podstrona usługi */
.dwie { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.lista-ptaszki { list-style: none; display: grid; gap: 12px; }
.lista-ptaszki li { position: relative; padding-left: 34px; }
.lista-ptaszki li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); }
.lista-ptaszki li::after { content: ""; position: absolute; left: 6px; top: calc(.28em + 5px); width: 8px; height: 5px; border: 2px solid var(--on-brand); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.wazne { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.wazne__tyt { font-size: 1.4rem; }
.wazne dl { margin: 0; display: grid; gap: 18px; }
.wazne__p { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.wazne dt { font-weight: 700; color: var(--accent); }
.wazne dd { margin: 0; color: var(--muted); }
.zakres { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zakres li { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.zakres h3 { font-size: 1.15rem; }
.zakres p { margin: 0; color: var(--muted); font-size: .97rem; }
.artykul { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.artykul__bok { position: sticky; top: 110px; }
.ramka-dok { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ramka-dok h2 { font-size: 1.3rem; }
.ramka-dok__uwaga { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.kto { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kto__img { width: 100%; border-radius: var(--r-img); }
.kto__tekst > p { color: var(--muted); max-width: 60ch; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq .sek__glowa { margin: 0; }
.faq__p { border-top: 1px solid var(--line); }
.faq__p:last-child { border-bottom: 1px solid var(--line); }
.faq__p summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; }
.faq__p summary::-webkit-details-marker { display: none; }
.faq__p summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .25s; flex: none; }
.faq__p[open] summary::after { transform: rotate(45deg); }
.faq__o { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }
.faq__o p { margin: 0; }

/* proza (wpisy, usługi) */
.proza { max-width: 70ch; font-size: 1.09rem; line-height: 1.75; }
.proza--waska { margin-inline: auto; }
.proza h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 2em; scroll-margin-top: 110px; }
.proza h2:first-child { margin-top: 0; }
.proza h3 { font-size: 1.25rem; margin-top: 1.6em; scroll-margin-top: 110px; }
.proza ul, .proza ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.proza li { margin-bottom: .45em; }
.proza li::marker { color: var(--accent); }
.proza strong { font-weight: 650; }
.proza a { color: var(--accent); }
.proza table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; display: block; overflow-x: auto; }
.proza th, .proza td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.proza blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--accent); }

/* wpis */
.wpis__glowa { padding-block: 24px clamp(40px, 5vw, 64px); }
.wpis__glowa-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.wpis__glowa h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 22ch; }
.wpis__meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .93rem; margin: 20px 0 0; line-height: 1.45; }
.wpis__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.wpis__meta a { font-weight: 600; color: var(--ink); }
.wpis__okladka { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 16 / 10; }
.wpis__okladka img { width: 100%; height: 100%; object-fit: cover; }
.wpis__uklad { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px) var(--sek); }
.wpis__spis { position: sticky; top: 110px; align-self: start; font-size: .93rem; }
.wpis__spis summary { font-weight: 700; cursor: pointer; margin-bottom: 12px; list-style: none; }
.wpis__spis summary::-webkit-details-marker { display: none; }
.wpis__spis ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.wpis__spis a { display: block; padding: 6px 0 6px 14px; text-decoration: none; color: var(--muted); line-height: 1.35; margin-left: -1px; border-left: 2px solid transparent; }
.wpis__spis a:hover { color: var(--accent); border-left-color: var(--accent); }
.ramka-usluga { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin: 2em 0; padding: 26px; border-radius: var(--r); background: var(--bg-alt); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.ramka-usluga__ik { width: 72px; height: 72px; }
.ramka-usluga__tyt { font-family: var(--f-head); font-weight: var(--w-head); font-size: 1.25rem; margin-bottom: 6px; }
.ramka-usluga__akcje { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ramka-usluga__akcje .btn--drugi { min-height: 44px; padding: 8px 18px; }
.ramka-usluga a { color: inherit; text-decoration: none; }
.autor { display: grid; grid-template-columns: 88px 1fr; gap: 20px; margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--line); font-size: .97rem; line-height: 1.6; }
.autor img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.autor__kto { font-weight: 700; margin-bottom: 4px; }
.autor p { color: var(--muted); }
.autor a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }

/* o mnie, fakty */
.omnie { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.omnie__img { width: 100%; border-radius: var(--r-img); }
.omnie__tekst > p { color: var(--muted); max-width: 60ch; }
.fakty { list-style: none; display: grid; gap: 14px; margin: 28px 0 32px; }
.fakty li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.fakty b { font-family: var(--f-head); font-size: 1.35rem; color: var(--accent); }

/* stopka */
.stopka { background: #151213; color: #d9d0c7; padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .95rem; --line: rgba(255, 255, 255, .12); }
.stopka a { text-decoration: none; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka__siatka { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.stopka__logo { display: block; color: #f3ece4; margin-bottom: 20px; }
.stopka__logo .logo { width: 240px; }
.stopka__o p { max-width: 36ch; color: #b8ada3; }
.stopka__kontakt { font-family: var(--f-head); font-size: 1.25rem; color: #f3ece4 !important; }
.stopka__tyt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #8f847b; margin: 0 0 14px; font-weight: 600; }
.stopka ul { list-style: none; display: grid; gap: 8px; margin-bottom: 28px; }
.stopka__dol { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: #8f847b; font-size: .85rem; }
.pasek-mobilny { display: none; }

/* responsywność */
@media (max-width: 1100px) {
  .nav__lista > li > a, .nav__mega { padding-inline: 10px; }
  .naglowek__logo .logo { width: 190px; }
  .kroki { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }
  .naglowek__in { min-height: 72px; gap: 12px; }
  .nav__burger { display: block; }
  .nav__akcje { display: none; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 16px var(--pad) 120px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; margin: 0; }
  .menu-otwarte .nav { transform: none; visibility: visible; }
  .menu-otwarte { overflow: hidden; }
  .nav__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__lista > li { border-bottom: 1px solid var(--line); }
  .nav__lista > li > a, .nav__mega { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.15rem; padding-inline: 0; }
  .nav__lista > li > a::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .mega.otwarte { display: block; }
  .mega__in { grid-template-columns: 1fr; padding: 0 0 16px; gap: 16px; }
  .mega__kol:last-of-type ul { columns: 1; }
  .hero__in, .casus, .kontakt, .dwie, .omnie, .kto, .faq, .artykul, .wyroznik { grid-template-columns: 1fr; }
  .hero__foto, .hero__motyw { order: -1; }
  .hero--podstrona .hero__motyw { display: none; }
  .artykul__bok { position: static; }
  .opinie, .koszty, .zakres, .siatka-wpisow, .siatka-uslug--3 { grid-template-columns: 1fr 1fr; }
  .wpis__uklad, .wpis__glowa-in { grid-template-columns: 1fr; }
  .wpis__spis { position: static; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); }
  .wpis__spis summary { margin: 0; }
  .wpis__spis details[open] summary { margin-bottom: 12px; }
  .stopka__siatka { grid-template-columns: 1fr 1fr; }
  .pasek { display: none; }
  .pasek-mobilny { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
  .pasek-mobilny a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; text-decoration: none; }
  .pasek-mobilny a:last-child { background: var(--brand); color: var(--on-brand); }
  body { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .opinie, .koszty, .zakres, .siatka-wpisow, .siatka-uslug--3, .kroki, .stopka__siatka { grid-template-columns: 1fr; }
  .siatka-uslug { grid-template-columns: 1fr; }
  .hero__akcje .btn { flex: 1 1 100%; }
  .naglowek__logo .logo { width: 170px; }
  .ramka-usluga { grid-template-columns: 1fr; }
  .proza { font-size: 1.03rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.sek__glowa > .eyebrow { flex-basis: 100%; max-width: none; margin-bottom: -4px; color: var(--accent); }
