/* =========================================================
   Strona firmy remontowo-budowlanej — styl „liquid glass”
   ========================================================= */

@property --spec { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  --bg: #f4f4f5;
  --bg-2: #e8e8eb;
  --ink: #111214;
  --ink-2: #4a4d55;
  --ink-3: #8a8e96;
  --line: rgba(23, 25, 28, .10);
  --accent: #111214;
  --accent-2: #111214;
  --laser: #111214;

  /* szkło */
  --tint: rgba(255, 255, 255, .20);
  --tint-strong: rgba(255, 255, 255, .46);
  --blur: 22px;
  --rim-light: rgba(255, 255, 255, .85);
  --glass-shadow: 0 16px 44px -16px rgba(15, 16, 20, .28), 0 2px 8px rgba(15, 16, 20, .06);
  --inner: inset 0 1px 1px rgba(255,255,255,.75), inset 0 -1px 1px rgba(255,255,255,.18), inset 0 0 18px rgba(255,255,255,.12);

  --radius: 26px;
  --radius-s: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(70px, 10vw, 120px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(15.5px, .3vw + 14.5px, 17px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Tło: kolorowe światło pod szkłem ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 85% -10%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.ambient .blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .62;
  animation: drift 30s var(--ease-in-out) infinite alternate; will-change: transform;
}
.ambient .b1 { width: 52vmax; height: 52vmax; left: -16vmax; top: 4vh; background: #d4d5db; }
.ambient .b2 { width: 44vmax; height: 44vmax; right: -14vmax; top: 34vh; background: #c3c5cc; animation-delay: -9s; }
.ambient .b3 { width: 36vmax; height: 36vmax; left: 28vw; bottom: -18vmax; background: #e2e2e6; animation-delay: -17s; }
.ambient .b4 { width: 30vmax; height: 30vmax; right: 18vw; top: -12vmax; background: #b9bbc3; animation-delay: -23s; opacity: .45; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vw, -4vh, 0) scale(1.1); }
  100% { transform: translate3d(-4vw, 5vh, 0) scale(.95); }
}
.grid-paper {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 18, 20, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}

/* miękkie rozmycie krawędzi ekranu (jak w iOS) */
.edge { position: fixed; left: 0; right: 0; z-index: 40; pointer-events: none; }
.edge-top {
  top: 0; height: calc(64px + var(--sat));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(rgba(244,244,245,.55), transparent);
  mask-image: linear-gradient(#000 35%, transparent); -webkit-mask-image: linear-gradient(#000 35%, transparent);
}
.edge-bottom {
  bottom: 0; height: calc(110px + var(--sab)); display: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(transparent, rgba(244,244,245,.5));
  mask-image: linear-gradient(transparent, #000 60%); -webkit-mask-image: linear-gradient(transparent, #000 60%);
}

/* ---------- Szkło ---------- */
.glass {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255, calc(var(--spec) * .5)), transparent 55%) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.10) 55%, rgba(255,255,255,.22)) padding-box,
    linear-gradient(135deg, var(--rim-light), rgba(255,255,255,.08) 38%, rgba(255,255,255,.02) 62%, rgba(255,255,255,.65)) border-box;
  box-shadow: var(--inner), var(--glass-shadow);
  backdrop-filter: blur(var(--blur)) saturate(190%) brightness(1.04);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(190%) brightness(1.04);
  transition: --spec .5s var(--ease);
}
.glass.lit { --spec: 1; }
/* soczewka „liquid glass” — tylko w przeglądarkach, które to obsługują */
html.lg .lens-glass {
  backdrop-filter: url(#lg-filter) blur(5px) saturate(200%) brightness(1.06);
}
/* paski nawigacji: przejrzyste, „wodne” szkło */
.nav.glass, .tabbar.glass, .filters.glass {
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255, calc(var(--spec) * .4)), transparent 55%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.08) 70%, rgba(255,255,255,.18)) padding-box,
    linear-gradient(135deg, #fff, rgba(255,255,255,.15) 30%, rgba(255,255,255,.05) 65%, rgba(255,255,255,.8)) border-box;
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,.9), inset 0 -1px 1.5px rgba(255,255,255,.35), inset 0 0 24px rgba(255,255,255,.18), 0 14px 36px -14px rgba(15,16,20,.3);
}

/* przyciemnione szkło na zdjęciach (czytelny biały tekst) */
.glass.on-photo {
  background:
    linear-gradient(160deg, rgba(25,25,28,.42), rgba(25,25,28,.2) 60%, rgba(25,25,28,.32)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.08) 40%, rgba(255,255,255,.04) 60%, rgba(255,255,255,.45)) border-box;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 10px 30px -10px rgba(0,0,0,.4);
}

/* refleks światła przesuwający się po szkle */
.shine { overflow: hidden; isolation: isolate; }
.shine::after {
  content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg) translateX(-120%); transition: transform 1s var(--ease);
  pointer-events: none; z-index: 2;
}
.shine:hover::after { transform: skewX(-18deg) translateX(520%); }

/* ---------- Nawigacja (komputer / tablet) ---------- */
.nav-wrap {
  position: fixed; top: calc(14px + var(--sat)); left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--gutter);
  pointer-events: none;
}
/* menu: jedna wyśrodkowana szklana kapsuła, bez dodatkowych przycisków */
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  padding: 6px; border-radius: 999px;
  transform-origin: 50% 0;
  transition: transform .6s var(--spring), box-shadow .5s var(--ease);
}
.nav-wrap.compact .nav { transform: scale(.92); }
.menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.menu a {
  position: relative; display: block; padding: 11px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .005em; color: var(--ink-2);
  transition: color .35s var(--ease);
  z-index: 1; white-space: nowrap;
}
.menu a:hover { color: var(--ink); }
.menu a.hot { color: #fff; }
.menu .pill {
  position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(38,40,45,.95), rgba(14,15,17,.94));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.22), inset 0 -1px 1px rgba(0,0,0,.4), 0 6px 16px -6px rgba(0,0,0,.45);
  transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s;
  z-index: 0; opacity: 0;
}
.burger, .mobile-menu { display: none !important; }

/* ---------- Przyciski (szklane kapsuły) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, rgba(40,43,48,.92), rgba(20,22,25,.9));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.28), inset 0 -1px 1px rgba(0,0,0,.35), 0 10px 26px -10px rgba(20,22,25,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .45s var(--spring), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 1px; height: 45%; border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.22), transparent); pointer-events: none;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.95); transition-duration: .15s; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.accent { }
.btn.ghost {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25)) padding-box,
    linear-gradient(135deg, #fff, rgba(255,255,255,.1) 50%, rgba(255,255,255,.7)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 1px #fff, 0 8px 22px -12px rgba(15,16,20,.35);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.btn.ghost::before { background: linear-gradient(rgba(255,255,255,.5), transparent); }
.nav .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- Dolny pasek zakładek (telefon) ---------- */
.tabbar {
  display: none;
  position: fixed; left: 50%; bottom: calc(10px + var(--sab)); z-index: 60;
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 480px);
  padding: 5px; border-radius: 999px;
  transition: width .55s var(--spring), bottom .4s var(--ease);
}
.tabbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.tabbar a {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 8px 2px 6px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em;
  transition: color .3s;
}
.tabbar a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring); }
.tabbar a:active svg { transform: scale(.85); }
.tabbar a.active { color: var(--ink); }
.tabbar a span { transition: opacity .3s, max-height .4s var(--ease); max-height: 16px; overflow: hidden; white-space: nowrap; }
.tabbar .tb-lens {
  position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45));
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px rgba(255,255,255,.4), 0 4px 12px rgba(15,16,20,.12);
  transition: transform .55s var(--spring), width .55s var(--spring);
}
.tabbar.compact { width: min(calc(100% - 110px), 310px); }
.tabbar.compact a { padding: 9px 2px; }
.tabbar.compact a span { opacity: 0; max-height: 0; }

/* ---------- Układ ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: var(--section) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(40px, 6.6vw, 96px); }
h2 { font-size: clamp(31px, 4.4vw, 60px); }
h3 { font-size: clamp(22px, 1.6vw + 14px, 26px); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--ink-3); }
.lead { font-size: clamp(16.5px, 1.2vw + 12px, 20px); color: var(--ink-2); max-width: 620px; }
.muted { color: var(--ink-3); }

/* ---------- Taśma miernicza pod nagłówkami ---------- */
.tape {
  position: relative; height: 22px; margin: 22px 0 0; width: min(360px, 80%);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(232,232,235,.85));
  border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.5);
  transform-origin: left center; transform: scaleX(0);
  overflow: hidden;
}
.tape::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(30,30,30,.75) 0 1px, transparent 1px 6px) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, rgba(30,30,30,.85) 0 1.5px, transparent 1.5px 30px) bottom / 100% 10px no-repeat;
}
.tape span { position: absolute; top: 1px; font-size: 9px; font-weight: 800; color: rgba(30,30,30,.8); transform: translateX(3px); }
.in .tape, .tape.in { animation: tapeOut 1.3s var(--ease) .15s forwards; }
@keyframes tapeOut { to { transform: scaleX(1); } }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: none; }

/* odsłanianie zdjęć jak układanie płytek */
.tiles { position: relative; overflow: hidden; }
.tiles .tile-cover { position: absolute; inset: 0; display: grid; z-index: 3; pointer-events: none; }
.tiles .tile-cover i {
  background: var(--bg-2); border: 1px solid rgba(255,255,255,.5);
  transform-origin: center; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.tiles.in .tile-cover i { transform: scale(0) rotate(8deg); opacity: 0; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: calc(130px + var(--sat)) 0 70px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 12px; margin-top: 46px; flex-wrap: wrap; }
.stat { padding: 16px 22px; border-radius: var(--radius-s); min-width: 140px; flex: 1 1 140px; max-width: 220px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.4vw, 38px); line-height: 1; }
.stat small { color: var(--ink-3); font-size: 13px; }

/* Plan → realizacja */
.blueprint {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  width: 100%; max-height: calc(100svh - 160px); margin-left: auto;
  box-shadow: 0 40px 80px -30px rgba(15,16,20,.45), inset 0 0 0 1px rgba(255,255,255,.25);
  background: #1b1c1f;
}
.blueprint .bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}
.blueprint svg.plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint svg.plan path, .blueprint svg.plan line, .blueprint svg.plan rect, .blueprint svg.plan circle {
  fill: none; stroke: rgba(235, 245, 255, .9); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.blueprint svg.plan .thin { stroke-width: .8; stroke: rgba(235,245,255,.55); }
.blueprint svg.plan text { fill: rgba(235,245,255,.75); font-family: var(--font); font-size: 11px; letter-spacing: .1em; stroke: none; }
.blueprint .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.blueprint .photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  transition: clip-path 1.6s var(--ease-in-out);
}
.blueprint.built .photo { clip-path: polygon(0 0, 140% 0, 0 140%, 0 0); }
.blueprint.built.full .photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.blueprint .trowel {
  position: absolute; width: 160%; height: 70px; left: -30%; top: -35px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.55) 50%, transparent);
  transform: rotate(-45deg) translateY(-200%); opacity: 0; pointer-events: none;
}
.blueprint.built .trowel { animation: trowel 1.6s var(--ease-in-out) forwards; }
@keyframes trowel {
  0% { opacity: 0; transform: translate(-40%, -40%) rotate(-45deg); }
  15% { opacity: 1; } 85% { opacity: 1; }
  100% { opacity: 0; transform: translate(40%, 120%) rotate(-45deg); }
}
.blueprint .badge {
  position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 4;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: 22px;
  opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .2s, transform .9s var(--ease) .2s;
}
.blueprint.full .badge { opacity: 1; transform: none; }
.blueprint .badge b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.blueprint .badge small { display: block; color: rgba(255,255,255,.85); font-size: 12.5px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.blueprint .stage-switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.18); }
.blueprint .stage-switch button {
  border: 0; cursor: pointer; font-size: 12px; font-weight: 700; padding: 8px 13px; border-radius: 999px;
  background: transparent; color: #fff; transition: background .3s, color .3s;
}
.blueprint .stage-switch button.on { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.blueprint .label-tag {
  position: absolute; top: 18px; left: 18px; z-index: 4; color: rgba(235,245,255,.85);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; transition: opacity .6s;
}
.blueprint.full .label-tag { opacity: 0; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue i { width: 1.5px; height: 40px; background: linear-gradient(var(--ink-3), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--accent); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { top: -14px; } 100% { top: 40px; } }

/* ---------- Pas z hasłami ---------- */
.marquee {
  padding: 24px 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.12));
  border-block: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px -20px rgba(15,16,20,.3);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-style: italic; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: 16px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Usługi ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.service { padding: clamp(22px, 2.4vw, 30px); min-height: 270px; display: flex; flex-direction: column; transition: transform .6s var(--spring), box-shadow .5s var(--ease), --spec .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--inner), 0 30px 60px -24px rgba(15,16,20,.35); }
.service .ico {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5));
  box-shadow: inset 0 1px 1px #fff, 0 6px 16px -8px rgba(15,16,20,.3);
}
.service .ico svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service .ico svg .ac { stroke: var(--accent); }
.service:hover .ico svg .anim { animation: wiggle .8s var(--ease); transform-origin: center; transform-box: fill-box; }
@keyframes wiggle { 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }
.service h3 { margin-bottom: 10px; }
.service p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.service .num { margin-top: auto; padding-top: 22px; font-size: 12px; letter-spacing: .2em; color: var(--ink-3); font-weight: 700; }

/* ---------- Metamorfoza ---------- */
.meta { height: 320vh; padding: 0; }
.meta-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.meta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.meta-steps { display: grid; gap: 12px; margin-top: 34px; position: relative; padding-left: 26px; }
.meta-progress { position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: rgba(23,25,28,.08); overflow: hidden; }
.meta-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.meta-step { padding: 16px 20px; border-radius: var(--radius-s); opacity: .45; transition: opacity .5s, transform .6s var(--spring), background .5s, box-shadow .5s; border: 1px solid transparent; }
.meta-step.on {
  opacity: 1; transform: translateX(6px);
  background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,.25)) padding-box, linear-gradient(135deg, #fff, rgba(255,255,255,.1) 50%, rgba(255,255,255,.6)) border-box;
  box-shadow: var(--inner), var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
}
.meta-step b { display: block; font-size: 17px; }
.meta-step span { font-size: 14.5px; color: var(--ink-2); }
.meta-stack { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; max-height: 78svh; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(15,16,20,.45); margin-left: auto; width: 100%; }
.meta-frame { position: absolute; inset: 0; }
.meta-frame img { width: 100%; height: 100%; object-fit: cover; }
.meta-frame + .meta-frame { clip-path: inset(100% 0 0 0); }
.meta-edge { position: absolute; left: 0; right: 0; top: 0; height: 0; opacity: 0; transition: opacity .3s; }
.meta-edge::before { content: ""; position: absolute; left: -5%; right: -5%; top: -14px; height: 28px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.75), transparent); filter: blur(2px); }
.meta-tag { position: absolute; top: 14px; left: 14px; padding: 8px 15px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; z-index: 5; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.3); }

/* ---------- Wybrane realizacje ---------- */
.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.shot { border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--bg-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot .cap {
  position: absolute; left: 12px; bottom: 12px; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); z-index: 4;
}
.shot:hover .cap { opacity: 1; transform: none; }
.s-a { grid-column: span 7; aspect-ratio: 7 / 5; }
.s-b { grid-column: span 5; aspect-ratio: 1; }
.s-c, .s-d, .s-e { grid-column: span 4; aspect-ratio: 4 / 5; }

/* ---------- Proces: wiązka lasera ---------- */
.process { position: relative; display: grid; gap: clamp(14px, 1.6vw, 22px); padding-left: 70px; }
.process .beam { position: absolute; left: 26px; top: 10px; bottom: 10px; width: 2px; background: rgba(17, 18, 20, .1); border-radius: 2px; }
.process .beam i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--laser); box-shadow: none; }
.process .beam i::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; transform: translateX(-50%);
  background: #fff; box-shadow: 0 0 0 3px var(--laser), 0 4px 12px rgba(0,0,0,.25);
}
.step { padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 30px); display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start; }
.step .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink-3); transition: color .5s; }
.step.lit .n { color: var(--laser); }
.step .dot {
  position: absolute; left: -51px; top: 40px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(17,18,20,.2); transition: all .4s;
}
.step.lit .dot { background: var(--laser); border-color: var(--laser); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- Dlaczego my ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.why-list { display: grid; gap: 12px; }
.why-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-s); align-items: flex-start; }
.why-item .check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-2); display: grid; place-items: center; box-shadow: inset 0 1px 1px rgba(255,255,255,.4); }
.why-item .check svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .7s var(--ease) .3s; }
.why-item.in .check svg { stroke-dashoffset: 0; }
.why-item b { display: block; margin-bottom: 2px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.why-photo { position: relative; aspect-ratio: 4/5; border-radius: 30px; overflow: hidden; }
.why-photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.why-photo .float-card { position: absolute; right: 14px; top: 14px; padding: 16px 18px; border-radius: 22px; max-width: 230px; font-size: 14px; z-index: 4; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.why-photo .float-card b { font-family: var(--serif); font-weight: 400; font-size: 34px; display: block; line-height: 1; margin-bottom: 4px; }

/* ---------- CTA ---------- */
.cta { padding: clamp(30px, 5vw, 64px); border-radius: 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 40px; align-items: center; overflow: hidden; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(600px 300px at 90% 120%, rgba(17,18,20,.08), transparent 70%), radial-gradient(500px 300px at 0% -20%, rgba(255,255,255,.6), transparent 70%);
}
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Stopka ---------- */
footer { padding: 70px 0 40px; border-top: 1px solid rgba(255,255,255,.6); margin-top: 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 40px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.foot a, .foot p { display: block; color: var(--ink-2); margin: 0 0 8px; font-size: 15px; }
.foot a:hover { color: var(--accent); }
.foot .big { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--ink); max-width: 380px; }
.copy { margin-top: 50px; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- Podstrony ---------- */
.page-hero { padding: calc(clamp(120px, 14vw, 170px) + var(--sat)) 0 clamp(30px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(38px, 5.8vw, 82px); margin: 18px 0 20px; }

/* ---------- Realizacje ---------- */
.filters { display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px; margin-bottom: 34px; position: relative; max-width: 100%; }
.filters button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink-2); position: relative; z-index: 1; transition: color .3s; white-space: nowrap; }
.filters button.on { color: #fff; }
.filters .pill {
  position: absolute; top: 5px; height: calc(100% - 10px); border-radius: 999px; z-index: 0;
  background: linear-gradient(180deg, rgba(40,43,48,.95), rgba(20,22,25,.92));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 6px 16px -6px rgba(0,0,0,.4);
  transition: transform .6s var(--spring), width .6s var(--spring);
}
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry .shot { break-inside: avoid; margin-bottom: 16px; display: block; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.masonry .shot img { height: auto; }
.masonry .shot.in { opacity: 1; transform: none; }
.load-more { display: flex; justify-content: center; margin-top: 30px; }
.counter-line { color: var(--ink-3); font-size: 14px; margin: -14px 0 26px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(20, 20, 22, .6); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
  padding: calc(16px + var(--sat)) 16px calc(16px + var(--sab));
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; max-height: 82svh; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.94); transition: transform .6s var(--spring), opacity .3s; }
.lightbox.open img { transform: none; }
.lightbox .lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px; color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.08));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .4s var(--spring), background .3s;
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.3); }
.lightbox .lb-btn:active { transform: scale(.9); }
.lb-prev { left: 22px; top: 50%; margin-top: -26px; }
.lb-next { right: 22px; top: 50%; margin-top: -26px; }
.lb-close { right: 22px; top: calc(22px + var(--sat)); }
.lb-count { position: absolute; bottom: calc(22px + var(--sab)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .1em; }

/* ---------- Usługi (podstrona) ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 50px); align-items: center; padding: clamp(28px, 4vw, 50px) 0; }
.svc-row:nth-child(even) .svc-img { order: 2; }
.svc-img { aspect-ratio: 5/4; border-radius: 30px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body h2 { font-size: clamp(28px, 3.4vw, 46px); margin: 14px 0 16px; }
.svc-body ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.svc-body li {
  display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; font-size: 15.5px;
  background: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,.2)) padding-box, linear-gradient(135deg, #fff, rgba(255,255,255,.1) 50%, rgba(255,255,255,.5)) border-box;
  border: 1px solid transparent; box-shadow: inset 0 1px 1px rgba(255,255,255,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.svc-body li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--radius-s); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; position: relative; flex: none; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); box-shadow: inset 0 1px 1px #fff, 0 3px 8px rgba(15,16,20,.12); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--ink); transition: transform .4s var(--spring); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.form { padding: clamp(22px, 3.4vw, 38px); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.45); font: inherit; font-size: 16px; color: var(--ink); outline: none;
  box-shadow: inset 0 1px 3px rgba(15,16,20,.08);
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; color: var(--ink-3); font-size: 15px; pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(17,18,20,.08); background: rgba(255,255,255,.85); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35)); border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 1px #fff, 0 3px 8px -4px rgba(15,16,20,.2);
  transition: all .4s var(--spring);
}
.chips label:active span { transform: scale(.94); }
.chips input:checked + span { background: linear-gradient(180deg, #2a2d32, #16181b); color: #fff; border-color: #16181b; box-shadow: inset 0 1px 1px rgba(255,255,255,.25); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(17,18,20,.25); }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.sent { display: none; text-align: center; padding: 40px 10px; }
.sent svg { width: 74px; height: 74px; margin: 0 auto 18px; }
.sent svg circle, .sent svg path { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; }
.sent svg circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw2 .9s var(--ease) forwards; }
.sent svg path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw2 .6s var(--ease) .7s forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
.form.done form { display: none; }
.form.done .sent { display: block; }
.info-cards { display: grid; gap: 12px; }
.info { padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.info .ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); box-shadow: inset 0 1px 1px #fff, 0 6px 14px -8px rgba(15,16,20,.3); }
.info .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info small { color: var(--ink-3); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.info b { display: block; font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.info p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.placeholder-note { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(17,18,20,.07); color: var(--ink-2); font-weight: 700; margin-top: 6px; }

/* ---------- Przejście między stronami: wałek malarski ---------- */
.roller { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.roller .paint { position: absolute; inset: 0; background: var(--bg-2); transform-origin: top; transform: scaleY(0); }
.roller .paint::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 3px, transparent 3px 9px); }
.roller .bar {
  position: absolute; left: -2%; right: -2%; height: 34px; top: 0; transform: translateY(-60px);
  background: linear-gradient(180deg, #d6d6da, #f7f7f8 40%, #c8c8cd); border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.roller.enter .paint { animation: paintDown .6s var(--ease-in-out) forwards; }
.roller.enter .bar { animation: barDown .6s var(--ease-in-out) forwards; }
.roller.leave .paint { transform: scaleY(1); transform-origin: bottom; animation: paintUp .7s var(--ease-in-out) .05s forwards; }
.roller.leave .bar { transform: translateY(100vh); animation: barUp .7s var(--ease-in-out) .05s forwards; }
@keyframes paintDown { to { transform: scaleY(1); } }
@keyframes barDown { to { transform: translateY(calc(100vh - 17px)); } }
@keyframes paintUp { to { transform: scaleY(0); } }
@keyframes barUp { from { transform: translateY(calc(100vh - 17px)); opacity: 1; } to { transform: translateY(100vh); opacity: 0; } }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

/* duże monitory */
@media (min-width: 1680px) {
  :root { --maxw: 1440px; }
  body { font-size: 18px; }
}

/* laptopy / mniejsze ekrany */

/* tablety */
@media (max-width: 1020px) {
  .menu a { padding: 10px 16px; }
  .hero { min-height: auto; padding-top: calc(120px + var(--sat)); }
  .hero-grid, .why, .contact-grid, .svc-row, .meta-grid { grid-template-columns: 1fr; }
  .hero-grid .blueprint { max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 4.4; max-height: none; }
  .scroll-cue { display: none; }
  .svc-row:nth-child(even) .svc-img { order: 0; }
  .svc-img { aspect-ratio: 16 / 10; }
  .services { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: repeat(6, 1fr); }
  .s-a { grid-column: span 6; aspect-ratio: 16 / 10; }
  .s-b, .s-c, .s-d, .s-e { grid-column: span 3; aspect-ratio: 4 / 5; }
  .why-photo { aspect-ratio: 4 / 3; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .info-cards { grid-template-columns: 1fr 1fr; }

  .meta-grid { gap: 22px; }
  .meta-grid .lead, .meta-grid .tape { display: none; }
  .meta-steps { margin-top: 14px; grid-template-columns: repeat(3, 1fr); padding-left: 0; gap: 8px; }
  .meta-progress { display: none; }
  .meta-step { padding: 10px 12px; }
  .meta-step span { display: none; }
  .meta-step.on { transform: none; }
  .meta-stack { max-height: 58vh; max-height: 58svh; aspect-ratio: 4 / 4; max-width: 640px; margin: 0 auto; }
  .meta h2 { font-size: clamp(28px, 5vw, 40px); }
}

@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
}

/* telefony: dolny pasek zakładek zamiast górnego menu */
@media (max-width: 760px) {
  .nav-wrap { display: none; }
  .tabbar { display: block; }
  .edge-bottom { display: block; }
  .edge-top { height: calc(28px + var(--sat)); }
  body { padding-bottom: calc(86px + var(--sab)); }
  .hero { padding-top: calc(56px + var(--sat)); padding-bottom: 40px; }
  .page-hero { padding-top: calc(64px + var(--sat)); }
  .lightbox { z-index: 120; }
  .lb-prev, .lb-next { top: auto; bottom: calc(14px + var(--sab)); margin-top: 0; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-close { right: 16px; top: calc(14px + var(--sat)); }
  .lb-count { bottom: calc(30px + var(--sab)); }
}

@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service .ico { margin-bottom: 18px; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .s-a { grid-column: span 2; aspect-ratio: 4 / 3; }
  .s-b, .s-c, .s-d, .s-e { grid-column: span 1; aspect-ratio: 3 / 4; }
  .shot .cap { left: 8px; bottom: 8px; right: 8px; font-size: 12px; padding: 7px 11px; text-align: center; }
  .process { padding-left: 40px; }
  .process .beam { left: 10px; }
  .step .dot { left: -37px; top: 30px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .n { font-size: 34px; }
  .row2 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .shot { margin-bottom: 10px; border-radius: 18px; }
  .filters { overflow-x: auto; scrollbar-width: none; display: flex; width: max-content; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { padding: 9px 14px; font-size: 14px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { min-width: 0; max-width: none; padding: 12px 12px; }
  .stat small { font-size: 11.5px; display: block; line-height: 1.3; margin-top: 4px; }
  .stat b { font-size: 24px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .blueprint .stage-switch button { padding: 7px 10px; }
  .why-photo { aspect-ratio: 4 / 5; }
  .why-photo .float-card { max-width: 190px; font-size: 13px; }
  .cta .actions .btn { flex: 1 1 auto; }
  .lb-prev, .lb-next { width: 46px; height: 46px; }
  .meta-step b { font-size: 13.5px; }
}

/* małe telefony */
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:last-child { grid-column: span 2; }
  .blueprint .badge b { font-size: 17px; }
  .blueprint .badge small { display: none; }
  .tabbar a { font-size: 9.5px; }
  .tabbar a svg { width: 21px; height: 21px; }
  .chips span { padding: 8px 12px; font-size: 13px; }
}

/* telefony w poziomie / niskie ekrany */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(90px + var(--sat)); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .hero-grid .blueprint { aspect-ratio: 4 / 3; max-height: 80vh; position: sticky; top: 20px; }
  .hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 14px 0 16px; }
  .edge-bottom { height: calc(70px + var(--sab)); }
  .meta { height: auto; }
  .meta-sticky { position: static; height: auto; padding: var(--section) 0; }
  .meta-grid { grid-template-columns: 1fr; }
  .meta-stack { aspect-ratio: auto; max-height: none; max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; overflow: visible; box-shadow: none; border-radius: 0; }
  .meta-frame { position: relative; inset: auto; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; clip-path: none !important; }
  .meta-tag, .meta-progress { display: none; }
  .meta-step { opacity: 1; }
  .tabbar { width: min(calc(100% - 20px), 440px); }
  .tabbar a span { display: none; }
  body { padding-bottom: calc(70px + var(--sab)); }
}
@media (min-width: 1021px) and (max-height: 800px) {
  .meta-grid .lead { display: none; }
  .meta-steps { margin-top: 20px; }
  .meta-step { padding: 10px 16px; }
  .meta-stack { max-height: 70vh; }
  .meta h2 { font-size: 46px; }
}

/* ekrany dotykowe: bez efektów najechania */
@media (hover: none) {
  .shot .cap { opacity: 1; transform: none; }
  .service:hover { transform: none; }
  .shot:hover img { transform: none; }
  .btn:hover { transform: none; }
  .shine::after { display: none; }
}

/* słabsze urządzenia / oszczędzanie baterii */
@media (max-width: 760px) {
  .ambient .blob { filter: blur(60px); animation-duration: 45s; }
  .ambient .b4 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .masonry .shot { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

/* przeglądarki bez backdrop-filter: mocniejsze tło szkła */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .btn.ghost, .meta-step.on, .svc-body li { background-color: rgba(255,255,255,.82); }
}
