/* ==========================================================================
   GP STUDIO — system wizualny v2
   Kierunek: kinetyczny, immersive, „award-winning agency".
   Ogromna typografia, tickery, kursor, ziarno, głębia reagująca na mysz.
   Wszystko na CSS + waniliowy JS — bez WebGL i bez zależności.
   ========================================================================== */

/* ==========================================================================
   GP STUDIO — system wizualny v2
   Kierunek: kinetyczny, immersive, „award-winning agency".
   Ogromna typografia, tickery, kursor, ziarno, głębia reagująca na mysz.
   Wszystko na CSS + waniliowy JS — bez WebGL i bez zależności.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeny
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Powierzchnie — niemal czarna czerń z granatowym podtonem */
  --void: #04060b;
  --ink-950: #05070d;
  --ink-900: #070a12;
  --ink-700: #0e1420;

  /* Tekst */
  --text: #f2f5fa;
  --text-soft: #c2ccdc;
  --muted: #8d9ab0;
  --muted-dim: #6f7c92;

  /* Akcent — jeden, wyraźny błękit */
  --accent: #5b8cff;
  --accent-soft: #a3bdff;
  --accent-deep: #2a4fb8;
  --accent-glow: rgba(91, 140, 255, 0.5);
  --accent-wash: rgba(91, 140, 255, 0.06);

  /* Linie */
  --line: rgba(150, 180, 226, 0.11);
  --line-strong: rgba(150, 180, 226, 0.2);
  --line-accent: rgba(91, 140, 255, 0.4);

  /* Typografia */
  --font-display: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Skala typograficzna — spokojna, nie przytłaczająca */
  --t-mega: clamp(2rem, 4.2vw, 3.7rem);
  --t-xl: clamp(1.6rem, 2.9vw, 2.5rem);
  --t-lg: clamp(1.35rem, 2.1vw, 1.9rem);
  --t-md: clamp(1.08rem, 1.4vw, 1.35rem);
  --t-body: clamp(0.97rem, 0.95rem + 0.16vw, 1.04rem);
  --t-lead: clamp(1rem, 0.97rem + 0.3vw, 1.16rem);
  --t-meta: 0.66rem;

  /* Rytm */
  --container: 1160px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --section-y: clamp(40px, 3.6vw, 76px);

  /* Ruch */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 62px;

  /* Powierzchnie półprzezroczyste — zależne od motywu */
  --header-bg: rgba(4, 6, 11, 0.72);
  --panel-solid: rgba(4, 6, 11, 0.95);
}

/* --------------------------------------------------------------------------
   1b. Motyw jasny
   Ten sam układ i typografia, inne tokeny. Ciemny błękit akcentu jest
   ciemniejszy niż w motywie ciemnym, bo na białym tle jasny błękit
   nie osiąga kontrastu WCAG AA (byłoby 2,6:1 — jest 5,5:1).
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  color-scheme: light;

  --void: #f4f6fb;
  --ink-950: #ffffff;
  --ink-900: #f8fafd;
  --ink-700: #e8edf7;

  --text: #0b1220;        /* 18,9:1 na białym */
  --text-soft: #39445a;   /* 9,2:1 */
  --muted: #5c6980;       /* 5,8:1 */
  --muted-dim: #657086;   /* 4,6:1 — najniższy używany odcień, nadal AA */

  --accent: #2b5fd9;      /* 5,5:1 na białym */
  --accent-soft: #1f4bb5;
  --accent-deep: #16307a;
  --accent-glow: rgba(43, 95, 217, 0.32);
  --accent-wash: rgba(43, 95, 217, 0.07);

  --line: rgba(14, 26, 51, 0.12);
  --line-strong: rgba(14, 26, 51, 0.22);
  --line-accent: rgba(43, 95, 217, 0.45);

  --header-bg: rgba(255, 255, 255, 0.78);
  --panel-solid: rgba(255, 255, 255, 0.96);
}

/* Tło strony w motywie jasnym: delikatna błękitna łuna zamiast głębi */
[data-theme="light"] body::before {
  background:
    radial-gradient(1100px 700px at 22% -18%, rgba(43, 95, 217, 0.16), transparent 60%),
    radial-gradient(900px 600px at 96% 4%, rgba(43, 95, 217, 0.1), transparent 58%),
    linear-gradient(180deg, #ffffff, var(--void) 52%);
}
[data-theme="light"] body::after { opacity: 0.022; }

/* Aurora rysowana jest jasnymi plamami z dodawaniem światła — na białym tle
   wypaliłaby się do bieli. Mnożenie przyciemnia, więc kolor zostaje widoczny. */
[data-theme="light"] .hero__aurora {
  mix-blend-mode: multiply;
  opacity: 0.42;
}

[data-theme="light"] .pointer-light {
  background: radial-gradient(closest-side, rgba(43, 95, 217, 0.1), transparent 72%);
}

/* --------------------------------------------------------------------------
   2. Baza
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* Ukryty natywny pasek przewijania — pozycję na stronie pokazuje szyna sekcji */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  background-color: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.7;
  font-weight: 380;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Tło: głębia, siatka, ziarno — wszystko pod treścią */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 22% -18%, rgba(38, 74, 158, 0.5), transparent 60%),
    radial-gradient(900px 600px at 96% 4%, rgba(28, 52, 108, 0.4), transparent 58%),
    linear-gradient(180deg, var(--ink-900), var(--void) 52%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

header, main, footer { position: relative; z-index: 3; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: var(--t-mega); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); }
h4 { font-size: var(--t-lead); }

p { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Ozdobniki globalne
   -------------------------------------------------------------------------- */

/* Miękkie światło idące za kursorem po całej stronie.
   Mały element przesuwany wyłącznie transformem — animacja trafia na kompozytor
   i jest płynna także na ekranach 120 Hz (brak przemalowywania gradientu). */
.pointer-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  background: radial-gradient(closest-side, rgba(91, 140, 255, 0.1), transparent 72%);
  will-change: transform;
  transform: translate3d(-999px, -999px, 0);
}
.pointer-light.is-on { opacity: 1; }

.section--line {
  position: relative;
  border-top: 0;
}
.section--line::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line-strong);
  transform: scaleX(1);
  transform-origin: left;
}
/* Linia „rysuje się" przy wejściu sekcji — tylko gdy działa JS */
html.js .section--line::before {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
html.js .section--line.is-in::before { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   4. Układ, nagłówki sekcji
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(26px, 2.4vw, 52px); }
.section--line { border-top: 1px solid var(--line); }

.u-center { text-align: center; }
.u-muted { color: var(--muted); }
.u-accent { color: var(--accent); }
.u-mt-32 { margin-top: 2rem; }
.u-mt-48 { margin-top: 3rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px; left: 50%;
  transform: translate(-50%, -200%);
  z-index: 500;
  background: var(--ink-700);
  border: 1px solid var(--line-accent);
  padding: 12px 22px;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--accent-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head { max-width: 78ch; margin-bottom: clamp(24px, 2.6vw, 40px); }
.section-head h2 { margin-top: 0.85rem; }
.section-head p {
  margin-top: 1rem;
  max-width: 52ch;
  font-size: var(--t-lead);
  color: var(--muted);
}

/* Nagłówek sekcji przyklejony do góry — efekt edytorski */
.section-head--sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}@media (max-width: 900px){ .section-head--sticky { position: static; }}

/* --------------------------------------------------------------------------
   5. Przyciski
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--void); border-color: var(--accent); }

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--void);
}
.btn--primary::before { background: var(--void); }
.btn--primary:hover { color: var(--text); border-color: var(--accent); }

.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--void); border-color: var(--text); }

/* ------------------------------------------- przełącznik motywu (nagłówek) */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--accent-soft); border-color: var(--line-accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
/* W motywie jasnym pokazujemy słońce — czyli stan, w którym jesteśmy */
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

/* -------------------------- przełącznik animacji w stopce i inne drobne linki */
.link-btn {
  padding: 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-btn:hover { color: var(--accent-soft); border-bottom-color: var(--line-accent); }
.link-btn[aria-pressed="true"] { color: var(--accent-soft); }
.link-btn[aria-pressed="true"]::before { content: "● "; font-size: 0.62em; vertical-align: 0.18em; }

.footer__built { margin-top: 14px; font-size: 0.78rem; color: var(--muted-dim); }

/* --------------------------------------------------------------------------
   15b. Pas z cenami „od” (strona główna)
   -------------------------------------------------------------------------- */
.price-strip__list { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price-strip__item {
  display: grid;
  gap: 6px;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--ink-950);
}
.price-strip__name {
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-strip__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price-strip__note { font-size: 0.9rem; color: var(--muted); }
.price-strip__link { margin-top: 22px; }

.btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.62rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.link-arrow i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover i { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   6. Nawigacja
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-soft);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.brand:hover .brand__mark { background: var(--accent); color: var(--void); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.03em;
}
.brand__sub {
  font-size: 0.47rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav__link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--accent); }

.nav__side { display: flex; align-items: center; gap: 20px; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 8px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--accent); border-color: var(--line-accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  place-items: center;
}
.nav-toggle__bar { display: block; width: 20px; height: 1px; background: var(--text); position: relative; }
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out);
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--void);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
  overflow-y: auto;
}
.nav-mobile.is-open { clip-path: inset(0 0 0 0); }
.nav-mobile__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  letter-spacing: -0.025em;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.nav-mobile__link[aria-current="page"] { color: var(--accent); }
.nav-mobile__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 18px; }

/* --------------------------------------------------------------------------
   6b. Bez JavaScriptu: nakładka menu jest zbędna, a nawigacja musi zostać widoczna
   Bez tej reguły `<noscript>` odsłaniał pełnoekranową nakładkę i zasłaniał stronę.
   -------------------------------------------------------------------------- */
html:not(.js) .nav-mobile { display: none; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: flex-end;
}
html:not(.js) .nav { flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-block: clamp(48px, 7vh, 104px) 0;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Aurora rysowana w canvasie — reaguje na pozycję myszy.
   Rozmycie celowo mniejsze: canvas jest przemalowywany, więc każdy piksel
   rozmycia kosztuje. Mniejszy blur = płynniej na wysokoodświeżanych ekranach. */
.hero__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(18px);
  opacity: 0.9;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 140, 255, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(91, 140, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 140, 255, 0); }
}

.hero__title {
  margin-top: 28px;
  max-width: 22ch;
  font-size: var(--t-mega);
  line-height: 1.06;
  letter-spacing: -0.028em;
  will-change: transform;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--accent-soft); }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 56px;
  align-items: end;
  margin-top: clamp(26px, 3.4vh, 48px);
}
.hero__lead {
  max-width: 46ch;
  font-size: var(--t-lead);
  color: var(--text-soft);
}
.hero__actions { margin-top: 0; }

/* Ticker na dole hero */
.ticker {
  position: relative;
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-accent);
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Pasek zapewnień pod hero */
.assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 44px;
  margin-top: clamp(28px, 3vw, 48px);
  margin-bottom: clamp(32px, 4.6vh, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.assurances li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.assurances li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   9. Lista usług — duże, interaktywne wiersze
   -------------------------------------------------------------------------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { border-bottom: 1px solid var(--line); }
.svc__link {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 44px;
  gap: 28px;
  align-items: center;
  padding-block: clamp(26px, 3vw, 44px);
  transition: background-color 0.3s var(--ease);
}
/* Reflektor podążający za kursorem wewnątrz wiersza */
.svc__link::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(91, 140, 255, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.svc__link:hover::before { opacity: 1; }
.svc__n, .svc__title, .svc__desc, .svc__arrow { position: relative; z-index: 1; }
.svc__n {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
  transition: color 0.3s var(--ease);
}
.svc__link:hover .svc__n { color: var(--accent); }
.svc__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.svc__link:hover .svc__title { color: #fff; }
.svc__desc { color: var(--muted); font-size: 0.95rem; }
.svc__tags {
  display: block;
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.svc__arrow {
  justify-self: end;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-soft);
  transition: transform 0.5s var(--ease-out), background-color 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.svc__arrow svg { width: 18px; height: 18px; }
.svc__link:hover .svc__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--void);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   10. Proces — sticky, z linią postępu
   -------------------------------------------------------------------------- */
.process { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  padding-block: clamp(30px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.step:hover { background: rgba(91, 140, 255, 0.035); }
.step__n {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--muted-dim);
  transition: color 0.35s var(--ease);
}
.step:hover .step__n { color: var(--accent); }
.step h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.03em; }
.step p { color: var(--muted); }

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(24px, 2.6vw, 38px);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 13px; height: 13px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.4s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq__item[open] summary { color: var(--accent-soft); }
.faq__answer {
  padding-bottom: clamp(26px, 3vw, 40px);
  max-width: 64ch;
  color: var(--muted);
  animation: fade-up 0.5s var(--ease-out);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.faq__answer p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   12. Cennik
   -------------------------------------------------------------------------- */
.price-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.9), rgba(5, 7, 13, 0.9));
  padding: clamp(30px, 3vw, 52px);
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.price-card:hover { border-color: var(--line-accent); transform: translateY(-4px); }
.price-card--featured { border-color: var(--line-accent); }
.price-card__flag {
  align-self: flex-start;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card h3 { font-size: var(--t-md); }
.price-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card__price small {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.price-card ul { display: grid; gap: 16px; }
.price-card li { display: flex; gap: 14px; font-size: 0.94rem; color: var(--text-soft); }
.price-card li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 1px;
  margin-top: 0.78em;
  background: var(--accent);
  opacity: 0.6;
}
.price-card .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   13. Siatki pomocnicze (opinie, zespół, portfolio)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--plain { gap: 28px; }

/* --------------------------------------------------------------------------
   14. Pas CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(44px, 5vw, 88px);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(91, 140, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { margin-top: 1.4rem; font-size: var(--t-xl); }
.cta-band p { margin-top: 1.4rem; max-width: 50ch; color: var(--text-soft); font-size: var(--t-lead); }

/* --------------------------------------------------------------------------
   15. Formularz i kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.form { border: 1px solid var(--line); background: var(--ink-950); padding: clamp(28px, 3vw, 52px); }
.form__title { font-size: var(--t-md); }
.form__lead { margin: 12px 0 28px; font-size: 0.92rem; }
.field { margin-bottom: 26px; }
.field__label {
  display: block;
  margin-bottom: 12px;
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__label .req { color: var(--accent); }
.field__input {
  width: 100%;
  min-height: 58px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}
.field__input::placeholder { color: var(--muted-dim); }
.field__input:focus { outline: none; border-bottom-color: var(--accent); }
.field__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
textarea.field__input { min-height: 150px; resize: vertical; }
select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d9ab0' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 30px;
}
select.field__input option { background: var(--ink-700); color: var(--text); }
.field__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.field__error { display: none; margin-top: 10px; font-size: 0.78rem; color: #f0a89a; }
.field.has-error .field__input { border-bottom-color: rgba(240, 168, 154, 0.6); }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: 14px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.checkbox input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); }
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Pole-pułapka dla botów. Web3Forms zaleca ukrycie przez display:none — człowiek
   tego nie widzi i nie kliknie, a bot wypełniający wszystkie pola zostawia ślad.
   Ukryte pole nadal wysyła się razem z formularzem. */
.hp-field { display: none; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.form__note { font-size: 0.76rem; color: var(--muted-dim); max-width: 34ch; }

.form__status {
  display: none;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line-accent);
  background: var(--accent-wash);
  font-size: 0.9rem;
  color: var(--text-soft);
}
.form__status.is-visible { display: block; }
.form__status--ok { border-color: var(--line-accent); }
.form__status--err { border-color: rgba(240, 168, 154, 0.5); background: rgba(240, 168, 154, 0.07); }

.contact-list { border-top: 1px solid var(--line); }
.contact-list__item {
  display: flex;
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.contact-list__item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 6px; }
.contact-list__label {
  display: block;
  font-size: var(--t-meta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 8px;
}
.contact-list__value { font-size: 1.05rem; }
.contact-list__value--muted { color: var(--muted); }
.copy-btn {
  margin-left: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line-accent);
}

/* --------------------------------------------------------------------------
   16. Podstrony, proza, układ dwukolumnowy
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(36px, 4.2vw, 78px) clamp(28px, 3.2vw, 56px); }
/* Nagłówek podstrony z wstępem do pierwszej sekcji obok siebie */
.page-hero__inner { max-width: 68ch; }
.page-hero--split .page-hero__inner { max-width: none; }
.page-hero__content { display: block; }
.page-hero__content.page-hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.4vw, 72px);
  align-items: end;
  max-width: none;
}
.page-hero__main { max-width: 46ch; }
.page-hero__aside { max-width: 44ch; }
.page-hero__aside h2 { margin-top: 0.85rem; font-size: var(--t-lg); }
.page-hero__aside p:last-child {
  margin-top: 1rem;
  font-size: var(--t-lead);
  color: var(--muted);
}
.page-hero h1 { margin-top: 1rem; font-size: var(--t-xl); }
.page-hero p { margin-top: 1rem; max-width: 52ch; font-size: var(--t-lead); color: var(--text-soft); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-meta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.breadcrumb a:hover { color: var(--accent); }

.prose { max-width: 64ch; }
.prose h2 { margin-top: 2.4rem; font-size: var(--t-lg); }
.prose h3 { margin-top: 2.2rem; }
.prose p { margin-top: 1.4rem; color: var(--text-soft); }
.prose ul { margin-top: 1.3rem; display: grid; gap: 12px; }
.prose li { position: relative; padding-left: 24px; color: var(--text-soft); }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 12px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.prose > *:first-child { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 5vw, 100px);
  align-items: start;
}
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.split__aside h2 { font-size: var(--t-lg); margin-top: 1.2rem; }

.checklist { display: grid; gap: 16px; margin-top: 26px; }
.checklist li { display: flex; gap: 16px; color: var(--text-soft); }
.checklist li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 6px; }

.note-box {
  border: 1px solid var(--line);
  border-left: 1px solid var(--accent);
  background: var(--ink-950);
  padding: 26px 30px;
  color: var(--text-soft);
}
.note-box strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Stopka z wielkim znakiem
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--section-y);
  border-top: 1px solid var(--line);
  background: var(--ink-950);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 56px;
  padding-block: clamp(56px, 6vw, 110px);
}
.footer__brand p { margin-top: 24px; max-width: 34ch; color: var(--muted); }
.footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--t-meta);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.footer__col ul { margin-top: 24px; display: grid; gap: 14px; }
.footer__col a, .footer__col li { font-size: 0.92rem; color: var(--muted); }
.footer__col a { transition: color 0.25s var(--ease), padding-left 0.3s var(--ease-out); }
.footer__col a:hover { color: var(--accent); padding-left: 6px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-dim);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.to-top:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   18. Szyna sekcji (rail)
   -------------------------------------------------------------------------- */
.rail {
  position: fixed;
  right: clamp(18px, 2.6vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: none;
  gap: 14px;
}@media (min-width: 1400px){ .rail { display: grid; }}
.rail__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.rail__dot {
  width: 18px; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.rail__item:hover,
.rail__item[aria-current="true"] { opacity: 1; color: var(--accent); }
.rail__item[aria-current="true"] .rail__dot { width: 34px; }

/* Karty, które delikatnie przechylają się pod kursorem */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s var(--ease-out), border-color 0.3s var(--ease);
}

/* --------------------------------------------------------------------------
   19. Toast, 404
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  z-index: 320;
  padding: 14px 24px;
  border: 1px solid var(--line-accent);
  background: var(--panel-solid);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  color: var(--accent-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: clamp(60px, 9vw, 140px); }
.error-page__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 16rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(170deg, var(--accent-soft), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   20. Ruch: wejścia sekcji — wszystko pod `html.js`, więc bez JS treść widać
   -------------------------------------------------------------------------- */
/* Domyślne wejście: element wypływa z głębi (perspektywa + obrót w osi X) */
html.js [data-reveal] {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 38px, -80px) rotateX(5deg) scale(0.985);
  transform-origin: 50% 100%;
  transition: opacity 0.75s var(--ease), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
}

/* Nagłówki: wejście z rozmycia */
html.js [data-reveal="blur"] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease), filter 0.8s var(--ease),
    transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal="blur"].is-in { opacity: 1; filter: blur(0); transform: none; }

/* --------------------------------------------------------------------------
   20b. Animacje sterowane scrollem
   Zakres `cover` (wysokość elementu + wysokość ekranu) daje długi, wyraźnie
   widoczny ruch. `entry` przy niskich elementach kończył animację w ~30 px
   przewijania, przez co efektu praktycznie nie było widać.
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: reveal-rise linear both;
    animation-timeline: view();
    animation-range: cover 4% cover 38%;
  }

  html.js [data-reveal="blur"] {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: reveal-blur linear both;
    animation-timeline: view();
    animation-range: cover 2% cover 30%;
  }

  @keyframes reveal-rise {
    from {
      opacity: 0;
      transform: perspective(1200px) translate3d(0, 90px, -160px) rotateX(11deg) scale(0.94);
    }
    to {
      opacity: 1;
      transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
    }
  }

  @keyframes reveal-blur {
    from { opacity: 0; filter: blur(18px); transform: translate3d(0, 40px, 0); }
    to { opacity: 1; filter: blur(0); transform: none; }
  }

  /* Hero wyjeżdża z kadru: lekko maleje i blednie */
  html.js .hero {
    animation: hero-exit linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }

  @keyframes hero-exit {
    from { opacity: 1; transform: scale(1) translateY(0); }
    to { opacity: 0.2; transform: scale(0.95) translateY(-60px); }
  }
}

/* --------------------------------------------------------------------------
   20c. Wejście hero przy ładowaniu strony (niezależne od scrolla)
   -------------------------------------------------------------------------- */
html.js [data-intro] {
  animation: intro-rise 0.95s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
html.js [data-intro="blur"] {
  animation: intro-blur 1.15s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes intro-rise {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-blur {
  from { opacity: 0; filter: blur(18px); transform: translate3d(0, 22px, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

[data-parallax] { will-change: transform; }

/* --------------------------------------------------------------------------
   21. Responsywność
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc__link { grid-template-columns: 56px minmax(0, 1fr) 60px; gap: 18px 20px; }
  .svc__n { grid-column: 1; grid-row: 1; }
  .svc__title { grid-column: 2; grid-row: 1; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .svc__desc { grid-column: 2 / -1; grid-row: 2; }
  .step { grid-template-columns: 70px minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__aside { position: static; }
}@media (max-width: 900px){
  :root { --header-h: 72px; }
  .nav__links, .nav__cta { display: none; }
  .nav-toggle { display: grid; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 20px; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__content.page-hero__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .page-hero__main, .page-hero__aside { max-width: none; }

  /* Siatki, które na wąskim ekranie muszą być jednokolumnowe.
     Te dwie reguły zniknęły kiedyś przy sprzątaniu CSS (selektor listy
     zawierał martwą klasę) — na telefonie cennik został w dwóch kolumnach,
     a lista atutów w trzech, przez co każde słowo łamało się do osobnej linii.
     `tools/check_site.py` pilnuje teraz, żeby ta luka nie wróciła. */
  .assurances { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
}@media (max-width: 620px){
  .svc__link { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 18px; padding-block: 26px; }
  .svc__n { grid-column: 1; grid-row: 1; }
  .svc__title { grid-column: 2; grid-row: 1; }
  .svc__desc { grid-column: 2; grid-row: 2; }
  .svc__arrow { display: none; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .field__row { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   22. Dostępność: bez animacji, gdy użytkownik tego chce
   Wyjątek: `?anim=on` w adresie wymusza ruch (klasa .force-motion) — przydaje
   się, gdy system ma włączone ograniczanie animacji, a chcemy je zobaczyć.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) { scroll-behavior: auto; }
  html:not(.force-motion) *,
  html:not(.force-motion) *::before,
  html:not(.force-motion) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html:not(.force-motion) [data-reveal],
  html:not(.force-motion) [data-reveal="blur"],
  html:not(.force-motion) [data-intro],
  html:not(.force-motion) [data-intro="blur"] {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   23. Telefony: wydajność, czytelność, wygodne dotykanie
   Priorytet na telefonie to brak mulenia. Najdroższe rzeczy — canvas
   przemalowywany z rozmyciem co klatkę, warstwy position: fixed i obrót 3D
   przy wchodzeniu sekcji — są tu wyłączone albo zamienione na tańsze warianty.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Aurora: pełnoekranowy canvas rozmywany 60 razy na sekundę to zabójca
     płynności na telefonie. Tło zostaje — gradient i łuna są w CSS. */
  .hero__aurora { display: none; }

  /* Światło za kursorem na telefonie nie ma sensu, a to warstwa 620 px. */
  .pointer-light { display: none; }

  /* Pełnoekranowe warstwy position: fixed przemalowują się przy przewijaniu
     (na iOS szczególnie). Ziarno wyłączamy, tło przypinamy do góry strony. */
  body::after { display: none; }
  body::before { position: absolute; height: 115vh; }

  /* Wejścia sekcji bez obrotu w 3D — mniej warstw do komponowania. */
  html.js [data-reveal] { animation-name: reveal-rise-mobile; }
  @keyframes reveal-rise-mobile {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to { opacity: 1; transform: none; }
  }

  /* Krótszy zakres animacji. Przy długim zakresie na wąskim ekranie spora
     część tekstu pozostaje wpół przezroczysta i przesunięta — wygląda to jak
     ucięte napisy. Tu element osiada zaraz po wejściu w kadr. */
  html.js [data-reveal] { animation-range: cover 0% cover 16%; }
  html.js [data-reveal="blur"] { animation-range: cover 0% cover 14%; }
}@media (max-width: 620px){
  :root {
    --gutter: 20px;
    /* Etykiety 10,5 px z rozstrzeleniem 0,16em były na telefonie nieczytelne */
    --t-meta: 0.72rem;
  }

  /* Przewijany pasek usług z natury ucina wyrazy na krawędziach — na telefonie
     wygląda to jak zepsuty tekst, a nie jak zamierzony efekt. */
  .ticker { display: none; }

  /* Podpis pod nazwą firmy ma tu 7,5 px — nie da się tego przeczytać. */
  .brand__sub { display: none; }

  /* Pola muszą mieć co najmniej 16 px — inaczej iPhone sam przybliża stronę
     przy kliknięciu w pole i połowa formularza ucieka z ekranu. */
  .field__input { font-size: 16px; }
  .field__label { font-size: 0.72rem; letter-spacing: 0.12em; }

  /* Pole dotyku ~44 px tam, gdzie było najmniejsze */
  .lang-switch a { font-size: 0.7rem; padding: 10px 14px; }
  .copy-btn { padding: 8px 2px; font-size: 0.7rem; }
  .to-top { padding-block: 8px; }
  .footer__col a { display: inline-block; padding-block: 5px; }
  .nav-toggle { width: 44px; height: 44px; }

  /* Czytelniejszy tekst tam, gdzie był najmniejszy */
  .btn { font-size: 0.76rem; min-height: 54px; }
  .svc__tags, .card__meta { font-size: 0.72rem; letter-spacing: 0.08em; }
  .form__note, .contact-list__label { font-size: 0.74rem; }

  /* Nagłówki: mniejsze ściśnięcie liter i pełna szerokość ekranu */
  .hero__title { letter-spacing: -0.016em; max-width: none; }
  .page-hero h1, .section-head h2 { letter-spacing: -0.018em; }
  .section-head p { font-size: 1rem; }
  .eyebrow { flex-wrap: wrap; gap: 10px; }
  .eyebrow::before { width: 22px; }

  /* Żadne słowo ani adres nie może wystawać poza ekran — wystające było
     obcinane przez `overflow-x: hidden` i wyglądało jak ucięty tekst. */
  h1, h2, h3, h4, p, li, summary, blockquote,
  .svc__title, .svc__desc, .contact-list__value, .footer__col li,
  .prose p, .faq__answer, .note-box, .price-card__price {
    overflow-wrap: break-word;
  }

  /* Oddech w kartach */
  .price-card, .form { padding: 24px; }
}

/* Kolor błysku przy dotknięciu — domyślny szary wygląda obco na ciemnej stronie */
html { -webkit-tap-highlight-color: rgba(91, 140, 255, 0.18); }

/* Canvas tak samo jak obrazki: nigdy nie wychodzi poza kontener */
canvas { display: block; max-width: 100%; }