/* ==========================================================================
   Frida Logistics — transport i spedycja.
   Neutralna, ciemna scena. Czerwień marki wyłącznie w mikrodetalach
   (kropka przy numerze sekcji, strzałka, ptaszek, jeden przycisk konwersji).
   ========================================================================== */

:root {
	/* neutralna baza — 90-95% powierzchni */
	--bg: #0a0a0b;
	--bg-2: #0f0f11;
	--surface: #141417;
	--surface-2: #1b1b1f;
	--line: rgba(255, 255, 255, .07);
	--line-2: rgba(255, 255, 255, .14);
	--text: #f4f4f5;
	--muted: #a1a1aa;
	/* #71717a dawało 4,09:1 — poniżej progu AA dla etykiet i chipsów. */
	--dim: #83838e;

	/* akcent — tylko detale */
	--brand: #e4121f;
	--brand-hi: #ff2c38;
	/* Neon manifestu — jedyne miejsce, gdzie czerwień dostaje poświatę. */
	--neon: #ff2230;
	--neon-glow: 0 0 10px rgba(255, 34, 48, .55), 0 0 30px rgba(255, 34, 48, .3);

	--radius: 4px;
	--wrap: 1520px;
	--gutter: 32px;
	--head-h: 76px;

	--ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 18px/1.6 var(--ff);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-weight: 600;
	letter-spacing: -.05em;
	line-height: .98;
	margin: 0 0 .4em;
	text-wrap: balance;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--text); color: var(--bg); padding: 12px 18px; }
.skip:focus { left: 8px; }
.ico { flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- etykieta sekcji: „01 / Oferta” ---------- */
.label {
	display: flex; align-items: center; gap: 12px;
	font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	color: var(--dim); margin: 0 0 28px;
}
.label::before {
	content: ""; width: 5px; height: 5px; border-radius: 50%;
	background: var(--brand); flex: none;
}
.label b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- typografia sekcji ---------- */
.sec__title { font-size: clamp(38px, 6.4vw, 96px); letter-spacing: -.055em; margin-bottom: .28em; }
.sec__title .soft { color: var(--dim); }
.sec__lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 58ch; }
.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 15px; font-weight: 500; white-space: nowrap;
	border-bottom: 1px solid var(--line-2); padding-bottom: 4px;
	transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow .ico { color: var(--brand); }
.link-arrow:hover { border-color: var(--brand); gap: 15px; }

/* ---------- przyciski ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
	font-weight: 550; font-size: 16px; white-space: nowrap;
	transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn--lg { padding: 18px 32px; }
.btn--full { width: 100%; }
/* jedyna kolorowa powierzchnia na stronie — przycisk konwersji */
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost .ico { color: var(--brand); }

/* ---------- pasek nad nagłówkiem ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 9px; }
.topbar__certs .ico { color: var(--dim); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); flex: none; }
.dot--on { background: #3ddc84; }

/* ---------- nagłówek ---------- */
.head {
	position: sticky; top: 0; z-index: 90;
	background: rgba(10, 10, 11, .86); backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}
.head__in { display: flex; align-items: center; gap: 32px; min-height: var(--head-h); }
.head__logo { flex: none; }
.head__logo .logo { width: auto; height: 32px; }
.logo--text { font-weight: 650; font-size: 20px; letter-spacing: -.03em; }
/* Nawigacja rozciąga się na pełną wysokość nagłówka — inaczej pozycja
   z rozwijanym menu kończy się 17 px nad panelem i kursor gubi menu. */
.nav { margin-inline-start: auto; align-self: stretch; display: flex; }
.nav__list { height: 100%; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
/* Pozycje mają wysokość nagłówka, więc treść linku trzeba w nich wyśrodkować. */
.nav__list > li { display: flex; }
.nav__list a {
	display: inline-flex; align-items: center; padding: 0 16px;
	font-size: 15px; font-weight: 450;
	color: var(--muted); transition: color .25s var(--ease);
}
.nav__list a:hover { color: var(--text); }
/* ---------- rozwijane menu usług ----------
   Czternaście podstron usługowych było dostępnych wyłącznie z sekcji na
   stronie głównej. Tu wchodzą do nawigacji, pogrupowane tak jak w ofercie. */
/* Pozycja z rozwijanym menu sięga pełnej wysokości nagłówka. Bez tego między
   jej dolną krawędzią a górą panelu zostawał pasek należący do nagłówka —
   kursor go przecinał, opuszczał pozycję i menu znikało. */
.nav__list { align-items: stretch; }
.nav__has-mega { position: static; display: flex; }
.nav__toggle {
	display: inline-flex; align-items: center; gap: 8px;
	height: 100%; padding: 0 16px; background: none; border: 0;
	font-size: 15px; font-weight: 450; color: var(--muted);
	transition: color .25s var(--ease);
}
.nav__toggle:hover, .nav__toggle[aria-expanded="true"] { color: var(--text); }
.nav__chev {
	width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }

.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
	padding: 36px 0 40px;
}
.mega__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.mega__title {
	font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
	color: var(--dim); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__col a {
	display: block; padding: 7px 0; font-size: 15px; color: var(--muted);
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.mega__col a:hover { color: var(--text); padding-left: 6px; }

.head__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.head__tel { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 550; }
.head__tel .ico { color: var(--brand); }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 9px; }

/* ---------- tło sekcji: wideo albo zdjęcie ---------- */
.vbg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--bg-2); }
.vbg__poster { width: 100%; height: 100%; object-fit: cover; }

/* Ruch kadru przy przewijaniu. Skrypt ustawia tylko zmienne, przeglądarka
   animuje transform — bez przeliczania układu strony.
   Kadr jest celowo większy od sekcji, żeby przesuw nie odsłonił krawędzi. */
[data-fx] img {
	transform: translate3d(0, var(--fx-y, 0), 0) scale(var(--fx-s, 1));
	transform-origin: 50% 50%;
	will-change: transform;
}
.vbg[data-fx] .vbg__poster { height: 118%; }
/* Kadr w ramce musi być przycięty, inaczej powiększenie wyjdzie poza nią. */
.hire__photo[data-fx] { overflow: hidden; }
.vbg__frame { position: absolute; inset: 0; pointer-events: none; }
.vbg__frame iframe {
	position: absolute; top: 50%; left: 50%;
	width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: 0; opacity: 0; transition: opacity 1.2s var(--ease);
}
.vbg.is-playing .vbg__frame iframe { opacity: 1; }
.vbg__veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 11, .86) 0%, rgba(10, 10, 11, .66) 42%, rgba(10, 10, 11, .96) 100%);
}

/* ---------- hero ---------- */
.hero {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 92vh; padding: 80px 0 24px;
}
.hero__in {
	position: relative; z-index: 1; width: 100%; margin-top: auto;
}
/* Szerokość ograniczamy na bloku tekstu, nie na .wrap — .wrap jest wyśrodkowany,
   więc zmniejszenie go przesunęłoby treść na środek zamiast zostawić przy lewej. */
.hero__text { max-width: min(62ch, 60%); }

/* Sylwetka w tle: cała postać, oparta o dolną krawędź hero. Leży nad zasłoną
   kadru, ale pod treścią, więc nie przechwytuje kliknięć ani nie tnie się
   o żaden element układu. */
.hero__figure {
	position: absolute; right: 0; bottom: 0; z-index: 0;
	margin: 0; pointer-events: none;
	display: flex; align-items: flex-end;
}
.hero__figure img {
	height: min(82vh, 720px); width: auto; display: block;
	filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .55));
}
.hero__kicker {
	font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	color: var(--dim); margin: 0 0 22px;
}
/* Wycinanka osoby w hero. Stoi na dolnej krawędzi sekcji, bez ramki i cienia
   rzucanego na tło — ma wyglądać, jakby była w kadrze, a nie naklejona. */
.hero__person {
	margin: 0; justify-self: end; align-self: end;
	display: flex; align-items: flex-end; height: 100%;
}
.hero__person img {
	/* Rozmiar dobrany tak, by pasek z zakresem działalności mieścił się
	   jeszcze nad załamaniem strony przy wysokości okna 900 px.
	   Ujemny margines wprowadza postać za pasek — inaczej kadr urywa się
	   w połowie sylwetki i wygląda, jakby wisiała w powietrzu. */
	width: min(30vw, 400px); height: auto; display: block;
	margin-bottom: -84px;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5));
}

/* Zdjęcie zespołu w hero — kadr w ramce, z podpisem kto i gdzie. */
.hero__photo { margin: 0; justify-self: end; max-width: 100%; }
.hero__photo img {
	width: 100%; height: auto; display: block;
	border: 1px solid var(--line-2);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.hero__photo figcaption {
	margin-top: 12px; font-size: 13px; color: var(--dim);
	letter-spacing: .02em;
}
/* Wycinanka ciągnika — zostaje w motywie, na razie nieużywana w hero. */
.hero__cut { margin: 0; justify-self: end; }
.hero__cut img { width: min(46vw, 620px); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }

/* ---------- zakres działalności w hero ---------- */
.scope__wrap { position: relative; z-index: 1; width: 100%; margin-top: 36px; }
.scope {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.scope__item {
	display: flex; align-items: center; gap: 18px;
	padding: 20px 22px;
	/* Bardziej kryjące niż zwykłe --bg: pasek przechodzi przed sylwetką
	   i nie może jej prześwitywać. */
	background: rgba(10, 10, 11, .93);
}
.scope__cut { flex: none; width: 104px; height: 84px; display: grid; place-items: center; }
.scope__cut img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
/* Znak ADR jest czarną kreską — na ciemnym tle trzeba go odwrócić. */
.scope__cut--mono img { filter: invert(1); opacity: .9; }
.scope__txt strong { display: block; font-size: 15px; font-weight: 550; letter-spacing: -.015em; }
.scope__txt em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--dim); line-height: 1.4; }
.hero__foot {
	position: relative; z-index: 1; width: 100%;
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line);
	font-size: 13px; color: var(--dim);
}
.hero__foot p { margin: 0; }
.hero__hint { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero__hint-line { display: block; width: 44px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__hint-line::after {
	content: ""; position: absolute; inset: 0; width: 14px;
	background: var(--brand); animation: slide 2.6s var(--ease) infinite;
}
@keyframes slide { 0% { transform: translateX(-14px); } 60%, 100% { transform: translateX(44px); } }
/* Hero ma teraz dwie kolumny — nagłówek dzieli szerokość z wycinanką,
   więc skala jest mniejsza niż przy układzie jednokolumnowym. */
.hero__h1 {
	font-size: clamp(36px, 4.8vw, 78px);
	line-height: .96;
	letter-spacing: -.05em;
	margin-bottom: .3em;
}
.hero__lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; }
.hero__note { margin: 20px 0 0; font-size: 14px; color: var(--dim); }

/* ---------- certyfikaty ---------- */
.certs { border-bottom: 1px solid var(--line); }
.certs__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cert { padding: 32px 0; }
.cert + .cert { padding-left: 32px; border-left: 1px solid var(--line); }
.cert strong { display: block; font-size: 15px; font-weight: 550; letter-spacing: -.01em; }
.cert span { display: block; margin-top: 5px; font-size: 14px; color: var(--dim); }

/* ---------- sekcje ---------- */
.sec { padding: clamp(56px, 5.6vw, 84px) 0; }
.sec--tight { padding: clamp(44px, 4.4vw, 64px) 0; }
.sec--page { padding: 72px 0 88px; }
.sec--video { position: relative; }
.sec--video__in { position: relative; z-index: 1; }

/* ==========================================================================
   KONTEKSTY CIEMNE — jedyne miejsce, w którym nadpisujemy tokeny kolorów.

   Kontrakt: każdy kontekst MUSI podać komplet jedenastu tokenów z listy
   poniżej. Pominięcie choćby jednego daje błąd, którego nie widać w kodzie:
   element bierze wtedy token z :root, więc np. biały tekst ląduje na białym
   tle strony. Dlatego nie dopisujemy tu „tylko tego, czego brakuje”, tylko
   kopiujemy całą listę.

     --bg  --bg-2  --surface  --surface-2
     --line  --line-2
     --text  --muted  --dim
     --neon  --neon-glow

   Obowiązuje w obu wariantach palety, więc light.css niczego tu nie poprawia.
   Weryfikacja: tools/check-contrast.js
   ========================================================================== */

/* Treść na zdjęciu lub filmie — powierzchnie półprzezroczyste, żeby kadr
   był widoczny pod spodem. */
.hero,
.sec--video {
	--bg: rgba(17, 17, 19, .72);
	--bg-2: rgba(12, 12, 14, .8);
	--surface: rgba(17, 17, 19, .74);
	--surface-2: rgba(28, 28, 32, .8);
	--line: rgba(255, 255, 255, .16);
	--line-2: rgba(255, 255, 255, .3);
	--text: #ffffff;
	--muted: rgba(255, 255, 255, .78);
	--dim: rgba(255, 255, 255, .62);
	--neon: #ff2230;
	--neon-glow: 0 0 10px rgba(255, 34, 48, .55), 0 0 30px rgba(255, 34, 48, .3);
	color: var(--text);
}

/* Ciemne pasmo przełamujące biel — powierzchnie kryjące. */
.sec--dark {
	background: #0a0a0b;
	--bg: #0a0a0b;
	--bg-2: #0f0f11;
	--surface: #141417;
	--surface-2: #1b1b1f;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .18);
	--text: #f4f4f5;
	--muted: #a1a1aa;
	--dim: #83838e;
	--neon: #ff2230;
	--neon-glow: 0 0 10px rgba(255, 34, 48, .55), 0 0 30px rgba(255, 34, 48, .3);
	color: var(--text);
}
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
/* Bez tego domyślne min-width:auto nie pozwala nagłówkowi się zawinąć. */
.sec__head > * { min-width: 0; }
.sec__head > div { flex: 1 1 min(100%, 56ch); }
.sec + .sec { border-top: 1px solid var(--line); }

/* ---------- manifest ---------- */
.manifest {
	font-size: clamp(22px, 2.4vw, 36px);
	line-height: 1.4;
	letter-spacing: -.02em;
	max-width: none;
	margin: 0;
	font-weight: 500;
	text-align: center;
	text-wrap: pretty;
}
/* W manifeście kolorem steruje skrypt, więc drugie zdanie nie wyróżnia się klasą. */
.manifest .soft { color: inherit; }

/* Wędrujące podświetlenie: jasne są tylko słowa wokół miejsca, do którego
   doszło przewijanie — wcześniejsze wracają do szarości. Bez JS całość
   jest zwyczajnie czytelna w kolorze tekstu. */
.js-motion .manifest .w {
	color: color-mix(in srgb, var(--neon) calc(var(--l, 0) * 100%), var(--dim));
	transition: color .3s var(--ease), text-shadow .3s var(--ease);
}
.js-motion .manifest .w[data-hot] { text-shadow: var(--neon-glow); }

/* ---------- siatki i karty ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card:hover { background: var(--surface); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 28px; }
.card__title { font-size: 21px; letter-spacing: -.03em; margin-bottom: .45em; }
.card__lead { color: var(--muted); font-size: 16px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.chips li {
	font-size: 13px; color: var(--dim);
	padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px;
}

/* ---------- gałęzie transportu ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { background: var(--bg); border: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s var(--ease); }
.mode:hover { border-color: var(--line-2); }
.mode:hover { background: var(--surface); }
.mode > a { display: flex; flex-direction: column; height: 100%; }
.mode__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }

/* Pozycja wiodąca: cała szerokość, zdjęcie obok tekstu zamiast nad nim. */
.mode--wide { grid-column: 1 / -1; }
.mode--wide > a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
/* Kadr wypełnia kolumnę, ale nie rozpycha sekcji w pionie. */
.mode--wide > a { max-height: 420px; }
.mode--wide .mode__media { aspect-ratio: auto; height: 100%; min-height: 300px; }
.mode--wide .mode__body { justify-content: center; padding: 44px; }
.mode--wide .mode__title { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.04em; }
.mode--wide .mode__lead { font-size: 17px; max-width: 46ch; }
.mode__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mode:hover .mode__media img { transform: scale(1.04); }
.mode__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.mode__title { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.03em; margin-bottom: .5em; }
.mode__lead { display: block; font-size: 15px; color: var(--muted); }
.mode__more {
	display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px;
	font-size: 14px; font-weight: 550; color: var(--text);
}
.mode__more .ico { color: var(--brand); transition: transform .3s var(--ease); }
.mode:hover .mode__more .ico { transform: translateX(4px); }

/* ---------- dobór transportu ---------- */
.picker { border: 1px solid var(--line); }
.picker__tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.picker__tile {
	display: flex; flex-direction: column; gap: 0;
	background: var(--bg); border: 0; padding: 0; text-align: left;
	transition: background .3s var(--ease);
}
.picker__tile:hover { background: var(--surface); }
.picker__tile-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.picker__tile-img img { width: 100%; height: 100%; object-fit: cover; opacity: .66; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.picker__tile:hover .picker__tile-img img { opacity: .85; }
.picker__tile-name {
	display: block; padding: 16px 18px 18px;
	font-size: 15px; font-weight: 500; letter-spacing: -.015em; color: var(--muted);
	border-top: 2px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease);
}
.picker__tile.is-active { background: var(--surface); }
.picker__tile.is-active .picker__tile-img img { opacity: 1; transform: scale(1.03); }
.picker__tile.is-active .picker__tile-name { color: var(--text); border-top-color: var(--brand); }

.picker__panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; padding: 44px; }
.picker__kicker {
	font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	color: var(--dim); margin: 0 0 14px;
}
.picker__title { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: .4em; }
.picker__lead { color: var(--muted); font-size: 17px; margin: 0; max-width: 54ch; }
.picker__chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.picker__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.picker__chips .ico { color: var(--brand); }
.picker__list { margin: 0; padding-left: 1.3em; color: var(--muted); font-size: 16px; }
.picker__list li { margin-bottom: .5em; }
.picker__ctas { margin: 28px 0 0; }
.picker__call { margin: 16px 0 0; font-size: 14px; color: var(--dim); }
.picker__call a { color: var(--text); border-bottom: 1px solid var(--brand); }

/* ---------- o nas ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: var(--bg); padding: 28px; }
.facts strong { font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.045em; margin-right: 10px; }
.facts em { font-style: normal; font-weight: 500; color: var(--text); font-size: 17px; }
.facts span { display: block; margin-top: 10px; font-size: 15px; color: var(--dim); }

/* ---------- osobisty spedytor ---------- */
.forwarder { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: 56px; align-items: center; }
/* Numery stoją tuż pod sylwetką i domykają ją od dołu — bez nich kadr
   urywał się w połowie uda i postać wisiała nad pustym miejscem. */
.forwarder__side { display: flex; flex-direction: column; }
.forwarder__photo { margin: 0 0 -1px; align-self: center; }
/* Wycinanka ze studia z białą scenerią — na jasnej sekcji nie widać krawędzi. */
.forwarder__photo img { width: min(30vw, 380px); height: auto; display: block; }
.forwarder__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.forwarder__list li { display: flex; align-items: flex-start; gap: 14px; }
.forwarder__list .ico { color: var(--brand); margin-top: 5px; flex: none; }
.forwarder__list strong { display: block; font-size: 17px; font-weight: 550; letter-spacing: -.02em; }
.forwarder__list em { display: block; margin-top: 4px; font-style: normal; font-size: 16px; color: var(--muted); }
.forwarder__contacts {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 1px;
	background: var(--line); border: 1px solid var(--line);
}
.forwarder__contacts li { background: var(--bg); padding: 16px 20px; }
.forwarder__contacts a { font-size: 18px; font-weight: 550; letter-spacing: -.02em; }
.forwarder__contacts em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--dim); }

/* ---------- proces ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--bg); border: 1px solid var(--line); padding: 28px 26px 32px; }
.steps b {
	display: block; font-size: clamp(40px, 4.4vw, 68px); font-weight: 600;
	letter-spacing: -.06em; line-height: 1; color: var(--surface-2);
	font-variant-numeric: tabular-nums; margin-bottom: 20px;
}
.sec--dark .steps b { color: #26262c; }
.steps h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: .5em; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.steps em { display: block; margin-top: 16px; font-style: normal; font-size: 13px; color: var(--dim); }

/* ---------- kafelki branż ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.tile:hover img { transform: scale(1.04); opacity: .82; }
.tile span {
	position: absolute; inset: auto 0 0 0; padding: 40px 24px 24px;
	font-weight: 500; font-size: 17px; letter-spacing: -.02em;
	background: linear-gradient(180deg, transparent, rgba(10, 10, 11, .95));
}

/* ---------- certyfikaty jako dokumenty ---------- */
.certdocs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* Skan jest dowodem przy danych, a nie galerią — stąd mała miniatura obok
   tekstu zamiast kadru na całą szerokość kafelka. */
.certdoc { background: var(--bg); border: 1px solid var(--line); display: flex; gap: 20px; padding: 22px 24px; align-items: flex-start; }
.certdoc__scan {
	flex: none; width: 92px; display: block; overflow: hidden;
	border: 1px solid var(--line-2); background: var(--surface-2);
}
.certdoc__scan img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.certdoc__scan:hover img { transform: scale(1.05); }
.certdoc__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.certdoc__code { font-size: 16px; letter-spacing: -.02em; margin-bottom: .3em; }
.certdoc__desc { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.certdoc__meta { margin: 0 0 10px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 12px; }
.certdoc__meta dt { color: var(--dim); }
.certdoc__meta dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.certdoc__pca { margin: auto 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.certdoc__pca .ico { color: var(--brand); }

/* ---------- aktualności ---------- */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news__item { background: var(--bg); border: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s var(--ease); }
.news__item:hover { border-color: var(--line-2); }
.news__item:hover { background: var(--surface); }
.news__item > a { display: block; height: 100%; }
.news__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news__item:hover .news__media img { transform: scale(1.03); }
.news__body { display: block; padding: 24px; }
.news__date { display: block; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.news__title { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }

/* ---------- branże ----------
   Wiersze zamiast kafelków ze zdjęciem: cztery słowa pod obrazkiem nie niosły
   żadnej treści, a sekcja zajmowała prawie tysiąc pikseli. Tu każda pozycja
   mówi, co z danej branży wynika dla przewozu, i prowadzi do jej podstrony. */
.branches { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.branch { border-bottom: 1px solid var(--line); }
.branch > a {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 11fr) auto;
	gap: 32px; align-items: baseline; padding: 24px 4px;
	transition: padding .3s var(--ease), background .3s var(--ease);
}
.branch > a:hover { padding-left: 16px; padding-right: 16px; background: var(--surface); }
.branch__name { font-size: clamp(20px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.035em; }
.branch__need { color: var(--muted); font-size: 16px; }
.branch__go { align-self: center; }
.branch__go .ico { color: var(--brand); transition: transform .3s var(--ease); }
.branch > a:hover .branch__go .ico { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 28px 0; cursor: pointer; list-style: none;
	font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; width: 11px; height: 11px; flex: none;
	border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
	transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { color: var(--muted); font-size: 17px; max-width: 72ch; padding-bottom: 28px; margin: 0; }

/* ---------- rekrutacja ---------- */
.hire { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hire__photo { margin: 0; overflow: hidden; border: 1px solid var(--line); }
.hire__photo img { width: 100%; }

/* ---------- wycena ---------- */
.quote__h2 { font-size: clamp(44px, 9vw, 128px); line-height: .94; letter-spacing: -.055em; margin-bottom: .35em; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.quote__addr { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; font-size: 16px; color: var(--muted); }
.quote__addr .ico { color: var(--dim); }
.quote__contacts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quote__contacts li { display: flex; align-items: center; gap: 14px; background: var(--bg); padding: 20px 24px; }
.quote__contacts .ico { color: var(--brand); }
.quote__contacts a { font-weight: 550; font-size: 19px; letter-spacing: -.02em; }
.quote__contacts em { display: block; font-style: normal; font-size: 14px; color: var(--dim); margin-top: 2px; }

/* ---------- formularz ---------- */
.form { background: var(--surface); border: 1px solid var(--line); padding: 36px; }
.form__title { font-size: 22px; letter-spacing: -.03em; margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin-bottom: 9px; }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
	width: 100%; padding: 14px 16px; font: inherit; font-size: 16px;
	color: var(--text); background: var(--bg); border: 1px solid var(--line-2);
	border-radius: var(--radius); transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field__err { margin: 8px 0 0; font-size: 14px; color: var(--brand-hi); }
.field.has-err input, .field.has-err textarea { border-color: var(--brand); }
.form__note { margin: 20px 0 0; font-size: 14px; color: var(--dim); }
.form__note a { border-bottom: 1px solid var(--line-2); }
.form__status { margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: #3ddc84; }
.form__status.is-err { color: var(--brand-hi); }
.form.is-sending { opacity: .6; pointer-events: none; }

/* ---------- nagłówek podstrony ---------- */
.phero { position: relative; padding: clamp(64px, 7vw, 104px) 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.phero--img { border-bottom: 0; }
.phero__in { position: relative; z-index: 1; max-width: 62ch; }
.phero__h1 { font-size: clamp(34px, 5.2vw, 72px); letter-spacing: -.05em; line-height: .98; margin-bottom: .3em; }
.phero__lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ---------- zestawienie taboru ---------- */
.fleet { border: 1px solid var(--line); }
.fleet__row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.2fr);
	gap: 24px; padding: 22px 24px; align-items: baseline;
}
.fleet__row + .fleet__row { border-top: 1px solid var(--line); }
.fleet__name { font-size: 18px; letter-spacing: -.03em; margin: 0; }
.fleet__spec, .fleet__range, .fleet__use { margin: 0; font-size: 15px; color: var(--muted); }
.fleet__range { color: var(--text); }

/* ==========================================================================
   PODSTRONA USŁUGOWA
   Jedna myśl na sekcję, kadr na pełną szerokość, parametry w zestawieniu.
   Świadomie bez ramek i kart — o hierarchii decyduje skala i odstęp.
   ========================================================================== */

/* Zdanie wprowadzające jako samodzielna sekcja. */
.svc-say { padding: clamp(56px, 7vw, 104px) 0; }
.svc-say__text {
	margin: 0 auto; max-width: 20ch; text-align: center;
	font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.04em;
	font-weight: 500; text-wrap: balance;
}

/* Kadr od krawędzi do krawędzi, bez ramki i podpisu. */
.svc-shot { margin: 0; overflow: hidden; max-height: min(62vh, 560px); }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Parametry — zestawienie z liniami włosowymi, liczby w jednej osi. */
.svc-spec { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.svc-spec__row { padding: 24px 24px 24px 0; border-top: 1px solid var(--line); }
.svc-spec dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.svc-spec dd { margin: 0; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.02em; }

/* Lista obok karuzeli — tak jak w poprzedniej wersji strony. */
.svc-provide--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.svc-provide--split .svc-points { grid-template-columns: 1fr; gap: 26px; }

/* ---------- karuzela zdjęć ---------- */
.carou { margin: 32px 0 0; }
.carou__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.carou__slide {
	position: absolute; inset: 0; margin: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.carou__slide.is-on { opacity: 1; visibility: visible; }
.carou__slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- scena dla wycinanek ----------
   Scena dla wycinanek: ściana, podłoga i światło, żeby pojazd stał, a nie wisiał.
   Pliki w 2024/04/cut/ są przycięte do obrysu, więc dół obrazka to dół pojazdu
   i można go posadzić dokładnie na linii podłogi (78% wysokości). */
.carou--stage .carou__stage {
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(58% 40% at 50% 74%, rgba(255, 255, 255, .15), transparent 70%),
		linear-gradient(180deg, #14141a 0%, #0b0b0f 62%, #121217 78%, #08080b 100%);
}
.carou--stage .carou__slide { display: block; }

/* Cień kontaktowy — elipsa pod kołami, nie obrys wycinanki. */
.carou--stage .carou__slide::after {
	content: ""; position: absolute; left: 50%; top: 78%;
	width: 62%; height: 7%; transform: translate(-50%, -52%);
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .34) 46%, transparent 74%);
	filter: blur(7px);
}
.carou--stage .carou__slide img {
	position: absolute; left: 50%; top: 78%;
	width: auto; height: auto;
	max-width: 86%; max-height: 64%;
	transform: translate(-50%, -100%);
	object-fit: contain;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
}

/* Tablice ADR — płaskie oznaczenia, więc jasny kafel i dużo marginesu. */
.carou--plate .carou__stage {
	aspect-ratio: 4 / 3;
	background: linear-gradient(180deg, #f4f4f6 0%, #e7e7ec 100%);
}
.carou--plate .carou__slide { display: grid; place-items: center; padding: 14%; }
.carou--plate .carou__slide img {
	width: auto; height: auto; max-width: 100%; max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .18));
}

.carou__bar { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
.carou__arrow {
	display: grid; place-items: center; width: 40px; height: 40px;
	background: none; border: 1px solid var(--line-2); border-radius: 50%;
	transition: border-color .25s var(--ease);
}
.carou__arrow:hover { border-color: var(--text); }
.carou__chev {
	width: 8px; height: 8px;
	border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.carou__chev--r { transform: rotate(45deg) translate(-2px, 2px); }
.carou__chev--l { transform: rotate(-135deg) translate(-2px, 2px); }
.carou__dots { display: flex; gap: 8px; }
.carou__dot {
	width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
	background: var(--line-2); transition: background .25s var(--ease), transform .25s var(--ease);
}
.carou__dot.is-on { background: var(--brand); transform: scale(1.35); }

/* Co zapewniamy — numer i zdanie, bez kart. */
.svc-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.svc-points li { display: flex; gap: 20px; align-items: baseline; }
.svc-points__no { flex: none; font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.svc-points__text { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; letter-spacing: -.02em; }

/* Co podać w zapytaniu. */
.svc-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-ask__list { margin: 0; padding: 0; list-style: none; counter-reset: ask; }
.svc-ask__list li {
	counter-increment: ask; position: relative;
	padding: 22px 0 22px 52px; border-top: 1px solid var(--line);
	font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.02em;
}
.svc-ask__list li:last-child { border-bottom: 1px solid var(--line); }
.svc-ask__list li::before {
	content: counter(ask, decimal-leading-zero);
	position: absolute; left: 0; top: 24px;
	font-size: 14px; color: var(--brand); font-variant-numeric: tabular-nums;
}

/* Zakończenie — jedno wezwanie, wyśrodkowane. */
.svc-end { text-align: center; }
.svc-end__h2 { font-size: clamp(32px, 5vw, 68px); letter-spacing: -.05em; margin-bottom: .3em; }
.svc-end__lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; margin: 0 auto; }
.svc-end__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }

/* ---------- lista danych (adres, NIP, warunki pracy) ---------- */
.facts-list { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: 16px; }
.facts-list dt { color: var(--dim); font-size: 14px; }
.facts-list dd { margin: 0; color: var(--muted); }
.facts-list dd a { border-bottom: 1px solid var(--line-2); }
.facts-list dd a:hover { border-color: var(--brand); }

.band__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.band { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band .sec__lead { margin: 0; }
.band .sec__lead a { color: var(--text); border-bottom: 1px solid var(--brand); }

/* ---------- treść z edytora ---------- */
.prose { color: var(--muted); font-size: 18px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.8em; }
.prose a { color: var(--text); border-bottom: 1px solid var(--brand); }
.prose img { margin: 2em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.post__media { margin: 0 0 40px; overflow: hidden; }

/* ---------- stopka ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 0; }
.foot__top { display: grid; grid-template-columns: 1.1fr 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot__col--wide { grid-column: span 1; }
.foot__services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.foot__services .foot__list { gap: 9px; font-size: 15px; }
.foot__brand .logo { height: 34px; width: auto; margin-bottom: 24px; }
.foot__lead { color: var(--muted); font-size: 16px; max-width: 34ch; margin-bottom: 28px; }
.foot__col h3 { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 24px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; font-size: 16px; }
.foot__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.foot__list .ico { color: var(--dim); margin-top: 4px; }
.foot__list a:hover { color: var(--text); }
.foot__list em { display: block; font-style: normal; font-size: 14px; color: var(--dim); }
.foot__bar {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--dim);
}
.foot__bar p { margin: 0; }
.foot__docs { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot__docs a:hover { color: var(--text); }
.foot__social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot__social a {
	display: grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid var(--line-2); border-radius: var(--radius);
	color: var(--muted); transition: color .25s var(--ease), border-color .25s var(--ease);
}
.foot__social a:hover { color: var(--text); border-color: var(--text); }

.pager { margin-top: 56px; display: flex; gap: 10px; justify-content: center; }
.pager .page-numbers { padding: 10px 16px; border: 1px solid var(--line); color: var(--muted); }
.pager .current { border-color: var(--text); color: var(--text); }

/* ---------- odsłanianie przy przewijaniu ----------
   Stan ukryty dokłada dopiero skrypt (klasa js-motion na <html>). Bez JS,
   przy ograniczonych animacjach i gdy obserwator jest wstrzymany w karcie
   w tle, treść jest po prostu widoczna. */
.js-motion .reveal { opacity: 0; transform: translateY(32px); }
.js-motion .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion .reveal--d1.is-in { transition-delay: .09s; }
.js-motion .reveal--d2.is-in { transition-delay: .18s; }

/* Zdjęcia odsłaniane maską. Obserwujemy kartę, nie sam obrazek — przycięty
   element ma zerową powierzchnię i obserwator by go nie zobaczył. */
.js-motion .card.reveal .card__media img,
.js-motion .hire__photo.reveal img {
	clip-path: inset(0 0 100% 0);
	transform: scale(1.05);
}
.js-motion .card.reveal.is-in .card__media img,
.js-motion .hire__photo.reveal.is-in img {
	clip-path: inset(0 0 0 0);
	transform: none;
	transition: clip-path 1s var(--ease) .08s, transform 1.1s var(--ease) .08s;
}
/* Kafelki bez zmiany skali — inaczej reguła odsłaniania wygrałaby z hoverem. */
.js-motion .tile.reveal img { clip-path: inset(0 0 100% 0); }
.js-motion .tile.reveal.is-in img { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease) .08s, transform .6s var(--ease), opacity .4s var(--ease); }

/* ---------- responsywność ---------- */
@media (max-width: 1240px) {
	:root { --gutter: 24px; }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.picker__tiles { grid-template-columns: repeat(3, 1fr); }
	.modes { grid-template-columns: repeat(3, 1fr); }
	.mode--wide > a { grid-template-columns: 1fr; }
	.mode--wide .mode__media { aspect-ratio: 16 / 9; min-height: 0; }
	.mode--wide .mode__body { padding: 28px; }
	.scope { grid-template-columns: repeat(2, 1fr); }
	.certdocs { grid-template-columns: repeat(2, 1fr); }
	.news { grid-template-columns: 1fr; }
	.picker__panel { grid-template-columns: 1fr; gap: 36px; padding: 32px; }
	.nav { display: none; }
	.burger { display: inline-flex; }
	.nav.is-open {
		display: block; position: fixed; inset: var(--head-h) 0 auto 0;
		background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
	}
	.nav.is-open .nav__list { flex-direction: column; gap: 0; }
	.nav.is-open .nav__list a { padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.nav.is-open { max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
	.nav__toggle { width: 100%; justify-content: space-between; padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.mega { position: static; padding: 8px 0 16px; border: 0; box-shadow: none; background: none; }
	.mega__in { grid-template-columns: 1fr; gap: 20px; padding: 0; }
	.mega__col a { font-size: 16px; padding: 9px 0; border-bottom: 0; }
}

@media (max-width: 980px) {
	.about, .quote, .hire, .forwarder, .service, .svc-ask { grid-template-columns: 1fr; gap: 40px; }
	.svc-spec { grid-template-columns: repeat(2, 1fr); }
	.svc-points { grid-template-columns: 1fr; gap: 28px; }
	.svc-provide--split { grid-template-columns: 1fr; gap: 36px; }
	.fleet__row { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
	.certs__in { grid-template-columns: repeat(2, 1fr); }
	.cert { padding: 24px 0; }
	.cert + .cert { padding-left: 0; border-left: 0; }
	.cert:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
	.foot__top { grid-template-columns: 1fr 1fr; gap: 40px; }
	.foot__col--wide { grid-column: 1 / -1; }
	.head__tel span { display: none; }
}

@media (max-width: 680px) {
	.hero { min-height: auto; padding: 88px 0 48px; }
	.hero__cut { justify-self: center; }
	.hero__cut img { width: min(80vw, 420px); }
	.hero__photo { justify-self: stretch; }
	/* Na telefonie sylwetka zeszłaby pod tekst — zostaje jako delikatne tło. */
	.hero__text { max-width: none; }
	.hero__figure { right: -12%; opacity: .32; }
	.hero__figure img { height: min(56vh, 420px); }
	.scope { grid-template-columns: 1fr; }
	.scope__wrap { margin-top: 36px; }
	.grid--3, .steps { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.picker__tiles { grid-template-columns: repeat(2, 1fr); }
	.branch > a { grid-template-columns: 1fr auto; gap: 8px 20px; }
	.branch__need { grid-column: 1 / -1; }
	.modes { grid-template-columns: 1fr; }
	.mode--wide .mode__body { padding: 24px; }
	.certdocs { grid-template-columns: 1fr; }
	.certdoc__scan { width: 76px; }
	.fleet__row { grid-template-columns: 1fr; gap: 8px; }
	.svc-spec { grid-template-columns: 1fr; }
	.svc-spec__row { padding: 18px 0; }
	.svc-shot { max-height: 46vh; }
	.facts-list { grid-template-columns: 1fr; gap: 4px 0; }
	.facts-list dt { margin-top: 12px; }
	.picker__panel { padding: 24px; }
	.picker__tile-name { padding: 12px 14px 14px; font-size: 14px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.forwarder__contacts { grid-template-columns: 1fr; }
	/* Przy jednej kolumnie 30vw dawało sylwetkę wielkości ikony. */
	.forwarder__photo { justify-self: center; }
	.forwarder__photo img { width: min(68vw, 300px); }
	.topbar .topbar__certs { display: none; }
	.head__cta .btn { display: none; }
	.foot__top { grid-template-columns: 1fr; }
	.form { padding: 24px; }
	.sec__head { margin-bottom: 48px; }
}

/* ---------- ograniczone animacje ---------- */
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Przełącznik języka w nagłówku */
.lang { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang a { display: block; padding: 6px 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; border-radius: 6px; color: var(--muted); }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: var(--text); background: rgba(128, 128, 128, .14); }
@media (max-width: 680px) { .lang { display: none; } }

/* ==========================================================================
   Podstrony usługowe — układ w stylu integratorów (svx-*)
   ========================================================================== */
.svx-facts { position: relative; z-index: 2; margin-top: -56px; }
.svx-facts__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0;
	background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .35); overflow: hidden;
}
.svx-facts__cell { padding: 26px 28px; border-left: 1px solid var(--line); }
.svx-facts__cell:first-child { border-left: 0; }
.svx-facts dt { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.svx-facts dd { margin: 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 550; letter-spacing: -.02em; line-height: 1.3; }

.svx-over__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svx-over__lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; margin-bottom: 28px; }
.svx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svx-card {
	display: flex; flex-direction: column; gap: 22px; min-height: 176px; padding: 26px;
	border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2);
	transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.svx-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.svx-card__no { font-size: 13px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.svx-card__text { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.4; letter-spacing: -.015em; font-weight: 500; }

.svx-shot { margin: 0; max-height: 520px; overflow: hidden; }
.svx-shot img { width: 100%; height: 100%; object-fit: cover; }

/* Galeria: jeden szeroki kafel, dopasowany do zdjęć i wycinanek. */
.svx-gal .carou { margin-top: 28px; }
.svx-gal .carou__stage { aspect-ratio: 21 / 9; border-radius: 12px; }
.svx-gal .carou--stage .carou__stage,
.svx-gal .carou--plate .carou__stage { aspect-ratio: 21 / 9; }
.svx-gal .carou__slide img { object-fit: cover; }
@media (max-width: 760px) { .svx-gal .carou__stage, .svx-gal .carou--stage .carou__stage, .svx-gal .carou--plate .carou__stage { aspect-ratio: 4 / 3; } }

.svx-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.svx-type { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.svx-type:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .4); }
.svx-type h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 12px; }
.svx-type h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--brand); margin-bottom: 18px; border-radius: 2px; }
.svx-type p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.svx-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svx-step { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.svx-step:last-child { border-right: 0; margin-right: 0; }
.svx-step__no { display: block; font-size: 14px; color: var(--brand); font-weight: 600; margin-bottom: 40px; }
.svx-step h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 12px; }
.svx-step p { color: var(--muted); font-size: 16px; }
.svx-step em { font-style: normal; font-size: 13px; letter-spacing: .04em; color: var(--dim); text-transform: uppercase; }

.svx-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.svx-rel__item { display: flex; flex-direction: column; gap: 14px; }
.svx-rel__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.svx-rel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svx-rel__item:hover .svx-rel__media img { transform: scale(1.05); }
.svx-rel__item strong { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.svx-rel__more { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.svx-rel__item:hover .svx-rel__more { color: var(--brand); }

.svx-end__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.svx-end .svc-end__h2 { text-align: left; }
.svx-end .svc-end__lead { margin: 0; }
.svx-end__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

@media (max-width: 1100px) {
	.svx-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svx-facts__cell:nth-child(3) { border-left: 0; }
	.svx-facts__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
	.svx-over__in { grid-template-columns: 1fr; }
	.svx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svx-step:nth-child(2) { border-right: 0; margin-right: 0; }
	.svx-types, .svx-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.svx-facts { margin-top: -32px; }
	.svx-facts__cell { padding: 18px; }
	.svx-cards, .svx-types, .svx-rel__grid, .svx-steps { grid-template-columns: 1fr; }
	.svx-step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
	.svx-end__in { grid-template-columns: 1fr; }
}

/* Wycinanki w galerii: kadr produktowy — wyśrodkowany obiekt w świetle,
   bez linii podłogi, więc nic nie „wisi” nad krawędzią cienia. */
.svx-gal .carou--stage .carou__stage {
	background:
		radial-gradient(55% 70% at 50% 46%, rgba(255, 255, 255, .13), transparent 72%),
		linear-gradient(180deg, #17171c 0%, #0c0c10 100%);
}
.svx-gal .carou--stage .carou__slide { display: grid; place-items: center; padding: 5% 8%; }
.svx-gal .carou--stage .carou__slide::after { display: none; }
.svx-gal .carou--stage .carou__slide img {
	position: static; transform: none; width: auto; height: auto;
	max-width: 100%; max-height: 100%; object-fit: contain;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55));
}
.svx-gal .carou--plate .carou__slide { padding: 6% 10%; }
.phero--img { padding-bottom: clamp(96px, 9vw, 130px); }

/* Studio: jasne tło dla wycinanek (pieczywo, warzywa i pojazdy czytają się
   na nim lepiej niż na czerni), delikatne światło u góry i cień pod obiektem. */
.svx-gal .carou--stage .carou__stage {
	background:
		radial-gradient(60% 55% at 50% 38%, #ffffff 0%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(180deg, #eceef2 0%, #d5d8df 100%);
}
.svx-gal .carou--stage .carou__slide img { filter: drop-shadow(0 22px 20px rgba(20, 24, 36, .28)); }
.svx-type:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.svx-type:last-child:nth-child(3n+1) p { max-width: 80ch; }

/* ---------- wycinanki jako ozdoby sekcji ---------- */
.svx-over, .svx-typ, .svx-proc, .svx-askw { position: relative; }
.deco {
	position: absolute; z-index: 3; display: block; pointer-events: none;
	width: clamp(200px, 26vw, 440px); --r: 0deg;
	filter: drop-shadow(0 26px 26px rgba(10, 14, 24, .3));
	animation: deco-float 9s ease-in-out infinite alternate;
}
.deco img { width: 100%; height: auto; display: block; }
.deco--a { left: -3%; bottom: -70px; --r: -5deg; width: clamp(220px, 30vw, 500px); }
.deco--b { right: 2%; top: 24px; --r: 4deg; }
.deco--c { right: 3%; top: 36px; --r: -3deg; width: clamp(190px, 22vw, 380px); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); }
.deco--d { left: 1%; bottom: -34px; --r: 5deg; width: clamp(170px, 19vw, 320px); }
@keyframes deco-float { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-14px) rotate(calc(var(--r) * -.6)); } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; transform: rotate(var(--r)); } }
@media (max-width: 900px) { .deco { opacity: .96; width: 38vw; } .deco--a { bottom: -40px; } }
@media (max-width: 680px) { .deco--b, .deco--c, .deco--d { display: none; } .deco--a { width: 44vw; left: auto; right: -4%; bottom: -30px; } }

/* Ozdoby stoją w osobnym pasie pod treścią, nigdy na tekście. */
.has-deco { padding-bottom: clamp(170px, 17vw, 270px); }
.deco--a { left: auto; right: 4%; bottom: 8px; }
.deco--d { left: 6%; bottom: 8px; }
@media (max-width: 680px) { .has-deco { padding-bottom: clamp(120px, 34vw, 170px); } .deco--a { right: 4%; bottom: 6px; } }
.deco--a { width: clamp(170px, 20vw, 320px); }
.deco--d { width: clamp(150px, 15vw, 250px); }

/* Ozdoby w sekcjach bez klasy svx-*. */
.sec:has(> .deco) { position: relative; }
.sec--dark > .deco--c, .sec--video > .deco--c { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)); }

/* Nagłówek sekcji z ozdobą zostawia jej miejsce, więc tekst się zawija zamiast pod nią wchodzić. */
@media (min-width: 981px) {
	.sec:has(> .deco--b, > .deco--c) .sec__head > div { padding-right: clamp(180px, 22vw, 380px); }
}

/* Numery na czerwieni marki: dociągnięte do progu AA na jasnym i ciemnym tle. */
.svx-card__no { color: #c20f1b; }
.svx-step__no { color: var(--brand-hi); }
:root:not([data-theme="light"]) .svx-card__no { color: var(--brand-hi); }

/* Cień wycinanek: krótki i lekki zamiast szerokiej szarej plamy. */
.deco { filter: drop-shadow(0 10px 12px rgba(20, 26, 40, .14)); }
.deco--c, .sec--dark > .deco--c, .sec--video > .deco--c, .svx-proc .deco { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }

/* Długie tytuły usług („Spedycja międzynarodowa”) nie wchodzą na karty obok. */
.svx-over__in { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
.svx-over .sec__title { font-size: clamp(34px, 4.4vw, 64px); overflow-wrap: break-word; hyphens: auto; }

/* Jedna kolumna na telefonie nie może wypychać strony szerszą kartą. */
@media (max-width: 680px) {
	.svx-cards, .svx-types, .svx-rel__grid, .svx-steps { grid-template-columns: minmax(0, 1fr); }
	.svx-card, .svx-type, .svx-step { min-width: 0; }
	.svx-card__text, .svx-type p, .svx-type h3 { overflow-wrap: anywhere; hyphens: auto; }
}

/* ---------- blog ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { border-color: var(--line-2); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .4); }
.post-card > a { display: flex; flex-direction: column; height: 100%; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.post-card__title { font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.post-card__lead { color: var(--muted); font-size: 16px; line-height: 1.55; }
.post-card .mode__more { margin-top: auto; padding-top: 6px; }
.post-card--lead { grid-column: 1 / -1; }
.post-card--lead > a { flex-direction: row; }
.post-card--lead .post-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
.post-card--lead .post-card__body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.post-card--lead .post-card__title { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.04em; line-height: 1.08; }
.post-card--lead .post-card__lead { font-size: 18px; max-width: 52ch; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; }
.pager .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager a.page-numbers:hover { border-color: var(--text); }

.phero__h1--post { font-size: clamp(30px, 4.4vw, 58px); max-width: 24ch; }
.post__media { margin: 0 0 40px; border-radius: 12px; overflow: hidden; }
.post__media img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.post__back { margin: 48px 0 0; }

@media (max-width: 980px) {
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-card--lead > a { flex-direction: column; }
	.post-card--lead .post-card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 640px) { .posts-grid { grid-template-columns: minmax(0, 1fr); } }

/* Figurka w hero wystaje poza ekran na telefonie — przycinamy ją w poziomie. */
.hero { overflow-x: clip; }

/* Zestawy z nowego taboru są długie, więc ozdoba jest szersza i niższa. */
.deco--truck { width: clamp(260px, 34vw, 560px) !important; }
.deco--truck.deco--a { right: 2%; bottom: 10px; }
.deco--truck.deco--b { right: 1%; top: 18px; }
.deco--truck.deco--c { right: 2%; top: 24px; }
@media (max-width: 680px) { .deco--truck.deco--a { width: 70vw !important; right: 2%; } }
@media (min-width: 981px) {
	.sec:has(> .deco--truck) .sec__head > div { padding-right: clamp(260px, 37vw, 600px); }
}
