/* ============================================================
   Strona do ręki — kierunek „Przekazanie do ręki"
   Żanr: list przewozowy / protokół przekazania.
   Źródło prawdy: docs/design-direction.md
   ============================================================ */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600-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; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700-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; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/barlow-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/barlow-400-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; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-600-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-400-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-600-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; }

/* ---------- Fonty zastępcze (metric-matched fallback, baza Arial) ----------
   Zero-CLS swap: dopóki Barlow/Barlow Condensed się ładują, przeglądarka rysuje
   Arialem przeskalowanym tak, żeby jego box (ascent/descent) i szerokość
   renderowanego tekstu pokrywały się z docelowym fontem — swap potem nie
   przesuwa layoutu. Ascent/descent z realnych metryk OS/2 (fontTools, oba
   fonty mają USE_TYPO_METRICS: ascent 1000, descent -200, UPM 1000).
   size-adjust NIE liczony z OS/2 xAvgCharWidth (metryka niewiarygodna —
   próba pokazała rozjazd do 24%), tylko empirycznie: Canvas
   measureText(realny tekst PL).width, Barlow/Arial przy tym samym font-size,
   zweryfikowane przez Playwright (fallback vs. realny font, różnica <0,1 px
   na ~500 znakach). ascent/descent-override = docelowy_stosunek / size-adjust
   (size-adjust skaluje WSZYSTKIE metryki fallbacku, override je kompensuje). */
@font-face { font-family: 'Barlow Fallback'; font-style: normal; font-weight: 400;
  src: local('Arial');
  size-adjust: 93.86%; ascent-override: 106.54%; descent-override: 21.31%; line-gap-override: 0%; }
@font-face { font-family: 'Barlow Fallback'; font-style: normal; font-weight: 600;
  src: local('Arial');
  size-adjust: 96.14%; ascent-override: 104.01%; descent-override: 20.80%; line-gap-override: 0%; }
@font-face { font-family: 'Barlow Condensed Fallback'; font-style: normal; font-weight: 700;
  src: local('Verdana');
  size-adjust: 61.69%; ascent-override: 162.10%; descent-override: 32.42%; line-gap-override: 0%; }
@font-face { font-family: 'Barlow Condensed Fallback'; font-style: normal; font-weight: 600;
  src: local('Verdana');
  size-adjust: 60.37%; ascent-override: 165.65%; descent-override: 33.13%; line-gap-override: 0%; }

/* ---------- Tokeny materiałowości ---------- */
:root {
  /* SCENA: lekkie off-white, NIE krafт-tektura (referencja) */
  --papier-sekcja: #ECE9E1; /* tło strony — neutralny greige papier (nie różowy krem, §1.4), głębszy od białej karty */
  --papier-stol:   #E0D2B0; /* biurko hero — kraft papier pakowy (cieplejszy/ciemniejszy niż karta), NIE różowy krem */
  --karton: #E6D7BC;
  --papier: #FFFFFF;        /* karta = czysta biel na off-white (było #FDFBF7) */
  --karta-czysta: #FFFFFF;
  --czern: #1A1714;
  --linia: #E0D8C8;
  --linia-cienka: rgba(43, 76, 155, 0.14); /* chłodne separatory na białych kartach */
  --braz: #B89B72;
  --blob: #EDE6D8;          /* blade organic-plamy na marginesach */
  --tusz: #2B4C9B;
  --tusz-ciemny: #22407F;
  --tusz-na-ciemnym: #6E89C4; /* tusz na ciemnej stopce (AA) */
  --bursztyn: #E3A52E;        /* złoto-amber „polecany" — navy+gold, tekst navy (AA) */
  --tusz-jasny: color-mix(in oklch, var(--tusz) 72%, white);
  --tint-tusz: color-mix(in oklch, var(--tusz) 9%, white);   /* tło icon-chipów */
  --tint-tusz-8: color-mix(in oklch, var(--tusz) 9%, white);
  --tint-tusz-mocny: color-mix(in oklch, var(--tusz) 14%, white); /* wyróżniony węzeł 05 */
  --blad: #8A2014;
  /* obwód mięknie na podłożach-kartach; artefakty (stemple/znaczki) trzymają ostry --czern/--tusz */
  --obwod: rgba(26, 23, 20, 0.10);
  /* GŁĘBIA: kontakt (ciasny) + rzut ROZMYTY w tuszu — miękki, jaśniejszy (na off-white ciężki brudzi) */
  --cien-kontakt: 0 2px 4px rgba(20, 30, 60, 0.10);
  --cien-rzut: 0 9px 24px -10px rgba(20, 30, 60, 0.12), 0 28px 60px -24px rgba(20, 30, 60, 0.16);
  --cien-karta: var(--cien-kontakt), var(--cien-rzut);
  --cien-maly: 0 1px 2px rgba(20, 30, 60, 0.05), 0 10px 22px -12px rgba(20, 30, 60, 0.14);
  --swiatlo: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  /* skala radiusu Z ŻANRU (3 szczeble) — NIE jeden uniwersalny */
  --r-etykieta: 4px;
  --r-karta: clamp(14px, 1.6vw, 22px);
  --r-ikona: 12px;
  --r-pill: 10px;
  --grotesk: 'Barlow', 'Barlow Fallback', 'Segoe UI', system-ui, sans-serif;
  --kondens: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  --mono-f: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

/* ---------- Baza ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
:root { interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--grotesk);
  font-size: 16px;
  line-height: 1.55;
  color: var(--czern);
  background-color: var(--papier-sekcja); /* lekkie off-white — bez tektury (referencja) */
}
::selection { background: var(--tusz); color: #fff; }
img, svg { display: block; }
a { color: inherit; }

.mono { font-family: var(--mono-f); }
.kontener { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

h1, h2, h3 { font-family: var(--kondens); text-transform: uppercase; line-height: 1; margin: 0; }
h2 { font-weight: 700; font-size: clamp(30px, 4.5vw, 44px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--tusz); color: #fff; padding: 10px 16px;
  font-family: var(--mono-f); text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.ukryte { display: none !important; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block;
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 18px;
  padding: 12px 24px;
  background: var(--tusz); color: #fff;
  border: 2px solid var(--czern);
  box-shadow: 4px 4px 0 var(--czern);
  text-decoration: none; cursor: pointer;
  transition: translate 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { translate: 2px 2px; box-shadow: 2px 2px 0 var(--czern); }
.btn:focus-visible { outline: 3px solid var(--tusz); outline-offset: 3px; }
.btn-bialy { background: var(--papier); color: var(--czern); }
.btn-maly { font-size: 15px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--czern); white-space: nowrap; }
.cta-szewrony { display: none; }
@media (max-width: 940px) {
  .cta-pelne { display: none; }
  .cta-szewrony { display: inline; letter-spacing: 0.02em; }
}
.btn-duzy { font-size: 22px; padding: 14px 36px; }

/* ---------- Nagłówek ---------- */
.naglowek {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--papier-sekcja) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid color-mix(in oklch, var(--tusz) 12%, transparent);
}
.naglowek-srodek { display: flex; align-items: center; gap: 22px; min-height: 64px; }
/* słowny znak: maszynowy nadruk nadawcy (mono), NIE kondens nagłówków */
.marka {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--mono-f); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--tusz-ciemny);
  text-decoration: none; white-space: nowrap;
}
/* logo = monoline nadruk navy, siada w cap-height wordmarku (bez cienia/3D) */
.znaczek { display: flex; }
.znaczek img {
  width: 30px; height: 30px;
}
.marka-tekst { transform: none; }
@media (max-width: 760px) {
  .marka { font-size: 12px; letter-spacing: 0.14em; gap: 9px; }
  .znaczek img { width: 26px; height: 26px; }
}
/* — Nawigacja: poziomy pasek na desktopie; na mobile hamburger + rozwijany panel.
   Przełącznik = ukryty checkbox (działa BEZ JS, zgodne z CSP). — */
.nawigacja { display: flex; align-items: center; margin-left: auto; }
.nawigacja-checkbox { display: none; }
.nawigacja-przycisk { display: none; }
.naglowek-nav { display: flex; gap: 26px; }
.naglowek-nav a {
  font-family: var(--mono-f); font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  color: color-mix(in oklch, var(--czern) 78%, transparent);
  transition: color 0.14s ease;
}
.naglowek-nav a:hover { color: var(--tusz); text-decoration: none; }
.naglowek-nav a[aria-current="page"] { color: var(--tusz); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.naglowek .btn-maly { margin-left: 0; }

@media (max-width: 940px) {
  .nawigacja { position: relative; }
  .naglowek-srodek { gap: 12px; }
  /* checkbox: ukryty wizualnie, ale fokusowalny klawiaturą */
  .nawigacja-checkbox { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
  /* przycisk-plomba z hamburgerem */
  .nawigacja-przycisk {
    display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
    font-family: var(--mono-f); font-weight: 600; font-size: 11px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--tusz);
    border: 2px solid var(--tusz); background: var(--papier); padding: 7px 10px;
  }
  /* na telefonach chowamy słowny znak marki (zostaje znaczek), by zmieścić przycisk menu */
  @media (max-width: 480px) { .marka-tekst { display: none; } }
  .nawigacja-kreski { position: relative; display: block; width: 17px; height: 2px; background: currentColor; }
  .nawigacja-kreski::before, .nawigacja-kreski::after {
    content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
    transition: transform 0.2s ease, top 0.2s ease;
  }
  .nawigacja-kreski::before { top: -6px; }
  .nawigacja-kreski::after { top: 6px; }
  .nawigacja-checkbox:focus-visible + .nawigacja-przycisk { outline: 3px solid var(--tusz); outline-offset: 2px; }
  /* otwarte: plomba w tuszu + hamburger → X */
  .nawigacja-checkbox:checked + .nawigacja-przycisk { background: var(--tusz); color: #fff; }
  .nawigacja-checkbox:checked + .nawigacja-przycisk .nawigacja-kreski { background: transparent; }
  .nawigacja-checkbox:checked + .nawigacja-przycisk .nawigacja-kreski::before { top: 0; transform: rotate(45deg); }
  .nawigacja-checkbox:checked + .nawigacja-przycisk .nawigacja-kreski::after { top: 0; transform: rotate(-45deg); }
  /* panel nawigacji — ukryty, pokazywany gdy checkbox zaznaczony */
  .naglowek-nav {
    display: none;
    position: absolute; right: 0; top: calc(100% + 12px);
    flex-direction: column; align-items: stretch; gap: 0; min-width: 220px;
    background: var(--papier); border: 2px solid var(--tusz);
    box-shadow: 8px 8px 0 var(--braz); padding: 6px; z-index: 60;
  }
  .nawigacja-checkbox:checked ~ .naglowek-nav { display: flex; }
  .naglowek-nav a { font-size: 14px; padding: 12px 14px; border-bottom: 1px dashed var(--linia); }
  .naglowek-nav a:last-child { border-bottom: 0; }
}

/* ---------- Etykieta (rama dokumentu) ---------- */
.etykieta {
  position: relative;
  background: var(--papier);
  border: 2px solid var(--czern);
  box-shadow: 10px 10px 0 var(--braz);
  overflow: hidden; /* przycina wycięcia perforacji do krawędzi karty */
}
.etykieta-pasek {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--tusz); color: var(--papier);
  padding: 8px 18px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.szewrony { letter-spacing: 0.3em; font-weight: 600; font-size: 14px; line-height: 1.2; }

/* ---------- Stempel ---------- */
.stempel {
  --kat: -7deg;
  display: inline-block;
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  font-size: 20px; letter-spacing: 0.18em;
  color: var(--tusz);
  border: 3px solid var(--tusz); border-radius: 3px;
  padding: 4px 16px;
  transform: rotate(var(--kat));
  opacity: 0.9;
}

/* ---------- S1 · Hero ---------- */
.hero {
  padding-block: clamp(40px, 8vw, 90px);
  background: transparent; /* przezroczyste = to SAMO tło + ziarno co reszta strony (nie płaski papier) */
}
/* mata: kraftowa „podkładka na biurko" POD kartą — tekstura tylko tutaj */
.hero-mata {
  position: relative;
  background: var(--papier-stol) url('../assets/img/tlo-kraft.webp') center / cover;
  padding: clamp(20px, 3.2vw, 48px);
  border-radius: clamp(18px, 2vw, 28px);
  /* WYRAŹNY rzucony cień — mata ma masę, leży na biurku (3 warstwy: kontakt + miękki + daleki) */
  box-shadow:
    0 6px 12px rgba(28, 20, 8, 0.26),
    0 30px 50px -10px rgba(28, 20, 8, 0.46),
    0 84px 120px -24px rgba(28, 20, 8, 0.64);
}
.hero-siatka { display: grid; gap: 36px; padding: clamp(24px, 5vw, 52px); }
@media (min-width: 860px) { .hero-siatka { grid-template-columns: 1.15fr 0.85fr; } }
.stempel-chip {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  font-size: 26px; letter-spacing: 0.14em; line-height: 1;
  color: var(--tusz);
  border: 3px solid var(--tusz); background: var(--papier);
  padding: 9px 18px;
}
.szewron-mini { font-size: 1em; line-height: 1; letter-spacing: 0.02em; }
.stempel-hero { --kat: -6deg; position: absolute; top: 56px; right: 30px; transform: rotate(var(--kat)); }
/* przybicie pieczęci — kąt końcowy per element przez --kat */
@keyframes wbicie {
  0% { opacity: 0; transform: rotate(calc(var(--kat, 0deg) - 9deg)) scale(1.9); }
  64% { opacity: 1; transform: rotate(calc(var(--kat, 0deg) + 2deg)) scale(0.96); }
  100% { opacity: 1; transform: rotate(var(--kat, 0deg)) scale(1); }
}
/* postmarka (okrągła pieczęć doręczenia) — ciężkie, mocne przybicie; finał wejścia hero.
   Sekwencja PRIORYTET + postmarki sterowana w bloku .hero.odbite (prefers-reduced-motion). */
@keyframes postmarka-bije {
  0%   { opacity: 0;    transform: rotate(-8deg) scale(1.85); }
  55%  { opacity: 0.8;  transform: rotate(-8deg) scale(0.9); }
  78%  { opacity: 0.62; transform: rotate(-8deg) scale(1.06); }
  100% { opacity: 0.62; transform: rotate(-8deg) scale(1); }
}
@media (max-width: 859px) {
  .stempel-hero {
    position: static;
    display: inline-flex;
    margin: 22px 0 0 clamp(24px, 5vw, 52px);
    font-size: 19px;
  }
  .hero-siatka { padding-top: 6px; }
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(44px, 7.6vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--tusz-ciemny);
}
.hero-sub { font-size: clamp(15px, 1.5vw, 16.5px); max-width: 48ch; margin: 0; color: color-mix(in oklch, var(--czern) 82%, transparent); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.pola { margin: 0; }
.pole { margin-bottom: 16px; border-bottom: 1px dotted color-mix(in oklch, var(--tusz) 24%, transparent); padding-bottom: 10px; }
.pole dt {
  font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tusz);
}
.pole dd { margin: 2px 0 0; font-weight: 600; font-size: 17px; }
/* kieszeń „ostatnio doręczone" — jeden skalowalny slot z odbitką z rejestru */
.kieszen {
  display: block; max-width: 190px; margin-top: 24px;
  position: relative;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 4px 4px 0 var(--braz);
  padding: 7px 7px 6px;
  text-decoration: none;
  transform: rotate(2deg);
  transition: transform 0.15s ease;
}
.kieszen:hover { transform: rotate(0deg); }
.kieszen:focus-visible { outline: 3px solid var(--tusz); outline-offset: 3px; }
.kieszen img { width: 100%; height: auto; display: block; }
.kieszen .mono {
  display: block; margin-top: 6px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tusz); text-align: center;
}
.kieszen::before {
  content: '';
  position: absolute; top: -11px; left: 50%;
  width: 72px; height: 20px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(184, 155, 114, 0.4);
  border: 1px solid rgba(26, 23, 20, 0.12);
}
.znaki { display: flex; gap: 16px; }
.znaki svg { width: 26px; height: 26px; }
.kreski { width: 100%; max-width: 230px; height: 42px; color: var(--czern); }
/* odcinek kontrolny — odrywany kwit u dołu etykiety: perforacja z wycięciami */
.odcinek {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  border-top: 2px dashed var(--czern);
  padding: 16px clamp(24px, 5vw, 52px);
}
/* nożyczki „tu oderwij" na linii perforacji */
.nozyczki {
  position: absolute; top: 0; left: clamp(20px, 4vw, 44px);
  transform: translateY(-58%);
  width: 22px; height: 22px;
  color: var(--czern);
  background: var(--papier);
  padding: 0 5px;
}
.odcinek .kreski { max-width: 200px; height: 34px; }

/* ---------- Sekcje ---------- */
.sekcja {
  padding-block: clamp(48px, 8vw, 84px);
  scroll-margin-top: 112px;
}
.sekcja-glowa { margin-bottom: 30px; }
.sekcja-intro { max-width: 62ch; font-size: 16px; margin: 14px 0 0; }

/* ---------- S2 · Protokół zawartości ---------- */
.protokol {
  list-style: none; margin: 0; padding: 0;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
}
.protokol li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 2px dashed var(--linia);
}
.protokol li:last-child { border-bottom: 0; }
.protokol p { margin: 0; }
/* icon-chip: jasnoniebieski zaokrąglony kwadrat z niebieskim ptaszkiem (referencja) */
.kratka {
  position: relative;
  flex: none; width: 30px; height: 30px; margin-top: 1px;
  border-radius: var(--r-ikona); border: 0;
  background: var(--tint-tusz);
}
.kratka svg {
  position: absolute; top: 6px; left: 4px;
  width: 23px; height: 20px;
  color: var(--tusz);
  transform: rotate(-3deg);
}
.protokol li:nth-child(2n) .kratka svg { transform: rotate(4deg) translateY(-1px); }
.protokol li:nth-child(3n) .kratka svg { transform: rotate(-1deg) translateX(2px); }

/* ---------- S3 · Gabaryty ---------- */
.gabaryty { display: grid; gap: 26px; }
@media (min-width: 860px) { .gabaryty { grid-template-columns: repeat(3, 1fr); } }
.gabaryt {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
}
/* ribbon „Polecany" — POD nagłówkiem GABARYT A, amber (nie navy) */
.adnotacja-start {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono-f); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tusz-ciemny); background: var(--bursztyn);
  padding: 7px 16px;
}
.adnotacja-gwiazdka { font-size: 13px; line-height: 1; }
.gabaryt-cta {
  display: block; text-align: center;
  font-family: var(--mono-f); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tusz); text-decoration: none;
  padding: 13px 10px;
  border-top: 2px dotted var(--braz);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gabaryt-cta:hover { background: var(--tusz); color: #fff; }
.gabaryt-cta:focus-visible { outline: 3px solid var(--tusz); outline-offset: -3px; }
/* belka adresowa — JASNA (referencja), znaczek-cena leży po prawej, tytuł w tuszu */
.gabaryt-glowa {
  display: flex; justify-content: flex-start; align-items: flex-start; gap: 10px;
  background: var(--tint-tusz-8); color: var(--tusz-ciemny);
  border-bottom: 1px solid var(--linia-cienka);
  padding: 14px 16px;
  min-height: 112px;
}
.gabaryt-glowa h3 {
  font-family: var(--mono-f); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; color: var(--tusz);
}
/* znaczek pocztowy z nominałem = ceną; ząbki przez radial-gradient,
   widoczne na czarnej belce karty */
.znaczek-nominal {
  position: absolute; top: 10px; right: 12px; z-index: 1;
  padding: 7px;
  background-image: radial-gradient(circle, transparent 0 4px, var(--papier) 4.5px);
  background-size: 14px 14px;
  transform: rotate(2deg);
  filter: drop-shadow(2px 3px 0 rgba(26, 23, 20, 0.3));
}
.znaczek-srodek {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--papier);
  border: 1px solid var(--linia);
  padding: 8px 12px 6px;
}
.znaczek-srodek img { width: 22px; height: 22px; }
.znaczek-srodek strong {
  font-family: var(--kondens); font-weight: 700; font-size: 23px;
  line-height: 1; white-space: nowrap; color: var(--tusz-ciemny);
}
.znaczek-srodek small {
  font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(26, 23, 20, 0.6); white-space: nowrap;
}
.gabaryt-opis { padding: 16px 16px 8px; margin: 0; flex: 1; }
.parametry { margin: 0; padding: 8px 16px 18px; display: grid; gap: 8px; }
.parametry div {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1.5px dotted var(--braz); padding-top: 8px;
}
.parametry dt {
  font-family: var(--mono-f);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--tusz); align-self: end;
}
.parametry dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }
/* miarka wymiarowa u dołu karty — kreski jak na taśmie mierniczej */
.miarka {
  height: 16px;
  border-top: 2px solid var(--czern);
  background-image:
    repeating-linear-gradient(90deg, var(--czern) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, var(--czern) 0 1.5px, transparent 1.5px 40px);
  background-size: 100% 7px, 100% 13px;
  background-repeat: no-repeat;
  background-position: top left;
}

.niestandard {
  margin-top: 26px;
  border: 2px dashed var(--czern);
  padding: 18px 22px;
  display: flex; gap: 8px 28px; flex-wrap: wrap; align-items: baseline;
}
.niestandard h3 {
  font-family: var(--mono-f); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; white-space: nowrap;
}
.niestandard p { margin: 0; }

.w-cenie {
  margin-top: 26px;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
  padding: 18px 22px;
}
.w-cenie h3 {
  font-family: var(--mono-f); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em;
}
.w-cenie-lista {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  font-size: 15px; font-weight: 600;
}
.w-cenie-lista li + li::before { content: '· '; color: var(--braz); font-weight: 400; }
.w-cenie-wiecej { margin: 14px 0 0; font-size: 14px; }
.w-cenie-wiecej a { color: var(--tusz); font-weight: 600; text-decoration: none; }
.w-cenie-wiecej a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wykluczenia {
  position: relative;
  margin-top: 26px;
  background: var(--papier);
  border: 3px double var(--tusz);
  box-shadow: 8px 8px 0 var(--braz);
  padding: 22px;
}
/* stempel ZWROT DO NADAWCY: hover na kursorze, jednorazowy błysk na dotyku
   (kinetyka niżej); overflow hidden trzyma go w ramce na każdym ekranie */
.wykluczenia { overflow: hidden; }
.wykluczenia::after {
  content: 'Zwrot do nadawcy';
  position: absolute; top: 50%; left: 50%;
  padding: 10px 26px;
  border: 5px double var(--tusz);
  border-radius: 4px;
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 52px); letter-spacing: 0.14em;
  color: var(--tusz); white-space: nowrap;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.25);
  opacity: 0;
  transition: opacity 0.12s ease-out, transform 0.12s ease-out;
  pointer-events: none;
}
@media (hover: hover) {
  .wykluczenia:hover::after {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(-8deg) scale(1);
  }
}
.wykluczenia h3 { font-size: 24px; color: var(--tusz-ciemny); margin-bottom: 14px; }
.wykluczenia ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 660px) { .wykluczenia ul { grid-template-columns: 1fr 1fr; } }
.wykluczenia li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.wykluczenia svg { flex: none; width: 20px; height: 20px; color: var(--tusz); }
.wykluczenia p { margin: 16px 0 0; }

/* ---------- S4 · Statusy ---------- */
.statusy { list-style: none; margin: 0; padding: 0; position: relative; }
/* ciągła trasa wypełniana tuszem w miarę scrolla — wysokość ustawia JS (--fill-h) */
.statusy::after {
  content: ''; position: absolute; left: 27px; top: 28px;
  width: 2px; height: var(--fill-h, 0px);
  background: var(--tusz); border-radius: 2px;
  z-index: 0; pointer-events: none;
}
.status {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 0 22px;
  padding-bottom: 30px;
}
.status::before {
  content: ''; position: absolute; left: 27px; top: 60px; bottom: 4px;
  border-left: 2px dashed color-mix(in oklch, var(--tusz) 32%, white);
}
.status:last-child { padding-bottom: 0; }
.status:last-child::before { display: none; }
/* węzeł na osi — niebieski zaokrąglony kwadrat, biała wypełnia, niebieska cyfra */
.status-kod {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 2px solid var(--tusz); background: var(--karta-czysta);
  color: var(--tusz);
  font-weight: 700; font-size: 18px;
}
.status-tresc h3 { font-weight: 700; font-size: 25px; margin: 14px 0 6px; }
/* ikona kroku w jasnoniebieskim chipie (referencja) */
.status-glowa { display: flex; align-items: center; gap: 13px; margin: 12px 0 8px; flex-wrap: wrap; }
.status-glowa h3 { margin: 0; }
.krok-ikona {
  flex: none; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-ikona); background: var(--tint-tusz); color: var(--tusz);
}
.krok-ikona svg { width: 22px; height: 22px; }
.status-tresc p { margin: 0; max-width: 60ch; }
.artefakt {
  display: inline-block; margin-top: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--linia-cienka); background: var(--tint-tusz-8);
  color: var(--tusz); border-radius: var(--r-etykieta);
  padding: 4px 10px;
}
/* węzeł 05 DORĘCZONE — wyróżniona karta: tekst po lewej, pieczęć odbioru po prawej */
.status:last-child .status-tresc {
  background: var(--tint-tusz-mocny);
  border: 1px solid var(--tusz);
  border-radius: var(--r-karta);
  padding: 16px 20px 18px;
  align-self: start;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.status:last-child .status-tresc p { font-weight: 600; }
.doreczono-tekst { flex: 1; min-width: 0; }
.doreczono-tekst .status-glowa { margin-top: 0; }
.status-stempel { margin: 0 0 12px; --kat: -4deg; font-size: 32px; padding: 7px 24px; }
/* okrągła pieczęć potwierdzenia odbioru — duża, po prawej (wykorzystuje wolne miejsce) */
.pieczec-doreczono {
  flex: none; width: clamp(96px, 11vw, 130px); height: auto;
  color: var(--tusz); opacity: 0.92; transform: rotate(-8deg);
}
@media (max-width: 620px) {
  .status:last-child .status-tresc { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pieczec-doreczono { align-self: flex-end; width: 84px; margin-top: -34px; }
}

/* ---------- S4a · Doręczone paczki (rejestr) ---------- */
.wpisy { display: grid; gap: 32px; }
/* dziennik podawczy — wiersze rejestru z naklejkami R */
.nalepka-r {
  display: inline-flex; align-items: center;
  border: 2px solid var(--tusz); background: var(--papier);
  color: var(--tusz);
  font-weight: 600; font-size: 12px; letter-spacing: 0.08em;
  padding: 4px 9px;
  white-space: nowrap;
}
.rejestr { display: grid; gap: 14px; }
.wiersz {
  display: grid; grid-template-columns: auto 120px 1fr auto auto;
  gap: 16px; align-items: center;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 4px 4px 0 var(--braz);
  padding: 10px 16px;
  text-decoration: none;
  transition: translate 0.08s ease, box-shadow 0.08s ease;
}
.wiersz:hover { translate: 2px 2px; box-shadow: 2px 2px 0 var(--braz); }
.wiersz:focus-visible { outline: 3px solid var(--tusz); outline-offset: 3px; }
.wiersz img { width: 120px; height: auto; border: 1.5px solid var(--czern); }
.wiersz-tresc { font-size: 15.5px; line-height: 1.45; }
.wiersz-meta {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--linia-cienka); background: var(--tint-tusz-8);
  color: var(--tusz); border-radius: var(--r-etykieta);
  padding: 3px 9px; white-space: nowrap;
}
.wiersz-akcja {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tusz); white-space: nowrap;
}
@media (max-width: 760px) {
  .wiersz { grid-template-columns: 96px 1fr; grid-auto-rows: min-content; row-gap: 8px; }
  .wiersz img { width: 96px; grid-row: 1 / span 3; }
  .wiersz-meta { display: none; }
  .nalepka-r { justify-self: start; }
}
.wpis-pusty {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px 24px; flex-wrap: wrap;
  border: 2px dashed var(--czern);
  padding: 18px 24px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.wpis-pusty:hover { background: var(--papier); }
.wpis-pusty:focus-visible { outline: 3px solid var(--tusz); outline-offset: 3px; }
.wpis-pusty .mono {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(26, 23, 20, 0.65);
}
.wpis-pusty-tekst { font-weight: 600; }
.wpis-pusty-tekst span { color: var(--tusz); letter-spacing: 0.05em; }
.odbitki { display: flex; gap: 10px; margin-top: 10px; }
.zdjecie-odbioru .odbitki img {
  width: calc(50% - 5px); flex: none; height: auto;
  border: 1.5px solid var(--czern);
  transform: rotate(-1.2deg);
}
.zdjecie-odbioru .odbitki img + img { transform: rotate(1.4deg); }
.wpis {
  display: grid; gap: 30px; align-items: center;
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
  padding: clamp(20px, 4vw, 38px);
}
@media (min-width: 860px) { .wpis { grid-template-columns: 1.05fr 0.95fr; } }
.wpis-stemple { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px dashed var(--linia); }
.wpis-stemple .stempel { font-size: 20px; }
.wpis-stemple .artefakt { margin: 0 0 0 auto; }
.wpis .btn { margin-top: 6px; }
.wpis .pola { margin-bottom: 14px; }
/* zrzut z odbioru — CZYSTA, prosta ramka (bez taśmy washi, bez rotacji, bez sepii;
   referencja + zakaz estetyki AI-demo z CLAUDE.md) */
.zdjecie-odbioru {
  position: relative; margin: 8px 0 0;
  background: var(--karta-czysta);
  border: 1px solid var(--obwod);
  border-radius: var(--r-karta);
  box-shadow: var(--cien-karta);
  padding: 8px 8px 0;
  overflow: hidden;
}
.zdjecie-odbioru img {
  width: 100%; height: auto; display: block;
  border-radius: calc(var(--r-karta) - 6px);
}
/* zdjęcie klikalne → demo na żywo (hover: zoom + overlay) */
.zdjecie-link {
  display: block; position: relative;
  border-radius: calc(var(--r-karta) - 6px); overflow: hidden;
}
.zdjecie-link img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.zdjecie-link:hover img, .zdjecie-link:focus-visible img { transform: scale(1.04); }
.zdjecie-lupa {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 14px 13px;
  font-family: var(--mono-f); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(20, 30, 60, 0.82));
  opacity: 0; transition: opacity 0.4s ease;
}
.zdjecie-link:hover .zdjecie-lupa, .zdjecie-link:focus-visible .zdjecie-lupa { opacity: 1; }
.zdjecie-link:focus-visible { outline: 3px solid var(--tusz); outline-offset: 2px; }
.zdjecie-odbioru figcaption {
  margin: 0; padding: 9px 4px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tusz); text-align: center;
}

/* ---------- S5 · Własność ---------- */
.wlasnosc-siatka { display: grid; gap: 36px; align-items: start; }
@media (min-width: 860px) { .wlasnosc-siatka { grid-template-columns: 1.1fr 0.9fr; } }
.wlasnosc-siatka > div > p { max-width: 56ch; }
.adnotacja {
  display: inline-block; margin-top: 18px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 2px solid var(--czern); background: var(--papier);
  box-shadow: 4px 4px 0 var(--braz);
  padding: 7px 13px;
}
.dokument {
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
  padding: 24px;
}
.dokument h3 {
  font-family: var(--mono-f); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--czern);
  padding-bottom: 12px; margin-bottom: 14px;
}
.dokument p { margin: 0; }
.stempel-eskrow {
  font-size: 15px; padding: 6px 11px; gap: 8px;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}
.przekazanie { margin-top: 20px; }
.przekazanie-lista { list-style: none; margin: 0; padding: 0; }
.przekazanie-lista li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 2px dashed var(--linia);
}
.przekazanie-lista li:last-child { border-bottom: 0; }
.przekazanie-lista .kratka { margin-top: 0; }
.przek-co { flex: 1; font-weight: 600; }
.przek-strzalka { color: var(--braz); font-weight: 600; }
.przekazanie .adnotacja { margin-top: 18px; }

/* ---------- S6 · FAQ ---------- */
.faq {
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 8px 8px 0 var(--braz);
}
.faq details { border-bottom: 2px dashed var(--linia); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; gap: 14px; align-items: baseline;
  padding: 16px 20px;
  font-weight: 600; font-size: 17px;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--tusz); outline-offset: -3px; }
.pyt-nr {
  flex: none; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tusz);
}
.faq summary::after {
  content: '+'; margin-left: auto;
  font-family: var(--mono-f); font-size: 19px; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 48px 18px 88px; }
@media (max-width: 660px) { .faq details p { padding-left: 20px; padding-right: 20px; } }

/* ---------- S7 · Formularz ---------- */
.formularz-ramka {
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 10px 10px 0 var(--braz);
  padding: clamp(22px, 4vw, 42px);
  max-width: 760px;
}
.pole-form { margin-bottom: 18px; border: 0; padding: 0; }
.pole-form label, .pole-form legend {
  display: block;
  font-family: var(--mono-f); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.podpowiedz {
  display: block;
  font-family: var(--grotesk); font-size: 13px; letter-spacing: 0;
  text-transform: none; color: rgba(26, 23, 20, 0.7);
  margin-top: 3px;
}
/* znacznik pola opcjonalnego (przy etykietach bez gwiazdki) */
.opc-znak { font-weight: 400; letter-spacing: 0.04em; text-transform: lowercase; color: color-mix(in oklch, var(--czern) 62%, transparent); }
/* miękkie nowoczesne pola (referencja) — nie maszynowe podkreślenia */
input[type='text'], input[type='email'], textarea {
  width: 100%;
  border: 1px solid color-mix(in oklch, var(--tusz) 16%, var(--linia));
  border-radius: var(--r-pill);
  background: #FCFBF8;
  box-shadow: inset 0 1px 2px rgba(20, 30, 60, 0.05);
  font: inherit; font-size: 16px;
  padding: 10px 14px;
}
textarea { resize: vertical; }
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  outline: none;
  border-color: var(--tusz);
  background: var(--karta-czysta);
  box-shadow: 0 0 0 3px var(--tint-tusz);
}

.opcje { display: flex; flex-wrap: wrap; gap: 10px; }
.opcja { position: relative; margin-bottom: 0; }
.opcja input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcja span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--linia); background: var(--karta-czysta);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.opcja span:hover { border-color: var(--tusz); }
.opcja input:checked + span {
  background: var(--tusz); color: #fff; border-color: var(--tusz);
  box-shadow: var(--cien-maly);
}
.opcja input:focus-visible + span { outline: 3px solid var(--tusz); outline-offset: 2px; }

.mikro { font-size: 13px; color: rgba(26, 23, 20, 0.75); margin: 12px 0 0; }
.status-wysylki { font-size: 14px; margin: 14px 0 0; min-height: 1em; }
.status-wysylki.blad { color: var(--blad); font-weight: 600; }
/* awaryjny link mailto, gdy wysyłka formularza padnie — brief leci e-mailem */
.mailto-ratunek { display: inline-block; margin-top: 6px; color: var(--tusz); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.potwierdzenie {
  background: var(--papier); border: 2px solid var(--czern);
  box-shadow: 10px 10px 0 var(--braz);
  padding: 48px 24px; text-align: center;
  max-width: 760px;
}
.potwierdzenie .stempel { font-size: 34px; margin-bottom: 18px; }
.potwierdzenie p { margin: 0; font-size: 18px; font-weight: 600; }
.stempel-okragly {
  width: 92px; height: 92px;
  margin: 0 auto 14px;
  color: var(--tusz);
  transform: rotate(-8deg);
}
/* przybicie pieczęci po wysłaniu */
@keyframes przybicie {
  0% { transform: scale(1.8) rotate(-16deg); opacity: 0; }
  62% { transform: scale(0.95) rotate(-7deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.potwierdzenie:not([hidden]) .stempel-okragly { animation: przybicie 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.potwierdzenie:not([hidden]) .stempel { animation: przybicie 0.6s 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
@media (prefers-reduced-motion: reduce) {
  .potwierdzenie .stempel-okragly, .potwierdzenie .stempel { animation: none !important; }
}
.alternatywa { margin-top: 22px; }
.cta-mikro { margin: 12px 0 0; max-width: 54ch; font-size: 14px; color: color-mix(in oklch, var(--czern) 62%, transparent); }

/* ---------- S8 · Stopka ---------- */
.stopka {
  background: var(--czern); color: var(--karton);
  padding-block: 44px;
  margin-top: 0;
}
.stopka a { color: #fff; }
.stopka p { margin: 0 0 8px; }
.stopka-mapa { margin: 0 0 8px; }
.stopka-tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.stopka-marka { font-family: var(--kondens); font-weight: 600; font-size: 23px; text-transform: uppercase; }
.stopka-siatka { display: grid; gap: 28px; }
@media (min-width: 760px) {
  .stopka-siatka { grid-template-columns: 1fr auto; align-items: end; }
  .stopka-prawa { text-align: right; }
  .stopka-prawa .kreski { margin-left: auto; }
}
.stopka .kreski { color: var(--karton); max-width: 200px; height: 36px; margin-top: 0; margin-bottom: 12px; }
.drobny-druk {
  margin-top: 30px; padding-top: 14px;
  border-top: 1px solid rgba(230, 215, 188, 0.3);
  font-size: 12px; line-height: 1.6; opacity: 0.72;
}
@media (min-width: 1000px) {
  .drobny-druk { white-space: nowrap; font-size: 10.5px; letter-spacing: 0.01em; }
}

/* ---------- Podstrona: polityka prywatności ---------- */
.prawna { max-width: 820px; margin: clamp(40px, 7vw, 80px) auto; }
.prawna-tresc { padding: clamp(24px, 5vw, 48px); }
.prawna h1 { font-weight: 700; font-size: clamp(34px, 5vw, 52px); margin-bottom: 6px; }
.prawna .meta { font-family: var(--mono-f); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26, 23, 20, 0.65); margin: 0 0 26px; }
.prawna h2 { font-size: 22px; margin: 30px 0 10px; }
.prawna p, .prawna li { max-width: 70ch; }
.prawna ul { padding-left: 22px; margin: 8px 0; }
.prawna .powrot { display: inline-block; margin-top: 30px; }

/* ---------- Podstrona: cennik ---------- */
.cennik-glowa { padding-top: clamp(30px, 6vw, 64px); }
/* artefakt nadawczy nad foldem podstron SEO — pasek listu przewozowego */
.podstrona-pasek { margin-bottom: 22px; }
.okruchy { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26, 23, 20, 0.6); margin-bottom: 18px; }
.okruchy a { color: var(--tusz); text-decoration: none; }
.okruchy a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cennik-h1 {
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
  font-size: clamp(34px, 5.4vw, 58px); margin: 0 0 18px;
  color: var(--tusz-ciemny); max-width: 20ch;
}
.cennik-lead { font-size: clamp(16px, 1.8vw, 19px); max-width: 60ch; margin: 0 0 26px; }
.cennik-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; }
.sekcja-intro a { color: var(--tusz); font-weight: 600; text-decoration: none; }
.sekcja-intro a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Podstrona: dla małej firmy ---------- */
.przegrodki { display: grid; gap: 26px; }
@media (min-width: 760px) { .przegrodki { grid-template-columns: repeat(2, 1fr); } }
.blok-tytul {
  font-family: var(--mono-f); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tusz);
  margin: 0 0 12px;
}
.proza { max-width: 64ch; }
.proza > p { margin: 0 0 1em; }
.proza > p:last-child { margin-bottom: 0; }
.proza a { color: var(--tusz); font-weight: 600; text-decoration: none; }
.proza a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mt { margin-top: 22px; }

/* ---------- Podstrona: jak pracuję — role per etap ---------- */
.role { margin: 14px 0 0; }
.role > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline;
  padding: 10px 0; border-top: 2px dashed var(--linia);
}
.role > div:first-child { border-top: 0; padding-top: 0; }
.role dt {
  font-family: var(--mono-f); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tusz);
}
.role dd { margin: 0; }
.role .role-d dt { color: var(--tusz-ciemny); }
.role .role-d dd { font-weight: 600; }

/* ============================================================
   Kinetyka dokumentu (design-direction → „Ruch", 2026-06-13)
   Animują się TYLKO artefakty; klasę .odbite nadaje IntersectionObserver;
   stany wstępne wyłącznie pod html.js — bez JS i przy reduced-motion
   wszystko stoi w stanie końcowym.
   ============================================================ */
/* płynne rozkładanie pytań (progressive: ::details-content) */
.faq details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size 0.28s ease, content-visibility 0.28s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* datowniki rubryk przybijają się przy wejściu sekcji */
  html.js .sekcja:not(.odbite) .pole-nr { opacity: 0; }
  html.js .sekcja.odbite .pole-nr { animation: wbicie 0.6s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }

  /* śledzenie SCRUBBED do scrolla (JS ustawia --fill-h i klasę .aktywny per krok).
     Domyślnie krok przygaszony; aktywuje się dokładnie gdy doscrollujesz do węzła. */
  html.js .statusy .status-kod {
    border-color: var(--linia); color: color-mix(in oklch, var(--czern) 45%, transparent);
    transition: border-color 0.55s ease, color 0.55s ease, box-shadow 0.55s ease;
  }
  html.js .statusy .status-tresc {
    opacity: 0.4; transform: translateY(10px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .statusy .krok-ikona,
  html.js .statusy .status-stempel { opacity: 0.45; transition: opacity 0.65s ease; }
  html.js .status.aktywny .status-kod {
    border-color: var(--tusz); color: var(--tusz); box-shadow: var(--cien-maly);
  }
  /* finał: węzeł 05 wypełnia się tuszem, gdy oś do niego dojedzie (białe „05") */
  html.js .status:last-child.aktywny .status-kod {
    background: var(--tusz); color: #fff; border-color: var(--tusz);
    box-shadow: 0 0 0 4px color-mix(in oklch, var(--tusz) 18%, transparent);
  }
  html.js .status.aktywny .status-tresc { opacity: 1; transform: none; }
  html.js .status.aktywny .krok-ikona,
  html.js .status.aktywny .status-stempel { opacity: 1; }
  /* pieczęć odbioru przybija się, gdy oś dojedzie do węzła 05 */
  html.js .status:last-child .pieczec-doreczono { opacity: 0; }
  html.js .status:last-child.aktywny .pieczec-doreczono { animation: przybicie 0.55s 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }

  /* ptaszki rysują się długopisem — KAŻDY dopiero gdy doscrollujesz do jego wiersza
     (klasę .narysowany nadaje JS per <li>, nie cała sekcja naraz) */
  .kratka svg path { stroke-dasharray: 1; }
  html.js .kratka svg path { stroke-dashoffset: 1; }
  html.js li.narysowany .kratka svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* kody kreskowe drukują się jak z termodrukarki */
  .kreski rect { transform-box: fill-box; transform-origin: 50% 100%; }
  html.js .hero:not(.odbite) .kreski rect,
  html.js .stopka:not(.odbite) .kreski rect { opacity: 0; }
  html.js .hero.odbite .kreski rect,
  html.js .stopka.odbite .kreski rect { animation: druk 0.4s both; }
  @keyframes druk {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: none; }
  }

  /* chipy formularza reagują dotykiem stempla */
  .opcja span { transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease; }
  .opcja:active span { transform: scale(0.97); }
}

/* dotyk: ZWROT błyska raz przy wejściu, zdjęcia odbioru nabierają barw */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  html.js .wykluczenia.odbite::after { animation: zwrot-blysk 2s 0.4s both; }
  html.js .wpis.odbite .zdjecie-odbioru img { filter: none; transition: filter 0.8s ease 0.4s; }
}
@keyframes zwrot-blysk {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.3); }
  18% { opacity: 0.95; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  80% { opacity: 0.95; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}

/* ============================================================
   REDESIGN v2 (2026-06-28) — „karta na biurku" z głębią.
   Źródło: docs/design-direction-v2.md. Płaski neo-brutalizm
   (twarde offsety + ostre rogi) → miękka karta na krafтowym
   biurku: radius z żanru, dwuwarstwowy cień w TUSZU, krawędź
   światła, winieta. ARTEFAKTY (stemple, znaczki, perforacja,
   kod, szewrony) zostają OSTRE i pełno-kontrastowe.
   ============================================================ */

/* — Podłoża-karty: radius + dwuwarstwowy cień + krawędź światła — */
.etykieta, .protokol, .gabaryt, .w-cenie, .wpis, .dokument, .faq,
.formularz-ramka, .potwierdzenie {
  border-radius: var(--r-karta);
  box-shadow: var(--cien-karta), var(--swiatlo);
}
/* miękki obwód na podłożach (artefakty trzymają swój ostry --czern/--tusz) */
.etykieta, .protokol, .gabaryt, .w-cenie, .wpis, .dokument, .faq,
.formularz-ramka, .potwierdzenie {
  border-color: var(--obwod);
}
/* mniejsze karty — lżejszy cień, ten sam język */
.wiersz, .kieszen, .adnotacja, .zdjecie-odbioru {
  border-radius: var(--r-karta);
  box-shadow: var(--cien-maly), var(--swiatlo);
}
.wiersz, .kieszen, .adnotacja { border-color: var(--obwod); }

/* gabaryt: ciemna belka adresowa i miarka dziedziczą zaokrąglenie karty */
.gabaryt-glowa { border-radius: var(--r-karta) var(--r-karta) 0 0; }
.gabaryt .miarka { border-radius: 0 0 var(--r-karta) var(--r-karta); }

/* węzeł śledzenia 01–05 — zaokrąglony kwadrat-stempel, miękki cień, ostry obwód */
.status-kod { border-radius: var(--r-ikona); box-shadow: var(--cien-maly); }

/* wykluczenia: rama ZWROT zostaje ostra (artefakt-pieczęć), tylko radius + cień */
.wykluczenia { border-radius: var(--r-karta); box-shadow: var(--cien-karta), var(--swiatlo); }

/* — Przyciski: miękki lift zamiast wciskania w twardy offset — */
.btn {
  border: 1.5px solid var(--tusz-ciemny);
  border-radius: var(--r-pill);
  box-shadow: var(--cien-maly);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn-bialy { border-color: var(--obwod); }
.btn-maly, .btn-duzy { box-shadow: var(--cien-maly); }
.btn:hover { translate: 0; transform: translateY(-2px); box-shadow: var(--cien-karta); }
.wiersz:hover { translate: 0; transform: translateY(-2px); box-shadow: var(--cien-karta); }

/* — Detale spójności — */
/* sticky-nagłówek unosi się nad treścią (cień w tuszu), zachowuje krawędź dokumentu */
.naglowek { box-shadow: 0 8px 20px -20px rgba(20, 30, 60, 0.5); }

/* — Tło: BEZ kolorowych blobów (zakaz AI-glow, CLAUDE.md §1.4).
   Materialność = ziarno papieru (.ziarno, inline-SVG) + subtelna winieta narożników. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 34%, transparent 48%, rgba(40, 30, 14, 0.12) 100%);
}
/* ziarno papieru pakowego — fixed nakładka feTurbulence (element .ziarno w HTML) */
.ziarno {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  opacity: 0.09; mix-blend-mode: multiply;
}

/* hero: karta LEŻY na biurku — mocniejszy rzucony cień (nie „nalepiona") */
.etykieta.hero-etykieta {
  box-shadow: 0 2px 4px rgba(26, 23, 20, 0.10), 0 44px 80px -34px rgba(34, 42, 77, 0.34), var(--swiatlo);
}
/* gabaryt: czytelniejszy nagłówek karty (audyt: za blady) */
.gabaryt-glowa h3 { color: var(--tusz-ciemny); }
.znaczek-srodek small { color: rgba(26, 23, 20, 0.72); }

/* ikony na chipach materiałów formularza */
.opcja-ikona { width: 18px; height: 18px; flex: none; color: var(--tusz); }
.opcja input:checked + span .opcja-ikona { color: #fff; }

/* — Dekoracje marginesów = WYGENEROWANE obrazy (navy tusz), narracja przesyłki
   w dół strony; w gutterze, nigdy pod tekstem, subtelne (aria-hidden) — */
.sekcja { position: relative; }
.dekor { position: absolute; pointer-events: none; z-index: 0; height: auto; display: block; }
.sekcja > .kontener { position: relative; z-index: 1; }
.dekor-zawartosc { right: 1.5%; top: 20%; width: clamp(96px, 9vw, 150px); opacity: 0.42; transform: rotate(3deg); }
.dekor-gab      { right: 1%;   top: 12%; width: clamp(120px, 12vw, 190px); opacity: 0.4; transform: rotate(-4deg); }
.dekor-doreczone{ right: 1.5%; top: 7%;  width: clamp(120px, 12vw, 185px); opacity: 0.38; transform: rotate(7deg); }
.dekor-faq      { right: 2%;   top: 9%;  width: clamp(96px, 9vw, 150px); opacity: 0.42; transform: rotate(-5deg); }
.dekor-form     { right: 2.5%; top: 20%; width: clamp(96px, 9vw, 150px); opacity: 0.5; transform: rotate(4deg); }
.dekor-podstrona{ right: 1.5%; top: 6%;  width: clamp(100px, 10vw, 168px); opacity: 0.38; transform: rotate(-4deg); }

/* — Gabaryt polecany: navy belka = kotwica koloru sekcji + hierarchia (audyt premium) — */
.gabaryt:has(.adnotacja-start) {
  border-color: var(--tusz);
  box-shadow: var(--cien-karta), var(--swiatlo), inset 0 0 0 1px var(--tusz);
}
.gabaryt:has(.adnotacja-start) .gabaryt-glowa {
  background: var(--tusz); border-bottom-color: var(--tusz);
}
.gabaryt:has(.adnotacja-start) .gabaryt-glowa h3 { color: #fff; }

/* — Wordmarki rozliczeń (Useme/Bizky) jako chipy tekstowe (nie pobrane logo) — */
.rozliczenia { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.rozliczenia-znak {
  display: inline-flex; align-items: center;
  font-family: var(--kondens); font-weight: 700; font-size: 19px;
  letter-spacing: 0.02em; color: var(--tusz-ciemny);
  border: 1px solid color-mix(in oklch, var(--tusz) 22%, transparent);
  border-radius: var(--r-etykieta);
  background: var(--tint-tusz-8);
  padding: 7px 16px;
}
/* hero: okrągły postmark — na lewej krawędzi maty, częściowo na jasnym tle (referencja) */
/* postmark w prawym gutterze, na wysokości kieszeni „ostatnio doręczone"; chowa się gdy brak miejsca */
/* postmark przybity przy kieszeni „ostatnio doręczone" (w prawej kolumnie hero) */
.hero-pola { position: relative; }
.dekor-hero { right: clamp(-46px, -2.4vw, -10px); bottom: 14px; left: auto; top: auto; width: clamp(122px, 11vw, 156px); opacity: 0.62; transform: rotate(-8deg); z-index: 2; }
/* znaki manipulacyjne na dole karty hero = wygenerowany obraz */
.znaki img { width: clamp(120px, 16vw, 168px); height: auto; filter: brightness(0); opacity: 0.9; }
@media (max-width: 1180px) { .dekor { display: none; } }

/* — Hero: winieta biurka (karta unosi się w świetle z góry) — */
.hero { position: relative; }
.hero > .kontener { position: relative; z-index: 1; }
/* stempel PRIORYTET lekko ku krawędzi karty — łamie siatkę (anty-szablon) */
@media (min-width: 860px) { .stempel-hero { right: 14px; } }

/* — Osiadanie kart przy wejściu sekcji (NIE generic fade-up: lądują z lekkiej skali) — */
@media (prefers-reduced-motion: no-preference) {
  html.js .sekcja:not(.odbite) .protokol,
  html.js .sekcja:not(.odbite) .gabaryt,
  html.js .sekcja:not(.odbite) .w-cenie,
  html.js .sekcja:not(.odbite) .dokument,
  html.js .sekcja:not(.odbite) .faq,
  html.js .sekcja:not(.odbite) .formularz-ramka,
  html.js .wykluczenia:not(.odbite),
  html.js .wpis:not(.odbite) {
    opacity: 0; transform: translateY(34px) scale(0.985);
  }
  html.js .sekcja.odbite .protokol,
  html.js .sekcja.odbite .gabaryt,
  html.js .sekcja.odbite .w-cenie,
  html.js .sekcja.odbite .dokument,
  html.js .sekcja.odbite .faq,
  html.js .sekcja.odbite .formularz-ramka,
  html.js .wykluczenia.odbite,
  html.js .wpis.odbite {
    opacity: 1; transform: none;
    /* cinematic: wolne, ciężkie osiadanie (easeOutExpo) — przedmiot ma masę */
    transition: opacity 1s ease, transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* wyraźny stagger trzech kart gabarytów — sekwencyjne lądowanie */
  html.js .sekcja.odbite .gabaryt:nth-child(2) { transition-delay: 0.16s; }
  html.js .sekcja.odbite .gabaryt:nth-child(3) { transition-delay: 0.32s; }

  /* — Hero: zapisany list leży OD RAZU (nagłówek, podtytuł, CTA, pola, miniatura — zero
     czekania na animację, H1 = LCP). Potem PRZETWARZANIE przesyłki w kolejności:
     1) znaki manipulacyjne + kod kreskowy, 2) pieczęć PRIORYTET, 3) MOCNO przybijana
     okrągła postmarka (finał). — */
  html.js .hero:not(.odbite) .odcinek { opacity: 0; transform: translateY(10px); }
  html.js .hero.odbite .odcinek {
    opacity: 1; transform: none;
    transition: opacity 0.45s ease 0.12s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  }
  html.js .hero:not(.odbite) .stempel-hero { opacity: 0; }
  html.js .hero.odbite .stempel-hero { animation: wbicie 0.6s 0.72s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
  html.js .hero:not(.odbite) .dekor-hero { opacity: 0; }
  html.js .hero.odbite .dekor-hero { animation: postmarka-bije 0.5s 1.32s cubic-bezier(0.18, 0.7, 0.3, 1) both; }
}

/* — Trasa dostawy w karcie gabarytu: paczka jedzie od „Nadania" do „Doręczenia"
   przy najechaniu na kartę (hover-only, gated). Wizualizuje termin = drogę przesyłki. — */
.trasa {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; margin: 2px 0 14px;
  font-family: var(--mono-f); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: color-mix(in oklch, var(--tusz) 62%, transparent);
}
.trasa-tor { position: relative; flex: 1; height: 14px; }
.trasa-tor::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1.5px dashed color-mix(in oklch, var(--tusz) 38%, transparent);
}
.trasa-tor::after {
  content: ''; position: absolute; left: 0; top: 50%; width: 0;
  border-top: 1.5px solid var(--tusz); opacity: 0;
}
.trasa-paczka {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; background: var(--tusz);
  box-shadow: 1px 1px 0 color-mix(in oklch, var(--czern) 28%, transparent);
}
.trasa-paczka::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 44%, color-mix(in oklch, white 60%, transparent) 44% 56%, transparent 56%);
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .gabaryt:hover .trasa-paczka     { animation: paczka-jedzie 2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .gabaryt:hover .trasa-tor::after { animation: trasa-fill 2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .gabaryt:hover .trasa-do         { animation: trasa-doreczono 2s ease infinite; }
}
/* paczka jedzie i zostawia tusz DOKŁADNIE pod sobą (kres tuszu = środek paczki, więc
   nigdy się nie rozjeżdżają), ląduje w Doręczeniu z odbiciem, znika i cykl wraca czysto */
@keyframes paczka-jedzie {
  0%   { left: 0; opacity: 0; transform: translateY(-50%) scale(0.5); }
  9%   { left: 0; opacity: 1; transform: translateY(-50%) scale(1); }
  68%  { left: calc(100% - 11px); transform: translateY(-50%) scale(1); }
  76%  { left: calc(100% - 11px); transform: translateY(-50%) scale(1.28); }
  86%  { left: calc(100% - 11px); opacity: 1; transform: translateY(-50%) scale(1); }
  100% { left: calc(100% - 11px); opacity: 0; transform: translateY(-50%) scale(1); }
}
@keyframes trasa-fill {
  0%   { width: 5.5px; opacity: 0; }
  9%   { width: 5.5px; opacity: 0.85; }
  68%  { width: calc(100% - 5.5px); opacity: 0.85; }
  86%  { width: calc(100% - 5.5px); opacity: 0.85; }
  100% { width: calc(100% - 5.5px); opacity: 0; }
}
/* „Doręczenie" rozjaśnia się w chwili, gdy paczka ląduje */
@keyframes trasa-doreczono {
  0%, 66% { color: color-mix(in oklch, var(--tusz) 60%, transparent); }
  78%     { color: var(--tusz); }
  100%    { color: color-mix(in oklch, var(--tusz) 60%, transparent); }
}
/* DOTYK: brak hovera → trasa gra RAZ, gdy karta wjedzie w ekran (spójne z kinetyką
   „artefakt animuje się, gdy do niego doscrollujesz"); kończy w stanie DORĘCZONO. */
@media (prefers-reduced-motion: no-preference) and (hover: none) {
  html.js .sekcja:not(.odbite) .trasa-paczka { opacity: 0; }
  html.js .sekcja.odbite .trasa-paczka     { animation: paczka-dostawa 1.9s 0.35s cubic-bezier(0.45, 0, 0.55, 1) both; }
  html.js .sekcja.odbite .trasa-tor::after { animation: trasa-fill-dostawa 1.9s 0.35s cubic-bezier(0.45, 0, 0.55, 1) both; }
  html.js .sekcja.odbite .trasa-do         { animation: trasa-doreczono 1.9s 0.35s ease both; }
}
@keyframes paczka-dostawa {
  0%   { left: 0; opacity: 0; transform: translateY(-50%) scale(0.5); }
  14%  { left: 0; opacity: 1; transform: translateY(-50%) scale(1); }
  82%  { left: calc(100% - 11px); transform: translateY(-50%) scale(1); }
  90%  { left: calc(100% - 11px); transform: translateY(-50%) scale(1.28); }
  100% { left: calc(100% - 11px); opacity: 1; transform: translateY(-50%) scale(1); }
}
@keyframes trasa-fill-dostawa {
  0%   { width: 5.5px; opacity: 0; }
  14%  { width: 5.5px; opacity: 0.85; }
  82%  { width: calc(100% - 5.5px); opacity: 0.85; }
  100% { width: calc(100% - 5.5px); opacity: 0.85; }
}

/* ==================================================================
   v49 — sanacja gates + strona /oferta/ (2026-07-06)
   ================================================================== */

/* Eyebrow-fix (gates E-01): h1/tresc prowadzi w źródle DOM; pasek-etykieta
   i stempel wracają na wierzch przez `order` — wygląd bez zmian, lepiej dla
   SEO/a11y (nagłówek pierwszy). Dotyczy hero (home + /oferta/) i polityki. */
.hero-etykieta { display: flex; flex-direction: column; }
.hero-etykieta > .etykieta-pasek { order: -2; }
.hero-etykieta > .stempel-hero   { order: -1; }
.hero-etykieta > .hero-siatka    { order: 0; }
.hero-etykieta > .odcinek        { order: 1; }
.etykieta.prawna { display: flex; flex-direction: column; }
.etykieta.prawna > .etykieta-pasek { order: -1; }

/* Kontrast lupy „Obejrzyj na żywo" nad zrzutem (gates 8c/E-05): mocniejszy
   nadruk + cień tekstu → biały tekst pewnie ≥4.5:1 nad jasną częścią zdjęcia. */
.zdjecie-lupa {
  background: linear-gradient(rgba(16, 24, 48, 0.5), rgba(16, 24, 48, 0.96));
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* Hero /oferta/: tekstowy odsyłacz zamiast drugiego przycisku (nie twin-CTA). */
.link-strzalka {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--kondens); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 17px; color: var(--tusz-ciemny);
  text-decoration: none; text-underline-offset: 4px;
}
.link-strzalka:hover { text-decoration: underline; }
.link-strzalka:focus-visible { outline: 3px solid var(--tusz); outline-offset: 3px; }

/* Trzy filary (/oferta/) — karty-dokumenty z numerem-datownikiem. */
.filary { display: grid; gap: clamp(18px, 2.4vw, 26px); }
@media (min-width: 720px) { .filary { grid-template-columns: repeat(3, 1fr); } }
.filar { display: flex; flex-direction: column; }
.filar-nr {
  align-self: flex-start; margin-bottom: 12px; padding: 3px 9px;
  font-size: 13px; letter-spacing: 0.14em; color: var(--tusz);
  border: 2px solid var(--tusz); background: var(--tint-tusz-8);
}
.filar h3 { border-bottom: none; padding-bottom: 0; margin-bottom: 10px; color: var(--tusz-ciemny); }
.filar p { flex: 1; margin: 0; }
.filar-stopka {
  display: block; margin-top: 16px; padding-top: 12px;
  border-top: 2px solid var(--czern);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in oklch, var(--czern) 66%, transparent);
}

/* Opieka „żywa strona" — jawnie opcjonalna, osobno wydzielona (linia przerywana). */
.opieka { border-style: dashed; }
.opieka .sekcja-glowa { margin-bottom: 8px; }
.opieka-chip {
  margin-top: 4px; padding: 6px 12px;
  font-size: 12px; letter-spacing: 0.1em; border-width: 2px;
  transform: rotate(-1.5deg);
}
.opieka-lead { max-width: 68ch; margin: 14px 0 22px; }
.opieka-kolumny { display: grid; gap: clamp(18px, 2.6vw, 30px); align-items: start; }
@media (min-width: 760px) { .opieka-kolumny { grid-template-columns: 1.15fr 0.85fr; } }
.opieka-cena { box-shadow: 6px 6px 0 var(--braz); }
.opieka-warunki {
  margin: 14px 0 0; font-size: 11px; letter-spacing: 0.08em; text-transform: none;
  color: color-mix(in oklch, var(--czern) 62%, transparent);
}
