/* =====================================================================
   LEWANDOWSCY — arkusz stylów
   Styl: industrial premium. Kolory i fonty zmienisz w sekcji :root.
   ===================================================================== */

:root {
  --bg: #101214;
  --surface: #1B1F22;
  --surface-2: #282D30;
  --accent: #F28C28;
  --ink: #F5F5F2;
  --ink-2: #A7ADB0;
  --light: #EAE8E3;
  --dark-ink-2: #4A5155;
  --err: #FF8A75;
  --ok: #8FD19E;

  --line: rgba(245, 245, 242, .10);
  --line-2: rgba(245, 245, 242, .2);

  --f-head: "Space Grotesk", "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --hdr: 84px;
  --hdr-s: 64px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* ilustracje */
  --ill-fill: #252A2E;
  --ill-pat: #545E64;
  --ill-ln: #7E888E;
  --ill-strong: #C3C8CB;
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-s) + 8px);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gut); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: fixed; left: 12px; top: -100px; z-index: 200;
  background: var(--accent); color: var(--bg); padding: .75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 54px; padding: 0 1.6rem;
  font: 600 .9rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.ico-arrow { transition: transform .4s var(--ease); }
.btn:hover .ico-arrow, .btn:focus-visible .ico-arrow { transform: translateX(5px); }

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--bg); border-color: var(--ink); }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark::before { background: var(--accent); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--bg); }
.btn-block { width: 100%; }

/* ---------- nagłówek ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hdr);
  transition: height .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled {
  height: var(--hdr-s);
  background: rgba(16, 18, 20, .84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.hdr-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr-progress span {
  display: block; height: 100%; background: var(--accent);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.hdr-in { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 16px; height: 16px; flex: none;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; background: var(--ink);
}
.brand-text { font: 700 1.15rem/1 var(--f-head); letter-spacing: .16em; }
.brand-logo { height: 62px; width: auto; max-width: none; transition: height .4s var(--ease); }
.hdr.is-scrolled .brand-logo { height: 46px; }
.ftr-logo { width: 220px; height: auto; margin-bottom: 1.5rem; }

.nav ul { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a {
  position: relative; display: block; padding: .5rem 0;
  font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.btn-call { min-height: 44px; padding: 0 1.15rem; background: transparent; border-color: var(--accent); color: var(--ink); }
.btn-call::before { background: var(--accent); }
.btn-call:hover, .btn-call:focus-visible { color: var(--bg); }
.btn-call .ico { width: 17px; height: 17px; }

.burger { display: none; width: 48px; height: 48px; position: relative; margin-right: -10px; }
.burger-l {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger-l:nth-of-type(2) { top: 19px; }
.burger-l:nth-of-type(3) { top: 27px; left: 20px; }
.burger[aria-expanded="true"] .burger-l:nth-of-type(2) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-l:nth-of-type(3) { top: 23px; left: 12px; transform: rotate(-45deg); }

/* menu mobilne */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: calc(var(--hdr-s) + 2rem) var(--gut) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-io);
  overflow-y: auto;
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { clip-path: inset(0 0 0 0); }
.mmenu-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 25% 100%; background-position: var(--gut) 0;
  opacity: .6;
}
.mmenu-nav { position: relative; flex: 1; }
.mmenu-nav li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mmenu-nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0;
  font: 600 clamp(1.7rem, 8vw, 2.6rem)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em;
  text-decoration: none;
  transform: translateY(100%); transition: transform .6s var(--ease), color .3s;
}
.mmenu-nav a span { font-size: .8rem; color: var(--accent); letter-spacing: .05em; }
.mmenu-nav a:hover { color: var(--accent); }
.mmenu.is-open .mmenu-nav a { transform: none; }
.mmenu.is-open li:nth-child(1) a { transition-delay: .12s; }
.mmenu.is-open li:nth-child(2) a { transition-delay: .17s; }
.mmenu.is-open li:nth-child(3) a { transition-delay: .22s; }
.mmenu.is-open li:nth-child(4) a { transition-delay: .27s; }
.mmenu.is-open li:nth-child(5) a { transition-delay: .32s; }
.mmenu.is-open li:nth-child(6) a { transition-delay: .37s; }
.mmenu-foot { position: relative; display: grid; gap: 1rem; padding-top: 2rem; }
.mmenu-mail { color: var(--ink-2); text-align: center; word-break: break-all; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr) + 3rem) 0 clamp(3rem, 7vh, 5.5rem);
}
.hero-media { position: absolute; inset: 7% 0 -8% 0; z-index: -2; will-change: transform; }
.hero-media-in {
  position: absolute; inset: 0;
  transform: scale(1.1); transform-origin: 70% 60%;
  transition: transform 3.2s cubic-bezier(.16, .8, .2, 1);
}
.is-loaded .hero-media-in { transform: scale(1.02); }
.hero-media-in img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.hero-media-in .ill { width: 100%; height: 100%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,18,20,.96) 0%, rgba(16,18,20,.78) 38%, rgba(16,18,20,.25) 75%, rgba(16,18,20,.1) 100%),
    linear-gradient(0deg, rgba(16,18,20,.95) 0%, rgba(16,18,20,0) 45%);
}
.hero-in { position: relative; }

.hero-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: .95rem; color: var(--ink-2); margin-bottom: clamp(1.25rem, 3vh, 2rem);
}
.hero-kicker-line { width: 48px; height: 2px; background: var(--accent); flex: none; }

.hero-title { line-height: .84; }
.hero-name {
  display: block;
  font: 700 clamp(2.5rem, 12.2vw, 11.4rem)/.84 var(--f-head);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.hero-claim {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font: 600 clamp(1.3rem, 3.1vw, 2.6rem)/1.08 var(--f-head);
  text-transform: uppercase; letter-spacing: .01em;
}
.hero-claim-line { display: block; }
.hero-claim-line + .hero-claim-line { color: var(--ink-2); }

.hero-foot {
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
  padding-top: clamp(1.5rem, 3vh, 2rem);
  border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end;
}
.hero-lead { max-width: 48ch; color: var(--ink-2); font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-fit { display: block; }

.hero-scroll {
  position: absolute; right: var(--gut); bottom: 0;
  display: flex; flex-direction: row-reverse; align-items: flex-end; gap: .75rem; padding-bottom: 0;
  color: var(--ink-2); text-decoration: none;
}
.hero-scroll-track { position: relative; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.hero-scroll-track span {
  position: absolute; left: 0; top: 0; width: 1px; height: 28px; background: var(--accent);
  animation: scrollTick 2.2s var(--ease-io) infinite;
}
.hero-scroll-txt { font-size: .75rem; letter-spacing: .2em; padding-bottom: .9rem; }
.hero-scroll:hover { color: var(--ink); }
@keyframes scrollTick { 0% { transform: translateY(-30px); } 100% { transform: translateY(60px); } }
.hero-note {
  position: absolute; left: var(--gut); top: calc(var(--hdr) + .75rem);
  font-size: .72rem; color: rgba(167,173,176,.55); letter-spacing: .04em;
}

/* wejście hero */
[data-hero-part] {
  opacity: 0; transform: translateY(26px); clip-path: inset(0 0 100% 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-loaded [data-hero-part] { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); }

/* rysowanie linii ilustracji hero */
.ill-hero .dr { stroke-dasharray: 1 0; }
.is-drawing .ill-hero .dr { animation: draw 2.6s var(--ease) both; animation-delay: var(--dd, .2s); }
@keyframes draw {
  0% { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  99% { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
  100% { stroke-dasharray: 1 0; stroke-dashoffset: 0; }
}

/* ---------- ilustracje ---------- */
.ill { width: 100%; height: 100%; overflow: visible; }
.ill .p-bg { fill: var(--ill-fill); }
.ill .p-ln { fill: none; stroke: var(--ill-pat); stroke-width: .8; }
.ill .p-soil { stroke: #343C41; stroke-width: 1; }
.ill .ill-none { fill: none; stroke: none; }
.ill .ill-ln { fill: none; stroke: var(--ill-ln); stroke-width: 1.5; }
.ill .ill-strong { fill: none; stroke: var(--ill-strong); stroke-width: 2; }
.ill .ill-acc { fill: none; stroke: var(--accent); stroke-width: 2; }
.ill .ill-thin { stroke-width: 1; }
.ill .ill-dash { stroke-dasharray: 7 6; }
.ill .ill-dim { fill: none; stroke: #8A9398; stroke-width: 1; }
.ill .ill-dot, .ill .ill-acc-f { fill: var(--accent); }
.ill .ill-hole { fill: var(--bg); stroke: var(--ill-ln); stroke-width: 1.5; }
.ill .ill-axis { stroke: rgba(242, 140, 40, .28); stroke-width: 1; stroke-dasharray: 16 6 2 6; fill: none; }
.ill .ill-axis-c { fill: none; stroke: rgba(242, 140, 40, .6); stroke-width: 1.2; }
.ill .ill-axis-t { fill: var(--accent); font: 600 16px var(--f-head); }
.ill .ill-lvl { fill: var(--ink-2); font: 500 14px var(--f-body); }
.ill .ill-dash-box { fill: none; stroke: #5D666B; stroke-width: 1.5; stroke-dasharray: 8 6; }
.ill .ill-roof { fill: none; stroke: rgba(167, 173, 176, .6); stroke-width: 1.5; stroke-dasharray: 8 6; }
.ill .ill-ghost { fill: none; stroke: rgba(167, 173, 176, .32); stroke-width: 1.2; stroke-dasharray: 4 5; }

.ill-hero { --ill-ln: #566066; --ill-strong: #8D979C; --ill-pat: #3F474C; --ill-fill: #1D2124; }

.media { position: relative; overflow: hidden; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.is-illu {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--surface);
}
.media.is-illu > .ill { position: absolute; inset: 8%; width: 84%; height: 84%; }

/* ---------- sekcje ---------- */
.sec { position: relative; padding-block: clamp(5rem, 11vw, 9.5rem); }
.sec-grid { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.sec-body { min-width: 0; }

.rail { position: relative; }
.rail-num, .rail-txt { display: block; }

.rail {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding-top: .6rem;
}
.rail-num { font: 600 .9rem/1 var(--f-head); color: var(--accent); }
.rail-txt {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .8rem; letter-spacing: .14em; color: var(--ink-2);
}
.rail::after { content: ""; width: 1px; flex: 1; max-height: 160px; background: var(--line-2); }

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 2rem 4rem; align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.sec-intro { color: var(--ink-2); max-width: 44ch; }

.h2 {
  font: 700 clamp(2.15rem, 5.6vw, 5rem)/1.04 var(--f-head);
  text-transform: uppercase; letter-spacing: -.02em;
}
.h2-long { font-size: clamp(1.85rem, 4.2vw, 3.9rem); }
.h2-line { display: block; }
.h2::after {
  content: ""; display: block; width: 88px; height: 3px; margin-top: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) .35s;
}
.h2.is-in::after { transform: scaleX(1); }

/* wejście elementów */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-hero-part] { opacity: 1; transform: none; clip-path: none; }

/* ---------- O FIRMIE ---------- */
.about-cols {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.about-lead { font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.4 var(--f-head); max-width: 34ch; }
.about-text { color: var(--ink-2); max-width: 56ch; align-self: end; }

.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.pillar { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s;
}
.pillar.is-in::before { transform: scaleX(1); }
.pillar-n { display: block; font: 500 .85rem/1 var(--f-head); color: var(--ink-2); margin-bottom: 2.5rem; }
.pillar-t { font: 700 clamp(1.35rem, 2.1vw, 1.75rem)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .01em; margin-bottom: .75rem; }
.pillar p { color: var(--ink-2); max-width: 30ch; }

/* ---------- pas typograficzny ---------- */
.band {
  overflow: hidden; border-block: 1px solid var(--line);
  padding-block: clamp(1.5rem, 3vw, 2.5rem); background: var(--bg);
}
.band-row {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); width: max-content;
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform;
}
.band-row span {
  font: 700 clamp(2.6rem, 7.5vw, 7rem)/1 var(--f-head); text-transform: uppercase; letter-spacing: -.02em;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(245, 245, 242, .32);
}
.band-row span:nth-of-type(3n+2) { color: var(--surface-2); -webkit-text-stroke: 0; }
.band-row i { width: 14px; height: 14px; background: var(--accent); flex: none; }

/* ---------- USŁUGI ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc-list { border-top: 1px solid var(--line-2); }
.svc-item { border-bottom: 1px solid var(--line-2); position: relative; }
.svc-item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.svc-item.is-active::after { transform: scaleX(1); }
.svc-btn {
  width: 100%; display: grid; grid-template-columns: 48px 32px minmax(0, 1fr) 22px; gap: 1rem; align-items: center;
  padding: clamp(1.15rem, 2vw, 1.6rem) 0; text-align: left; color: var(--ink-2);
  transition: color .3s var(--ease);
}
.svc-btn:hover, .svc-item.is-active .svc-btn { color: var(--ink); }
.svc-n { font: 600 .85rem/1 var(--f-head); color: var(--accent); }
.svc-g { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s, transform .5s var(--ease); }
.svc-item.is-active .svc-g { stroke: var(--accent); }
.svc-t { font: 600 clamp(1.1rem, 1.9vw, 1.55rem)/1.15 var(--f-head); text-transform: uppercase; letter-spacing: .005em; }
.svc-x { position: relative; width: 16px; height: 16px; justify-self: end; }
.svc-x::before, .svc-x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor;
  transition: transform .45s var(--ease);
}
.svc-x::after { transform: rotate(90deg); }
.svc-item.is-active .svc-x::after { transform: rotate(0deg); }
.svc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc-item.is-active .svc-p { grid-template-rows: 1fr; }
.svc-p-in { overflow: hidden; min-height: 0; }
.svc-p-in p { padding: 0 0 1.6rem calc(48px + 32px + 2rem); color: var(--ink-2); max-width: calc(54ch + 112px); }
.svc-media { display: none; }

.svc-stage { position: sticky; top: calc(var(--hdr-s) + 2.5rem); }
.svc-frame { position: relative; aspect-ratio: 4 / 3; padding: 14px; }
.svc-stage-media { position: absolute; inset: 14px; border: 1px solid var(--line); }
.svc-stage-media.is-swap > * { animation: swapIn .7s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--accent); border-style: solid; border-width: 0; }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.svc-caption { display: flex; gap: 1rem; margin-top: 1rem; padding-left: 14px; font-size: .9rem; color: var(--ink-2); }
.svc-caption span:first-child { color: var(--accent); font-family: var(--f-head); font-weight: 600; }

/* ---------- ETAPY ---------- */
.stages { background: var(--surface); }
.stages::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(245,245,242,.035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.stages .wrap { position: relative; }
.stg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); }
.stg-visual { position: relative; }
.stg-visual-in {
  position: sticky; top: calc(var(--hdr-s) + 1.5rem);
  height: calc(100vh - var(--hdr-s) - 3rem); min-height: 420px; max-height: 760px;
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
}
.stg-draw { width: 100%; aspect-ratio: 640 / 560; max-height: calc(100% - 3rem); margin-inline: auto; }
.stg-draw .ill { width: 100%; height: 100%; }
.stg-meter { display: flex; align-items: center; gap: 1rem; font-size: .85rem; color: var(--ink-2); }
.stg-meter b { color: var(--ink); font-family: var(--f-head); font-weight: 600; }
.stg-meter-bar { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.stg-meter-bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, .2)); transition: transform .6s var(--ease); }

.st-layer { opacity: 0; transform: translateY(-18px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.st-layer.on { opacity: 1; transform: none; }
.st-mark-c { fill: var(--surface); stroke: var(--ill-ln); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.st-mark-t { fill: var(--ink-2); font: 600 13px var(--f-head); transition: fill .4s; }
.st-layer.current .st-mark-c { fill: var(--accent); stroke: var(--accent); }
.st-layer.current .st-mark-t { fill: var(--bg); }

.stg-steps { position: relative; padding-block: 18vh; border-left: 1px solid var(--line-2); }
.stg-step {
  position: relative; min-height: 58vh; padding: 0 0 0 clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center;
  opacity: .32; transition: opacity .5s var(--ease);
}
.stg-step::before {
  content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4px;
  background: var(--surface); border: 1px solid var(--ink-2); transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.stg-step.is-active { opacity: 1; }
.stg-step.is-active::before { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.stg-n { font: 600 .85rem/1 var(--f-head); color: var(--accent); margin-bottom: 1rem; }
.stg-t { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--f-head); text-transform: uppercase; margin-bottom: 1rem; }
.stg-step p { color: var(--ink-2); max-width: 42ch; }
.stg-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--line-2);
  color: var(--ink-2); font-size: .92rem; max-width: 70ch;
}

/* ---------- OBIEKTY ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.obj { position: relative; overflow: hidden; background: var(--surface); grid-column: span 4; height: clamp(300px, 30vw, 380px); }
.obj-xl { grid-column: span 7; height: clamp(340px, 36vw, 480px); }
.obj-tall { grid-column: span 5; height: clamp(340px, 36vw, 480px); }
.obj-media { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.obj-media.is-illu > .ill { inset: 6% 8% 30% 8%; width: 84%; height: 64%; }
.obj:hover .obj-media { transform: scale(1.045); }
.obj-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(0deg, rgba(16,18,20,.96) 30%, rgba(16,18,20,0));
}
.obj-t {
  font: 700 clamp(1.15rem, 1.7vw, 1.5rem)/1.1 var(--f-head); text-transform: uppercase;
  display: flex; align-items: center; gap: .75rem;
}
.obj-t::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
.obj-info p {
  color: var(--ink-2); max-width: 40ch; font-size: .97rem;
  max-height: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), transform .6s var(--ease), margin .6s var(--ease);
}
.obj:hover .obj-info p, .obj:focus-within .obj-info p { max-height: 8em; opacity: 1; transform: none; margin-top: .6rem; }
@media (hover: none) {
  .obj-info p { max-height: none; opacity: 1; transform: none; margin-top: .6rem; }
}

/* ---------- REALIZACJE ---------- */
.gal-empty {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.gal-empty-media { aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--surface); }
.gal-empty-media .ill { width: 100%; height: 100%; }
.gal-empty h3 { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 1rem; }
.gal-empty p { color: var(--ink-2); margin-bottom: 1.75rem; max-width: 46ch; }

.gal-demo {
  display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.5rem; padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent); background: var(--surface); color: var(--ink-2); font-size: .92rem;
}
.gal-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.gal-filter {
  min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: .9rem; color: var(--ink-2); transition: color .3s, border-color .3s, background-color .3s;
}
.gal-filter:hover { color: var(--ink); border-color: var(--ink-2); }
.gal-filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gal-filter small { opacity: .6; margin-left: .35rem; }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.gal-item { animation: swapIn .6s var(--ease) both; }
.gal-card { display: block; width: 100%; text-align: left; }
.gal-card .media { display: block; aspect-ratio: 4 / 3; background: var(--surface); }
.gal-card .media > * { transition: transform 1s var(--ease); }
.gal-card:hover .media > * { transform: scale(1.04); }
.gal-cap { display: block; padding-top: 1rem; }
.gal-cap strong { display: block; font: 600 1.1rem/1.25 var(--f-head); text-transform: uppercase; }
.gal-cap span { display: block; color: var(--ink-2); font-size: .9rem; margin-top: .25rem; }
.gal-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: .3rem .6rem;
  background: rgba(16,18,20,.85); font-size: .75rem; color: var(--ink); white-space: nowrap;
}
.gal-none { color: var(--ink-2); padding: 2rem 0; }

/* podgląd zdjęć */
.lb {
  width: min(1240px, 100% - 2rem); max-width: none; max-height: calc(100% - 2rem);
  padding: 0; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink);
}
.lb::backdrop { background: rgba(8, 9, 10, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lb[open] { animation: swapIn .45s var(--ease); }
.lb-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.lb-stage { position: relative; background: var(--surface); min-height: 320px; }
.lb-img { position: absolute; inset: 0; }
.lb-img img { width: 100%; height: 100%; object-fit: contain; }
.lb-img .ill { position: absolute; inset: 6%; width: 88%; height: 88%; }
.lb-info { padding: clamp(1.5rem, 3vw, 2.5rem); padding-top: 4rem; }
.lb-count { font-size: .85rem; color: var(--accent); font-family: var(--f-head); margin-bottom: .75rem; }
.lb-title { font: 700 1.6rem/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 1.25rem; }
.lb-meta { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1.25rem; font-size: .92rem; }
.lb-meta dt { color: var(--ink-2); }
.lb-meta dd { margin: 0; }
.lb-desc { color: var(--ink-2); }
.lb-close {
  position: absolute; right: .5rem; top: .5rem; z-index: 3; width: 48px; height: 48px;
  display: grid; place-items: center; color: var(--ink);
}
.lb-close .ico { width: 24px; height: 24px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  display: grid; place-items: center; background: rgba(16,18,20,.8); color: var(--ink);
  transition: background .3s, color .3s;
}
.lb-nav:hover { background: var(--accent); color: var(--bg); }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lb-nav[hidden] { display: none; }
.lb-stage { aspect-ratio: 4 / 3; }

/* ---------- DLACZEGO ---------- */
.why { background: var(--surface); }
.why-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-2);
}
.why-item { position: relative; padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1rem, 3vw, 3rem) clamp(1.75rem, 3.5vw, 3rem) 0; border-bottom: 1px solid var(--line-2); }
.why-item:nth-child(even) { padding-left: clamp(1.5rem, 3.5vw, 3rem); border-left: 1px solid var(--line-2); }
.why-item h3 {
  font: 700 clamp(1.2rem, 1.9vw, 1.55rem)/1.15 var(--f-head); text-transform: uppercase; margin-bottom: 1rem; max-width: 30ch;
  display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start;
}
.why-item h3::before { content: ""; width: 14px; height: 14px; margin-top: .3em; border: 2px solid var(--accent); }
.why-item p { color: var(--ink-2); max-width: 46ch; padding-left: calc(22px + .75rem); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--light); color: var(--bg);
  padding-block: clamp(5rem, 12vw, 10rem);
}
.cta-lines { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 980px); height: 100%; z-index: -1; }
.cta-grid line { stroke: rgba(16, 18, 20, .08); stroke-width: 1; }
.cta-draw path { fill: none; stroke: rgba(16, 18, 20, .3); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.cta-acc path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.cta.is-in .cta-draw path, .cta.is-in .cta-acc path { animation: draw 2.4s var(--ease) forwards; }
.cta.is-in .cta-draw path:nth-child(2) { animation-delay: .25s; }
.cta.is-in .cta-draw path:nth-child(3) { animation-delay: .5s; }
.cta.is-in .cta-draw path:nth-child(4) { animation-delay: .75s; }
.cta.is-in .cta-draw path:nth-child(5) { animation-delay: 1s; }
.cta.is-in .cta-acc path { animation-delay: 1.3s; }
.cta-in { position: relative; }
.cta-title {
  font: 700 clamp(2.2rem, 5.8vw, 5.4rem)/1.04 var(--f-head); text-transform: uppercase; letter-spacing: -.02em;
  max-width: 17ch;
}
.cta-title .h2-line + .h2-line { color: var(--dark-ink-2); }
.cta-text { margin-top: 2rem; max-width: 46ch; font-size: 1.15rem; color: #2A2F33; }
.cta-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.cta-phone {
  display: inline-flex; align-items: center; gap: .75rem; text-decoration: none;
  font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1 var(--f-head); letter-spacing: .02em;
  padding-bottom: .4rem; border-bottom: 2px solid var(--accent);
}
.cta-phone:hover { color: #000; border-bottom-color: var(--bg); }

/* ---------- KONTAKT ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-info { position: sticky; top: calc(var(--hdr-s) + 2rem); }
.contact-name { margin-top: 2.5rem; font: 700 1.1rem/1 var(--f-head); letter-spacing: .16em; }
.contact-list { margin-top: 1.75rem; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: start; }
.contact-list .ico { color: var(--accent); margin-top: 3px; }
.contact-k { display: block; font-size: .82rem; color: var(--ink-2); margin-bottom: .2rem; }
.contact-list a, .contact-list li > span > span:last-child {
  font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1.3 var(--f-head); text-decoration: none; word-break: break-word;
}
.contact-list a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.contact-list a:hover { background-size: 100% 1px; color: var(--accent); }
.contact-hint { margin-top: 2rem; color: var(--ink-2); max-width: 42ch; font-size: .95rem; }

.form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1.35rem; }
.form-title { font: 700 1.5rem/1.1 var(--f-head); text-transform: uppercase; }
.form-req { color: var(--ink-2); font-size: .88rem; margin-top: -.5rem; }
.f-row { display: grid; gap: 1.35rem; }
.f-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f { display: grid; gap: .45rem; min-width: 0; }
.f label, .f legend { font-size: .88rem; font-weight: 600; color: var(--ink); }
.f-set { border: 0; padding: 0; margin: 0; }
.f-set legend { padding: 0; margin-bottom: .6rem; }
.f input[type="text"], .f input[type="tel"], .f input[type="email"], .f select, .f textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font-size: 1rem;
  background: var(--bg); color: var(--ink); border: 1px solid #3A4146; border-radius: 2px;
  transition: border-color .25s, box-shadow .25s;
}
.f textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: #737B80; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: #576066; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 140, 40, .22); }
.f .is-invalid, .f input.is-invalid, .f select.is-invalid { border-color: var(--err); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
.f-hint { font-size: .82rem; color: var(--ink-2); }
.f-err { font-size: .85rem; color: var(--err); min-height: 0; }
.f-err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid #3A4146; border-radius: 2px; font-size: .92rem; color: var(--ink-2); background: var(--bg);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: #576066; color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-set.is-invalid .chip span { border-color: var(--err); }

.check { display: grid; grid-template-columns: 24px 1fr; gap: .85rem; align-items: start; cursor: pointer; font-weight: 400 !important; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 24px; height: 24px; border: 1px solid #576066; background: var(--bg); position: relative; transition: background .2s, border-color .2s; }
.check-box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px;
  border-right: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(45deg) scale(0); transition: transform .25s var(--ease);
}
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check input.is-invalid + .check-box { border-color: var(--err); }
.check-txt { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.check-txt a { color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; }
.btn-submit { min-width: 240px; }
.btn-submit[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn-submit[aria-busy="true"] .ico-arrow { animation: busy 1s linear infinite; }
@keyframes busy { 50% { transform: translateX(6px); } }

.form-status { padding: 1.1rem 1.25rem; border-left: 3px solid var(--ink-2); background: var(--bg); font-size: .95rem; }
.form-status:focus { outline: none; }
.form-status strong { display: block; font-family: var(--f-head); font-size: 1.05rem; margin-bottom: .35rem; }
.form-status.is-ok { border-left-color: var(--ok); }
.form-status.is-err { border-left-color: var(--err); }
.form-status.is-info { border-left-color: var(--accent); }
.form-status p + p { margin-top: .5rem; }
.form-status a { color: var(--ink); }
.form-status .btn { margin-top: .9rem; min-height: 44px; }

/* ---------- STOPKA ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0 calc(2rem + env(safe-area-inset-bottom)); overflow: hidden; }
.ftr-big {
  font: 700 clamp(2.6rem, 12.1vw, 11.6rem)/.8 var(--f-head); letter-spacing: -.035em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 245, 242, .16); margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.ftr-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.ftr-claim { font: 600 1.1rem/1.3 var(--f-head); text-transform: uppercase; margin-bottom: .5rem; }
.ftr-muted { color: var(--ink-2); }
.ftr a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
.ftr a:hover { color: var(--accent); }
.ftr-cols p + p { margin-top: .4rem; }
.ftr nav ul { display: grid; gap: .4rem; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; font-size: .82rem; color: var(--ink-2); }

/* przycisk szybkiego kontaktu */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80;
  width: 58px; height: 58px; display: none; place-items: center;
  background: var(--accent); color: var(--bg); border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.fab .ico { width: 24px; height: 24px; stroke-width: 2; }
.fab.is-visible { transform: none; }

/* =====================================================================
   RESPONSYWNOŚĆ
   ===================================================================== */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-in { gap: 1rem; }
  .fab { display: grid; }
}

@media (max-width: 960px) {
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail {
    flex-direction: row; align-items: center; gap: 1rem; padding: 0 0 2rem;
  }
  .rail-txt { writing-mode: horizontal-tb; transform: none; }
  .rail::after { flex: 1; height: 1px; width: auto; max-height: none; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .about-cols { grid-template-columns: minmax(0, 1fr); }
  .about-text { align-self: auto; }

  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-stage { display: none; }
  .svc-media { display: block; aspect-ratio: 4 / 3; margin: 0 0 1.6rem; border: 1px solid var(--line); }
  .svc-p-in p { padding-left: 0; }

  .stg { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stg-visual {
    position: sticky; top: var(--hdr-s); z-index: 3;
    background: var(--surface); margin-inline: calc(var(--gut) * -1); padding: .75rem var(--gut);
    border-bottom: 1px solid var(--line);
  }
  .stg-visual-in { position: static; height: auto; min-height: 0; max-height: none; gap: .6rem; }
  .stg-draw { height: min(36vh, 300px); max-height: none; width: auto; aspect-ratio: 640 / 560; }
  .stg-steps { padding-block: 4vh 10vh; border-left: 0; }
  .stg-step { min-height: 46vh; padding-left: 1.5rem; border-left: 1px solid var(--line-2); }

  .obj, .obj-xl, .obj-tall { grid-column: span 6; height: 340px; }
  .obj-xl { grid-column: span 12; }

  .gal-empty { grid-template-columns: minmax(0, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-in { grid-template-columns: minmax(0, 1fr); }
  .lb-info { padding-top: 1.5rem; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info { position: static; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-cols > :first-child { grid-column: 1 / -1; }
  .hero-scroll { display: none; }
}

@media (max-width: 720px) {
  :root { --hdr: 68px; --hdr-s: 60px; }
  body { font-size: 1rem; }
  .btn-call span { display: none; }
  .btn-call { width: 44px; padding: 0; }
  .brand-text { font-size: 1rem; letter-spacing: .12em; }
  .brand-logo { height: 46px; }
  .hdr.is-scrolled .brand-logo { height: 40px; }

  .hero { padding-top: calc(var(--hdr) + 2rem); }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(16,18,20,.98) 0%, rgba(16,18,20,.88) 48%, rgba(16,18,20,.35) 80%, rgba(16,18,20,.55) 100%);
  }
  .hero-media { inset: -4% -30% 30% -10%; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-cta { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .hero-kicker { font-size: .85rem; }
  .hero-kicker-line { width: 28px; }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar-n { margin-bottom: 1.25rem; }
  .svc-btn { grid-template-columns: 34px 26px minmax(0, 1fr) 18px; gap: .75rem; }
  .svc-g { width: 22px; height: 22px; }

  .obj, .obj-xl, .obj-tall { grid-column: span 12; height: 300px; }

  .gal-grid { grid-template-columns: minmax(0, 1fr); }
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-item:nth-child(even) { padding: 1.75rem 0; border-left: 0; }

  .f-2 { grid-template-columns: minmax(0, 1fr); }
  .btn-submit { width: 100%; min-width: 0; }
  .cta-lines { opacity: .35; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .ftr-cols { grid-template-columns: minmax(0, 1fr); }
  .ftr { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .lb { width: 100%; max-height: 100%; height: 100%; border: 0; }
  .lb-stage { aspect-ratio: 4 / 3; }
}

/* =====================================================================
   OGRANICZENIE ANIMACJI
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  [data-reveal], [data-hero-part] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-media-in { transform: none !important; }
  .band-row { transform: none !important; }
  .hero-scroll-track span { animation: none; transform: translateY(28px); }
}

/* druk */
@media print {
  .hdr, .mmenu, .fab, .hero-media, .hero-shade, .band, .cta-lines, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal], [data-hero-part] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
