/* ============================================================
   RS DETAILING — system stylów v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg-0: #070708;
  --bg-1: #0a0a0c;
  --bg-2: #0e0e11;
  --bg-3: #121215;
  --bg-4: #19191d;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --line-blue: rgba(58,150,255,.35);
  --blue: #2a93ff;
  --blue-bright: #62b8ff;
  --blue-pale: #bfe0ff;
  --blue-deep: #0a4f9e;
  --blue-ink: #072a52;
  --glow: rgba(42,147,255,.25);
  --tx: #f2f4f7;
  --tx-dim: #a8b0ba;
  --tx-mute: #6b7280;
  --maxw: 1240px;
  --r: 2px;
  --r-lg: 2px;
  --ff-head: 'Sora', system-ui, sans-serif;
  --ff-body: 'Manrope', system-ui, sans-serif;
  --chrome: linear-gradient(180deg,#ffffff 0%,#dde4ec 55%,#9aa7b5 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg-0);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.01) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.2) 0 2px, transparent 2px 5px);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---- typografia ---- */
h1,h2,h3,h4 { font-family: var(--ff-head); font-weight: 800; line-height: 1.06; letter-spacing: .01em; }
h1,h2 { text-transform: uppercase; }
.eyebrow {
  font-family: var(--ff-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--tx-dim);
}
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   PRZYCISKI — prostokątne + efekt wody
   ============================================================ */
.btn {
  --pad: 17px 34px;
  position: relative; display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--ff-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: var(--pad); border-radius: 2px; cursor: pointer; border: none;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn svg { width: 15px; height: 15px; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

/* primary — woda wzbiera od dołu */
.btn-primary {
  color: #0a0a0c;
  background-image: linear-gradient(to top, var(--blue) 50%, #fff 50%);
  background-size: 100% 205%;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-color: var(--blue);
  transition: background-position .7s cubic-bezier(.3,0,.2,1), color .45s .1s;
}
.btn-primary:hover {
  background-position: 0 100%;
  color: #fff;
}

/* ghost — subtelne wypełnienie od dołu */
.btn-ghost {
  color: var(--tx); background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 0 0 0 transparent;
  transition: border-color .35s, box-shadow .65s cubic-bezier(.3,0,.2,1);
}
.btn-ghost:hover {
  border-color: #fff;
  box-shadow: inset 0 -120px 0 rgba(255,255,255,.07);
}

/* ripple przy kliknięciu */
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.4);
  transform: scale(0);
  animation: rippleWater .55s linear forwards;
  pointer-events: none;
}
@keyframes rippleWater {
  to { transform: scale(4.5); opacity: 0; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .4s, border-color .4s, backdrop-filter .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(7,7,8,.8); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s; }
.scrolled .nav { height: 68px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 4px 14px rgba(42,147,255,.4)); transition: height .4s; }
.scrolled .brand img { height: 40px; }
.brand-tx { display: flex; flex-direction: column; line-height: 1; }
.brand-tx b { font-family: var(--ff-head); font-weight: 800; font-size: 1.18rem; letter-spacing: .04em; }
.brand-tx span { font-size: .6rem; letter-spacing: .42em; color: var(--tx-dim); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; color: var(--tx-dim); transition: color .3s;
}
.nav-links a:hover { color: var(--tx); }
.nav-links a.active { color: var(--tx); }
.nav-links a.active::before {
  content: ""; position: absolute; inset: auto 16px -2px; height: 2px;
  background: var(--blue);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ── przycisk nav — równoległobok ── */
.btn-nav {
  --pad: 11px 28px;
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--ff-head); font-weight: 800; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: var(--pad); border: none; cursor: pointer;
  background: var(--blue); color: #05070a;
  transform: skewX(-12deg);
  transition: background .3s;
  overflow: hidden; white-space: nowrap;
}
.btn-nav > span {
  display: inline-block;
  transform: skewX(12deg);
}
.btn-nav:hover { background: var(--blue-bright); }
.btn-nav .ripple { background: rgba(0,0,0,.18); }
.nav-phone { display: flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--tx); }
.nav-phone svg { width: 16px; height: 16px; color: var(--blue-bright); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--tx); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(82vw,360px); z-index: 95;
  background: linear-gradient(180deg,var(--bg-2),var(--bg-0));
  border-left: 1px solid var(--line-2); transform: translateX(100%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  padding: 110px 30px 40px; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--ff-head); font-weight: 600; font-size: 1.5rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--tx-dim); }
.mobile-menu a.active, .mobile-menu a.current-menu-item { color: var(--blue-bright); }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 94; opacity: 0; visibility: hidden; transition: .4s; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   SEKCJE
   ============================================================ */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.1rem,5vw,3.6rem); margin: 18px 0; }
.section-head p { color: var(--tx-dim); font-size: 1.08rem; max-width: 60ch; }
.rule { height: 1px; background: rgba(255,255,255,.12); }

/* KARTY */
.card {
  position: relative; background: linear-gradient(180deg,var(--bg-3),var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .5s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.card .gloss {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.06),transparent 60%);
}
.card:hover .gloss { opacity: 1; }

/* PLACEHOLDER */
.ph {
  position: relative;
  background: linear-gradient(125deg,#101013,#0b0b0d 45%,#121215);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ph::before {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg,transparent 40%,rgba(255,255,255,.07) 48%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.07) 52%,transparent 60%);
  transform: translateX(-30%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.ph:hover::before { transform: translateX(30%); }
.ph-label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--tx-mute); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--ff-head); }
.ph-label svg { width: 34px; height: 34px; opacity: .5; }

/* ============================================================
   STOPKA
   ============================================================ */
.site-foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: linear-gradient(180deg,var(--bg-1),var(--bg-0)); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 54px; }
.foot-brand img { height: 54px; margin-bottom: 18px; filter: drop-shadow(0 4px 14px rgba(42,147,255,.4)); }
.foot-brand p { color: var(--tx-dim); max-width: 34ch; font-size: .95rem; }
.foot-col h4 { font-family: var(--ff-head); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--tx-mute); margin-bottom: 18px; }
.foot-col a, .foot-col p { display: block; color: var(--tx-dim); padding: 6px 0; font-size: .96rem; transition: color .3s; }
.foot-col a:hover { color: var(--blue-bright); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--tx-mute); font-size: .84rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 2px; border: 1px solid var(--line-2); color: var(--tx-dim); transition: .3s; }
.socials a:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ============================================================
   PAGE HERO (podstrony)
   ============================================================ */
.page-hero { position: relative; padding: 170px 0 84px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .ph-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg,var(--bg-1),var(--bg-0));
}
.page-hero .ph-bg::after {
  content: ""; position: absolute; top: -30%; left: 0; width: 38%; height: 160%;
  background: linear-gradient(100deg,transparent,rgba(255,255,255,.04) 48%,rgba(255,255,255,.08) 50%,transparent 60%);
  filter: blur(8px); mix-blend-mode: screen; animation: sweep 9s cubic-bezier(.6,0,.4,1) infinite;
}
.page-hero .grid-fade {
  position: absolute; inset: 0; z-index: 0; opacity: .4;
  background: linear-gradient(transparent 96%,rgba(255,255,255,.05) 100%) 0 0/100% 56px, linear-gradient(90deg,transparent 96%,rgba(255,255,255,.03) 100%) 0 0/56px 100%;
  -webkit-mask-image: radial-gradient(110% 100% at 60% 0%,#000,transparent 70%);
  mask-image: radial-gradient(110% 100% at 60% 0%,#000,transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--tx-mute); margin-bottom: 22px; font-family: var(--ff-head); }
.crumbs a { color: var(--tx-dim); }
.crumbs a:hover { color: var(--blue-bright); }
.crumbs span { color: var(--tx-dim); }
.page-hero h1 { font-size: clamp(2.6rem,7vw,5rem); font-weight: 800; margin: 6px 0 18px; }
.page-hero p { color: var(--tx-dim); font-size: 1.15rem; max-width: 58ch; }

/* ============================================================
   ANIMACJE
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.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; }
.reveal.d5 { transition-delay: .40s; }
.reveal.d6 { transition-delay: .48s; }

@keyframes chromeShift { 0%,100%{background-position:0 0} 50%{background-position:0 100%} }
@keyframes twinkle { 0%,100%{opacity:0;transform:scale(.4) rotate(0deg)} 50%{opacity:1;transform:scale(1) rotate(45deg)} }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes sweep { 0%{transform:translateX(-120%) skewX(-20deg)} 60%,100%{transform:translateX(320%) skewX(-20deg)} }
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }
@keyframes scrollx { to{transform:translateX(-50%)} }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.4)} 100%{box-shadow:0 0 0 26px rgba(255,255,255,0)} }
@keyframes spin { to{transform:rotate(360deg)} }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: 72px 8%; text-align: center;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 16px; }
.cta-band p { color: var(--tx-dim); max-width: 54ch; margin: 0 auto; font-size: 1.1rem; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 84px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .beam {
  position: absolute; width: 140vmax; height: 140vmax; left: 50%; top: -40%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%,rgba(42,147,255,.08),transparent 42%);
  animation: floaty 9s ease-in-out infinite;
}
.hero-bg .grid {
  position: absolute; inset: 0; opacity: .4;
  background:
    linear-gradient(transparent 96%,rgba(255,255,255,.06) 100%) 0 0/100% 60px,
    linear-gradient(90deg,transparent 96%,rgba(255,255,255,.04) 100%) 0 0/60px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%,#000,transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 30%,#000,transparent 75%);
}
.scan { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.scan::before {
  content: ""; position: absolute; top: -20%; left: 0; width: 42%; height: 140%;
  background: linear-gradient(100deg,transparent,rgba(255,255,255,.06) 45%,rgba(255,255,255,.14) 50%,rgba(255,255,255,.06) 55%,transparent);
  filter: blur(6px); animation: sweep 7.5s cubic-bezier(.6,0,.4,1) infinite;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.hero-video.ready { opacity: .5; }
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%,rgba(7,7,8,.35),rgba(7,7,8,.72) 70%),
    linear-gradient(180deg,rgba(7,7,8,.55),rgba(7,7,8,.25) 38%,var(--bg-0) 96%);
}
.spark { position: absolute; color: var(--tx-dim); filter: drop-shadow(0 0 6px rgba(255,255,255,.3)); animation: twinkle 3.4s ease-in-out infinite; opacity: 0; }
.spark svg { display: block; width: 100%; height: 100%; }
.v-spotlight { text-align: center; padding: 40px 0 90px; position: relative; z-index: 2; width: 100%; }
.v-spotlight .mark { width: min(240px,42vw); margin: 0 auto 6px; position: relative; animation: floaty 6s ease-in-out infinite; }
.v-spotlight h1 { font-size: clamp(2.8rem,8.5vw,6.4rem); font-weight: 800; margin: 10px 0 4px; }
.v-spotlight .sub-line { font-family: var(--ff-head); font-weight: 300; font-size: clamp(1.1rem,2.6vw,1.7rem); letter-spacing: .42em; text-transform: uppercase; color: var(--tx-dim); margin-bottom: 22px; }
.v-spotlight p.lede { max-width: 60ch; margin: 0 auto 36px; color: var(--tx-dim); font-size: 1.12rem; }
.reflect { margin-top: 54px; display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat b { font-family: var(--ff-head); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.stat span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-mute); }

/* ============================================================
   HOME — USŁUGI tiles
   ============================================================ */
#oferta  { padding-top: 64px; }
#galeria { padding-top: 64px; }
#proces  { padding: 40px 0; }

@media (max-width: 560px) {
  #oferta  { padding-top: 40px; }
  #galeria { padding-top: 40px; }
}

.tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.tile {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .4s, box-shadow .4s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.tile:hover { border-color: rgba(255,255,255,.22); box-shadow: 0 10px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1); }
.tile-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(.18) saturate(.45);
  transition: filter .5s;
}
.tile:hover .tile-bg { filter: brightness(.28) saturate(.65); }
.tile::after {
  content: ""; position: absolute; inset: -50%; z-index: 2;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 48%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.06) 52%, transparent 60%);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.tile:hover::after { transform: translateX(100%) skewX(-15deg); }
.tile .ph { position: absolute; inset: 0; border-radius: 0; }
.tile-inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.tile-inner img, .tile-inner svg { width: 40px; height: 40px; flex-shrink: 0; }
.tile-inner span {
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tx-dim);
  text-align: center; padding: 0 16px;
  transition: color .3s;
}
.tile:hover .tile-inner span { color: var(--tx); }

/* ============================================================
   HOME — PROCES
   ============================================================ */
.proc { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.proc-line { position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg,transparent,var(--line-2),var(--line-2),transparent); z-index: 0; }
.step { position: relative; z-index: 1; padding: 0 18px; text-align: center; }
.step .dot {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--bg-3); border: 1px solid var(--line-2);
  font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; color: var(--tx-dim);
}
.step h4 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--tx-dim); font-size: .92rem; max-width: 24ch; margin: 0 auto; }

/* ============================================================
   HOME — GALERIA TEASER
   ============================================================ */
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; gap: 10px; }
.gal a {
  position: relative; border-radius: 10px; overflow: hidden; display: block;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.gal a:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 48px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.12);
}
.gal a::after {
  content: ""; position: absolute; inset: -50%; z-index: 3;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 48%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 52%, transparent 60%);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .75s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.gal a:hover::after { transform: translateX(100%) skewX(-12deg); }
.gal a:nth-child(1) { grid-row: 1/3; }
.gal .ph { position: absolute; inset: 0; }
.gal a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.realiz-btn-mob { display: none; }

/* ============================================================
   OFERTA — lista usług
   ============================================================ */
.offer-list { display: flex; flex-direction: column; gap: 0; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 84px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: none; }
.svc-info .num { font-family: var(--ff-head); font-weight: 800; font-size: 1rem; letter-spacing: .2em; color: var(--tx-mute); margin-bottom: 18px; }
.svc-info h2 { font-size: clamp(1.8rem,3.6vw,2.7rem); margin-bottom: 16px; }
.svc-info > p { color: var(--tx-dim); font-size: 1.08rem; margin-bottom: 24px; max-width: 46ch; }
.feat { display: flex; flex-wrap: wrap; gap: 10px; }
.feat span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 500; font-size: .84rem; padding: 8px 15px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--tx-dim); }
.svc-art { position: relative; aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -50px #000; }
.svc-art .ic-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 13px; display: grid; place-items: center;
  background: rgba(8,8,10,.55); backdrop-filter: blur(8px); border: 1px solid var(--line);
  border-radius: 10px;
}
.svc-art .ic-badge svg { width: 38px; height: 38px; color: rgba(255,255,255,.75); }
.svc-art .ph { position: absolute; inset: 0; }
.svc-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   REALIZACJE — before/after + grid
   ============================================================ */
.ba { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); user-select: none; touch-action: none; }
.ba .side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ba .before { background: linear-gradient(125deg,#0a0d12,#10141b); }
.ba .after { background: linear-gradient(125deg,#17191d,#24272d 60%,#3a3e45); clip-path: inset(0 0 0 50%); }
.ba .tag { position: absolute; top: 18px; font-family: var(--ff-head); font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; border-radius: 2px; background: rgba(8,8,10,.6); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.ba .tag.l { left: 18px; color: var(--tx-dim); }
.ba .tag.r { right: 18px; color: #fff; }
.ba .lbl { color: var(--tx-mute); font-family: var(--ff-head); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ba .lbl svg { width: 38px; height: 38px; opacity: .45; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.85); transform: translateX(-1px); z-index: 3; }
.ba .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(8,8,10,.75); backdrop-filter: blur(8px); border: 1.5px solid #fff; display: grid; place-items: center; z-index: 4; cursor: ew-resize; }
.ba .knob svg { width: 22px; height: 22px; color: #fff; }
.ba .after::after { content: ""; position: absolute; inset: -30%; background: linear-gradient(115deg,transparent 42%,rgba(255,255,255,.08) 49%,rgba(255,255,255,.18) 50%,rgba(255,255,255,.08) 51%,transparent 58%); animation: sweep 8s ease-in-out infinite; }
.ba .side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.filters { display: none; }

.work-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 280px; gap: 10px; margin-top: 56px; }
.work {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.work:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 20px 50px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.work::after {
  content: ""; position: absolute; inset: -50%; z-index: 3;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 48%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 52%, transparent 60%);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .75s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.work:hover::after { transform: translateX(100%) skewX(-12deg); }
.work.w2 { grid-column: span 2; }
.work.h2 { grid-row: span 2; }
.work.hide { display: none; }
.work .ph { position: absolute; inset: 0; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 20px 22px; background: linear-gradient(to top,rgba(0,0,0,.82) 0%,transparent 100%); transition: .4s; }
.work:hover .meta { background: linear-gradient(to top,rgba(0,0,0,.95) 0%,transparent 100%); }
.work .meta h3 { font-size: 1rem; font-weight: 700; letter-spacing: .03em; }

/* ============================================================
   KONTAKT — info + formularz
   ============================================================ */
.k-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.k-info .info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 2px; border: 1px solid var(--line); background: linear-gradient(180deg,var(--bg-3),var(--bg-2)); margin-bottom: 14px; transition: .4s; }
.k-info .info-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.k-info .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 2px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: rgba(255,255,255,.7); }
.k-info .ic svg { width: 23px; height: 23px; }
.k-info .info-card h4 { font-family: var(--ff-head); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tx-mute); margin-bottom: 5px; }
.k-info .info-card a, .k-info .info-card strong { font-family: var(--ff-head); font-weight: 600; font-size: 1.12rem; color: var(--tx); display: block; }
.k-info .info-card a:hover { color: var(--blue-bright); }
.k-info .info-card p span { display: block; font-weight: 400; font-size: .92rem; color: var(--tx-dim); font-family: var(--ff-body); margin-top: 2px; }
.k-socials { display: flex; gap: 10px; margin-top: 8px; }
.k-socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 2px; border: 1px solid var(--line-2); color: var(--tx-dim); transition: .3s; }
.k-socials a:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-3px); }
.k-socials svg { width: 20px; height: 20px; }

.map-ph { margin-top: 22px; position: relative; aspect-ratio: 16/8; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-2); }
.map-ph .grid { position: absolute; inset: 0; background: linear-gradient(125deg,#0a0a0c,#0e0e11), repeating-linear-gradient(0deg,transparent 0 30px,rgba(255,255,255,.04) 30px 31px), repeating-linear-gradient(90deg,transparent 0 30px,rgba(255,255,255,.04) 30px 31px); }
.map-ph .pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-100%); z-index: 2; color: #fff; animation: floaty 3.5s ease-in-out infinite; }
.map-ph .pin svg { width: 40px; height: 40px; }
.map-ph .pulse { position: absolute; top: 46%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.4); transform: translate(-50%,-50%); animation: pulse 2.4s ease-out infinite; }
.map-ph .lbl { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--ff-head); font-size: .84rem; color: var(--tx-dim); background: rgba(8,8,10,.6); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 2px; border: 1px solid var(--line-2); }
.map-embed { margin-top: 22px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-2); }
.map-embed iframe { display: block; width: 100%; height: 280px; border: none; filter: brightness(.8) saturate(.7); }

.form-card { position: relative; padding: 38px; border-radius: 2px; border: 1px solid var(--line); background: linear-gradient(180deg,var(--bg-3),var(--bg-2)); overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.04),transparent); transform: skewX(-20deg); animation: sweep 7s ease-in-out infinite; pointer-events: none; }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--tx-dim); margin-bottom: 28px; }
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .82rem; letter-spacing: .04em; color: var(--tx-dim); margin-bottom: 8px; }
.field label .req { color: var(--tx); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 2px; border: 1px solid var(--line-2);
  background: rgba(0,0,0,.25); color: var(--tx); font-family: var(--ff-body); font-size: 1rem; transition: .3s;
}
.field select option { background: var(--bg-2); color: var(--tx); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--tx-mute); }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .err { color: #ff7a7a; font-size: .8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ff7a7a; box-shadow: 0 0 0 2px rgba(255,122,122,.15); }
.field.invalid .err { display: block; }
.form-card .submit { width: 100%; justify-content: center; margin-top: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: auto; margin-top: 3px; accent-color: var(--tx); }
.consent label { font-size: .84rem; color: var(--tx-mute); font-family: var(--ff-body); letter-spacing: 0; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 30px 10px; }
.form-success.show { display: flex; }
.form-success .check { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: #fff; margin-bottom: 20px; }
.form-success .check svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--tx-dim); }
.form-error-msg { background: rgba(255,100,100,.1); border: 1px solid rgba(255,100,100,.3); border-radius: 2px; padding: 12px 16px; color: #ff9a9a; font-size: .9rem; margin-bottom: 16px; display: none; }
.form-error-msg.show { display: block; }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav-phone, .nav-cta { display: none; }
  .burger { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1/-1; }
  .section { padding: 88px 0; }
  .tiles { grid-template-columns: 1fr 1fr 1fr; }
  .proc { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .proc-line { display: none; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2,180px); }
  .gal a:nth-child(1) { grid-row: auto; grid-column: 1/-1; }
  .svc-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .svc-art { order: -1; }
  .k-grid { grid-template-columns: 1fr; gap: 34px; }
  .realiz-btn { display: none !important; }
  .realiz-btn-mob { display: flex; justify-content: center; margin-top: 20px; }
  .realiz-btn-mob .btn { width: 100%; justify-content: center; }
  .work.w2, .work.h2 { grid-column: auto; grid-row: auto; }
  .work-grid { grid-auto-rows: 240px; }
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .work:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 28px; }
  .tiles { grid-template-columns: 1fr; gap: 3px; }
  .tile { aspect-ratio: 3/2; }
  .proc { grid-template-columns: 1fr; }
  .reflect { gap: 34px; }
  .field.row2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work:nth-child(1) { grid-column: auto; }
}
