/* rightform · style.css · wersja 1.1 (2026-10-16)
   Białe tło, kolory z brand booka w detalach. Jeden krój: Instrument Sans 400-700.
   Rozmiary w rem, cele dotyku 44 px, ruch wyłączalny ustawieniem systemowym. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #faf7f2;
  --paper-2: #f3efe8;
  --graphite: #171512;
  --ink: #1f1d1a;        /* tekst, 15,7:1 na papierze, 16,4:1 na bieli */
  --muted: #6b655c;      /* tekst drugorzędny, 5,4:1 na papierze, 5,7:1 na bieli */
  --line: #e2dcd2;
  --line-strong: #8f877b; /* obrysy pól, 3,3:1 */
  --terra: #b4552f;
  --terra-deep: #953f1f; /* linki i przyciski, 6,5:1 */
  --terra-light: #d8673a;
  --terra-soft: #f3dfd3; /* podkreślenie markerem, chipy */
  --bone: #f2eee7;
  --neon: #ff7350;

  --radius: 6px;       /* przyciski, pola: zgodnie z brand bookiem */
  --radius-card: 20px; /* karty i kafelki */
  --target: 2.75rem;   /* 44 px */
  --nav-h: 4.5rem;
  --gutter: 1.5rem;
  --container: 72rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-liquid: cubic-bezier(0.34, 1.3, 0.3, 1);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--white);
}
html.js-scroll { scroll-behavior: auto; } /* płynne przewijanie przejmuje skrypt */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--terra-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terra-soft); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 6.5rem 0; }
.section--paper { background: var(--paper); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--terra-deep); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- typografia ---------- */
.display {
  font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.04; font-weight: 400; letter-spacing: -0.03em; text-wrap: balance;
}
.display b { font-weight: 700; }
.heading { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.1; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.heading b { font-weight: 700; }
.subheading { font-size: 1.25rem; line-height: 1.35; font-weight: 600; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 36rem; }
.lead b { color: var(--ink); font-weight: 600; }
.small { font-size: 0.875rem; line-height: 1.45; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; line-height: 1; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--terra); }
.section__head { max-width: 46rem; margin-bottom: 3.5rem; }
.section__head .lead { margin-top: 1.25rem; }

/* marker: podkreślenie kluczowego słowa kolorem z brand booka, rysuje się przy odsłonięciu */
.mark {
  background-image: linear-gradient(var(--terra-soft), var(--terra-soft));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 0% 0.42em;
  padding: 0 0.08em; margin: 0 -0.08em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.9s var(--ease-out) 0.25s;
}
.is-in .mark, .enter .mark { background-size: 100% 0.42em; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: var(--target); padding: 0.75rem 1.5rem;
  background: var(--terra-deep); color: var(--white);
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.3; cursor: pointer; text-decoration: none;
  transition: background-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.btn:hover { background: var(--terra); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(149, 63, 31, 0.22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
.btn--ink { background: var(--graphite); color: var(--bone); }
.btn--ink:hover { background: #2a2622; box-shadow: 0 10px 24px rgba(23, 21, 18, 0.2); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.125rem; font-size: 0.9375rem; }

/* ---------- nawigacja: pływające pigułki ze szkła ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: 1rem; pointer-events: none; }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.nav__inner > * { pointer-events: auto; }
.glass {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(31, 29, 26, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 30px rgba(23, 21, 18, 0.08);
  border-radius: 999px;
}
.nav__logo { display: inline-flex; align-items: center; min-height: var(--target); padding: 0 1rem 0 0.75rem; }
.nav__logo img { height: 1.625rem; width: auto; }
.nav__menu { position: relative; display: flex; align-items: center; padding: 0.25rem; }
.nav__blob {
  position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0; width: 0; border-radius: 999px;
  background: var(--graphite); opacity: 0;
  transition: left 0.55s var(--ease-liquid), width 0.55s var(--ease-liquid), opacity 0.25s ease;
  pointer-events: none;
}
.nav__blob.is-on { opacity: 1; }
.nav__link {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.25rem; padding: 0 1rem; border-radius: 999px;
  color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: color 0.25s ease;
}
.nav__link.is-lit { color: var(--bone); }
.nav__cta { box-shadow: 0 10px 30px rgba(23, 21, 18, 0.1); }
.nav__toggle {
  display: none; width: var(--target); height: var(--target); padding: 0; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__sheet {
  display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.75rem); z-index: 2;
  padding: 0.75rem; border-radius: 1.5rem; flex-direction: column;
  transform-origin: top center;
}
.nav__sheet.is-open { display: flex; animation: sheet-in 0.45s var(--ease-out) both; }
.nav__sheet .nav__link { justify-content: flex-start; min-height: var(--target); font-size: 1.0625rem; animation: link-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
.nav__sheet .nav__link[aria-current="true"] { font-weight: 700; }
.nav__sheet .btn { margin-top: 0.5rem; animation: link-in 0.5s var(--ease-out) both; animation-delay: 300ms; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes link-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- hero: najpierw sam szyld, potem tekst przejmuje środek ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 1.5rem) 0 4rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 45% at 50% 55%, rgba(216, 103, 58, 0.13), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: start; }
.hero__copy, .board { grid-area: 1 / 1; }

/* tekst: ukryty do końca zapłonu, potem wpływa z lewej w miejsce odjeżdżającej tablicy */
.hero__copy {
  position: relative; z-index: 1; width: 100%; max-width: 52rem; text-align: center;
  opacity: 0; transform: translateX(-2rem); pointer-events: none;
  transition: opacity 0.9s var(--ease-out) 0.35s, transform 1.1s var(--ease-out) 0.35s;
}
.hero--settled .hero__copy { opacity: 1; transform: none; pointer-events: auto; }
.hero__lead { margin: 1.5rem auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; margin-top: 2.25rem; }
.hero__note { margin: 2rem auto 0; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--target); font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 1.125rem; height: 1.125rem; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* szyld: neon tylko na graficie, więc dostaje własną grafitową tablicę */
.board {
  position: relative; width: min(100%, 66rem); aspect-ratio: 12 / 5; border-radius: var(--radius-card);
  background: radial-gradient(70% 60% at 50% 45%, #211d19, var(--graphite) 75%);
  box-shadow: 0 30px 60px -20px rgba(23, 21, 18, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center; padding: 5% 9%;
  transition: transform 0.85s cubic-bezier(0.5, 0, 0.25, 1), opacity 0.85s ease; will-change: transform;
}
.board::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(242, 238, 231, 0.06);
}
.hero__neon { width: 100%; height: auto; }
.hero--settled .board { transform: translateX(110vw) rotate(3deg); opacity: 0; pointer-events: none; }

/* kolejne wejścia w tej samej sesji przeglądarki: scena już była, więc od razu tekst */
html.hero-seen .board { display: none; }
html.hero-seen .hero__copy { opacity: 1; transform: none; pointer-events: auto; transition: none; }

/* wejście: klatki opisują tylko stan początkowy (fill backwards), żeby po animacji
   zwykłe style i przejścia znów miały głos. Tablica wchodzi przy załadowaniu, tekst przy przejęciu sceny. */
.hero--on .board { animation: enter-board 1s var(--ease-out) 0.1s backwards; }
.enter [data-enter] { animation: enter 0.9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } }
@keyframes enter-board { from { opacity: 0; transform: translateY(16px) scale(0.97); } }

/* ---------- odsłanianie przy przewijaniu ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- usługi: pięć wierszy z pełnym opisem ---------- */
.services { display: grid; gap: 1.25rem; }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 3.5rem; align-items: start;
  padding: 2.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(23, 21, 18, 0.22); border-color: #d6cfc4; }
.service__head { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.service__title { font-size: 1.75rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.service__tagline { margin-top: 0.875rem; font-size: 1.25rem; line-height: 1.4; font-weight: 500; color: var(--ink); max-width: 22ch; }
.service__body p { color: var(--muted); }
.service__body p + p { margin-top: 1rem; }
.service__for { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; }
.service__body .service__for b { color: var(--ink); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.875rem;
  padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(23, 21, 18, 0.25); border-color: #d6cfc4; }
.card__title { font-size: 1.375rem; line-height: 1.3; font-weight: 600; }
.card__text { color: var(--muted); }
.card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.tag { display: inline-flex; align-items: center; min-height: 1.875rem; padding: 0 0.75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.card__for { margin-top: auto; padding-top: 0.875rem; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.card__for b { color: var(--ink); font-weight: 600; }
.cards__more { margin-top: 2rem; max-width: 46rem; color: var(--muted); }
.cards__more a { font-weight: 600; }

/* ---------- jak pracuję: trzy warstwy sygnetu ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.step { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.tile {
  width: 5.5rem; height: 5.5rem; border-radius: 1rem; background: var(--graphite);
  display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.tile__svg { width: 4.5rem; height: 4.5rem; }
.step__num { font-size: 0.8125rem; line-height: 1; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.step__title { font-size: 1.375rem; line-height: 1.3; font-weight: 600; margin-top: 0.5rem; }
.step__text { color: var(--muted); margin-top: 0.75rem; }
.facts { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.fact { padding: 1.5rem 1.75rem; background: var(--paper); border-radius: var(--radius-card); }
.fact__label { font-size: 0.8125rem; line-height: 1; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fact__value { font-size: 1.125rem; line-height: 1.5; font-weight: 400; margin-top: 0.75rem; }
.fact__value b { font-weight: 700; }

/* ---------- o mnie ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
.about__photo { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.about__hello { color: var(--ink); font-weight: 600; margin-top: 1.5rem; }
.about__text > p { max-width: 60ch; }
.about__closing { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.about__photo { aspect-ratio: 4 / 5; width: 100%; max-width: 26rem; overflow: hidden; border-radius: var(--radius-card); background: var(--paper); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.2s var(--ease-out); }
.about__photo:hover img { transform: scale(1.03); }
.about__text p + p { margin-top: 1rem; }
.social { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center; width: var(--target); height: var(--target);
  border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social__link svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.social__link:hover { background: var(--graphite); color: var(--bone); border-color: var(--graphite); transform: translateY(-2px); }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; }
.form { display: grid; gap: 1.25rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: 0.375rem; }
.field label { font-size: 0.9375rem; line-height: 1.4; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: var(--target); font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.625rem 0.875rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra-light); box-shadow: 0 0 0 1px var(--terra-light); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--terra-deep); box-shadow: 0 0 0 1px var(--terra-deep); }
.field__error { font-size: 0.875rem; line-height: 1.43; color: var(--terra-deep); }
.field__error::before { content: "↑ "; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__rodo { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); max-width: 44ch; }
.form__status { font-size: 0.9375rem; line-height: 1.4; min-height: 1.25rem; }
.form__success { padding: 2rem; background: var(--paper); border-radius: var(--radius-card); }
.form__success p + p { margin-top: 0.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.details { display: grid; gap: 1rem; }
.details__item { display: grid; gap: 0.125rem; }
.details__label { font-size: 0.8125rem; line-height: 1; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.details__value { font-size: 1.125rem; line-height: 1.45; font-weight: 600; }
.details__value a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--ink); text-decoration-color: var(--line-strong); }
.details__value a:hover { color: var(--terra-deep); text-decoration-color: currentColor; }
.details address { font-style: normal; font-weight: 400; padding: 0.5rem 0; }
.details .social { margin-top: 0.25rem; }

/* ---------- stopka ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--muted); font-size: 0.875rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer__brand { font-size: 1.375rem; color: var(--ink); letter-spacing: -0.01em; }
.footer__brand b { font-weight: 700; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer__nav a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--ink); text-decoration: none; }
.footer__nav a:hover { color: var(--terra-deep); text-decoration: underline; }
.footer__bottom { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.8125rem; }

/* ---------- strona polityki ---------- */
.doc { padding: calc(var(--nav-h) + 3rem) 0 6rem; }
.doc__inner { max-width: 44rem; }
.doc .doc__meta { color: var(--muted); margin: 0.75rem 0 2.5rem; }
.doc h2 { font-size: 1.375rem; line-height: 1.3; font-weight: 600; margin: 2.5rem 0 0.75rem; }
.doc p + p, .doc ul + p { margin-top: 0.75rem; }
.doc ul { list-style: disc; margin: 0.75rem 0 0; padding-left: 1.375rem; }
.doc li + li { margin-top: 0.375rem; }

/* ---------- responsywność ---------- */
@media (max-width: 960px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: calc(var(--nav-h) + 1rem) 0 3.5rem; }
  .board { width: 100%; aspect-ratio: 4 / 3; padding: 8% 10%; }
  .cards, .steps, .facts, .form__row { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__photo { position: static; }
  .service { grid-template-columns: 1fr; padding: 1.75rem; }
  .service__head { position: static; }
  .about__photo { max-width: 22rem; }
  .form { padding: 1.5rem; }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .section__head { margin-bottom: 2.5rem; }
  .card, .step { padding: 1.5rem; }
}

/* ---------- ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  [data-reveal], .enter [data-enter] { opacity: 1; transform: none; }
  .hero__copy { opacity: 1; transform: none; pointer-events: auto; }
  .board { display: none; }
  .mark { background-size: 100% 0.42em; }
}
