/* Arkusz motywu: skladany przez scripts/wp-theme-build.py
   z system-design/tokens.css i assets/css/site.css serwisu statycznego.
   Nie edytuj tego pliku recznie, zmiany przepadna przy kolejnym budowaniu. */

/* ============================================================
   Ogolnopolskie Stowarzyszenie Przewoznikow, DESIGN TOKENS
   Jedyne miejsce, w ktorym definiuje sie kolory, typografie,
   odstepy, promienie i cienie. Reszta serwisu bierze je stad.

   Baza wspolna z serwisem osrodka szkolenia (uprzewoznikow.pl),
   bo obie marki naleza do tej samej organizacji. Roznica jest
   w palecie: tu grafit i zolty wprost z logo stowarzyszenia,
   bez niebieskiego, ktory nalezy do logo osrodka.
   ============================================================ */

:root {
  /* ---------- KOLORY: atrament (grafit z logo, #2B2A29) ---------- */
  --ink-900: #1B1A19;   /* naglowki, tekst glowny, NIGDY #000 */
  --ink-800: #242322;   /* ciemne powierzchnie, CTA primary */
  --ink-700: #33312F;   /* hover ciemnego CTA, ciemne panele 2 */
  --ink-600: #4C4946;
  --ink-500: #6E6A65;   /* tekst pomocniczy, paragrafy wtorne */
  --ink-400: #98938D;   /* meta, podpisy, ikony wyciszone */
  --ink-300: #C2BDB6;   /* disabled */

  /* ---------- KOLORY: papier i linie ---------- */
  --paper:      #F7F6F3; /* tlo strony, NIGDY czysta biel */
  --surface:    #FFFFFF; /* karty, panele wyniesione */
  --surface-2:  #F0EEE9; /* wypelnienia inputow, badge, strefy */
  --line:       #E3E0D9; /* hairline 1px, podstawowy srodek struktury */
  --line-strong:#CBC6BC; /* linie akcentowane, obramowania tabel */
  --line-dark:  rgba(255,255,255,.14); /* hairline na ciemnym tle */
  --scrim-rgb:  27, 26, 25;            /* baza przyciemnien nad zdjeciami */

  /* ---------- KOLORY: sygnal (zolty z logo, #FECC00) ---------- */
  --signal:      #FECC00; /* zolty wprost z pliku logo */
  --signal-deep: #A87F00; /* hover, zolty tekst na jasnym tle (kontrast) */
  --signal-soft: #FFF6D4; /* delikatne tlo badge */

  /* ---------- KOLORY: funkcjonalne ---------- */
  --link:      #1B1A19;  /* linki inline: podkreslenie, nie kolor */
  --link-hover:#A87F00;
  --ok:        #1F7A54;
  --danger:    #B3261E;

  /* ---------- KOLORY: na ciemnym tle ---------- */
  --on-dark-1: #FFFFFF;
  --on-dark-2: #CDCAC4;
  --on-dark-3: #96928B;

  /* ---------- TYPOGRAFIA: rodziny (dokladnie 2, wspolne z osrodkiem uprzewoznikow.pl) ----------
     Archivo z osia szerokosci (naglowki rozszerzone do 112 %) + Barlow (tekst, dane, liczby).
     Monospace usuniety (audyt anty-AI 10.10.2026); --font-mono to alias Barlow. */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    var(--font-body);
  --wdth-display: 112%;

  /* ---------- TYPOGRAFIA: skala plynna ---------- */
  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);      /* 44 → 80 */
  --fs-h1:      clamp(2.25rem, 1.5rem + 3.1vw, 3.5rem);    /* 36 → 56 */
  --fs-h2:      clamp(1.75rem, 1.25rem + 2.1vw, 2.625rem); /* 28 → 42 */
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);    /* 20 → 24 */
  --fs-h4:      1.0625rem;                                  /* 17 */
  --fs-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);    /* 17 → 20 */
  --fs-body:    1.0625rem;
  --fs-sm:      1rem;
  --fs-xs:      0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-display: 0.98;
  --lh-heading: 1.1;
  --lh-lead:    1.6;
  --lh-body:    1.7;

  --ls-display: -0.03em;
  --ls-heading: -0.02em;
  --ls-h3:      -0.01em;
  --ls-eyebrow:  0;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;  /* maksymalna waga naglowkow */

  /* ---------- ODSTEPY: baza 4px ---------- */
  --s-1:  0.25rem;  /*  4 */
  --s-2:  0.5rem;   /*  8 */
  --s-3:  0.75rem;  /* 12 */
  --s-4:  1rem;     /* 16 */
  --s-5:  1.25rem;  /* 20 */
  --s-6:  1.5rem;   /* 24 */
  --s-8:  2rem;     /* 32 */
  --s-10: 2.5rem;   /* 40 */
  --s-12: 3rem;     /* 48 */
  --s-16: 4rem;     /* 64 */
  --s-20: 5rem;     /* 80 */
  --s-24: 6rem;     /* 96 */
  --s-32: 8rem;     /* 128 */

  /* rytm sekcji */
  --section-y:    clamp(4rem, 2rem + 6vw, 8rem);   /* 64 → 128 */
  --section-y-sm: clamp(3rem, 2rem + 3vw, 4.5rem);

  /* ---------- LAYOUT ---------- */
  --container:    75rem;    /* skaluje sie z font-size korzenia */
  --container-nr: 54rem;    /* kolumna tekstu czytelnego */
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --header-h:     4.5rem;

  /* ---------- PROMIENIE ----------
     Serwis stowarzyszenia trzyma sie kanciastej geometrii pisma
     urzedowego: zadnych zaokraglen poza elementami okraglymi z natury. */
  --r-xs:   2px;   /* wspolne z osrodkiem: obie strony to jedna firma */
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-pill: 999px;

  /* ---------- CIENIE (zawsze granatowe, nigdy neutralnie czarne) ---------- */
  --sh-xs: 0 1px 2px rgba(27,26,25,.07);
  --sh-sm: 0 2px 8px rgba(27,26,25,.06);
  --sh-md: 0 12px 32px -8px rgba(27,26,25,.16);
  --sh-lg: 0 32px 64px -24px rgba(27,26,25,.28);

  /* ---------- MOTYW: linia pasa ruchu P-1 (wspolny z osrodkiem) ---------- */
  --lane-w:    4px;
  --lane-dash: 40px;
  --lane-gap:  56px;
  --brand-blue: #005EA8; /* niebieski z logo osrodka, tylko w tablicach "L" krokow */

  /* ---------- RUCH (nic ponizej 400ms dla wejsc) ---------- */
  --ease:       cubic-bezier(.22,.61,.36,1);
  --dur-hover:  180ms;
  --dur-enter:  520ms;
  --dur-slow:   700ms;

  /* ---------- WARSTWY ---------- */
  --z-base:    1;
  --z-raised:  10;
  --z-sticky:  100;
  --z-overlay: 500;
  --z-dev:     9000;
}

/* ============================================================
   SKALOWANIE NA DUZE MONITORY
   Wszystkie rozmiary sa w rem, wiec podniesienie font-size
   korzenia skaluje cala strone: typografie, odstepy, kontener,
   wysokosc headera. Dzieki temu na 27" i 32" uklad nie zostaje
   waskim paskiem posrodku ekranu.
   ============================================================ */
@media (min-width: 1560px) { :root { --container: 80rem; } }
@media (min-width: 1800px) { html { font-size: 17px; } :root { --container: 84rem; } }
@media (min-width: 2200px) { html { font-size: 18.5px; } :root { --container: 88rem; } }
@media (min-width: 2700px) { html { font-size: 20px; } :root { --container: 92rem; } }

/* ============================================================
   Ogolnopolskie Stowarzyszenie Przewoznikow — arkusz glowny
   Kolejnosc: reset → typografia → layout → komponenty → sekcje
   Wszystkie wartosci kolorow/odstepow pochodza z tokens.css
   ============================================================ */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-500);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: clip;
  caret-color: var(--signal-deep);
  accent-color: var(--ink-900);
}

img, svg, video { display: block; max-width: 100%; }
svg { overflow: visible; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.prose a:not(.btn):not(.arrow-link) {
  color: var(--ink-900); text-decoration: underline;
  text-decoration-color: var(--line-strong); text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:not(.btn):not(.arrow-link):hover { color: var(--link); text-decoration-color: var(--link); }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--signal); color: var(--ink-900); }

/* ---------- 2. TYPOGRAFIA ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  text-wrap: balance;
}
h1, h2, .display, .h1, .h2 { font-stretch: var(--wdth-display); }

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: var(--ls-h3); font-weight: var(--fw-semi); }
h4, .h4 { font-size: var(--fs-h4); letter-spacing: 0; font-weight: var(--fw-semi); }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--ink-500);
  text-wrap: pretty;
}
.small { font-size: var(--fs-sm); }
.xs    { font-size: var(--fs-xs); }
.muted { color: var(--ink-500); }
p { text-wrap: pretty; }

/* Liczby w danych: ten sam krój, cyfry tabelaryczne */
.mono, .num {
  font-variant-numeric: tabular-nums;
}

/* Link inline w tresci */
.link {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.link:hover { color: var(--link); text-decoration-color: var(--link); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-nr); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-sm); }
.section--paper   { background: var(--paper); }
.section--surface { background: var(--surface); }
.section--ink     { background: var(--ink-900); color: var(--on-dark-2); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark-1); }
.section--ink .lead { color: var(--on-dark-2); }

.rule { height: 1px; background: var(--line); border: 0; }
.rule--dark { background: var(--line-dark); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Naglowek sekcji (podstrony): h2 + lead, opcjonalnie akcja po prawej.
   Na stronie glownej sekcje otwieraja sie roznie: .sec-title, .split--intro. */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-8);
  margin-bottom: var(--s-12);
}
.sec-head__text { max-width: 46ch; }
.sec-head__num, .rowitem__num { display: none; } /* numeracja sekcji usunieta */
.sec-head h2 + .lead { margin-top: var(--s-5); }
.sec-title { max-width: 22ch; margin-bottom: var(--s-12); }
.split--intro { align-items: end; margin-bottom: var(--s-12); }
.split--intro .lead { max-width: 52ch; }
@media (max-width: 760px) {
  .sec-title, .split--intro { margin-bottom: var(--s-10); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: var(--s-6); margin-bottom: var(--s-10); }
}

/* Linia pasa ruchu (P-1): jedyny motyw dekoracyjny, zawsze w pelnej sile */
.lane-line {
  height: var(--lane-w);
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
}

/* ---------- 4. PRZYCISKI ---------- */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: var(--on-dark-1);
  --btn-bd: var(--ink-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 0.875rem 1.5rem;
  min-height: 48px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease),
              color var(--dur-hover) var(--ease),
              transform var(--dur-hover) var(--ease);
}
.btn:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--signal  { --btn-bg: var(--signal); --btn-fg: var(--ink-900); --btn-bd: var(--signal); }
.btn--signal:hover { --btn-bg: var(--signal-deep); --btn-bd: var(--signal-deep); }

.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-bd: var(--ink-300); --btn-fg: var(--ink-900); }

.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--on-dark-1); --btn-bd: var(--line-dark); }
.btn--ghost-dark:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: rgba(255,255,255,.3); }

.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Link ze strzalka */
.arrow-link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  color: var(--ink-900); text-decoration: none;
}
.arrow-link svg { width: 15px; height: 15px; transition: transform var(--dur-hover) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover { color: var(--link); }
.arrow-link--dark { color: var(--on-dark-1); }
.arrow-link--dark:hover { color: var(--signal); }

/* ---------- 5. BADGE / PILL ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.3rem 0.6rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--ink-600);
}
.badge--signal { background: var(--signal-soft); border-color: #EFDCAE; color: #8A6206; }
.badge--dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--on-dark-2); }

/* ---------- 6. KARTY ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-8);
  transition: border-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.card::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--signal); opacity: 0;
  transition: opacity var(--dur-hover) var(--ease);
}
.card--link:hover, .card--link:focus-within { border-color: var(--line-strong); }
.card--link:hover::before { opacity: 1; }
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: var(--fs-sm); }
.card p { margin-bottom: var(--s-8); }
.card__foot { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line); }

/* Karta z ikona */
/* ikony w kwadratach usuniete z tresci (audyt anty-AI 10.10.2026) */
.icon-badge { display: none !important; }
.icon-badge--old {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  margin-bottom: var(--s-6);
  color: var(--ink-800);
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- 7. MEDIA / WARSTWY ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4/3; }
.media--16x10 { aspect-ratio: 16/10; }
.media--3x2 { aspect-ratio: 3/2; }
.media--1x1 { aspect-ratio: 1/1; }

/* .media-stack zostaje jako zwykly wrapper (bez przesunietej ramki) */
.media-stack { position: relative; }

/* Podpis pod zdjeciem */
.caption {
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

/* ---------- 8. TOPBAR ---------- */
.topbar {
  background: var(--ink-900);
  color: var(--on-dark-2);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); min-height: 40px;
}
.topbar a { color: var(--on-dark-1); text-decoration: none; }
.topbar a:hover { color: var(--signal); }
.topbar__list { display: flex; align-items: center; gap: var(--s-6); list-style: none; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: var(--s-2); }
.topbar__list svg { width: 14px; height: 14px; color: var(--on-dark-3); flex: none; }
.topbar__lang { display: flex; gap: var(--s-1); }
.topbar__lang a {
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  padding: 1px 6px; border: 1px solid transparent; border-radius: var(--r-xs);
  color: var(--on-dark-3);
}
.topbar__lang a[aria-current="true"] { color: var(--ink-900); background: var(--signal); border-color: var(--signal); }
.topbar__lang a:hover { color: var(--on-dark-1); }
@media (max-width: 900px) { .topbar__inner > .topbar__list:last-of-type { display: none; } }
@media (max-width: 560px) { .topbar__list li:not(:first-child) { display: none; } }

/* ---------- 9. HEADER / NAWIGACJA ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-hover) var(--ease), background var(--dur-hover) var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); min-height: var(--header-h);
}

.logo { display: block; flex: none; line-height: 0; }
/* Wymiary jak w serwisie osrodka (uprzewoznikow.pl): to samo logo tej samej
   organizacji, wiec w obu serwisach ma byc tej samej wielkosci. */
.logo img { width: clamp(8.75rem, 11.5vw, 9.8rem); height: auto; }
.logo--footer img { width: clamp(8.5rem, 11vw, 10.5rem); }

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0.55rem 0.7rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-600);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--dur-hover) var(--ease), background var(--dur-hover) var(--ease);
}
.nav__link:hover { color: var(--ink-900); }

/* Podkreslenie zamiast podswietlenia tla: kreska wjezdza od lewej przy
   najechaniu i chowa sie w prawo po zjechaniu. Robi to zmiana punktu
   zaczepienia skali, wiec animacja idzie po GPU i nie rusza ukladu. */
.nav__link::after {
  content: '';
  /* kreska siedzi tuz pod tekstem pozycji, nie na krawedzi naglowka */
  position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem;
  height: 2px; background: var(--signal);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav__link svg { width: 11px; height: 11px; color: var(--ink-300); transition: transform var(--dur-hover) var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--ink-900); font-weight: var(--fw-semi); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 6px 14px -6px rgba(var(--scrim-rgb), .22);
  padding: var(--s-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease), visibility var(--dur-hover);
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: 0.6rem 0.75rem;
  font-size: var(--fs-sm); color: var(--ink-600); text-decoration: none;
  border-radius: var(--r-sm);
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.nav__panel a:hover { background: var(--surface-2); color: var(--ink-900); }
.nav__panel a span { display: block; font-size: var(--fs-xs); color: var(--ink-500); margin-top: 2px; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer; color: var(--ink-900);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
}

/* Panel mobilny */
.mnav {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), visibility 280ms;
  overflow-y: auto;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mnav__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); border-bottom: 1px solid var(--line);
}
.mnav__body { padding-block: var(--s-6) var(--s-12); }
.mnav__group { border-bottom: 1px solid var(--line); padding-block: var(--s-4); }
.mnav__group > a, .mnav__group > .mnav__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: var(--fw-semi); letter-spacing: -0.02em;
  color: var(--ink-900); text-decoration: none; padding-block: var(--s-2);
}
.mnav__sub { list-style: none; padding: 0; margin-top: var(--s-2); display: grid; gap: 2px; }
.mnav__sub a { display: block; padding: 0.5rem 0; font-size: var(--fs-sm); color: var(--ink-500); text-decoration: none; }
.mnav__sub a:hover { color: var(--ink-900); }
.mnav__foot { margin-top: var(--s-8); display: grid; gap: var(--s-3); }

/* ---------- 10. HERO ----------
   Zdjecie wlasnej floty, pod nim "jezdnia": dwa pasy = dwie grupy kursantow,
   rozdzielone przerywana linia P-1. */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(36rem, 86vh, 54rem);
  background: var(--ink-900);
  color: var(--on-dark-2);
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink-900); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--scrim-rgb),.94) 0%, rgba(var(--scrim-rgb),.82) 36%, rgba(var(--scrim-rgb),.30) 68%, rgba(var(--scrim-rgb),.12) 100%),
    linear-gradient(180deg, rgba(var(--scrim-rgb),.35) 0%, rgba(var(--scrim-rgb),0) 30%);
}
.hero > .container { flex: 1; display: flex; align-items: center; }
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
  max-width: 48rem;
}
.hero h1 { color: var(--on-dark-1); max-width: 17ch; }
.hero .lead { color: var(--on-dark-2); max-width: 44ch; margin-top: var(--s-8); }

.hero__road { position: relative; z-index: 1; background: var(--ink-900); }
.hero__lanes { display: grid; grid-template-columns: 1fr var(--lane-w) 1fr; }
.lane {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-8) var(--s-10) var(--s-10) 0;
  color: var(--on-dark-2); text-decoration: none;
}
.lane-mark + .lane { padding-inline: var(--s-10) 0; }
.lane-mark { background: repeating-linear-gradient(180deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap))); }
.lane__title {
  font-family: var(--font-display); font-stretch: var(--wdth-display);
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem);
  font-weight: var(--fw-bold); letter-spacing: var(--ls-heading); line-height: 1.1;
  color: var(--on-dark-1);
}
.lane__meta { font-size: var(--fs-sm); max-width: 40ch; }
.lane__go {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-3);
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--signal);
}
.lane__go svg { width: 16px; height: 16px; transition: transform var(--dur-hover) var(--ease); }
.lane:hover .lane__go svg, .lane:focus-visible .lane__go svg { transform: translateX(5px); }
.lane:hover .lane__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--signal); }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__scrim { background: rgba(var(--scrim-rgb),.78); }
  .hero__lanes { grid-template-columns: 1fr; }
  .lane, .lane-mark + .lane { padding: var(--s-6) 0 var(--s-8); }
  .lane-mark { height: var(--lane-w); background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap))); }
}

/* ---------- 11. PAGE HERO (podstrony) ---------- */
.phero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark-2);
  overflow: hidden;
  isolation: isolate;
}
/* krawedz page hero = ta sama linia pasa, co na stronie glownej */
.phero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--lane-w);
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
}
.phero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 6vw, 6rem); }
.phero h1 { color: var(--on-dark-1); margin-block: var(--s-5) var(--s-5); max-width: 20ch; }
.phero .lead { color: var(--on-dark-2); max-width: 60ch; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); color: var(--on-dark-2);
}
.crumbs a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; color: var(--on-dark-2); }
.crumbs a:hover { color: var(--signal); }
.crumbs span { color: var(--on-dark-3); }

/* ---------- 12. LISTY ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.ticks li {
  position: relative; padding-left: var(--s-8);
  font-size: var(--fs-sm); color: var(--ink-500);
}
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 10px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--ink-900); font-weight: var(--fw-semi); }
.ticks--dark li { color: var(--on-dark-2); }
.ticks--dark strong { color: var(--on-dark-1); }

/* Lista definicji — dane techniczne */
.speclist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.speclist > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-5);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.speclist dt { font-size: var(--fs-sm); color: var(--ink-500); }
.speclist dd {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-900);
  text-align: right; min-width: 0; overflow-wrap: anywhere;
}
.speclist dt { flex: none; }

/* ---------- 13. KROKI: odcinek drogi ----------
   Ciemna sekcja-jezdnia, kroki to tablice "L" (niebieski z logo),
   przez ktore biegnie przerywana linia. Linia "dojezdza" raz, przy wejsciu sekcji. */
.section--road { background: var(--ink-900); color: var(--on-dark-2); }
.section--road h2, .section--road h3 { color: var(--on-dark-1); }
.section--road .lead { color: var(--on-dark-2); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.step { position: relative; padding: 0 var(--s-8) 0 0; }
.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--brand-blue); color: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 6px var(--ink-900);
  font-family: var(--font-display); font-size: 1.375rem; font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 2;
}
.step h3 { margin-block: var(--s-6) var(--s-3); font-size: 1.1875rem; }
.step p { font-size: var(--fs-sm); }
.steps__track {
  position: absolute; left: 22px; right: 0; top: calc(22px - var(--lane-w) / 2);
  height: var(--lane-w); z-index: 0;
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
  transform-origin: left center;
  transition: transform 1600ms cubic-bezier(.16,1,.3,1);
}
.js .steps:not(.is-in) .steps__track { transform: scaleX(0); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-8); }
  .step { padding: 0 0 0 calc(44px + var(--s-6)); }
  .step__num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: var(--s-2); }
  .steps__track {
    left: calc(22px - var(--lane-w) / 2); right: auto; top: 22px; bottom: 0;
    width: var(--lane-w); height: auto;
    background: repeating-linear-gradient(180deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
    transform-origin: center top;
  }
  .js .steps:not(.is-in) .steps__track { transform: scaleY(0); }
}

/* ---------- 14. KATEGORIE (karty z fotografia) ---------- */
.katcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.katcard:hover { border-color: var(--line-strong); }
.katcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.katcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.katcard:hover .katcard__media img { transform: scale(1.03); }
.katcard__tag {
  position: absolute; left: var(--s-4); top: var(--s-4);
  background: var(--signal); color: var(--ink-900);
  font-family: var(--font-display); font-stretch: var(--wdth-display); font-weight: var(--fw-bold);
  font-size: 1.125rem; line-height: 1;
  padding: 0.45rem 0.65rem; border-radius: var(--r-xs);
}
.katcard__body { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.katcard__body h3 { margin-bottom: var(--s-3); }
.katcard__body p { font-size: var(--fs-sm); }
.katcard__specs { margin-top: auto; padding-top: var(--s-5); }
.katcard__price {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: var(--s-4); margin-top: var(--s-4);
}
.katcard__price span { font-size: var(--fs-xs); color: var(--ink-500); }
.katcard__specs + .katcard__price { margin-top: 0; }
.katcard__price b {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-bold);
  letter-spacing: -0.03em; color: var(--ink-900);
}

/* ---------- 15. TABELA CENNIKA ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table.price { width: 100%; border-collapse: collapse; min-width: 560px; }
table.price caption {
  text-align: left; padding: var(--s-6) var(--s-6) var(--s-4);
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-h3);
  letter-spacing: var(--ls-h3); color: var(--ink-900);
}
table.price th, table.price td { padding: var(--s-4) var(--s-6); text-align: left; }
table.price thead th {
  font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--ink-600);
  border-block: 1px solid var(--line);
  background: var(--surface-2);
}
table.price tbody td { border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-500); }
table.price tbody tr:last-child td { border-bottom: 0; }
table.price tbody th {
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-sm);
  color: var(--ink-900);
}
table.price tbody tr:last-child th { border-bottom: 0; }
table.price .num {
  font-variant-numeric: tabular-nums;
  color: var(--ink-900); font-weight: var(--fw-medium); white-space: nowrap;
}
table.price .num--lead { font-size: var(--fs-body); font-weight: var(--fw-semi); }
/* telefon: wiersz tabeli = karta, etykiety kolumn dopisuje site.js (data-label) */
@media (max-width: 640px) {
  .tablewrap { overflow: visible; }
  table.price { min-width: 0; }
  table.price thead { display: none; }
  table.price caption { padding: var(--s-5) var(--s-5) var(--s-3); }
  table.price tbody tr { display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
  table.price tbody th, table.price tbody td { padding: 0; border: 0 !important; background: none !important; }
  table.price tbody th { font-size: var(--fs-body); margin-bottom: var(--s-1); }
  table.price tbody td { display: flex; justify-content: space-between; gap: var(--s-4); white-space: normal; }
  table.price tbody td[data-label]::before { content: attr(data-label); color: var(--ink-500); font-weight: var(--fw-regular); }
}
table.price tbody tr:hover td, table.price tbody tr:hover th { background: rgba(240,238,233,.6); }

/* ---------- 16. AKORDEON ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
  padding: var(--s-6) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--fw-semi);
  letter-spacing: -0.015em; color: var(--ink-900);
}
.acc__btn svg { width: 18px; height: 18px; flex: none; color: var(--ink-500); transition: transform 280ms var(--ease); }
.acc__item.is-open .acc__btn svg { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel .inner { padding-bottom: var(--s-6); max-width: 68ch; font-size: var(--fs-sm); }
.acc__panel .inner > * + * { margin-top: var(--s-4); }

/* ---------- 17. AKTUALNOSCI: tablica ogloszen ---------- */
.notes { list-style: none; padding: 0; display: grid; gap: var(--s-8); grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; gap: var(--s-6); } }
.note { padding-top: var(--s-5); border-top: 2px solid var(--ink-900); }
.note time { font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--ink-600); font-variant-numeric: tabular-nums; }
.note h3 { font-size: 1.1875rem; margin-block: var(--s-3); }
.note p { font-size: var(--fs-sm); }

/* ---------- 18. SPLIT / DWIE KOLUMNY ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; } }

/* ---------- 19. STOPKA ---------- */
.footer { background: var(--ink-900); color: var(--on-dark-2); position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--lane-w);
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
}
.footer__top { padding-block: var(--s-16) var(--s-12); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-10); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__title {
  color: var(--on-dark-1);
  font-family: var(--font-body); font-stretch: 100%; font-size: var(--fs-sm); font-weight: var(--fw-semi);
  letter-spacing: 0; margin-bottom: var(--s-5);
}
.footer__about { margin-top: var(--s-6); max-width: 34ch; font-size: var(--fs-sm); color: var(--on-dark-3); }
.footer__addr { font-size: var(--fs-sm); color: var(--on-dark-3); }
.footer ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer a { color: var(--on-dark-2); text-decoration: none; font-size: var(--fs-sm); }
.footer a:hover { color: var(--signal); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--s-6);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
  font-size: var(--fs-xs); color: var(--on-dark-3);
}

/* ---------- 20. BLOK KONTAKT / CTA ---------- */
.ctaband { position: relative; background: var(--ink-800); overflow: hidden; isolation: isolate; }
.ctaband__inner { position: relative; z-index: 2; padding-block: var(--section-y); }
.ctaband h2 { color: var(--on-dark-1); }
.ctaband .lead { color: var(--on-dark-2); }

.contactcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-8); display: grid; gap: var(--s-5);
}
.contactrow { display: flex; gap: var(--s-4); align-items: flex-start; }
.contactrow svg { width: 18px; height: 18px; color: var(--ink-500); flex: none; margin-top: 3px; }
.contactrow b { display: block; font-size: var(--fs-xs); color: var(--ink-500); font-weight: var(--fw-semi); margin-bottom: 2px; }
.contactrow a, .contactrow span { color: var(--ink-900); font-size: var(--fs-sm); text-decoration: none; }
.contactrow a:hover { color: var(--link); }

/* ---------- 21. FORMULARZ ---------- */
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.875rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--ink-900);
  transition: border-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink-700);
  box-shadow: 0 0 0 3px rgba(254,204,0,.28);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.form-note { font-size: var(--fs-xs); color: var(--ink-500); }

/* ---------- 22. GALERIA ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery .media { aspect-ratio: 4/3; cursor: zoom-in; }
.gallery .media img { transition: transform var(--dur-slow) var(--ease); }
.gallery .media:hover img { transform: scale(1.04); }
.gallery .media--tall { grid-row: span 2; aspect-ratio: 4/6; }
@media (max-width: 520px) { .gallery .media--tall { grid-row: auto; aspect-ratio: 4/3; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(var(--scrim-rgb),.94);
  display: grid; place-items: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 320ms var(--ease), visibility 320ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; border-radius: var(--r-md); }
.lightbox__close {
  position: absolute; top: var(--gutter); right: var(--gutter);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  color: #fff; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.1); }

/* ---------- 23. RUCH ----------
   Tresc jest widoczna od razu. Jedyny zaprojektowany moment to linia
   w sekcji krokow (13.), ktora "dojezdza" przy pierwszym wejsciu. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 24. NARZEDZIA ---------- */
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-8); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mt-10 { margin-top: var(--s-10); }
.mt-12 { margin-top: var(--s-12); }
.mt-16 { margin-top: var(--s-16); }
.mt-20 { margin-top: var(--s-20); }
.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;
}
.anchor { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > * + * { margin-top: var(--s-5); }
.prose h3 { margin-top: var(--s-10); }
.prose h4 { margin-top: var(--s-8); }
.prose ul, .prose ol { padding-left: var(--s-6); display: grid; gap: var(--s-2); font-size: var(--fs-sm); }

/* ---------- 25. SCHEMAT DOJAZDU (wlasna grafika SVG) ---------- */
.mapcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
}
.mapcard__svg {
  width: 100%; height: auto;
  margin-top: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.mapcard .map-road {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; fill: var(--ink-500);
}
.mapcard .map-river { font-family: var(--font-body); font-size: 12px; fill: #7FA9C6; }
.mapcard .map-t1 { font-family: var(--font-display); font-size: 14px; font-weight: 600; fill: var(--ink-900); }
.mapcard .map-t2 { font-family: var(--font-body); font-size: 12px; fill: var(--ink-500); }

/* ---------- 26. DOMKNIECIA MOBILNE ---------- */
@media (max-width: 560px) {
  /* rzad przyciskow: rowna szerokosc zamiast schodkow */
  .hero .btn-row .btn,
  .phero .btn-row .btn,
  .ctaband .btn-row .btn,
  .mnav__foot .btn { width: 100%; }
  .btn { padding-inline: 1.25rem; }
  /* kotwice w page hero zostaja kompaktowe */
  .phero .btn-row .btn--sm { width: auto; }
}
@media (max-width: 420px) {
  .hero .lead { font-size: 1rem; }
  .logo img { width: 7.5rem; }
}

/* ---------- 27. LISTA AKTUALNOSCI ---------- */
.newslist { border-top: 1px solid var(--line); }
.newsrow {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: var(--s-6);
  align-items: baseline;
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background var(--dur-hover) var(--ease);
}
.newsrow:hover { background: var(--surface); }
.newsrow time {
  font-size: var(--fs-xs);
  color: var(--ink-500); white-space: nowrap;
}
.newsrow h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.newsrow:hover h3 { color: var(--signal-deep); }
.newsrow p { font-size: var(--fs-sm); max-width: 68ch; }
.newsrow__tag {
  font-size: var(--fs-xs); color: var(--ink-500); white-space: nowrap;
}
@media (max-width: 760px) {
  .newsrow { grid-template-columns: 1fr; gap: var(--s-3); }
  .newsrow__tag { display: none; }
}

/* ---------- 28. WLADZE STOWARZYSZENIA ---------- */
.people { display: grid; gap: 0; border-top: 1px solid var(--line); }
.person {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-5);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.person b { font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-body); color: var(--ink-900); }
.person span {
  font-size: var(--fs-xs); color: var(--ink-500); text-align: right;
}
.person--lead b { position: relative; padding-left: var(--s-5); }
.person--lead b::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 10px; height: 10px; background: var(--signal);
}

/* ---------- 29. PLIKI DO POBRANIA ---------- */
.doclist { display: grid; gap: var(--s-3); }
.doc {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: border-color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.doc:hover { border-color: var(--ink-900); }
.doc svg { width: 20px; height: 20px; color: var(--ink-500); flex: none; }
.doc b { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-900); font-family: var(--font-body); }
.doc span {
  margin-left: auto;
  font-size: var(--fs-xs); color: var(--ink-500); }

/* ---------- 30. OS CZASU ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.tl {
  position: relative;
  padding: 0 0 var(--s-8) var(--s-10);
  border-left: 1px solid var(--line-strong);
}
.tl:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl::before {
  content: ''; position: absolute; left: -5px; top: 6px;
  width: 9px; height: 9px; background: var(--signal);
  border: 2px solid var(--paper); border-radius: var(--r-pill);
}
.tl time {
  display: block; margin-bottom: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--ink-500);
}
.tl h3 { font-size: 1.0625rem; margin-bottom: var(--s-2); }
.tl p { font-size: var(--fs-sm); max-width: 62ch; }

/* ---------- 31. CYTAT ---------- */
.quote {
  max-width: 54ch;
}
.quote::before {
  content: ''; display: block; width: calc(var(--lane-dash) * 2 + var(--lane-gap)); height: var(--lane-w);
  margin-bottom: var(--s-6);
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem);
  line-height: 1.35; letter-spacing: -.02em;
  color: var(--ink-900);
}
.quote footer {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--ink-500);
}
.quote--dark p { color: var(--on-dark-1); }
.quote--dark footer { color: var(--on-dark-3); }

/* ---------- 32. PASEK KOMUNIKATU ---------- */
.notice {
  display: flex; gap: var(--s-5); align-items: flex-start;
  padding: var(--s-6);
  background: var(--signal-soft);
  border: 1px solid #EFDCAE;
  border-radius: var(--r-md);
}
.notice svg { width: 20px; height: 20px; color: var(--signal-deep); flex: none; margin-top: 2px; }
.notice p { font-size: var(--fs-sm); color: var(--ink-700); }
.notice b { color: var(--ink-900); }

/* ---------- 33. KAFEL USLUGI ---------- */
.tile {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-8);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color var(--dur-hover) var(--ease), box-shadow var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.tile { position: relative; }
.tile::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--signal); opacity: 0;
  transition: opacity var(--dur-hover) var(--ease);
}
.tile:hover { border-color: var(--line-strong); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.125rem; }
.tile p { font-size: var(--fs-sm); }
.tile__more {
  margin-top: auto; padding-top: var(--s-5);
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-900);
}
.tile__more svg { width: 15px; height: 15px; transition: transform var(--dur-hover) var(--ease); }
.tile:hover .tile__more svg { transform: translateX(4px); }

/* ---------- 34. PASEK LICZB ---------- */
.statband { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.statband > div { padding: var(--s-8) var(--s-6) 0 0; }
.statband > div + div { border-left: 1px solid var(--line); padding-left: var(--s-6); }
.statband b {
  display: block; font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -.03em;
  color: var(--ink-900); line-height: 1.05;
}
.statband p { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--ink-500); max-width: 26ch; }
@media (max-width: 900px) {
  .statband { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .statband > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .statband > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: var(--s-6); }
}
@media (max-width: 520px) {
  .statband { grid-template-columns: 1fr; }
  .statband > div { border-left: 0 !important; padding-left: 0 !important; }
  .statband > div + div { border-top: 1px solid var(--line); margin-top: var(--s-5); }
}

/* ---------- 35. SPIS TRESCI DLA DLUGICH DOKUMENTOW ---------- */
.toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-6);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.toc h4 { margin-bottom: var(--s-4); }
.toc ol { list-style: none; padding: 0; display: grid; gap: var(--s-2); counter-reset: toc; }
.toc a {
  display: block; font-size: var(--fs-sm); color: var(--ink-500);
  text-decoration: none; padding: 2px 0;
}
.toc a:hover { color: var(--ink-900); }
.doc-layout { display: grid; grid-template-columns: 17rem 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1000px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- 36. AKT PRAWNY (statut) ---------- */
.legal h2 {
  font-size: var(--fs-h3); margin-top: var(--s-12); padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  color: var(--ink-700);
  margin-top: var(--s-8);
}
.legal p, .legal li { font-size: var(--fs-sm); }
.legal ol, .legal ul { padding-left: var(--s-6); display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.legal > * + * { margin-top: var(--s-4); }

/* ---------- 38. NAGLOWEK PODSTRONY NA PAPIERZE ---------- */
.phead {
  background: var(--paper);
  position: relative;
}
/* krawedz naglowka podstrony = linia pasa, jak w serwisie osrodka */
.phead::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--lane-w);
  background: repeating-linear-gradient(90deg, var(--signal) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap)));
  pointer-events: none;
}
.phead__inner {
  position: relative; z-index: 1;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2.5rem, 2rem + 3vw, 4rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end;
}
.phead h1 { margin-block: var(--s-5) var(--s-5); max-width: 18ch; }
.phead .lead { max-width: 58ch; }
@media (max-width: 900px) { .phead__inner { grid-template-columns: 1fr; align-items: start; } }
.phead .crumbs, .crumbs--light { color: var(--ink-500); }
.crumbs--light a { color: var(--ink-500); }
.crumbs--light a:hover { color: var(--ink-900); }
.crumbs--light span { color: var(--ink-300); }

/* Sygnatura po prawej stronie naglowka podstrony: dane techniczne dzialu */
.phead__meta { display: grid; gap: var(--s-3); }
.phead__meta div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.phead__meta dt, .phead__meta b {
  font-size: var(--fs-xs); color: var(--ink-500); font-weight: var(--fw-medium);
}
.phead__meta span, .phead__meta a { font-size: var(--fs-sm); color: var(--ink-900); text-align: right; text-decoration: none; }
.phead__meta a:hover { color: var(--signal-deep); }

/* ---------- 39. WPISY AKTUALNOSCI ---------- */
.posts { display: grid; gap: var(--s-16); }
.post { scroll-margin-top: calc(var(--header-h) + 2rem); }
.post__head {
  display: flex; align-items: center; gap: var(--s-4);
  padding-bottom: var(--s-4); border-bottom: 1px solid var(--line);
}
.post__head time {
  font-size: var(--fs-xs);
  color: var(--ink-500);
}
.post__tag {
  margin-left: auto;
  font-size: var(--fs-xs); color: var(--ink-900);
  background: var(--signal-soft); border: 1px solid #EFDCAE; padding: 2px 8px;
}
.post h2 { font-size: var(--fs-h3); margin-top: var(--s-6); }
.post__body { margin-top: var(--s-5); }
.post__body > * + * { margin-top: var(--s-4); }
.post__body p { font-size: var(--fs-sm); }
.post__body .ticks { margin-block: var(--s-5); }

/* ---------- 40. DANE DZIALOW (kontakt) ---------- */
.deptgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
.dept { padding: var(--s-8) var(--s-6) var(--s-8) 0; border-bottom: 1px solid var(--line); }
.dept + .dept { border-left: 1px solid var(--line); padding-left: var(--s-6); }
@media (min-width: 901px) {
  .dept:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
.dept h3 {
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: var(--ink-500);
  margin-bottom: var(--s-4);
}
.dept a, .dept span { display: block; font-size: var(--fs-sm); color: var(--ink-900); text-decoration: none; }
.dept a:hover { color: var(--signal-deep); }
.dept em { font-style: normal; color: var(--ink-500); font-size: var(--fs-xs); }
@media (max-width: 900px) {
  .deptgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dept:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .deptgrid { grid-template-columns: 1fr; }
  .dept { border-left: 0 !important; padding-left: 0 !important; }
}

/* ============================================================
   41. PAS KOMUNIKATOW pod hero
   Trzy ostatnie komunikaty w jednym rzedzie, rozdzielone
   pionowa kreska. Nie karty, tylko tablica ogloszen.
   ============================================================ */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip__inner { display: grid; grid-template-columns: auto repeat(3, minmax(0,1fr)) auto; align-items: stretch; }
.strip__label {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-6) var(--s-6) var(--s-6) 0;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-body);
  color: var(--ink-900);
  white-space: nowrap;
}
.strip__label::before { content: ''; width: 10px; height: 10px; background: var(--signal); flex: none; }
.strip__item {
  display: block; padding: var(--s-6); text-decoration: none;
  border-left: 1px solid var(--line);
  transition: background var(--dur-hover) var(--ease);
}
.strip__item:hover { background: var(--surface-2); }
.strip__item time { font-size: var(--fs-xs); color: var(--ink-500); }
.strip__item span { display: block; margin-top: var(--s-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-900); line-height: 1.45; }
.strip__item:hover span { color: var(--signal-deep); }
.strip__all {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-6) 0 var(--s-6) var(--s-6);
  border-left: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-900);
  text-decoration: none; white-space: nowrap;
}
.strip__all svg { width: 14px; height: 14px; }
.strip__all:hover { color: var(--signal-deep); }
@media (max-width: 1100px) {
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__label { grid-column: 1 / -1; padding-bottom: 0; }
  .strip__item:nth-child(2) { border-left: 0; }
  .strip__all { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
}

/* ============================================================
   42. LISTA POZYCJI W WIERSZACH
   Uzywana zamiast siatki kafli tam, gdzie pozycji jest kilka
   i kazda ma numer porzadkowy: uslugi, zakresy ubezpieczen.
   ============================================================ */
.rowlist { border-top: 1px solid var(--line-strong); }
.rowitem {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: var(--s-8);
  align-items: center;
  padding-block: var(--s-8);
  padding-inline: clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background var(--dur-hover) var(--ease), padding var(--dur-hover) var(--ease);
}
.rowitem:hover { background: var(--surface); }
.rowitem__num {
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--ink-300);
  position: relative; padding-top: 2px;
}
.rowitem:hover .rowitem__num { color: var(--signal-deep); }
.rowitem h3 { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); }
.rowitem:hover h3 { color: var(--ink-900); }
.rowitem p { font-size: var(--fs-sm); max-width: 56ch; }
.rowitem__go {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  transition: background var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.rowitem__go svg { width: 18px; height: 18px; }
.rowitem:hover .rowitem__go { background: var(--signal); border-color: var(--signal); transform: translateX(4px); }
@media (max-width: 900px) {
  .rowitem { grid-template-columns: 1fr auto; gap: var(--s-3) var(--s-5); align-items: start; }
  .rowitem p { grid-column: 1 / 2; }
  .rowitem__go { grid-row: 1 / 3; }
}
@media (max-width: 560px) {
  .rowitem { grid-template-columns: 1fr; }
  .rowitem__go { display: none; }
}

/* ============================================================
   43. SPIS ZAKRESOW (ciemna sekcja dwukolumnowa)
   ============================================================ */
.index-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.index-row {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: var(--s-6); align-items: baseline;
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}
.index-row b { display: none; } /* numeracja 01-04 usunieta */
.index-row h3 { font-size: 1.125rem; color: var(--on-dark-1); }
.index-row p { font-size: var(--fs-sm); color: var(--on-dark-2); }
.index-row:hover h3 { color: var(--signal); }
@media (max-width: 760px) {
  .index-row { grid-template-columns: 1fr; }
  .index-row p { margin-top: var(--s-2); }
}

/* Numer rozdzialu nad tytulem w statucie */
.legal__rozdz {
  display: block; margin-bottom: var(--s-2);
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: var(--signal-deep);
}
.toc .mono { color: var(--ink-300); }

/* Listy i podpisy w akcie prawnym */
.legal__list { list-style: none; padding-left: var(--s-6); display: grid; gap: var(--s-2); }
.legal__list li { position: relative; font-size: var(--fs-sm); }
.legal__list li b { color: var(--ink-500); font-weight: var(--fw-medium); margin-right: 4px; }
.legal__list li:not(:has(b))::before {
  content: ''; position: absolute; left: calc(var(--s-6) * -1); top: .7em;
  width: 10px; height: 1px; background: var(--line-strong);
}
.sigs { margin-top: var(--s-12); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.sigs h4 {
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: var(--ink-500); margin-bottom: var(--s-6);
}
.sig { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.sig b { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-900); }
.sig span { font-size: var(--fs-xs); color: var(--ink-500); }

/* Kadr hero: kolumna zestawow trzyma sie prawej strony, po lewej zostaje
   pusta jezdnia i niebo pod naglowek. */
.hero__media img { object-position: 46% 55%; }

/* ============================================================
   44. PELNA SZEROKOSC: pasek kontaktowy, naglowek i stopka
   Te trzy pasy sa ramą serwisu, nie trescia, wiec nie trzymaja
   sie kolumny 75 rem. Ida od krawedzi do krawedzi, z marginesem
   bocznym rosnacym wraz z ekranem.
   ============================================================ */
.container--wide {
  max-width: none;
  padding-inline: clamp(1.25rem, 2.6vw, 3.5rem);
}

/* ============================================================
   45. POWOLNY NAJAZD W HERO
   Zdjecie w hero jest statyczne, wiec zamiast petli wideo
   dostaje bardzo powolne zblizenie: 6 % w 24 sekundy, tam
   i z powrotem. Ma byc na granicy zauwazalnosci, nie ma
   przyciagac wzroku na tekst. Wylaczane przy ograniczonym ruchu.
   ============================================================ */
/* najazd kamery na zdjecie hero usuniety: jedynym ruchem na stronie jest linia w krokach */

/* ---------- 27. NOTA POD CENAMI ---------- */
.pricenote {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6);
  margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--line);
}
.pricenote p { font-size: var(--fs-sm); max-width: 68ch; }
@media (max-width: 760px) { .pricenote { flex-direction: column; align-items: flex-start; } }

/* ---------- 28. TRASY: lista szkolen zawodowych z cenami ---------- */
.routes { list-style: none; padding: 0; border-top: 2px solid var(--ink-900); }
.route {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) 9.5rem 10rem 20px;
  gap: var(--s-6); align-items: baseline;
  padding: var(--s-6) var(--s-4);
  margin-inline: calc(var(--s-4) * -1);
  border-bottom: 1px solid var(--line);
  color: var(--ink-500); text-decoration: none;
  transition: background var(--dur-hover) var(--ease);
}
.route:hover { background: var(--paper); }
.route__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--fw-semi); letter-spacing: var(--ls-h3); line-height: 1.2; color: var(--ink-900); }
.route__desc { font-size: var(--fs-sm); }
.route__hours { font-size: var(--fs-sm); color: var(--ink-600); font-variant-numeric: tabular-nums; }
.route__price {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-bold); letter-spacing: -0.02em;
  color: var(--ink-900); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.route__price--ask { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--fw-semi); letter-spacing: 0; color: var(--ink-600); white-space: normal; }
.route__arrow { width: 18px; height: 18px; align-self: center; color: var(--ink-500); transition: transform var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease); }
.route:hover .route__arrow { transform: translateX(4px); color: var(--ink-900); }
@media (max-width: 900px) {
  .route { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-6); }
  .route__name { grid-column: 1; grid-row: 1; }
  .route__price { grid-column: 2; grid-row: 1; }
  .route__desc { grid-column: 1 / -1; }
  .route__hours { grid-column: 1 / -1; }
  .route__hours:empty { display: none; }
  .route__price--ask { max-width: 11ch; text-align: right; }
  .route__arrow { display: none; }
}

/* ---------- 29. PASEK KONTAKTU (telefon) ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: auto 1fr; gap: var(--s-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 12px -6px rgba(var(--scrim-rgb), .18);
  }
  .callbar .btn { width: 100%; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  /* dev-only przelacznik Strona/Design nie zaslania tresci na telefonie */
  #dsw { display: none !important; }
}
