/* Fonty hostowane lokalnie: Fraunces (zmienny, 300-600) i Instrument Sans (400-700). */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrumentsans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrumentsans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Kancelaria Adwokacka adw. Błażej Janiczak - main.css
   Źródło projektu: Claude Design (Main.dc.html), zaakceptowany 2026-11-06.
   Kolejność: zmienne, reset, układ i linia marginesu, typografia, przyciski,
   formularz, sekcje, ruch, nagłówek i stopka, responsywność, utility.
   ========================================================================== */

/* 1. Zmienne ------------------------------------------------------------- */
:root {
  --c-brand: #1e4d3a;
  --c-brand-deep: #12301f;
  --c-bg: #f4f0e6;
  --c-panel: #fbf9f4;
  --c-ink: #1b2420;
  --c-ink-2: #4d5650;
  --c-on-dark: #f4f0e6;
  --c-on-dark-2: #b7c4bc;
  --c-border: #7d847f;
  --c-field: #ffffff;
  --c-placeholder: #b9b9b4;
  --c-error: #5b2f2a;
  --c-rule: rgba(27, 36, 32, 0.16);
  --c-rule-2: rgba(27, 36, 32, 0.2);
  --c-rule-3: rgba(27, 36, 32, 0.24);
  --c-rule-dark: rgba(244, 240, 230, 0.3);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --gutter: clamp(44px, 13vw, 200px);
  --pad-x: clamp(20px, 4vw, 72px);
  --pad-hero: clamp(56px, 8vw, 124px);
  --pad-std: clamp(72px, 9vw, 140px);
  --pad-xl: clamp(104px, 14vw, 224px);
  --pad-page-bottom: clamp(48px, 6vw, 96px);

  --t-h2: clamp(2.5rem, 5vw, 4.75rem);
  --t-h2-sm: clamp(2rem, 3.6vw, 3.25rem);
  --t-h1: clamp(4rem, 12vw, 11rem);
  --t-page: clamp(2.75rem, 7.4vw, 6.75rem);

  --ease-line: cubic-bezier(0.2, 0.6, 0.3, 1);
  --ease-row: cubic-bezier(0.3, 0.7, 0.2, 1);
}

/* 2. Reset i baza -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:where(a) {
  color: var(--c-brand);
}

:where(a:hover) {
  color: var(--c-brand-deep);
}

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
}

.sec--dark :focus-visible {
  outline-color: var(--c-on-dark);
}

[hidden] {
  display: none !important;
}

dl,
dd,
ul,
ol,
p,
h1,
h2,
h3 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* 3. Uklad: strona i sekcja z linia marginesu ---------------------------- */
.page {
  position: relative;
  overflow-x: clip;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
}

.sec {
  --pad: var(--pad-std);
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  background: var(--c-bg);
  color: var(--c-ink);
}

.sec--panel {
  background: var(--c-panel);
}

.sec--dark {
  background: var(--c-brand-deep);
  color: var(--c-on-dark);
}

.sec--border {
  border-top: 1px solid var(--c-rule);
}

.sec--pad-hero,
.sec--pad-page {
  --pad: var(--pad-hero);
}

.sec--pad-xl {
  --pad: var(--pad-xl);
}

.sec__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--gutter);
  z-index: 2;
  width: 1px;
  background: var(--c-brand);
  pointer-events: none;
}

.sec--dark .sec__line {
  background: var(--c-rule-dark);
}

.sec__margin {
  position: relative;
  padding-top: var(--pad);
}

.sec__margin-inner {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-right: clamp(10px, 1.4vw, 22px);
}

.sec__tick {
  position: absolute;
  top: 12px;
  right: -6px;
  width: 12px;
  height: 1px;
  background: var(--c-brand);
}

.sec--dark .sec__tick {
  background: var(--c-on-dark);
}

.sec__para {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  color: var(--c-brand);
}

.sec--dark .sec__para {
  color: var(--c-on-dark);
}

.sec__label,
.sec__note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sec__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.2;
  color: var(--c-ink-2);
}

.sec__note {
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  color: var(--c-ink-2);
}

.sec__note--strong {
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.sec--dark .sec__label,
.sec--dark .sec__note {
  color: var(--c-on-dark-2);
}

.sec__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: var(--pad) var(--pad-x);
}

.sec--pad-hero .sec__body {
  padding-bottom: 0;
}

.sec--pad-page .sec__body {
  padding-bottom: var(--pad-page-bottom);
}

/* Sekcja ze zdjeciem w tle (naglowki uslug): szary obraz + zielen multiply */
.sec--photo {
  isolation: isolate;
  overflow: hidden;
}

.sec__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--c-placeholder);
  isolation: isolate;
}

.sec__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec__bg-tint {
  position: absolute;
  inset: 0;
  background: var(--c-brand);
  mix-blend-mode: multiply;
}

.sec__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 48, 31, 0.45);
}

/* 4. Typografia ---------------------------------------------------------- */
.sec-title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: var(--t-h2);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.sec-title em,
.page-title em {
  font-style: italic;
  font-weight: 300;
}

.sec-title--sm {
  font-size: var(--t-h2-sm);
}

.sec-title--light {
  color: var(--c-on-dark);
}

.sec-title--spaced {
  margin-bottom: clamp(40px, 5vw, 80px);
}

.sec-title + .prose,
.sec-title + .service-bleed {
  margin-top: clamp(36px, 4vw, 64px);
}

.sub-title {
  margin-bottom: clamp(24px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}

.subsection {
  margin-top: clamp(56px, 7vw, 104px);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: var(--t-page);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  text-wrap: balance;
  animation: jz-reveal 300ms var(--ease-line) 150ms both;
}

.page-title--sm {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.page-lead {
  max-width: 52ch;
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(1.125rem, 1.55vw, 1.4rem);
  line-height: 1.45;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

.page-lead--wide {
  max-width: 64ch;
}

.sec--dark .page-title,
.sec--dark .page-lead {
  color: var(--c-on-dark);
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose p,
.prose ul {
  max-width: 68ch;
  text-wrap: pretty;
}

.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose h2,
.prose h3 {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.prose > :first-child {
  margin-top: 0;
}

.prose a {
  text-underline-offset: 4px;
}

.prose--lead {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.link-arrow::first-letter {
  text-transform: uppercase;
}

.link-arrow:hover {
  color: var(--c-brand);
}

/* Okruszki */
.crumbs {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 13px;
  color: var(--c-ink-2);
}

.crumbs__item + .crumbs__item::before {
  content: "/";
  margin: 0 0.6em;
  opacity: 0.6;
}

.crumbs__link {
  color: inherit;
  text-underline-offset: 3px;
}

.crumbs__link:hover {
  color: var(--c-ink);
}

.crumbs__current {
  color: var(--c-ink);
}

.sec--dark .crumbs__list,
.sec--dark .crumbs__link {
  color: var(--c-on-dark-2);
}

.sec--dark .crumbs__current,
.sec--dark .crumbs__link:hover {
  color: var(--c-on-dark);
}

/* 5. Przyciski ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}

.btn--solid {
  background: var(--c-brand);
  color: var(--c-bg);
  font-variant-numeric: tabular-nums;
}

.btn--solid:hover {
  background: var(--c-brand-deep);
  color: var(--c-bg);
}

.btn--outline {
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-bg);
}

.btn--light {
  background: var(--c-bg);
  color: var(--c-brand-deep);
}

.btn--light:hover {
  background: var(--c-panel);
  color: var(--c-brand-deep);
}

.btn--outline-light {
  border-color: var(--c-on-dark);
  color: var(--c-on-dark);
  font-variant-numeric: tabular-nums;
}

.btn--outline-light:hover {
  background: var(--c-on-dark);
  color: var(--c-brand-deep);
}

.btn--lg {
  min-height: 54px;
  padding: 0 26px;
}

.btn--header {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn--form {
  min-height: 54px;
  padding: 0 28px;
}

/* 6. Formularz ----------------------------------------------------------- */
.form-panel {
  flex: 6 1 360px;
  min-width: 0;
  padding: clamp(24px, 3.2vw, 52px);
  background: var(--c-panel);
  color: var(--c-ink);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__title {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  color: var(--c-ink);
}

.form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form__field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
}

.form__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 0;
  background: var(--c-field);
  font-size: 16px;
  color: var(--c-ink);
}

.form__input--area {
  min-height: 0;
  line-height: 1.5;
  resize: vertical;
}

.form__input[aria-invalid="true"] {
  border-color: var(--c-error);
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 4px 0;
  cursor: pointer;
}

.form__check {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--c-brand);
}

.form__consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-2);
}

.form__consent-text a {
  color: var(--c-ink);
  text-underline-offset: 3px;
}

.form__error {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-error);
}

.form__actions {
  display: flex;
}

.form__actions .btn {
  border: 0;
}

.form-panel__sent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
}

.form-panel__sent-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: 32px;
  line-height: 1.1;
  color: var(--c-ink);
}

.form-panel__sent-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-2);
}

/* 7. Sekcje -------------------------------------------------------------- */

/* hero (strona glowna) */
.hero__title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: var(--t-h1);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  font-variation-settings: "opsz" 144;
  animation: jz-reveal 300ms var(--ease-line) 150ms both;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-brand);
}

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(32px, 5vw, 88px);
  margin-top: clamp(40px, 5vw, 80px);
}

.hero__copy {
  flex: 5 1 320px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: clamp(48px, 6vw, 96px);
}

.hero__text {
  max-width: 30ch;
  font-size: clamp(1.125rem, 1.55vw, 1.4rem);
  line-height: 1.45;
  color: var(--c-ink);
  text-wrap: pretty;
}

.hero__text-muted {
  color: var(--c-ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions--page {
  margin-top: clamp(32px, 4vw, 56px);
}

/* zdjecie: szary podklad, zielen marki (multiply), rama */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--c-placeholder);
}

.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo__tint {
  position: absolute;
  inset: 0;
  background: var(--c-brand);
  mix-blend-mode: multiply;
}

.photo__frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244, 240, 230, 0.28);
}

.photo--hero {
  flex: 7 1 420px;
  aspect-ratio: 4 / 3;
  margin-right: calc(-1 * var(--pad-x));
}

.photo--portrait {
  flex: 4 1 280px;
  aspect-ratio: 4 / 5;
}

/* wiersze uslug */
.service-bleed {
  margin: 0 calc(-1 * var(--pad-x));
}

.service-list {
  border-top: 1px solid var(--c-rule-2);
}

.service-list__item {
  border-bottom: 1px solid var(--c-rule-2);
}

.service-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(20px, 3vw, 48px);
  padding: clamp(22px, 2.6vw, 38px) var(--pad-x);
  color: var(--c-ink);
  text-decoration: none;
  outline-offset: -3px;
}

.service-row:hover {
  color: var(--c-ink);
}

.service-row__fill {
  position: absolute;
  inset: 0;
  background: var(--c-brand);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 260ms var(--ease-row);
}

.service-row__num,
.service-row__name,
.service-row__desc,
.service-row__more {
  position: relative;
  transition: color 260ms;
}

.service-row__num {
  width: 2.4ch;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--c-brand);
}

.service-row__name {
  flex: 1 1 380px;
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.75rem, 3.3vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}

.service-row__desc {
  flex: 1 1 260px;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

.service-row__more {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.service-row:hover .service-row__fill,
.service-row:focus-visible .service-row__fill {
  clip-path: inset(0 0 0 0);
}

.service-row:hover .service-row__num,
.service-row:hover .service-row__name,
.service-row:hover .service-row__desc,
.service-row:hover .service-row__more,
.service-row:focus-visible .service-row__num,
.service-row:focus-visible .service-row__name,
.service-row:focus-visible .service-row__desc,
.service-row:focus-visible .service-row__more {
  color: var(--c-on-dark);
}

.services__intro {
  margin-bottom: clamp(28px, 3vw, 44px);
}

.services__more {
  margin-top: clamp(28px, 3vw, 44px);
}

/* manifest */
.manifest {
  max-width: 19ch;
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--c-on-dark);
  text-wrap: balance;
}

.manifest em {
  font-style: italic;
  font-weight: 300;
}

/* o adwokacie */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(32px, 6vw, 104px);
}

.about__content {
  flex: 6 1 340px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.about__text {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-ink-2);
}

.about__actions {
  display: flex;
}

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--c-rule-2);
}

.facts__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-rule-2);
}

.facts__label {
  flex: 0 0 190px;
  font-size: 14px;
  color: var(--c-ink-2);
}

.facts__value {
  flex: 1 1 220px;
  font-size: 16px;
  color: var(--c-ink);
}

.facts__num {
  display: inline-block;
  margin-left: 0.75em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.facts__aside {
  display: block;
  font-size: 14px;
  color: var(--c-ink-2);
}

.facts__link {
  color: var(--c-ink);
  text-underline-offset: 4px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.facts--contact {
  margin-top: clamp(32px, 4vw, 48px);
}

/* kroki wspolpracy */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px clamp(24px, 3vw, 48px);
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--c-ink);
}

.steps__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-brand);
}

.steps__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 24px;
  line-height: 1.15;
  color: var(--c-ink);
}

.steps__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

/* zasady pracy, dla kogo */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px clamp(24px, 3vw, 48px);
}

.values__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--c-ink);
}

.values__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-ink);
}

.values__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

/* zakres pomocy */
.includes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(32px, 6vw, 104px);
}

.includes__intro {
  flex: 4 1 260px;
}

.includes__note {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-2);
}

.includes__list {
  flex: 7 1 400px;
  border-top: 1px solid var(--c-rule-3);
}

.includes__item {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--c-rule-3);
  font-size: 17px;
  line-height: 1.45;
  color: var(--c-ink);
}

.includes__item::before {
  content: "";
  position: absolute;
  top: 1.7em;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--c-brand);
}

/* powiazane tematy */
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  text-decoration: none;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}

.related__link:hover {
  border-color: var(--c-brand);
  background: var(--c-brand);
  color: var(--c-bg);
}

/* FAQ */
.faq {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(32px, 6vw, 104px);
}

.faq__intro {
  flex: 4 1 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__list {
  flex: 7 1 400px;
  min-width: 0;
}

.faq__note {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-2);
}

.faq__phone {
  color: var(--c-ink);
  text-underline-offset: 4px;
  font-variant-numeric: tabular-nums;
}

.faq-list {
  border-top: 1px solid var(--c-rule-3);
}

.faq-list__item {
  border-bottom: 1px solid var(--c-rule-3);
}

.faq-list__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 20px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.2;
  color: var(--c-ink);
}

.faq-list__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-list__bar {
  position: absolute;
  background: var(--c-brand);
  transition: opacity 200ms;
}

.faq-list__bar--h {
  top: 8.5px;
  right: 0;
  left: 0;
  height: 1px;
}

.faq-list__bar--v {
  top: 0;
  bottom: 0;
  left: 8.5px;
  width: 1px;
}

.faq-list__button[aria-expanded="true"] .faq-list__bar--v {
  opacity: 0;
}

.faq-list__panel {
  overflow: hidden;
  padding: 0 48px 28px 0;
}

.faq-list__answer {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

.faq-list__answer p + p {
  margin-top: 0.8em;
}

.faq-list__answer a {
  color: var(--c-brand);
  text-underline-offset: 3px;
}

/* kontakt: ciemna sekcja z panelem formularza */
.contact__lead {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-on-dark-2);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(32px, 5vw, 88px);
  margin-top: clamp(40px, 5vw, 72px);
}

.contact__info {
  flex: 5 1 300px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-list__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-list__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.contact-list__label {
  font-size: 14px;
  color: var(--c-on-dark-2);
}

.contact-list__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--c-on-dark);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.contact-list__phone:hover {
  color: var(--c-on-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.contact-list__mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  color: var(--c-on-dark);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.contact-list__mail:hover {
  color: var(--c-on-dark);
}

.contact-list__value--text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-on-dark);
  font-variant-numeric: tabular-nums;
}

.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--c-rule-dark);
  background: rgba(244, 240, 230, 0.06);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.95) brightness(0.93);
}

.sec:not(.sec--dark) .map-frame {
  border-color: var(--c-rule-2);
}

.map-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-ink-2);
}

/* strona kontakt */
.contact-page {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(32px, 6vw, 104px);
}

.contact-page__main {
  flex: 6 1 340px;
  min-width: 0;
}

.contact-page__extra {
  flex: 5 1 320px;
  min-width: 0;
}

/* ciemny blok kontaktowy na dole podstron */
.cta__text {
  max-width: 52ch;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-on-dark-2);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 40px;
}

.cta__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--c-on-dark);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.cta__phone:hover {
  color: var(--c-on-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* fakty o usłudze w nagłówku */
.service-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  max-width: 76ch;
  margin-top: clamp(32px, 4vw, 56px);
}

.service-facts__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 36ch;
}

.service-facts__label {
  font-size: 14px;
  color: var(--c-on-dark-2);
}

.service-facts__value {
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-on-dark);
}

/* 8. Ruch ---------------------------------------------------------------- */
@keyframes jz-line {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes jz-reveal {
  from {
    clip-path: inset(-20% -5% 100% -5%);
  }

  to {
    clip-path: inset(-20% -5% -20% -5%);
  }
}

.site-header__line {
  transform-origin: top;
  animation: jz-line 150ms cubic-bezier(0.4, 0, 1, 1) both;
}

.sec--hero .sec__line {
  transform-origin: top;
  animation: jz-line 300ms var(--ease-line) 150ms both;
}

/* 9. Naglowek i stopka --------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--c-brand);
  color: var(--c-bg);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: var(--c-bg);
}

.site-header,
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  background: var(--c-bg);
}

.site-header {
  border-bottom: 1px solid var(--c-rule);
}

.site-header__line,
.site-footer__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--gutter);
  z-index: 2;
  width: 1px;
  background: var(--c-brand);
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 18px var(--pad-x);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  color: var(--c-ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--c-ink);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.brand__title {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.brand__surname {
  text-transform: uppercase;
}

.brand__sub {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-ink-2);
}

.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 15px;
  color: var(--c-ink);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--c-brand);
}

.site-nav__item--current .site-nav__link {
  text-decoration: underline;
  text-decoration-color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
  min-width: 0;
  padding: clamp(56px, 7vw, 104px) var(--pad-x) 32px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--c-ink);
  text-decoration: none;
}

.site-footer__brand:hover {
  color: var(--c-ink);
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.site-footer__title {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.site-footer__surname {
  text-transform: uppercase;
}

.site-footer__tagline {
  font-size: 15px;
  color: var(--c-ink-2);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px clamp(24px, 3vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--c-rule-2);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-ink);
}

.site-footer__col--data {
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.site-footer__heading {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--c-ink-2);
}

.site-footer__item--link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-ink);
  text-decoration: none;
}

.site-footer__item--num {
  font-variant-numeric: tabular-nums;
}

.site-footer__item--mail {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.site-footer__item--link:hover {
  color: var(--c-brand);
}

.site-footer__item--muted {
  color: var(--c-ink-2);
}

.site-footer__legal-list {
  display: flex;
  flex-direction: column;
}

.site-footer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-ink);
  text-underline-offset: 4px;
}

.site-footer__link:hover {
  color: var(--c-brand);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-rule-2);
  font-size: 13px;
  color: var(--c-ink-2);
}

/* 10. Responsywnosc (mobile-first) --------------------------------------- */
/* Poniżej 720px noty marginesu stoją pionowo; od 720px układają się poziomo. */
@media (min-width: 720px) {
  .sec__label,
  .sec__note {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* 11. Utility ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* 12. Poprawki po stagingu (2026-11-06) --------------------------------- */
/* Treść nad zdjęciem tła w sekcjach .sec--photo (manifest, nagłówki usług) */
.sec--photo > .sec__margin,
.sec--photo > .sec__body {
  position: relative;
  z-index: 1;
}

/* "W czym pomagam": nagłówek po lewej, wstęp po prawej, bez pustej kolumny */
.services__head {
  display: grid;
  gap: 24px clamp(32px, 6vw, 104px);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.services__head .services__intro {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .services__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .services__head .sec-title + .prose {
    margin-top: 0.35em;
  }

  .services__head .services__intro {
    max-width: 62ch;
  }
}

/* FAQ: nagłówek przyklejony przy przewijaniu listy pytań */
@media (min-width: 960px) {
  .faq__intro {
    position: sticky;
    top: var(--faq-sticky-top, 48px);
  }

  .admin-bar .faq__intro {
    --faq-sticky-top: 80px;
  }
}

/* Wjazdy przy przewijaniu (main.js dodaje .has-reveal i data-reveal) */
.has-reveal [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--rv-i, 0) * 80ms);
}

.has-reveal [data-reveal="up"] {
  transform: translateY(32px);
}

.has-reveal [data-reveal="left"] {
  transform: translateX(-48px);
}

.has-reveal [data-reveal="scale"] {
  transform: scale(0.95);
}

.has-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Portret zastępczy: czysta czerń i biel, bez zielonej nakładki */
.photo--mono .photo__img {
  filter: grayscale(1) contrast(1.05);
}

/* Stopka: "Wykonano: Klikon Media" */
.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-ink-2);
  text-decoration: none;
}

.site-footer__credit img {
  display: block;
  width: 90px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-footer__credit:hover img,
.site-footer__credit:focus-visible img {
  opacity: 1;
}

/* Hero: tekst po lewej, jasna grafika po prawej z gradientem w kolor tła */
.hero__visual {
  position: relative;
  height: clamp(300px, 70vw, 440px);
  margin: 8px calc(-1 * var(--pad-x)) 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  animation: jz-hero-visual 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 200ms both;
}

@keyframes jz-hero-visual {
  from {
    opacity: 0;
    transform: translateX(48px) scale(1.03);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 960px) {
  .sec--hero[data-part="home/hero"] {
    overflow: hidden;
  }

  .sec--hero[data-part="home/hero"] .hero__title {
    font-size: clamp(4rem, 8.4vw, 8.5rem);
  }

  .sec--hero[data-part="home/hero"] .sec__margin,
  .sec--hero[data-part="home/hero"] .hero__title,
  .sec--hero[data-part="home/hero"] .hero__grid {
    position: relative;
    z-index: 1;
  }

  .sec--hero[data-part="home/hero"] .hero__copy {
    flex: 0 1 560px;
  }

  .hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: min(60%, 980px);
    height: auto;
    margin: 0;
  }

  .hero__visual img {
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 62%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 62%);
  }
}

/* Noty marginesu: większe od 720px (§, etykieta, notatka) */
@media (min-width: 720px) {
  .sec__para {
    font-size: clamp(24px, 2.6vw, 38px);
  }

  .sec__label {
    font-size: 19px;
  }

  .sec__note {
    font-size: 14.5px;
  }
}

/* Formularz: pola w kolumnie nie rosną na wysokość (flex-basis 200px działał jak wysokość) */
.form > .form__field {
  flex: none;
}

/* Kontakt: zdjęcie pod zieloną nakładką, karty danych, uniesiony formularz */
.contact-sec.sec--photo .sec__bg::after {
  background: linear-gradient(105deg, rgba(18, 48, 31, 0.92) 0%, rgba(18, 48, 31, 0.78) 55%, rgba(18, 48, 31, 0.62) 100%);
}

.contact-sec .contact {
  align-items: stretch;
}

.contact-sec .contact-list {
  display: grid;
  gap: 12px;
}

.contact-sec .contact-list__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.contact-sec .contact-list__row {
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid rgba(244, 240, 230, 0.16);
  background: rgba(18, 48, 31, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-sec .contact-list__row:hover {
  border-color: rgba(244, 240, 230, 0.34);
  background: rgba(18, 48, 31, 0.6);
}

.contact-sec .contact-list__label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.contact-sec .contact-list__phone {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  text-decoration: none;
}

.contact-sec .map-frame {
  border: 1px solid rgba(244, 240, 230, 0.16);
}

.contact-sec .form-panel {
  position: relative;
  padding: clamp(28px, 3.6vw, 56px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.contact-sec .form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-brand);
}

.contact-sec .form {
  gap: 26px;
}

.contact-sec .form__input {
  min-height: 48px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  background: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-sec .form__input:focus {
  outline: none;
  border-bottom-color: var(--c-brand);
  box-shadow: 0 1px 0 0 var(--c-brand);
}

.contact-sec .form__input--area {
  min-height: 110px;
}

.contact-sec .form .btn,
.contact-sec .form button[type="submit"] {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: 16px;
}

/* Logo SVG (znak Adwokatury + Błażej Janiczak) */
.brand__logo {
  display: block;
  width: auto;
  height: clamp(34px, 3.4vw, 48px);
}

.site-footer__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(52px, 6vw, 92px);
}

.site-footer__brand {
  align-items: flex-start;
}

/* Podstrony: hero z jasną grafiką po prawej (jak na stronie głównej) */
@media (min-width: 960px) {
  .sec--visual {
    overflow: hidden;
  }

  .sec--visual .sec__margin,
  .sec--visual .sec__body > :not(.hero__visual) {
    position: relative;
    z-index: 1;
  }

  .sec--visual .page-title,
  .sec--visual .page-lead {
    max-width: min(56%, 760px);
  }

  .sec--visual .page-title {
    font-size: clamp(3rem, 5.4vw, 5.8rem);
  }
}

/* Kontakt: karty danych */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 3vw, 44px);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--c-rule);
  background: var(--c-bg);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
  border-color: var(--c-brand);
  box-shadow: 0 18px 40px rgba(18, 48, 31, 0.1);
  transform: translateY(-2px);
}

.contact-card__label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--c-ink-2);
}

.contact-card__value {
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-card--primary {
  grid-column: 1 / -1;
  padding: 28px 32px;
  border-color: transparent;
  background: var(--c-brand-deep);
  color: var(--c-on-dark);
}

.contact-card--primary .contact-card__label,
.contact-card--primary .contact-card__hint {
  color: var(--c-on-dark-2);
}

.contact-card--primary .contact-card__value {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.contact-card__hint {
  font-size: 14px;
}

/* Kontakt: pytania po prawej jako numerowana lista z liniami */
.contact-page__extra {
  counter-reset: jz-q;
}

.contact-page__extra h2 {
  counter-increment: jz-q;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--c-rule);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.contact-page__extra h2:first-child {
  margin-top: 0;
}

.contact-page__extra h2::before {
  content: counter(jz-q, decimal-leading-zero);
  flex: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-brand);
}

/* Kontakt: mapa na całą szerokość z kartą dojazdu */
.map-block {
  position: relative;
}

.map-block .map-frame iframe {
  height: clamp(380px, 42vw, 580px);
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding: clamp(24px, 2.6vw, 36px);
  border-top: 4px solid var(--c-brand);
  background: var(--c-panel);
  box-shadow: 0 30px 70px rgba(18, 48, 31, 0.18);
}

.map-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.map-card__title em {
  font-style: italic;
  font-weight: 300;
}

.map-card__address {
  font-size: 17px;
  line-height: 1.5;
}

.map-card__hours {
  font-size: 14px;
  color: var(--c-ink-2);
}

.map-card__btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (min-width: 960px) {
  .map-card {
    position: absolute;
    left: 32px;
    bottom: 32px;
    z-index: 2;
    width: min(360px, 40%);
    margin-top: 0;
  }
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card--wide .contact-card__value {
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 960px) {
  .sec--visual .page-title {
    max-width: min(66%, 900px);
    font-size: clamp(3rem, 5vw, 5.4rem);
  }
}

/* Kontakt: mapa w sekcji formularza, pod godzinami */
.contact__map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.contact-sec .contact__map .map-frame iframe {
  height: clamp(260px, 26vw, 340px);
}

.contact__route {
  align-self: flex-start;
}

/* O nas: portret i fakty po lewej (przyklejone), podsekcje po prawej */
.photo--mono .photo__tint {
  display: none;
}

.story {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px clamp(40px, 6vw, 112px);
}

.story__aside {
  flex: 4 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story__photo {
  width: 100%;
}

.story__main {
  flex: 7 1 420px;
  min-width: 0;
}

.story-facts {
  border-top: 1px solid var(--c-ink);
}

.story-facts__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-rule);
}

.story-facts__label {
  font-size: 14px;
  color: var(--c-ink-2);
}

.story-facts__value {
  font-size: 15px;
  color: var(--c-ink);
  text-align: right;
}

.story__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: clamp(40px, 4.5vw, 64px);
}

.story__lead {
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--c-ink);
  text-wrap: pretty;
}

.story__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(36px, 4vw, 56px) 0;
  border-top: 1px solid var(--c-rule);
}

.story__title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  text-wrap: balance;
}

.story__title em {
  font-style: italic;
  font-weight: 300;
}

.story__text {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

.story__services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  column-gap: 32px;
  margin-top: 8px;
  border-top: 1px solid var(--c-rule);
}

.story__service-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 56px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-rule);
  color: var(--c-ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.story__service-link:hover,
.story__service-link:focus-visible {
  padding-left: 8px;
  color: var(--c-brand);
}

.story__service-num {
  flex: none;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--c-brand);
}

.story__service-name {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
}

/* O nas: zasady z dużymi numerami */
.principles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(40px, 6vw, 112px);
}

.principles__head {
  flex: 4 1 280px;
}

.principles__list {
  flex: 7 1 420px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-ink);
}

.principles__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--c-rule);
}

.principles__num {
  flex: none;
  width: 1.1em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--c-brand);
}

.principles__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.principles__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.15;
  color: var(--c-ink);
}

.principles__text {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

@media (min-width: 960px) {
  .story__aside,
  .principles__head {
    position: sticky;
    top: var(--story-sticky-top, 32px);
  }

  .admin-bar .story__aside,
  .admin-bar .principles__head {
    --story-sticky-top: 64px;
  }
}

/* Usługa: hero ze zdjęciem pod ciemnozieloną nakładką */
.svc-hero .sec__bg-tint {
  display: none;
}

.svc-hero.sec--photo .sec__bg::after {
  background: rgba(18, 48, 31, 0.84);
}

.svc-hero__title {
  max-width: 14ch;
  color: var(--c-on-dark);
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  line-height: 0.95;
  text-wrap: balance;
}

.svc-hero__lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 62ch;
  margin-top: clamp(24px, 3vw, 36px);
}

.svc-hero__lead-main {
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--c-on-dark);
  text-wrap: pretty;
}

.svc-hero__lead-rest {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-on-dark-2);
  text-wrap: pretty;
}

.svc-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: clamp(24px, 3vw, 36px);
}

.svc-hero__fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  border: 1px solid rgba(244, 240, 230, 0.16);
  background: rgba(244, 240, 230, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.svc-hero__fact-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--c-on-dark-2);
}

.svc-hero__fact-value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-on-dark);
  text-wrap: pretty;
}

/* Usługa: spis treści i numerowane podsekcje */
.svc-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(40px, 6vw, 112px);
}

.svc-toc {
  flex: 3 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-toc__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-ink-2);
}

.svc-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-ink);
}

.svc-toc__item {
  position: relative;
  border-bottom: 1px solid var(--c-rule);
}

.svc-toc__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 48px;
  padding: 13px 0;
  color: var(--c-ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-toc__link::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--c-brand);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.svc-toc__link:hover,
.svc-toc__link[aria-current="true"] {
  color: var(--c-ink);
}

.svc-toc__link[aria-current="true"]::before {
  opacity: 1;
}

.svc-toc__num {
  flex: none;
  width: 2.4ch;
  font-size: 13px;
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}

.svc-toc__label {
  font-size: 15px;
  line-height: 1.35;
}

.svc-content__main {
  flex: 8 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.svc-sec {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(36px, 4vw, 56px) 0;
  border-top: 1px solid var(--c-rule);
  scroll-margin-top: 24px;
}

.svc-sec:first-child {
  padding-top: 0;
  border-top: 0;
}

.svc-sec__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--c-ink-2);
  font-variant-numeric: tabular-nums;
}

.svc-sec__num {
  font-weight: 500;
  color: var(--c-brand);
}

.svc-sec__title {
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  text-wrap: balance;
}

.svc-sec__title--lead {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
}

.svc-sec__title em {
  font-style: italic;
  font-weight: 300;
}

.svc-sec__text {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

/* Usługa: z czym przychodzisz (a, b, c) */
.svc-audience__title,
.svc-process__title {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.svc-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px clamp(24px, 3.4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-audience__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--c-ink);
}

.svc-audience__letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 3.6vw, 3.5rem);
  line-height: 0.9;
  color: var(--c-brand);
}

.svc-audience__who {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.15;
  color: var(--c-ink);
  text-wrap: balance;
}

.svc-audience__text,
.svc-process__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-2);
  text-wrap: pretty;
}

/* Usługa: zakres pomocy */
.svc-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(40px, 6vw, 112px);
}

.svc-scope__head {
  flex: 4 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc-scope__note {
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.svc-scope__list {
  flex: 7 1 420px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-ink);
}

.svc-scope__item {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--c-rule);
}

.svc-scope__num {
  flex: none;
  width: 2.6ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}

.svc-scope__text {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  color: var(--c-ink);
}

/* Usługa: współpraca w krokach */
.svc-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 40px clamp(20px, 2.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-process__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--c-ink);
}

.svc-process__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 1px;
  height: 13px;
  background: var(--c-brand);
}

.svc-process__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.25rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c-brand);
}

.svc-process__step {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 21px;
  line-height: 1.2;
  color: var(--c-ink);
  text-wrap: balance;
}

.svc-process__text {
  font-size: 15px;
}

/* Usługa: powiązane tematy */
.svc-related__title {
  margin-bottom: clamp(28px, 3.4vw, 48px);
}

.svc-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-ink);
}

.svc-related__item {
  border-bottom: 1px solid var(--c-rule);
}

.svc-related__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 20px 0;
  color: var(--c-ink);
  text-decoration: none;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.svc-related__link:hover,
.svc-related__link:focus-visible {
  padding-left: 8px;
  color: var(--c-brand);
}

.svc-related__label {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  line-height: 1.15;
}

.svc-related__go {
  flex: none;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-brand);
}

/* Formularz: temat sprawy z podstrony usługi */
.form__topic {
  margin-top: -8px;
  font-size: 13px;
  color: var(--c-ink-2);
}

.form__topic strong {
  font-weight: 600;
  color: var(--c-ink);
}

@media (min-width: 960px) {
  .svc-toc,
  .svc-scope__head {
    position: sticky;
    top: var(--story-sticky-top, 32px);
  }

  .admin-bar .svc-toc,
  .admin-bar .svc-scope__head {
    --story-sticky-top: 64px;
  }
}
