/* Шрифты: Barlow и Barlow Condensed (SIL OFL 1.1, fonts/OFL.txt), локально из fontsource, без Google Fonts (правило 8). */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(../fonts/barlow-condensed-latin-800-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-800-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Legion Trans, дизайн «A+C» (выбрали Денис и baklak1 26.09.2026): первый экран с эффектом 2.5D
   (надпись за кабиной грузовика), раскрывающееся фото флота, бегущая лента.
   Анимации только CSS: при загрузке и при прокрутке (animation-timeline). Где браузер не умеет,
   всё просто видно без анимации. JS: только ?demo и закрытие мобильного меню после клика по ссылке. */
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }

/* Кириллица для ua/ и ru/: у Barlow её нет. Fira Sans (Extra Condensed) под теми же именами семейств, но только
   для кириллических букв (unicode-range): латиница остаётся Barlow, файлы Fira грузятся только на UA и RU (SIL OFL, fonts/OFL-Fira.txt) */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/fira-sans-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/fira-sans-extra-condensed-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(../fonts/fira-sans-extra-condensed-cyrillic-800-italic.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --tlo: #0b0d10;
  --tlo-2: #111418;
  --tekst: #f2f3f5;
  --slaby: #9ba1a9;
  /* Акцент красный: брат 26.09.2026 19:06 «daj może czarno czerwony» (до этого оранжевый #ea5b0c).
     Сменить цвет: тут две строки, знак (logo/legion-*.svg, #D7262E) и карта: python narzedzia/mapa3d.py --kolor d7262e (и pion) */
  --akcent: #d7262e;
  --akcent-rgb: 215, 38, 46;   /* тот же цвет для rgba() */
  --na-akcencie: #fff;         /* текст на плашках и кнопках цвета акцента */
  --tlo-rgb: 11, 13, 16;       /* --tlo для rgba() */
  --szklo: rgba(22, 25, 30, .45);
  --ramka: rgba(255, 255, 255, .13);
  --uzupelnij: #ff5c93;
  --wrap: 1240px;
  --pad: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --pad: 32px; } }
* { box-sizing: border-box; }
html { background: var(--tlo); scroll-behavior: smooth; }
/* отступ под шапку при переходе из меню: scroll-margin, а не scroll-padding на html, иначе view() считает верх экрана уже «выходом» */
section[id] { scroll-margin-top: 70px; }
body { margin: 0; background: var(--tlo); color: var(--tekst); font: 400 1.0625rem/1.6 Barlow, system-ui, sans-serif; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.szklo { background: var(--szklo); border: 1px solid var(--ramka);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 50px rgba(0,0,0,.35); }
.kondensed { font-family: 'Barlow Condensed', Barlow, sans-serif; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 800 italic 1.2rem/1 'Barlow Condensed', Barlow, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  background: var(--akcent); color: var(--na-akcencie); border-radius: 10px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--akcent-rgb), .45); }
.btn--szklo { background: rgba(255,255,255,.08); border: 1px solid var(--ramka); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--szklo:hover { box-shadow: none; background: rgba(255,255,255,.14); }
.btn--maly { min-height: 42px; padding: 0 16px; font-size: 1.17rem; } /* 18,7 px жирный = «крупный текст»: белый на оранжевом 3,5:1 проходит WCAG AA */
.strzalka { transition: transform .2s; }
.btn:hover .strzalka { transform: translateX(4px); }
:focus-visible { outline: 2px solid var(--akcent); outline-offset: 3px; }

/* ---------- шапка ---------- */
.naglowek { position: fixed; inset: 12px 0 auto; z-index: 30; animation: wjazd .8s .1s var(--ease) both; }
.naglowek__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 16px; }
.znak img { height: 42px; width: auto; } /* Forte Cargo в строку: logo/forte-cargo-poziom-jasne.svg (narzedzia/znak.py) */
.menu { display: none; gap: 26px; font: 600 1.05rem/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.menu a { opacity: .8; transition: opacity .2s; }
.menu a:hover { opacity: 1; }
.naglowek__prawo { display: flex; gap: 8px; align-items: center; }
/* Язык: кнопка с глобусом в шапке и список (popover). На телефоне список снизу, под большой палец */
.jezyk { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 10px; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid var(--ramka); font: 600 1.05rem/1 'Barlow Condensed', sans-serif; letter-spacing: .08em; }
.jezyk:hover { background: rgba(255,255,255,.14); }
.jezyki { position: fixed; inset: 76px max(16px, calc((100vw - var(--wrap)) / 2 + var(--pad))) auto auto; margin: 0; width: 280px; padding: 8px; border-radius: 16px; color: var(--tekst);
  opacity: 0; transition: opacity .2s, translate .2s, display .2s allow-discrete, overlay .2s allow-discrete; translate: 0 -8px; }
.jezyki:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .jezyki:popover-open { opacity: 0; translate: 0 -8px; } }
.jezyki nav { display: grid; gap: 2px; }
.jezyki a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 14px; border-radius: 10px; font-size: 1.1rem; }
.jezyki a:hover { background: rgba(255,255,255,.08); }
.jezyki a b, .menu-mob__jezyki b { font: 800 italic 1.1rem/1 'Barlow Condensed', sans-serif; color: var(--slaby); width: 26px; }
.jezyki a[aria-current] { background: rgba(var(--akcent-rgb), .18); }
.jezyki a[aria-current] b { color: var(--akcent); }
@media (max-width: 699px) { .jezyki { inset: auto 16px calc(16px + env(safe-area-inset-bottom)) 16px; width: auto; translate: 0 12px; } @starting-style { .jezyki:popover-open { translate: 0 12px; } } }
.menu-mob__jezyki { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 28px; }
.menu-mob__jezyki a { display: grid; place-items: center; gap: 2px; min-height: 60px; border-radius: 12px; border: 1px solid var(--ramka); background: rgba(255,255,255,.05); font-size: .75rem; color: var(--slaby); text-align: center; }
.menu-mob__jezyki a b { width: auto; color: #fff; font-size: 1.3rem; }
.menu-mob__jezyki a[aria-current] { border-color: var(--akcent); background: rgba(var(--akcent-rgb), .15); }
@media (max-width: 379px) { .naglowek__in { gap: 6px; padding-left: 12px; } .znak img { height: 30px; } .jezyk { padding: 0 9px; } .naglowek__praca { padding: 0 12px; } .naglowek__praca .strzalka { display: none; } } /* «Kontakt» в шапке и на самых узких телефонах */
.burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--ramka); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
@media (min-width: 960px) { .menu { display: flex; } .burger { display: none; } }

/* мобильное меню: нативный popover (закрывается по Esc и тапу мимо), стеклянная панель */
.menu-mob { inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 88px var(--pad) 32px;
  background: rgba(var(--tlo-rgb), .72); color: var(--tekst); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete; }
.menu-mob:popover-open { opacity: 1; }
@starting-style { .menu-mob:popover-open { opacity: 0; } }
.menu-mob nav:not(.menu-mob__jezyki) { display: grid; gap: 4px; }
.menu-mob nav:not(.menu-mob__jezyki) a { font: 800 italic 2.6rem/1.1 'Barlow Condensed', sans-serif; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--ramka); }
.menu-mob nav:not(.menu-mob__jezyki) a::before { content: "→ "; color: var(--akcent); }
.menu-mob__zamknij { position: absolute; top: 20px; right: var(--pad); width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ramka); background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ---------- первый экран: 2.5D ----------
   Слои: фото → надпись → вырезанный грузовик (тот же кадр, прозрачный вокруг) → градиент → текст.
   Надпись садится на крышу кабины. Где крыша на экране, считаем из того, как object-fit: cover
   режет кадр 1600x1200: --hi высота картинки на экране, --dach крыша (37% кадра) с учётом сдвига по --py. */
.hero { position: relative; timeline-scope: --scena; }
.scena { position: relative; isolation: isolate; overflow: clip; container-type: size; height: 100svh; min-height: 620px;
  --py: .35; --hi: max(75cqw, 100cqh); view-timeline: --scena; }
@media (max-width: 699px) { .scena { height: auto; min-height: 0; aspect-ratio: 390 / 610; } }
.scena { background: #102c52; } /* цвет неба на фото: на вертикальном экране фото прижато к низу, сверху этот фон */
.scena__foto, .scena__wycinek { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; /* грузовик справа, небо слева под надпись, крыша не под шапкой */
  animation: rozjasnij 1.6s var(--ease) both; } /* без наезда: при едущем грузовике зум читается как движение камеры */
.scena__foto { z-index: 0; }
.scena__wycinek { z-index: 3; }
.scena__winieta { position: absolute; inset: 0 0 auto; height: 22%; z-index: 1; background: linear-gradient(rgba(var(--tlo-rgb), .7), rgba(var(--tlo-rgb), 0)); }
.scena__dol { position: absolute; inset: auto 0 0; height: 45%; z-index: 4; background: linear-gradient(0deg, var(--tlo) 8%, rgba(var(--tlo-rgb), .6) 45%, rgba(var(--tlo-rgb), 0)); }

.tytul { position: absolute; z-index: 2; left: 0; right: 0; margin: 0; padding: 0 var(--pad); max-width: var(--wrap); margin-inline: auto;
  font: 800 italic clamp(3.4rem, min(15cqw, 30cqh), 13rem)/.8 'Barlow Condensed', Barlow, sans-serif;
  text-transform: uppercase; letter-spacing: -.01em;
  top: max(96px, 14cqh); } /* надпись на небе слева, грузовик справа не закрывает */
@media (orientation: portrait) { .scena__foto { object-fit: contain; object-position: 50% 100%; } } /* img/hero-pion.jpg целиком, к низу, сверху небо (фон .scena) */
.plakietka { display: block; width: fit-content; position: relative; /* блоком: в одной строке с огромным шрифтом строка раздувалась на 180 px */ margin: 0 0 .5rem .1em; padding: .12em .35em .06em; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1; color: var(--na-akcencie);
  animation: wjazd .7s .35s var(--ease) both; }
.plakietka::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--akcent); transform: skewX(-14deg); }
.slowo { display: block; overflow: clip; padding: .06em .12em 0 0; }
.slowo > span { display: block; animation: zza-dachu 1.3s .25s cubic-bezier(.16,1,.3,1) both; }
.slowo--2 > span { animation-delay: .4s; } /* «CARGO» второй строкой под FORTE (брат 01.10: «Dorzuć cargo») */

.hero__tresc { position: relative; z-index: 5; }
.hero__tresc .wrap { display: grid; gap: 22px; padding-bottom: 36px; }
@media (max-width: 699px) { .hero__tresc { margin-top: -60px; } }
@media (min-width: 700px) { .hero__tresc { position: absolute; inset: auto 0 0; } }
@media (min-width: 1000px) { .hero__tresc .wrap { grid-template-columns: 1fr auto; align-items: end; padding-bottom: 44px; } }
.lead { margin: 0; max-width: 38ch; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d5d9de; animation: wjazd .8s .8s var(--ease) both; }
.przyciski { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; animation: wjazd .8s .95s var(--ease) both; }

/* стеклянная полоска фактов; 30 считает CSS (@property), без JS */
.fakty { list-style: none; margin: 0; padding: 6px; border-radius: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); animation: wjazd .9s 1.1s var(--ease) both; }
.fakty li { padding: 10px 16px; }
@media (max-width: 379px) { .fakty { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fakty li { padding: 10px 7px; } .fakty strong { font-size: 1.25rem; } .fakty li > span { font-size: .7rem; } } /* 360 px: полоска фактов вылезала на 14 px */
.fakty li + li { border-left: 1px solid var(--ramka); }
.fakty strong { display: block; font: 800 italic clamp(1.4rem, 4.6vw, 2.1rem)/1 'Barlow Condensed', sans-serif; text-transform: uppercase; white-space: nowrap; }
.fakty li > span { display: block; margin-top: 3px; font-size: .88rem; color: var(--slaby); }
.licznik { counter-reset: n var(--n); --n: 40; animation: licz 2s 1.2s var(--ease) both; }
.licznik::after { content: counter(n); }

/* ---------- бегущая лента ---------- */
.tasma-obr { overflow: clip; padding: 28px 0; } /* наклонённая лента шире экрана: обрезаем тут, а не скроллом страницы */
.tasma { background: var(--akcent); color: var(--tlo); transform: rotate(-1.5deg); margin: 0 -20px; padding: 12px 0; overflow: hidden; white-space: nowrap; }
.tasma__in { display: inline-flex; animation: tasma 30s linear infinite; }
.tasma span { font: 800 italic clamp(1.3rem, 2.8vw, 2rem)/1 'Barlow Condensed', sans-serif; text-transform: uppercase; padding-right: 1em; }
.tasma span::after { content: "✶"; padding-left: 1em; }

/* ---------- секции ---------- */
.sekcja { padding: 96px 0; position: relative; }
@media (min-width: 760px) { .sekcja { padding: 130px 0; } }
.etykieta { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 .95rem/1 'Barlow Condensed', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--slaby); }
.etykieta::before { content: ""; width: 34px; height: 3px; background: var(--akcent); transform: skewX(-20deg); }
h2 { margin: 0 0 18px; font: 800 italic clamp(2.6rem, 7.5vw, 5.6rem)/.92 'Barlow Condensed', sans-serif; text-transform: uppercase; }
h3 { margin: 0 0 10px; font: 800 italic 1.8rem/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.sekcja p { margin: 0; color: var(--slaby); max-width: 46ch; font-size: 1.15rem; }
.dwie { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 760px) { .dwie { grid-template-columns: 1fr 1fr; } }
.dwie > :only-child { grid-column: 1 / -1; }
.karta { border-radius: 20px; padding: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--ramka); }
.karta ul { margin: 0; padding-left: 1.1em; color: var(--slaby); }
.cta { margin-top: 32px; }
.plac { margin-top: 16px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .plac { grid-template-columns: 1fr auto; } }
.plac h3 { margin: 0 0 6px; }
.plac p { margin: 0; color: var(--slaby); }
.plac strong { color: var(--tekst); white-space: nowrap; } /* адрес не рвём: «153D» уезжал на новую строку */

/* O firmie: крупные числа */
.liczby { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 1px; background: var(--ramka); border: 1px solid var(--ramka); border-radius: 20px; overflow: hidden; }
@media (min-width: 700px) { .liczby { grid-template-columns: repeat(3, 1fr); } }
.liczby li { background: var(--tlo); padding: 28px; }
.liczby strong { display: block; font: 800 italic clamp(3rem, 8vw, 5.5rem)/.9 'Barlow Condensed', sans-serif; text-transform: uppercase; color: #fff; }
.liczby li:first-child strong { color: var(--akcent); }
.liczby span { color: var(--slaby); }
.licznik-p { counter-reset: n var(--n); --n: 40; }
.licznik-p::after { content: counter(n); }

/* Flota: фото раскрывается на всю ширину при прокрутке (из варианта C) */
.kadr { position: relative; margin: 48px auto 0; width: min(calc(100% - 2 * var(--pad)), 1240px); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--ramka); }
@media (max-width: 640px) { .kadr { aspect-ratio: 4 / 5; border-radius: 22px; } }
.kadr img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.85) contrast(1.05) brightness(.8); }
.kadr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--tlo-rgb), 0) 45%, rgba(var(--tlo-rgb), .8)); }
.pigulki { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; }
.pigulka { display: flex; align-items: baseline; gap: 8px; padding: 12px 18px; border-radius: 14px; }
.pigulka strong { font: 800 italic 1.5rem/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.pigulka span { color: #c9ccd1; font-size: .92rem; }
.flota-karty { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 760px) { .flota-karty { grid-template-columns: 1fr 1fr; } }
.karta--foto { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 16px; }
@media (max-width: 399px) { .karta--foto { grid-template-columns: 84px 1fr; gap: 14px; } .karta--foto img { width: 84px !important; height: 84px !important; } .karta--foto h3 { font-size: 1.5rem; } } /* RU/UA: длинные слова («Полуприцепы») не влезали */
.karta--foto img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }

/* Kierunki: карта-видео. Раздел высокий, сцена прилипает к экрану, js/mapa.js рисует кадр по прокрутке
   и ставит --p (0..1, сколько раздела пролистано): по нему текст уходит, а подпись «Polska» появляется */
.mapa { --p: 0; position: relative; height: 230svh; } /* 3,2 экрана было слишком долго: водитель листает к контактам */
@media (max-width: 699px) { .mapa { height: 190svh; } }
.mapa__scena { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--tlo); }
.mapa__plakat, .mapa__plotno { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mapa__plotno { opacity: 0; transition: opacity .4s; }
.mapa.gra .mapa__plotno { opacity: 1; }
.mapa__cien { position: absolute; inset: 0; background:
  linear-gradient(var(--tlo), rgba(var(--tlo-rgb), 0) 18%, rgba(var(--tlo-rgb), 0) 75%, var(--tlo)),
  linear-gradient(90deg, rgba(var(--tlo-rgb), .85), rgba(var(--tlo-rgb), 0) 55%); }
.mapa__tresc { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center;
  opacity: clamp(0, calc((.24 - var(--p)) * 6), 1); translate: 0 calc(var(--p) * -120px); }
.mapa__tresc h2 { max-width: 11ch; } /* в две строки: в одну заголовок наезжал на Польшу */
.mapa__tresc p:last-child { max-width: 30ch; }
.mapa__kraje { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.mapa__kraje li { padding: 6px 12px 5px; border: 1px solid var(--ramka); border-radius: 8px; background: rgba(var(--tlo-rgb), .55);
  font: 600 1.05rem/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.mapa__kraje li:first-child { border-color: var(--akcent); }
@media (max-width: 699px) { .mapa__tresc { justify-content: flex-end; padding-bottom: 12svh; } }
.mapa__polska { position: absolute; left: 0; right: 0; bottom: 14svh; margin: 0; text-align: center; pointer-events: none;
  opacity: clamp(0, calc((var(--p) - .8) * 6), 1); translate: 0 calc((1 - var(--p)) * 40px); }
.mapa__fakty { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; pointer-events: none; }
.mapa__fakty li { position: absolute; left: 0; right: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  opacity: clamp(0, min(calc((var(--p) - var(--od)) * 12), calc((var(--do) - var(--p)) * 12)), 1);
  translate: 0 calc((1 - clamp(0, calc((var(--p) - var(--od)) * 12), 1)) * 40px); }
.mapa__fakty strong { display: block; font: 800 italic clamp(3.2rem, 8vw, 6.5rem)/.9 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.mapa__fakty span { display: block; margin-top: 6px; font: 600 1.1rem/1 'Barlow Condensed', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--slaby); }
@media (max-width: 699px) { .mapa__fakty { top: auto; bottom: 24svh; translate: none; } }
.mapa__polska span { display: inline-block; padding: .1em .45em .04em; font: 800 italic clamp(2.4rem, 8vw, 6rem)/1 'Barlow Condensed', sans-serif;
  text-transform: uppercase; color: var(--na-akcencie); position: relative; }
.mapa__polska span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--akcent); transform: skewX(-14deg); }
.mapa__polska small { display: block; margin-top: 12px; font: 600 1.1rem/1 'Barlow Condensed', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--tekst); }
@media (prefers-reduced-motion: reduce) { .mapa { height: auto; } .mapa__scena { position: relative; } .mapa__plotno, .mapa__polska, .mapa__fakty { display: none; } }


/* Zdjęcia: мозаика */
.galeria { display: grid; gap: 12px; margin-top: 44px; grid-template-columns: 1fr 1fr; }
.galeria figure:first-child { grid-column: 1 / -1; }
.galeria img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; transition: transform .5s var(--ease), filter .5s; filter: brightness(.9); }
.galeria figure { margin: 0; overflow: hidden; border-radius: 16px; }
.galeria figure:hover img { transform: scale(1.05); filter: brightness(1); }
@media (min-width: 760px) { .galeria { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .galeria figure:first-child { grid-column: auto; grid-row: span 2; } .galeria figure:first-child img { aspect-ratio: auto; } }

/* Kontakt */
.kontakt { border-radius: 28px; padding: clamp(28px, 5vw, 64px); background:
  radial-gradient(120% 140% at 100% 0%, rgba(var(--akcent-rgb), .28), rgba(var(--akcent-rgb), 0) 55%), linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--ramka); display: grid; gap: 36px; }
@media (min-width: 860px) { .kontakt { grid-template-columns: 1.3fr 1fr; } }
.kontakt__linie p { margin: 0 0 14px; }
.kontakt__linie strong { display: block; font: 600 .85rem/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--slaby); margin-bottom: 6px; }
.kontakt__linie a, .kontakt__linie span { font: 800 italic clamp(1.4rem, 3vw, 2rem)/1.1 'Barlow Condensed', sans-serif; color: #fff; }

.stopka { border-top: 1px solid var(--ramka); padding: 36px 0 44px; color: var(--slaby); font-size: .92rem; }
.stopka__in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.stopka img { height: 150px; width: auto; } /* вариант 4 целиком: тягач, FORTE, CARGO, TRANSPORT · LOGISTICS */
.stopka a { color: inherit; }

/* ---------- «Do uzupełnienia»: то, что фирма ещё не подтвердила. Снимаем класс, только когда факт в FAKTY.md ---------- */
.uzupelnij { position: relative; outline: 2px dashed var(--uzupelnij); outline-offset: 4px; border-radius: 4px; }
.uzupelnij::before { content: "Do uzupełnienia: " attr(data-co); position: absolute; top: -12px; left: 8px; z-index: 1;
  background: var(--uzupelnij); color: #fff; font: 600 11px/1.6 system-ui, sans-serif; font-style: normal; letter-spacing: 0; text-transform: none;
  padding: 0 6px; border-radius: 3px; max-width: calc(100% - 16px); width: max-content; }
.uzupelnij--inline { display: inline-block; }
.demo .uzupelnij { outline: none; }
.demo .uzupelnij::before { display: none; }

/* ---------- анимации ---------- */
@keyframes rozjasnij { from { filter: brightness(.25); } }
@keyframes zza-dachu { from { translate: 0 105%; } }
@keyframes wjazd { from { opacity: 0; translate: 0 24px; } }
@keyframes licz { from { --n: 0; } }
@keyframes tasma { to { transform: translateX(-50%); } }

@supports (animation-timeline: view()) {
  /* надпись уходит вверх, когда первый экран уезжает (считаем от всей сцены --scena, а не от самой надписи) */
  .tytul { animation: w-gore linear both; animation-timeline: --scena; animation-range: exit 0% exit 100%; }
  .odslon { animation: pojaw linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  .kadr { animation: rozwin linear both; animation-timeline: view(); animation-range: entry 15% cover 45%; }
  .kadr img { animation: przyblizenie linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .licznik-p { animation: licz linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
    .galeria figure { animation: pojaw-foto linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  @keyframes w-gore { to { translate: 0 -55%; opacity: 0; } }
  @keyframes pojaw { from { opacity: 0; translate: 0 50px; } }
  @keyframes pojaw-foto { from { opacity: 0; scale: .92; } }
  @keyframes rozwin { from { width: min(calc(100% - 2 * var(--pad)), 860px); border-radius: 36px; } to { width: 100%; border-radius: 0; } }
  @keyframes przyblizenie { from { scale: 1.15; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

