/* Kancelaria Adwokacka Sygnet — wspólny arkusz wszystkich podstron.
   Kierunek: papier kancelaryjny. Kremowy papier, granatowy atrament, bordowy lak pieczęci,
   cienkie linie i układ jak w dobrze złożonym piśmie: lewy margines z numerem paragrafu, treść po prawej. */

:root {
  --paper: #f5f1ea;
  --paper-2: #ece6da;
  --card: #fbf9f4;
  --ink: #1f2a44;
  --ink-2: #162036;
  --ink-soft: #465066;
  --muted: #646b7d;
  --seal: #8c2f39;
  --seal-dark: #74242e;
  --rose: #e9c9c4;
  --line: rgba(31, 42, 68, .14);
  --line-strong: rgba(31, 42, 68, .3);
  --line-dark: rgba(245, 241, 234, .16);
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --colgap: clamp(24px, 4vw, 64px);
  --hdr: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: 0; color: var(--ink); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografia pomocnicza ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--seal);
}
.eyebrow::before { content: ""; flex: 0 0 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 38em; }
.h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; }
.h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.2; font-weight: 400; }
.small { font-size: 14px; color: var(--muted); }
.note { font-size: 14.5px; color: var(--muted); border-left: 2px solid var(--seal); padding: 2px 0 2px 16px; max-width: 46em; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1.3 var(--sans); color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: color .2s, border-color .2s, gap .2s;
}
.link:hover { color: var(--seal); border-color: var(--seal); gap: 14px; }
.arrow { display: inline-block; transition: transform .25s; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 0;
  font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-align: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--seal); border-color: var(--seal); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--seal); border-color: var(--seal); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(245, 241, 234, .4); }
.btn--line-light:hover { background: transparent; border-color: var(--rose); color: var(--rose); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- pasek informacyjny i nagłówek ---------- */
.topbar { background: var(--ink); color: #d6d9e1; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar__info span + span::before { content: "·"; margin: 0 10px; color: rgba(214, 217, 225, .5); }
.topbar__contact { display: flex; gap: 22px; }
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { color: var(--rose); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 241, 234, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(245, 241, 234, .98); box-shadow: 0 10px 30px -24px rgba(31, 42, 68, .55); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); transition: height .3s; }
.is-scrolled .masthead { height: 68px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 50px; width: auto; transition: height .3s; }
.is-scrolled .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav__list a {
  display: block; padding: 6px 0;
  font: 500 15px/1.3 var(--sans); color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__list a:hover { color: var(--seal); }
.nav__list a[aria-current="page"] { color: var(--seal); border-bottom-color: var(--seal); }
.nav__extra { display: none; }
.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 28px; }
.menu-open .nav-toggle span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }

/* ---------- strona główna: hero ---------- */
.hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: var(--colgap); align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.06; max-width: 13em; margin-bottom: 28px; }
.hero .lead { margin-bottom: 34px; }
.hero__media { position: relative; margin: 0; min-height: 100%; }
.hero__media img { width: 100%; height: 100%; min-height: 440px; max-height: 560px; object-fit: cover; object-position: 80% 50%; }
.hero__caption { position: absolute; left: 0; bottom: 0; }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--line-strong);
}
.fact { padding: 20px 24px 6px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact dt { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--seal); margin-bottom: 8px; }
.fact dd { margin: 0; font: 400 1.13rem/1.4 var(--serif); color: var(--ink); }

/* ---------- sekcje „paragrafowe” ---------- */
.sec { padding: clamp(80px, 9vw, 128px) 0; }
.sec--tight { padding-top: clamp(48px, 6vw, 80px); }
.sec--paper2 { background: var(--paper-2); }
.sec__head {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--colgap);
  border-top: 1px solid var(--line-strong); padding-top: 24px; margin-bottom: clamp(40px, 5vw, 64px);
}
.sec__mark { font: 400 15px/1.4 var(--serif); color: var(--seal); }
.sec__mark b { display: block; margin-top: 4px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec__title p { margin: 18px 0 0; }
.cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--colgap); }
.cols__side { font-size: 15px; color: var(--muted); }

/* rejestr specjalizacji */
.ledger { border-top: 1px solid var(--line); counter-reset: led; }
.ledger li { border-bottom: 1px solid var(--line); }
.ledger__row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4.4fr) 40px; gap: var(--colgap);
  align-items: baseline; padding: 28px 0;
}
.ledger__row::before { content: ""; position: absolute; inset: 0 -16px; background: var(--card); opacity: 0; transition: opacity .25s; z-index: -1; }
.ledger__row:hover::before { opacity: 1; }
.ledger__no { font: 400 15px/1 var(--serif); color: var(--seal); }
.ledger__title { font: 300 clamp(1.55rem, 2.3vw, 2.05rem)/1.15 var(--serif); transition: color .2s; }
.ledger__desc { font-size: 15.5px; color: var(--ink-soft); }
.ledger__desc small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.ledger__arrow { justify-self: end; font-size: 20px; color: var(--seal); transition: transform .25s; }
.ledger__row:hover .ledger__title { color: var(--seal); }
.ledger__row:hover .ledger__arrow { transform: translateX(4px); }

/* sytuacje → dziedziny */
.situations { margin-top: clamp(48px, 6vw, 72px); }
.situations h3 { font-size: 1.45rem; font-weight: 400; margin-bottom: 8px; }
.situations > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 9px 16px;
  border: 1px solid var(--line-strong); background: var(--card);
  font-size: 15px; line-height: 1.3; color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.chips a span { color: var(--muted); font-size: 13px; transition: color .2s; }
.chips a:hover { border-color: var(--seal); color: var(--seal); }
.chips a:hover span { color: var(--seal); }

/* pierwsze spotkanie */
.meeting { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4.6fr) minmax(0, 4.4fr); gap: var(--colgap); align-items: start; }
.meeting__media { grid-column: 1 / 3; margin: 0; }
.meeting__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps { counter-reset: st; }
.steps li { position: relative; padding: 0 0 26px 56px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.steps li:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.steps li::before {
  counter-increment: st; content: counter(st, upper-roman) ".";
  position: absolute; left: 0; top: -2px;
  font: 400 1.35rem/1.2 var(--serif); color: var(--seal);
}
.steps h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.25; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.fee {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: baseline;
  margin-top: 34px; padding: 22px 24px; border: 1px solid var(--line-strong); background: var(--card);
}
.fee__amount { font: 300 2.4rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.fee__amount small { font: 500 14px/1 var(--sans); color: var(--muted); margin-left: 4px; }
.fee__text { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* zespół — karty z monogramem */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--colgap); }
.person { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.monogram {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; border-radius: 50%;
  border: 1.5px solid var(--seal); color: var(--seal);
  font: 400 1.65rem/1 var(--serif); letter-spacing: .04em;
}
.monogram::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(140, 47, 57, .45); }
.monogram--lg { width: 128px; height: 128px; font-size: 2.3rem; }
.monogram--lg::after { inset: 7px; }
.person__role { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--seal); margin: 0; }
.person h3 { font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
.person dl { margin: 0; font-size: 15px; }
.person dt { color: var(--muted); font-size: 13px; margin-top: 10px; }
.person dd { margin: 2px 0 0; color: var(--ink-soft); }
.person .link { align-self: flex-start; margin-top: auto; }

/* ciemny pas */
.band { background: var(--ink); color: #e4e1da; }
.band h2, .band h3 { color: var(--paper); }
.band .eyebrow { color: var(--rose); }
.band .lead { color: #c9ccd5; }
.band__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--colgap); align-items: center; }
.band__media { margin: 0; }
.band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.band__text { padding: clamp(8px, 2vw, 24px) 0; }
.band__text .h2 { margin-bottom: 22px; }
.band__price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 30px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.band__price strong { font: 300 2.2rem/1 var(--serif); color: var(--paper); }
.band__price span { font-size: 14.5px; color: #b9bdc8; }

/* artykuły — zajawki */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--colgap); }
.teaser { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.teaser__no { font: 400 15px/1 var(--serif); color: var(--seal); }
.teaser h3 { font-size: 1.45rem; font-weight: 400; line-height: 1.25; transition: color .2s; }
.teaser p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.teaser .link { align-self: flex-start; margin-top: auto; }
.teaser:hover h3 { color: var(--seal); }

/* kontakt na stronie głównej */
.contact-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--colgap); align-items: start; }
.contact-card__phone { display: inline-block; font: 300 clamp(1.8rem, 3vw, 2.5rem)/1.15 var(--serif); color: var(--ink); white-space: nowrap; transition: color .2s; }
.contact-card__phone:hover, .contact-card__mail:hover { color: var(--seal); }
.contact-card__mail { display: inline-block; margin-top: 8px; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); overflow-wrap: anywhere; transition: color .2s; }
.contact-card .btns { margin-top: 30px; }
.datalist { margin: 0; font-size: 15.5px; }
.datalist div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.datalist div:first-child { padding-top: 0; }
.datalist dt { color: var(--muted); font-size: 14px; }
.datalist dd { margin: 0; color: var(--ink); }
.stamp { width: 100%; max-width: 230px; justify-self: end; color: var(--seal); }
.stamp text { font: 600 11.6px var(--sans); letter-spacing: 3px; fill: currentColor; }

/* ---------- nagłówki podstron ---------- */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--colgap); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; font-size: 13.5px; color: var(--muted); }
.crumbs a { border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.crumbs a:hover { color: var(--seal); border-color: var(--seal); }
.crumbs span[aria-hidden] { color: var(--line-strong); }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.06; margin-bottom: 24px; }
.page-head .lead { margin: 0; }
.page-head__media { margin: 0; }
.page-head .stamp { max-width: 210px; align-self: center; }
.page-head__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- specjalizacje ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--colgap); align-items: start; }
.toc { position: sticky; top: 104px; }
.toc p { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.toc a span { font-family: var(--serif); color: var(--seal); min-width: 22px; }
.toc a:hover, .toc a.is-active { color: var(--seal); }
.area { padding: 0 0 clamp(56px, 7vw, 88px); margin-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.area:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.area__no { font: 400 15px/1 var(--serif); color: var(--seal); margin-bottom: 14px; }
.area h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.1; margin-bottom: 18px; }
.area__intro { font-size: 1.08rem; color: var(--ink-soft); max-width: 40em; }
.area__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--colgap); margin-top: 30px; align-items: start; }
.area h3 { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ticks li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 1px; background: var(--seal); }
.who { padding: 22px; background: var(--card); border: 1px solid var(--line); }
.who__person { display: flex; align-items: center; gap: 14px; }
.who__person + .who__person { margin-top: 14px; }
.who .monogram { width: 52px; height: 52px; font-size: 1rem; flex: 0 0 auto; }
.who .monogram::after { inset: 3px; }
.who__person strong { display: block; font: 400 1.1rem/1.25 var(--serif); }
.who__person span { font-size: 13.5px; color: var(--muted); }
.who p { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- zespół (podstrona) ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--colgap); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line-strong); }
.profile:first-child { border-top: 0; padding-top: 0; }
.profile h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.1; margin: 6px 0 22px; }
.profile__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--colgap); }
.profile__grid h3 { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.profile__grid p { margin: 0; }
.profile .ticks li { font-size: 15.5px; }

/* ---------- zasady współpracy ---------- */
.rule { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--colgap); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-strong); }
.rule:first-child { border-top: 0; padding-top: 0; }
.rule h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.12; margin-bottom: 20px; }
.rule__body > p { max-width: 42em; color: var(--ink-soft); }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 0; border: 1px solid var(--line-strong); background: var(--card); }
.terms div { padding: 20px 22px; border-left: 1px solid var(--line); }
.terms div:first-child { border-left: 0; }
.terms--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.terms dt { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--seal); margin-bottom: 8px; }
.terms dd { margin: 0; font: 400 1.2rem/1.35 var(--serif); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--colgap); margin-top: 24px; }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px;
  border: 1px solid var(--seal); border-radius: 50%;
}
.checklist li::after { content: ""; position: absolute; left: 6px; top: 21px; width: 6px; height: 9px; border: solid var(--seal); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--colgap); margin-top: 28px; }
.option { padding: 26px; border: 1px solid var(--line-strong); background: var(--card); }
.option h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 10px; }
.option p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.split-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--colgap); align-items: center; margin-top: 28px; }
.split-media figure { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font: inherit; }
.faq__q {
  position: relative; display: block; width: 100%; padding: 22px 48px 22px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 400 1.2rem/1.35 var(--serif); color: var(--ink); transition: color .2s;
}
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.6rem/1 var(--sans); color: var(--seal); transition: transform .25s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--seal); }
.faq__a p { margin: 0 0 22px; max-width: 44em; color: var(--ink-soft); }
.no-js .faq__a[hidden] { display: block; }

/* ---------- artykuły ---------- */
.index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--colgap); border-top: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 1.15rem/1.35 var(--serif); transition: color .2s; }
.index-list a span:first-child { font-size: 15px; color: var(--seal); }
.index-list a span:last-child { color: var(--seal); transition: transform .25s; }
.index-list a:hover { color: var(--seal); }
.index-list a:hover span:last-child { transform: translateY(3px); }
.article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: var(--colgap); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-strong); }
.article__meta { font-size: 14px; color: var(--muted); }
.article__meta b { display: block; font: 400 15px/1.4 var(--serif); color: var(--seal); margin-bottom: 6px; }
.article h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; margin-bottom: 22px; }
.article h3 { font-size: 1.3rem; font-weight: 400; margin: 30px 0 10px; }
.article p, .article li { color: var(--ink-soft); }
.article ul { margin: 0 0 1em; }
.article ul li { position: relative; padding: 4px 0 4px 22px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 1px; background: var(--seal); }
.article .note { margin-top: 30px; }
.article .lead { color: var(--ink); }
.back-top { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.back-top:hover { color: var(--seal); border-color: var(--seal); }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--colgap); align-items: start; }
.contact-data h2 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.contact-data .datalist div { grid-template-columns: 130px minmax(0, 1fr); }
.contact-data .datalist a { border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.contact-data .datalist a:hover { color: var(--seal); border-color: var(--seal); }
.contact-data figure { margin: 36px 0 0; }
.contact-data figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.form { padding: clamp(24px, 3.5vw, 44px); background: var(--card); border: 1px solid var(--line-strong); }
.form h2 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.form > p { color: var(--ink-soft); font-size: 15.5px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font: 600 13px/1.3 var(--sans); letter-spacing: .04em; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--seal) 50%), linear-gradient(135deg, var(--seal) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form__warn { display: flex; gap: 14px; margin: 4px 0 22px; padding: 16px 18px; background: var(--paper-2); font-size: 14.5px; color: var(--ink); }
.form__warn svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--seal); margin-top: 1px; }
.form__warn p { margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; font-size: 14px; color: var(--ink-soft); }
.check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--seal); }

/* ---------- stopka ---------- */
.site-footer { background: var(--ink-2); color: #c3c7d1; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: var(--colgap); padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px); }
.footer__brand img { height: 54px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 24em; font-size: 14.5px; color: #a9aebb; }
.site-footer h2 { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 6px 0 16px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #e9e6df; transition: color .2s; }
.site-footer a:hover { color: var(--rose); }
.footer__list li { padding: 3px 0; }
.footer__legal { padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: #9ba1b0; }
.footer__legal p { margin: 0; max-width: 60em; }
.footer__bar { border-top: 1px solid var(--line-dark); }
.footer__bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: #9ba1b0; }
.footer__bar p { margin: 0; }
.wbm-credit { color: #c3c7d1; }
.wbm-credit span { color: var(--rose); }
.wbm-credit a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.wbm-credit a:hover { color: var(--rose); border-color: var(--rose); }

/* ---------- animacje wejścia ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsywność ---------- */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-card .stamp { display: none; }
}

@media (max-width: 1079px) {
  .topbar__info { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .nav-toggle { display: block; }
  /* backdrop-filter tworzy blok zawierający dla position:fixed — na mobile wyłączony, żeby panel menu liczył się od okna */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 120px); bottom: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 12px var(--gut) 32px; background: var(--paper); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { padding: 16px 0; font: 300 1.75rem/1.2 var(--serif); border-bottom: 0; }
  .nav__list a[aria-current="page"] { border-bottom: 0; }
  .nav__list a[aria-current="page"]::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 12px; border-radius: 50%; background: var(--seal); vertical-align: middle; }
  .nav .btn { margin-top: 28px; }
  .nav__extra { display: block; margin-top: 26px; font-size: 15px; color: var(--ink-soft); }
  .nav__extra p { margin: 0 0 6px; }
  .nav__extra a { border-bottom: 1px solid var(--line-strong); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: -1; }
  .hero__media img { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 20px 18px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .sec__head, .cols, .practice, .profile, .rule, .page-head__grid { grid-template-columns: 1fr; }
  .sec__head { gap: 14px; }
  .ledger__row { grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 6px 16px; }
  .ledger__no { grid-row: 1 / 3; }
  .ledger__title { grid-column: 2; }
  .ledger__desc { grid-column: 2; }
  .ledger__arrow { grid-column: 3; grid-row: 1; }
  .meeting { grid-template-columns: 1fr; }
  .meeting__media { grid-column: auto; }
  .team, .teasers { grid-template-columns: 1fr; gap: 40px; }
  .band__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .area__grid { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 18px; }
  .article__aside { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-head__media img { aspect-ratio: 16 / 9; }
  .page-head .stamp { display: none; }
  .split-media { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__contact { gap: 16px; }
  .terms { grid-template-columns: 1fr; }
  .terms div { border-left: 0; border-top: 1px solid var(--line); }
  .terms div:first-child { border-top: 0; }
  .terms--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms--2 div + div { border-top: 0; border-left: 1px solid var(--line); }
  .checklist, .options, .index-list, .profile__grid, .form__row { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .toc ul { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .masthead { height: 72px; }
  .brand img { height: 42px; }
  .is-scrolled .brand img { height: 38px; }
  .topbar__mail { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding-left: 0; border-left: 0; }
  .fee { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
  .datalist div, .contact-data .datalist div { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- drobne odstępy ---------- */
.btns--mt { margin-top: 32px; }
.mt { margin-top: 28px; }
.mb { margin-bottom: 30px; }
