/* S-Trans: doba na jednej stronie. Scena 3D leży pod treścią, wielkie słowa stoją między niebem a maszynami. */
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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: Archivo; src: url(../fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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; }

:root {
  --night: #070c14;
  --ink: #0e1a26;
  --paper: #f1f4f4;
  --line: #d3dadd;
  --red: #e21317;
  --red-deep: #b90d11;
  --amber: #ffb21a;
  --steel: #5d6b76;
  --gut: clamp(20px, 4.2vw, 72px);
  --fg: #fff;
  --fg-soft: rgba(255, 255, 255, .82);
  --rule: rgba(255, 255, 255, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Archivo, "Arial Narrow", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: #16294a; color: var(--ink); font: 400 17px/1.55 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.sub { background: var(--paper); }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { padding-inline: var(--gut); max-width: 1680px; margin-inline: auto; }

/* ---------- wielkie litery ---------- */
.display { font-weight: 900; font-stretch: 125%; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.h2 { font-size: clamp(2.2rem, 5.6vw, 5.6rem); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.32rem); line-height: 1.5; max-width: 34em; }

/* ---------- przyciski ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 54px; padding: .7em 1.35em; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--amber { background: var(--amber); color: #171204; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--rule); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg-of-fg, var(--ink)); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--red); }
.btn--dark:hover, .btn--dark:focus-visible { color: #fff; }
.call { display: inline-grid; gap: 1px; justify-items: start; text-align: left; padding: .72em 1.3em .8em; line-height: 1.15; }
.call small { font-size: .78rem; font-weight: 600; opacity: .92; }
.call b { font-size: 1.32rem; font-weight: 800; font-stretch: 108%; }
.calls { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { font-weight: 700; white-space: nowrap; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.tlink:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- warstwy sceny ---------- */
#sky, #world, #titles { position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; pointer-events: none; }
#sky { z-index: 0; background: linear-gradient(#16294a, #586a92 45%, #f2a56b 72%, #3a3b44 72.2%); }
#titles { z-index: 1; overflow: hidden; contain: strict; }
#world { z-index: 2; opacity: 0; transition: opacity .9s; }
.ready #world { opacity: 1; }
main, footer { position: relative; z-index: 3; }
.gt { position: absolute; left: 0; top: 0; width: 100%; padding-inline: var(--gut); font-weight: 900; line-height: .86; letter-spacing: -.025em; text-transform: uppercase; color: #fff; opacity: 0; will-change: transform, opacity; white-space: nowrap; }
.gt span { display: block; width: max-content; }
.gt[data-for="hero"] { top: 11.5vh; }
.gt[data-for="crane"] { top: 13vh; }
.gt[data-for="truck"] { top: 13vh; }
.gt[data-for="rescue"] { top: 12.5vh; color: var(--amber); }
.gt[data-for="base"] { top: 12.5vh; }

/* ---------- nagłówek ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px var(--gut); color: var(--fg); transition: color .5s, transform .5s var(--ease), background .4s; }
.top[data-ink="dark"] { --fg: var(--ink); --rule: rgba(14, 26, 38, .3); }
.top.hide { transform: translateY(-100%); }
.top .logo { flex: none; width: clamp(150px, 13vw, 208px); color: inherit; }
.top .logo svg { width: 100%; height: auto; overflow: visible; }
.top nav { margin-left: auto; display: flex; gap: clamp(14px, 1.7vw, 30px); font-weight: 600; font-size: .96rem; }
.top nav a { text-decoration: none; padding: 8px 0; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease); }
.top nav a:hover, .top nav a[aria-current] { background-size: 100% 3px; }
.top .tel { flex: none; display: inline-flex; align-items: baseline; gap: .6em; padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; transition: background .3s; }
.top .tel:hover { background: var(--red-deep); }
.top .tel span { font-weight: 600; font-size: .82rem; }
.top.solid { background: var(--paper); }
.top.solid[data-ink="light"] { background: var(--night); }
.burger { display: none; }
body.sub .top { background: var(--paper); position: sticky; }
body.sub .top { --fg: var(--ink); }

/* ---------- ujęcia ---------- */
.beat { position: relative; min-height: 112svh; color: var(--fg); transition: color .6s; }
.scene[data-ink="dark"] .beat { --fg: var(--ink); --fg-soft: rgba(14, 26, 38, .86); --rule: rgba(14, 26, 38, .28); --bg-of-fg: #fff; }
.scene[data-ink="light"] .beat { --bg-of-fg: var(--ink); }
.beat .in { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: 120px var(--gut) 10svh; max-width: 1680px; margin-inline: auto; }
.beat .in.mid { justify-content: center; padding-bottom: 120px; }
.beat--crane .in, .beat--work .in, .beat--truck .in, .beat--truck2 .in, .beat--rescue .in, .beat--rescue2 .in, .beat--base .in { position: sticky; top: 0; }
.beat .col { width: min(100%, 470px); display: grid; gap: 22px; }
.beat .col p { color: var(--fg-soft); }
.beat h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; font-stretch: 112%; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.sticky { position: sticky; top: 0; }

/* teksty scen przypięte w miejscu: zmieniają się płynnie, nie przejeżdżają przez obraz */
@media (min-width: 821px) {
  .js:not(.no3d) .beat:not(.beat--base) { min-height: 0; height: 100svh; }
  .js:not(.no3d) .beat--intro:not(.beat--base) { height: 125svh; }
  .js:not(.no3d) .beat--pick:not(.beat--base) { height: 120svh; }
  .js:not(.no3d) .beat:not(.beat--base) .in { position: fixed; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; }
  .js:not(.no3d) .beat:not(.beat--base) .in > * { pointer-events: auto; }
}

/* hero */
.beat--hero { min-height: 104svh; }
.beat--hero .in { min-height: 100svh; padding-bottom: max(5.2svh, 28px); }
.beat--hero .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.beat--hero .col { width: min(100%, 640px); gap: 20px; }
.beat--hero .calls { flex-wrap: nowrap; }
.beat--crane .in { padding-bottom: 30svh; }
.beat--truck .in { padding-bottom: 40svh; }
.beat--truck .col { width: min(100%, 430px); }
.beat--hero .lead { color: #fff; text-shadow: 0 1px 22px rgba(10, 16, 28, .55); }

/* intro */
.beat--intro { min-height: 140svh; }
.say { font-weight: 800; font-stretch: 112%; font-size: clamp(1.75rem, 3.5vw, 3.7rem); line-height: 1.06; letter-spacing: -.02em; max-width: 19em; text-wrap: balance; }
.say i { font-style: normal; opacity: .16; transition: opacity .45s; }
.say i.on { opacity: 1; }
.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 72px); margin-top: clamp(28px, 5vh, 56px); padding-top: 22px; border-top: 2px solid var(--rule); }
.facts dt { font-size: .95rem; color: var(--fg-soft); order: 2; }
.facts div { display: grid; }
.facts dd { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 900; font-stretch: 118%; line-height: 1.1; }

/* wybór dźwigu */
.beat--work .in.mid { justify-content: flex-start; padding-top: 19svh; }
.beat--pick { min-height: 135svh; }
.pick { display: grid; gap: 20px; }
.pick__tabs { display: flex; gap: 8px; }
.pick__tabs button { flex: 1; min-height: 62px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .55); color: var(--ink); font-weight: 900; font-stretch: 112%; font-size: 1.35rem; cursor: pointer; transition: background .35s, color .35s, font-stretch .4s var(--ease); }
.pick__tabs button span { font-size: .8em; font-weight: 700; margin-left: .12em; }
.pick__tabs button:hover { background: #fff; }
.pick__tabs button[aria-selected="true"] { background: var(--red); color: #fff; font-stretch: 125%; }
.pick__card { background: rgba(255, 255, 255, .82); color: var(--ink); border-radius: 12px; padding: 26px 26px 24px; display: grid; gap: 16px; min-height: 290px; align-content: start; }
.pick__card h3 { font-size: 1.7rem; }
.pick__card p { color: var(--ink) !important; }
.spec { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px 18px; }
.spec div { display: grid; }
.spec dt { font-size: .86rem; color: var(--steel); }
.spec dd { font-weight: 800; font-size: 1.18rem; font-stretch: 108%; }
.note { font-size: .84rem; color: var(--fg-soft); }
.pick__card .note { color: var(--steel) !important; font-size: .82rem; }
#ruler { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .5s; color: var(--ink); font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; }
#ruler.on { opacity: 1; }
#ruler i { position: absolute; left: 0; top: 0; font-style: normal; display: flex; align-items: center; gap: 8px; white-space: nowrap; will-change: transform; }
#ruler i::before { content: ""; width: 16px; height: 2px; background: currentColor; opacity: .55; }
#ruler b { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; will-change: transform; color: var(--red); font-weight: 900; font-stretch: 118%; font-size: 1.5rem; }
#ruler b::before { content: ""; width: 92px; height: 3px; background: var(--red); }
#ruler s { position: absolute; left: 0; top: 0; width: 2px; background: currentColor; opacity: .4; transform-origin: 0 0; will-change: transform; }

/* listy */
.works { display: grid; gap: 0; border-top: 2px solid var(--rule); }
.works a, .works span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 600; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.works a::after { content: "→"; opacity: .5; transition: transform .4s var(--ease), opacity .3s; }
.works a:hover { padding-left: 12px; }
.works a:hover::after { transform: translateX(4px); opacity: 1; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }

/* przejazd: pas z ładunkami */
.beat--truck2 .in { justify-content: flex-start; padding-top: 14svh; gap: 4svh; }
.beat--truck2 .head { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.beat--truck2 .head > * { max-width: 460px; }
.belt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 34px; } .belt.works { border-top: 0; } .belt > * { border-top: 1px solid var(--rule); border-bottom: 0 !important; }

/* akcja nocna */
.bignum { display: inline-block; font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 4.7vw, 4.8rem); line-height: .95; letter-spacing: -.02em; text-decoration: none; color: #fff; transition: color .3s; }
.bignum:hover { color: var(--amber); }
.beat--rescue2 .in { justify-content: flex-start; padding-top: 14svh; }
.beat--rescue2 .head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em 1fr; color: var(--fg-soft); }
.steps li::before { content: counter(s); font-weight: 900; font-stretch: 118%; color: var(--amber); }

/* zegar doby */
.clock { position: fixed; left: calc(var(--gut) + clamp(150px, 13vw, 208px) + 44px); top: 17px; z-index: 21; display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 12px; width: 250px; color: var(--fg); transition: color .5s, opacity .5s; pointer-events: none; }
.clock[data-ink="dark"] { --fg: var(--ink); --rule: rgba(14, 26, 38, .3); }
.clock.off { opacity: 0; }
.clock time { font-weight: 900; font-stretch: 118%; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.clock p { font-size: .84rem; font-weight: 600; white-space: nowrap; }
.clock .bar { position: relative; grid-column: 1 / -1; height: 3px; margin-top: 9px; background: var(--rule); border-radius: 2px; }
.clock .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--red); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- pełne panele ---------- */
.panel { position: relative; background: var(--paper); color: var(--ink); --fg: var(--ink); --fg-soft: #33424e; --rule: var(--line); --bg-of-fg: #fff; }
.panel--night { background: var(--night); color: #fff; --fg: #fff; --fg-soft: rgba(255, 255, 255, .78); --rule: rgba(255, 255, 255, .22); --bg-of-fg: var(--ink); }
.panel .pad { padding-block: clamp(80px, 13vh, 170px); }

/* galeria */
.gal { position: relative; }
.gal__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 34px); padding-top: 76px; padding-bottom: 24px; }
.gal__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-inline: var(--gut); }
.gal__track { display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 28px); padding-inline: var(--gut); width: max-content; will-change: transform; height: 62svh; }
.shot { position: relative; height: 100%; aspect-ratio: var(--r, 4/3); border: 0; padding: 0; background: #131b26; cursor: zoom-in; overflow: hidden; border-radius: 10px; text-align: left; color: #fff; }
.shot:nth-child(3n+2) { height: 82%; }
.shot:nth-child(4n+3) { height: 90%; align-self: flex-start; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16) translateX(var(--px, 0)); transition: scale .9s var(--ease); }
.shot:hover img { scale: 1.04; }
.shot figcaption, .shot .cap { position: absolute; inset: auto 0 0; padding: 60px 20px 16px; background: linear-gradient(transparent, rgba(5, 9, 15, .82)); font-weight: 700; line-height: 1.25; display: grid; gap: 2px; }
.shot .cap small { font-weight: 600; color: var(--amber); font-size: .84rem; }

/* grid galerii na podstronie */
.masonry { columns: 3 320px; column-gap: 18px; }
.masonry .shot { display: block; width: 100%; height: auto !important; margin-bottom: 18px; break-inside: avoid; }
.masonry .shot img { transform: none; }

/* jedno zlecenie */
.job { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.job__pic { position: sticky; top: 96px; border-radius: 12px; overflow: hidden; height: min(78svh, 760px); background: #cfd6d9; }
.job__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s, transform 1.4s var(--ease); }
.job__pic img.on { opacity: 1; transform: none; }
.job__list { display: grid; gap: clamp(34px, 9vh, 90px); padding-block: 6vh 12vh; }
.job__list li { display: grid; gap: 10px; padding-top: 18px; border-top: 4px solid var(--line); position: relative; }
.job__list li::before { content: ""; position: absolute; left: 0; top: -4px; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.job__list li.on::before { transform: none; }
.job__list b { font-weight: 900; font-stretch: 118%; font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; }
.job__list p { color: var(--fg-soft); max-width: 32em; }

/* obszar */
.area { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.map { width: 100%; height: auto; overflow: visible; }
.map .ring { fill: none; stroke: var(--line); stroke-width: 1.2; }
.map .rk { font-size: 11px; fill: var(--steel); }
.map .s8 { fill: none; stroke: #bcc7cc; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map .spoke { stroke: var(--red); stroke-width: 1.4; opacity: .28; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease), opacity .3s, stroke-width .3s; }
.map.on .spoke { stroke-dashoffset: 0; }
.map .town circle { fill: var(--ink); transition: fill .3s, r .3s; }
.map .town text { font-size: 13.5px; font-weight: 600; fill: var(--ink); }
.map .town { cursor: default; }
.map .town.hot .spoke { opacity: 1; stroke-width: 3; }
.map .town.hot circle { fill: var(--red); r: 7px; }
.map .town .km { fill: var(--red); font-weight: 800; opacity: 0; transition: opacity .3s; }
.map .town.hot .km { opacity: 1; }
.map .hub { fill: var(--red); }
.map .pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns a { display: inline-flex; gap: .5em; padding: 7px 13px; border-radius: 6px; background: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .25s, color .25s; }
.towns a small { color: var(--steel); font-variant-numeric: tabular-nums; align-self: center; transition: color .25s; }
.towns a:hover, .towns a.hot { background: var(--ink); color: #fff; }
.towns a:hover small, .towns a.hot small { color: var(--amber); }

/* trzy serwisy */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.site { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(64svh, 560px); border-radius: 12px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; padding: 28px; }
.site img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.site::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 11, 18, .05) 30%, rgba(6, 11, 18, .86)); }
.site:hover img { transform: scale(1.06); }
.site b { font-weight: 900; font-stretch: 112%; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.05; transition: font-stretch .6s var(--ease); }
.site:hover b { font-stretch: 125%; }
.site span { margin-top: 10px; color: rgba(255, 255, 255, .86); }
.site em { margin-top: 18px; font-style: normal; font-weight: 700; color: var(--amber); }

/* kontakt */
.beat--base { min-height: 106svh; }
.beat--base .in { justify-content: flex-end; padding-bottom: 4svh; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); }
.contact dl { display: grid; gap: 22px; }
.contact dt { color: var(--steel); font-size: .95rem; }
.contact dd a, .contact dd { font-weight: 700; font-size: 1.15rem; }
.contact .big { font-weight: 900; font-stretch: 118%; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.1; text-decoration: none; }
.contact .big:hover { color: var(--red); }
.form { display: grid; gap: 16px; }
.form .r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 8px; background: #fff; font-weight: 500; font-size: 1.02rem; transition: border-color .25s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); }
.form .ok { grid-template-columns: 22px 1fr; align-items: start; font-weight: 400; font-size: .92rem; gap: 12px; }
.form .ok input { min-height: 0; width: 22px; height: 22px; accent-color: var(--red); }
.form .hp { position: absolute; left: -9999px; }
.form output { display: block; padding: 14px 18px; border-radius: 8px; background: #fff; font-weight: 600; }
.form output[hidden] { display: none; }
.form output.bad { background: #fde6e6; }
.form output.good { background: #dff3e6; }

/* stopka */
.foot { background: var(--night); color: rgba(255, 255, 255, .8); font-size: .95rem; }
.foot .pad { padding-block: 60px 34px; display: grid; gap: 44px; }
.foot .g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot .logo { width: 220px; color: #fff; }
.foot h2 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.foot li { margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .btm { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; }

/* pasek telefoniczny na telefonie */
.dock { display: none; }

/* podgląd zdjęć */
.lb { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(5, 8, 13, .96); color: #fff; }
.lb[open] { display: grid; grid-template-rows: 1fr auto; }
.lb img { width: 100%; height: 100%; object-fit: contain; min-height: 0; padding: 24px; }
.lb p { padding: 6px 24px 26px; text-align: center; font-weight: 600; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 54px; height: 54px; border-radius: 8px; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .25s; }
.lb button:hover { background: var(--red); }
.lb .x { right: 18px; top: 18px; } .lb .pv { left: 18px; top: calc(50% - 27px); } .lb .nx { right: 18px; top: calc(50% - 27px); }

/* ekran startowy: czerwona belka z logo wysuwa się jak wysięgnik */
#loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #0b1420; color: #fff; transition: opacity .7s .15s, visibility 0s .9s; }
#loader svg { width: min(62vw, 560px); height: auto; overflow: visible; }
#loader .lt { opacity: 0; transition: opacity .6s; }
#loader.go .lt { opacity: 1; }
#loader .rb { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .5s var(--ease); }
.ready #loader { opacity: 0; visibility: hidden; }
html:not(.js) #loader { display: none; }

/* odsłanianie */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .tele { font-stretch: 62%; transition: font-stretch 1.1s var(--ease); }
.js .tele.in { font-stretch: 125%; }

/* ---------- podstrony ---------- */
.shero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); margin-top: -82px; }
.shero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); animation: push 14s var(--ease) both; }
@keyframes push { from { transform: scale(1.12); } to { transform: none; } }
.shero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 11, 18, .35), rgba(6, 11, 18, .06) 35%, rgba(6, 11, 18, .9)); }
.shero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 160px 56px; display: grid; gap: 24px; }
.shero h1 { font-size: clamp(2.5rem, 7.4vw, 7.6rem); }
.shero .lead { color: rgba(255, 255, 255, .92); }
.crumbs { font-size: .9rem; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.prose { display: grid; gap: 1.1em; max-width: 40em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 900; font-stretch: 116%; line-height: 1.05; letter-spacing: -.01em; margin-top: .8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.two .side { position: sticky; top: 110px; display: grid; gap: 18px; }
.two .side img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.box { background: var(--ink); color: #fff; border-radius: 12px; padding: 30px; display: grid; gap: 16px; }
.box h2 { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.box p { color: rgba(255, 255, 255, .82); }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tbl th { font-weight: 800; }
.tbl thead th { font-size: .88rem; font-weight: 600; color: var(--steel); }
.scroll-x { overflow-x: auto; }

/* ---------- bez 3D ---------- */
.no3d #world, .no3d #sky { display: none; }
.no3d .beat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 11, 18, .55), rgba(6, 11, 18, .72)), var(--ph, none) center / cover; }
.no3d .scene .beat { --fg: #fff; --fg-soft: rgba(255, 255, 255, .85); --rule: rgba(255, 255, 255, .28); }

.no3d #titles { display: none; } .no3d .beat .col { width: min(100%, 860px); } .no3d .beat--hero .row { flex-direction: column; align-items: flex-start; }
.no3d .beat .vh, html:not(.js) .beat .vh { position: static !important; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-size: clamp(2.2rem, 5.6vw, 5.6rem); font-weight: 900; font-stretch: 125%; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.gal.free .gal__track, html:not(.js) .gal__track { width: auto; overflow-x: auto; }

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1360px) and (min-width: 1081px) { .clock { display: none; } }
@media (max-width: 1080px) {
  .clock { left: calc(var(--gut) + 200px); }
  .top nav { position: fixed; inset: 0; height: 100dvh; margin: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 80px var(--gut); background: var(--night); color: #fff; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 900; font-stretch: 116%; line-height: 1.1; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
  .menu .top nav { visibility: visible; opacity: 1; transition: opacity .35s; }
  .top .logo { position: relative; z-index: 2; }
  .menu .top { color: #fff; transform: none; background: none !important; }
  .burger { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; }
  .burger i::before { left: 0; top: 0; }
  .burger i, .burger i::before { content: ""; position: absolute; width: 28px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
  .burger i { transform: translateY(-4px); } .burger i::before { transform: translateY(8px); }
  .menu .burger i { transform: rotate(45deg); } .menu .burger i::before { transform: rotate(-90deg); }
  .top .tel { display: none; }
  .job, .area, .contact, .two { grid-template-columns: minmax(0, 1fr); }
  .job__pic { top: 76px; height: 42svh; z-index: 2; }
  .two .side { position: static; }
  .foot .g { grid-template-columns: 1fr 1fr; }
  .belt { grid-template-columns: 1fr 1fr; }
  .beat--rescue2 .head { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .clock { right: auto; left: 0; bottom: auto; top: 0; width: 100%; padding-inline: var(--gut); display: none; }

  .beat .in, .beat .in.mid { justify-content: flex-start; padding-top: 15svh; padding-bottom: 8svh; }
  .gt { letter-spacing: -.03em; }
  .gt[data-for="hero"] { top: 11svh; }
  .gt[data-for="crane"], .gt[data-for="truck"], .gt[data-for="rescue"], .gt[data-for="base"] { top: 9.5svh; }
  .beat--crane .in, .beat--truck .in, .beat--rescue .in { padding-top: calc(12svh + 21vw); }
  .beat--rescue .in { padding-top: calc(12svh + 34vw); }
  .beat--hero .in { justify-content: flex-end; padding-bottom: calc(74px + 3svh); }
  .beat--hero .calls { display: none; }
  .beat--intro .in { padding-top: 16svh; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; }
  .beat--pick .in { padding-top: 11svh; }
  .pick { gap: 12px; } .pick > h3 { font-size: 1.25rem; }
  .pick__tabs button { min-height: 52px; }
  .pick__card { min-height: 0; padding: 14px 16px; gap: 6px; }
  .pick__card p, .pick__card .tlink { display: none; }

  .pick__card h3 { font-size: 1.15rem; }
  .spec dd { font-size: 1rem; }
  .beat--work .col { background: rgba(244, 248, 250, .86); margin-inline: -8px; width: auto !important; padding: 20px 18px; border-radius: 12px; gap: 12px; }
  .beat--work .in.mid { padding-top: 12svh; } .beat--work .works a { padding: 6px 0; }
  .beat--truck2 .head { flex-direction: column; gap: 14px; }
  .beat--truck2 .in, .beat--rescue2 .in { justify-content: flex-start; gap: 30px; }
  .cols2, .belt { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .works a, .works span { font-size: .95rem; } .works.cols2 a::after { display: none; }
  .beat--base .in { justify-content: flex-start; padding-top: calc(12svh + 22vw); } .beat--base .calls { display: none; }
  .beat--rescue2 .in, .beat--truck2 .in { padding-top: 12svh; } .beat--rescue2 h3, .beat--truck2 h3 { font-size: 1.3rem; } .beat--rescue2 .head { gap: 22px; } .steps { gap: 6px; font-size: .95rem; }
  .gal { height: auto !important; }
  .gal__pin { position: static; height: auto; padding-block: 80px; }
  .gal__head { flex-direction: column; align-items: flex-start; }
  .gal__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; height: 58svh; transform: none !important; scrollbar-width: none; align-items: center; }
  .shot, .shot:nth-child(n) { height: 100%; scroll-snap-align: center; flex: none; max-width: 84vw; align-self: auto; }
  .shot img { transform: none; }
  .sites { grid-template-columns: 1fr; }
  .site { min-height: 46svh; }
  .form .r2 { grid-template-columns: 1fr; }
  .foot .g { grid-template-columns: 1fr; }
  .towns a { font-size: .9rem; padding: 7px 11px; }
  .map .town text { font-size: 23px; } .map .rk { font-size: 17px; } .map .rk[data-r="20"] { display: none; }
  .map .town.minor text { display: none; }
  .dock { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 12, 20, .92); }
  .dock a { display: grid; line-height: 1.15; padding: 9px 14px; border-radius: 8px; background: var(--red); color: #fff; text-decoration: none; }
  .dock a + a { background: #22303d; }
  .dock small { font-size: .74rem; font-weight: 600; opacity: .92; }
  .dock b { font-weight: 800; font-size: 1.06rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
  #ruler b { font-size: 1.1rem; } #ruler b::before { width: 34px; }
  #ruler i { font-size: .72rem; }
}
/* telefon: ten sam efekt co na komputerze. Scena, wielkie słowa i teksty są przypięte do ekranu. */
@media (max-width: 820px) {
  body { padding-bottom: 0; background: var(--night); }
  .foot { padding-bottom: 82px; }
  .dock { background: #070c14; }
  .top { padding-block: 12px; transform: none !important; }
  .gt[data-for="hero"], .gt[data-for="crane"], .gt[data-for="truck"], .gt[data-for="rescue"], .gt[data-for="base"] { top: calc(9svh + 6px); }
  .job__pic { display: none; } .job__list { padding: 0; gap: 30px; }
  .job__list li { border-top: 0; padding-top: 0; } .job__list li::before { display: none; }
  .job__m { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
  #ruler i { font-size: .72rem; }

  /* stałe przyciemnienie dołu kadru pod tekst */
  #stage::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 56lvh; z-index: 2; pointer-events: none; background: linear-gradient(rgba(7, 12, 20, 0), rgba(7, 12, 20, .74) 36%, rgba(7, 12, 20, .94) 64%, #070c14); }
  .scene .beat, .scene[data-ink="light"] .beat, .scene[data-ink="dark"] .beat { --fg: #fff; --fg-soft: rgba(255, 255, 255, .86); --rule: rgba(255, 255, 255, .24); --bg-of-fg: var(--ink); color: #fff; }
  .js:not(.no3d) .beat:not(.beat--base) { min-height: 0; height: 100svh; }
  .js:not(.no3d) .beat--pick:not(.beat--base) { height: 120svh; }
  .js:not(.no3d) .beat:not(.beat--base) .in, .js:not(.no3d) .beat:not(.beat--base) .in.mid { position: fixed; inset: auto 0 calc(74px + env(safe-area-inset-bottom, 0px)); top: auto; display: block; min-height: 0; max-width: none; padding: 0 var(--gut) 10px; opacity: 0; visibility: hidden; }
  .beat .in .col, .beat--work .in .col { width: auto !important; margin: 0; padding: 0; background: none; border-radius: 0; gap: 14px; }
  .beat--hero .row { display: block; } .beat--hero .calls { display: none; }
  .beat .lead, .beat--hero .lead { color: #fff; font-size: 1.04rem; line-height: 1.45; text-shadow: none; }
  .beat h3 { font-size: 1.3rem; }
  .btn--dark { background: var(--red); }
  .beat .btn { min-height: 50px; }
  .say { font-size: 1.14rem; line-height: 1.22; max-width: none; } .say i { opacity: 1; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 14px; padding-top: 12px; }
  .facts dd { font-size: 1.4rem; } .facts dt { font-size: .84rem; }
  .pick { gap: 12px; } .pick > h3 { display: none; }
  .pick__tabs button { min-height: 50px; background: rgba(255, 255, 255, .16); color: #fff; }
  .pick__tabs button[aria-selected="true"] { background: var(--red); }
  .pick__card { min-height: 0; padding: 0; background: none; color: #fff; gap: 6px; }
  .pick__card h3 { font-size: 1.15rem; } .pick__card p, .pick__card .tlink { display: none; } .spec dt { color: rgba(255, 255, 255, .72); } .spec dd { font-size: 1.02rem; }
  .cols2, .belt { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .works a, .works span, .beat--work .works a { padding: 5px 0; font-size: .93rem; } .works a::after { display: none; }
  .beat--truck2 .head p { display: none; } .beat--truck2 .belt { margin-top: 10px; }
  .beat--rescue2 .head { display: block; } .beat--rescue2 .head > div + div { display: none; } .beat--rescue2 h3, .beat--truck2 h3 { margin-bottom: 8px !important; }
  .bignum { font-size: 2.5rem; }
  .beat--base { min-height: 102svh; }
  .beat--base .in { position: sticky; top: 0; min-height: 100svh; display: flex; justify-content: flex-end; padding: 0 var(--gut) calc(88px + env(safe-area-inset-bottom, 0px)); }
  .beat--base .lead { color: #fff !important; } .beat--base .calls { display: none; }
  .no3d .beat .in { padding: 120px var(--gut) 40px; }
}
@media (max-width: 820px) and (max-height: 720px) {
  .say { font-size: 1rem; } .facts { gap: 4px 18px; margin-top: 8px; padding-top: 8px; } .facts dd { font-size: 1.15rem; } .facts dt { font-size: .78rem; }
  .works a, .works span, .beat--work .works a { padding: 4px 0; font-size: .85rem; } .beat--work .col > p { display: none; }
  .beat .in .col { gap: 8px; } .beat .lead, .beat--hero .lead { font-size: .97rem; line-height: 1.38; } .bignum { font-size: 2.2rem; } .beat .btn { min-height: 46px; }
  #stage::after { height: 62lvh; }
}@media (min-width: 821px) { .job__m { display: none; } }
@media (max-height: 640px) and (min-width: 821px) {
  .beat .in { padding-top: 90px; padding-bottom: 6svh; }
  .pick__card { min-height: 0; padding: 18px 22px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; } .js .tele { font-stretch: 125%; }
}
@view-transition { navigation: auto; }
