@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonty/bricolage-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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonty/bricolage-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;
}

:root {
  --papier: #f2f5f7;
  --atrament: #16212c;
  --petrol: #0f4c5c;
  --sygnal: #f4b740;
  --szary: #5b6b78;
  --linia: #cfd8de;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --szer: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--atrament);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "opsz" 14;
}
a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sygnal); outline-offset: 3px; border-radius: 2px; }

.ramka { max-width: var(--szer); margin: 0 auto; padding: 0 1.5rem; }

/* nagłówek */
.naglowek { display: flex; justify-content: space-between; align-items: baseline; padding: 1.75rem 0; }
.znak { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--atrament); text-decoration: none; font-variation-settings: "opsz" 48; }
.znak span { color: var(--petrol); }
.naglowek nav a { font-weight: 600; }

/* hero */
.hero { padding: 4.5rem 0 3rem; }
.hero h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 760;
  font-variation-settings: "opsz" 96;
}
.hero p.lead { max-width: 38rem; margin: 1.75rem 0 2.25rem; font-size: 1.25rem; color: var(--szary); }
.przycisk {
  display: inline-block;
  background: var(--petrol);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}
.przycisk:hover { background: var(--atrament); }

/* przebieg leada: jedyny mocny element strony */
.przebieg { margin: 4rem 0 1rem; }
.przebieg h2 { font-size: 1rem; font-weight: 650; color: var(--szary); margin: 0 0 1.25rem; }
.przebieg ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative;
}
.przebieg ol::before {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; top: 0.9rem; height: 4px;
  background: var(--sygnal); border-radius: 2px;
  transform-origin: left center;
  animation: linia 1.6s cubic-bezier(.2,.7,.2,1) 0.2s both;
}
.przebieg li { position: relative; padding: 2.75rem 1.25rem 0 0; }
.przebieg li::before {
  counter-increment: krok; content: counter(krok);
  position: absolute; top: 0; left: 0;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--atrament); color: var(--papier);
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
}
.przebieg ol { counter-reset: krok; }
.przebieg strong { display: block; font-size: 1.15rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.przebieg span { display: block; margin-top: 0.4rem; color: var(--szary); font-size: 0.97rem; }
@keyframes linia { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* co robimy */
.co { padding: 5rem 0 2rem; border-top: 1px solid var(--linia); margin-top: 4rem; }
.co h2, .kontakt h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 2.5rem; font-weight: 720; font-variation-settings: "opsz" 72; max-width: 22ch; }
.uslugi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.uslugi h3 { margin: 0 0 0.6rem; font-size: 1.3rem; letter-spacing: -0.015em; font-weight: 700; }
.uslugi p { margin: 0; color: var(--szary); max-width: 34ch; }

/* kontakt */
.kontakt { padding: 5rem 0; }
.kontakt p { font-size: 1.25rem; margin: 0; }
.kontakt a.mail { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }

/* stopka */
.stopka { border-top: 1px solid var(--linia); padding: 2rem 0 3rem; color: var(--szary); font-size: 0.95rem; }
.stopka .ramka { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; justify-content: space-between; }
.stopka p { margin: 0; }

/* strona tekstowa (polityka) */
.tekst { padding: 2rem 0 5rem; }
.tekst article { max-width: 46rem; }
.tekst h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; margin: 1rem 0 0.75rem; font-weight: 760; font-variation-settings: "opsz" 96; }
.tekst h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin: 2.5rem 0 0.6rem; }
.tekst h3 { font-size: 1.1rem; margin: 1.75rem 0 0.4rem; }
.tekst .data { color: var(--szary); margin: 0 0 2rem; }
.tekst ul { padding-left: 1.2rem; }
.tekst li { margin: 0.3rem 0; }
.tekst hr { border: 0; border-top: 1px solid var(--linia); margin: 3.5rem 0 1rem; }

@media (max-width: 860px) {
  .przebieg ol { grid-template-columns: 1fr; }
  .przebieg ol::before { left: 0.88rem; right: auto; top: 0.9rem; bottom: 0.9rem; width: 4px; height: auto; transform-origin: center top; animation-name: linia-pion; }
  .przebieg li { padding: 0 0 1.75rem 3rem; }
  .uslugi { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 2.5rem; }
}
@keyframes linia-pion { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .przebieg ol::before { animation: none; } }
