/* ============================================================
   PATEH – main.css
   Skonsolidowany CSS ze wszystkich 12 podstron.
   ============================================================ */

/* ============================================================
   === GLOBAL ===
   Wspólne reguły: reset, :root, body, header, nav, mega menu,
   mobile-nav, footer, reveal, baseline responsive.
   Bazowy plik referencyjny: pateh-nas.html
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ──────────────────────────────────── *
 * Bazowa paleta – używana przez 10/12 podstron.
 * Strony index.html oraz klaus-multiparking.html mają własne
 * nadpisanie :root w swoich sekcjach PAGE poniżej. */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --bg:     #F2F3F5;
  --bg-2:   #EFF0F2;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --gray:   #EDEEF1;
  --cream:  #F6F7F9;

  /* spacing */
  --pad-x: 100px;
  --pad-y: 100px;
  --container: 1180px;

  /* kolory kategorii produktów (z pateh-finder.html) */
  --c-platformy:        #1E2A55;
  --c-polautomatyczny:  #F26C0F;
  --c-automatyczny:     #1E5BFF;
  --c-palety:           #7BA1C2;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  background: #FFFFFF; color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFadeIn 1.4s cubic-bezier(.22, 1, .36, 1) both;
}
/* UWAGA: nie animować 'filter' na <body> – każdy filter (nawet blur(0))
   tworzy containing block i psuje position:fixed nagłówka (menu odjeżdża
   przy scrollu). Zostaje czysty fade opacity, który tego nie powoduje. */
@keyframes pageFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}


/* ── HEADER ─────────────────────────────────────────── */
body > header {
  position: fixed; inset: 0 0 auto;
  z-index: 999; height: 80px;
  background: #14182A;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: height .3s ease, border-color .3s ease, box-shadow .3s ease;
}
body > header.scrolled {
  height: 64px;
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.6);
}
.header-inner {
  height: 100%; max-width: 1440px;
  margin: 0 auto; padding: 0 var(--pad-x);
  position: relative;
}
.logo {
  position: absolute; left: var(--pad-x); top: 50%;
  transform: translateY(-50%);
  display: inline-flex; align-items: center;
  text-decoration: none; height: 36px;
}
.logo img { height: 36px; width: auto; display: block; filter: brightness(0) invert(1); }
nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.78);
  text-decoration: none; letter-spacing: .14em;
  text-transform: uppercase; padding: 8px 0;
  transition: color .35s ease;
  cursor: pointer;
}
.nav-link .nav-mask { position: relative; display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.nav-link .nav-mask > span { display: block; transition: transform .55s cubic-bezier(.65,0,.35,1); }
.nav-link .nav-mask > span:nth-child(2) { position: absolute; top: 100%; left: 0; color: var(--orange); font-weight: 600; }
.nav-link:hover .nav-mask > span, .nav-item:hover .nav-mask > span { transform: translateY(-100%); }
.nav-link::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 0; height: 1.5px; background: var(--orange); transform: translateX(-50%); transition: width .45s cubic-bezier(.16,1,.3,1) .08s; }
.nav-link:hover::after, .nav-link.active::after, .nav-item:hover .nav-link::after { width: 100%; }
.nav-link.active { color: #fff; }
.nav-arrow { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; margin-bottom: 4px; }
.nav-item:hover .nav-arrow { transform: rotate(225deg) translate(-2px, -2px); }
.nav-submenu { position: absolute; top: calc(100% + 12px); background: #14182A; border-top: 3px solid var(--orange); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, visibility .35s, transform .35s cubic-bezier(.16,1,.3,1); z-index: 100; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.nav-item:hover .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item::after { content: ''; position: absolute; left: -16px; right: -16px; top: 100%; height: 18px; }
.nav-submenu--simple { left: 50%; transform: translateX(-50%) translateY(8px); min-width: 220px; padding: 16px 0; }
.nav-item:hover .nav-submenu--simple { transform: translateX(-50%) translateY(0); }
.nav-submenu--simple a { display: block; padding: 12px 28px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 500; letter-spacing: -.005em; text-transform: none; text-decoration: none; white-space: nowrap; transition: color .25s ease, background .25s ease, padding-left .25s ease; }
.nav-submenu--simple a:hover { color: #fff; background: rgba(244,108,15,.08); padding-left: 36px; }
.nav-submenu--mega { left: 50%; transform: translateX(-50%) translateY(8px); width: min(1320px, calc(100vw - 60px)); padding: 0; display: grid; grid-template-columns: 260px 1fr; }
.nav-item:hover .nav-submenu--mega { transform: translateX(-50%) translateY(0); }
.mega-promo { background: var(--navy-2); padding: 40px 36px; position: relative; overflow: hidden; }
.mega-promo::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 80% 110% at 50% 50%, #000 30%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse 80% 110% at 50% 50%, #000 30%, transparent 90%); pointer-events: none; }
.mega-promo > * { position: relative; z-index: 1; }
.mega-promo-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.mega-promo-eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--orange); }
.mega-promo h4 { font-size: 20px; font-weight: 700; line-height: 1.15; color: #fff; letter-spacing: -.02em; margin-bottom: 14px; }
.mega-promo p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.6); margin-bottom: 24px; letter-spacing: -.005em; }
.mega-promo-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .25s ease, gap .25s ease; }
.mega-promo-cta::after { content: '→'; font-size: 13px; }
.mega-promo-cta:hover { background: var(--orange-2); gap: 14px; }
.mega-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 4px; padding: 28px 0; }
.mega-col { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.06); }
.mega-col:last-child { border-right: none; }
.mega-col-title { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); display: block; }
.mega-col-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.mega-col-list a { display: block; padding: 7px 10px; margin: 0 -10px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.78); text-decoration: none; letter-spacing: -.005em; text-transform: none; border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.mega-col-list a:hover { border-color: rgba(244,108,15,.45); background-color: rgba(244,108,15,.06); }
.mega-col--platformy .mega-col-list { column-count: 2; column-gap: 24px; display: block; }
.header-right { position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%); }
.btn-cta { background: var(--orange); color: #fff; padding: 11px 22px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn-cta:hover { background: var(--orange-2); }


/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--navy-3);
  padding: 72px var(--pad-x) 36px;
  border-top: 3px solid var(--orange);
}
.ft-wrap { max-width: 1180px; margin: 0 auto; }
.ft-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ft-brand .logo {
  position: static; transform: none;
  display: inline-flex; align-items: center;
  margin-bottom: 26px;
  /* PNG ma ~12px wbudowanego paddingu z lewej – kompensacja, żeby
     wizualnie logo było zrównane z tekstem opisu poniżej */
  margin-left: -12px;
}
.ft-brand .logo img { height: 64px; width: auto; max-width: 100%; display: block; }
.ft-brand p {
  font-size: 15px; color: rgba(255,255,255,.55);
  line-height: 1.65; max-width: 280px;
}
.ft-col h5 {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.ft-col a, .ft-contact-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; line-height: 1.45;
  color: rgba(255,255,255,.5);
  text-decoration: none; margin-bottom: 11px;
  min-height: 22px;
  transition: color .2s; letter-spacing: -.005em;
}
.ft-col a:last-child, .ft-contact-row:last-child { margin-bottom: 0; }
.ft-col a:hover, .ft-contact-row:hover { color: #fff; }
.ft-contact-row svg {
  width: 13px; height: 13px;
  stroke: var(--orange); fill: none; stroke-width: 1.7;
  flex-shrink: 0;
}
.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
}
.ft-bottom p { font-size: 12px; color: rgba(255,255,255,.22); }


/* ── REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ═══ MOBILE NAV – hamburger + drawer ════════════════════════════ */
.hamburger { display: none; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; z-index: 1003; position: relative; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mn-backdrop { display: none; position: fixed; inset: 0; background: rgba(20,27,54,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); z-index: 1001; opacity: 0; transition: opacity .3s ease; }
.mn-backdrop.open { display: block; opacity: 1; }
.mobile-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100vw; max-width: 100vw; box-sizing: border-box; background: #14182A; z-index: 1002; transform: translateX(100%); transition: transform .45s cubic-bezier(.22,1,.36,1); padding: 84px 28px 32px; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; border-left: 3px solid var(--orange); }
.mobile-nav::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 100%); pointer-events: none; z-index: 0; }
.mobile-nav::after { content: ''; position: absolute; top: 25%; right: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(244,108,15,.12) 0%, transparent 70%); pointer-events: none; filter: blur(20px); z-index: 0; }
.mobile-nav > * { position: relative; z-index: 1; }
.mobile-nav.open { transform: translateX(0); box-shadow: -32px 0 80px -20px rgba(0,0,0,.6); }
.mobile-nav-logo { display: inline-flex; height: 32px; margin-bottom: 28px; }
.mobile-nav-logo img { height: 32px; filter: brightness(0) invert(1); }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1); counter-reset: navcount; }
.mobile-nav-list li { border-bottom: 1px solid rgba(255,255,255,.1); counter-increment: navcount; opacity: 0; transform: translateX(24px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.mobile-nav.open .mobile-nav-list li { opacity: 1; transform: translateX(0); }
.mobile-nav.open .mobile-nav-list li:nth-child(1) { transition-delay: .12s; }
.mobile-nav.open .mobile-nav-list li:nth-child(2) { transition-delay: .18s; }
.mobile-nav.open .mobile-nav-list li:nth-child(3) { transition-delay: .24s; }
.mobile-nav.open .mobile-nav-list li:nth-child(4) { transition-delay: .30s; }
.mobile-nav.open .mobile-nav-list li:nth-child(5) { transition-delay: .36s; }
.mobile-nav.open .mobile-nav-list li:nth-child(6) { transition-delay: .42s; }
.mobile-nav.open .mobile-nav-list li:nth-child(7) { transition-delay: .48s; }
.mobile-nav.open .mobile-nav-list li:nth-child(8) { transition-delay: .54s; }
.mobile-nav-list a { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 0; color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; letter-spacing: -.012em; transition: color .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.mobile-nav-list a::before { content: counter(navcount, decimal-leading-zero); font-size: 10px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.32); min-width: 32px; font-variant-numeric: tabular-nums; transition: color .35s ease; }
/* orange accent bar – sygnatura strony (jak w zakres / certyfikaty / milestones) */
.mobile-nav-list a::after { content: ''; position: absolute; left: -16px; top: 50%; width: 2px; height: 0; background: var(--orange); transform: translateY(-50%); transition: height .45s cubic-bezier(.16,1,.3,1); }
.mobile-nav-list a:hover, .mobile-nav-list a.active { color: var(--orange); transform: translateX(10px); }
.mobile-nav-list a:hover::after, .mobile-nav-list a.active::after { height: 22px; }
.mobile-nav-list a:hover::before, .mobile-nav-list a.active::before { color: var(--orange); }
.mobile-nav-foot { margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-foot a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; letter-spacing: -.005em; }
.mobile-nav-foot a:hover { color: #fff; }
.mobile-nav-cta { margin-top: 16px; padding: 14px 18px; background: var(--orange); color: #fff !important; font-size: 12px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.mobile-nav-cta:hover { background: var(--orange-2); }
body.mn-locked { overflow: hidden; }


/* ============================================================
   === PAGE: HOME (index.html) ===
   ============================================================ */
:root {
  --navy:   #23283C;
  --navy-2: #1C2034;
  --navy-3: #161928;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --bg:     #F2F3F5;
  --line:   rgba(255,255,255,.07);
  --txt-dim: rgba(255,255,255,.5);
  --txt-mid: rgba(255,255,255,.65);

  /* spacing */
  --pad-x: 100px;
  --pad-y: 100px;
  --container: 1180px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  background: #fff; color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageFadeIn 1.4s cubic-bezier(.22, 1, .36, 1) both;
}


/* ════════════════════════════════════════════════════════
   HERO – worm's-eye skyscrapers, left-aligned, premium
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  contain: layout paint;
  min-height: 75vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px var(--pad-x) 80px;
  background: var(--navy-3);
  overflow: hidden;
}

/* orange edge accent */
.hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange); z-index: 5;
}

/* background photo – set via inline <script> per-page from PHP.
   Bez filtru – zdjęcie w naturalnych kolorach, bez efektu "szkła". */
.hero-bg {
  position: absolute; inset: 0;
  background-color: var(--navy-3);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: bg-zoom 22s ease-out infinite alternate;
}
@keyframes bg-zoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.08); }
}

/* Lekki overlay tylko po lewej dla czytelności H1 – znacznie subtelniejszy */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(22,25,40,.55) 0%,
      rgba(22,25,40,.25) 35%,
      rgba(22,25,40,0)   65%);
}

/* Grain wyłączone – zostawione w DOM, ale niewidoczne. */
.hero-grain {
  display: none;
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--container);
}
.hero-content {
  max-width: 720px;
  animation: fade-up .9s cubic-bezier(.16,1,.3,1) .1s both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 30px;
}
.eyebrow i {
  display: block; width: 32px; height: 1.5px;
  background: var(--orange); flex-shrink: 0;
}
.eyebrow span {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--orange);
}
.hero .eyebrow span { color: var(--orange); }
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  color: #fff; margin-bottom: 30px;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero h1 em {
  font-style: normal; color: var(--orange);
  font-weight: 800;
  display: inline-block;
  position: relative;
}
.hero h1 .word {
  display: inline-block;
  animation: word-rise .9s cubic-bezier(.16,1,.3,1) both;
}
.hero h1 .word:nth-child(1) { animation-delay: .15s; }
.hero h1 .word:nth-child(2) { animation-delay: .3s; }
.hero h1 .word:nth-child(3) { animation-delay: .45s; }
@keyframes word-rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  margin-bottom: 44px; max-width: 540px;
  letter-spacing: -.012em;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }


/* scroll indicator at bottom */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.4);
  font-size: 10px; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  animation: fade-up 1.2s cubic-bezier(.16,1,.3,1) .8s both;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: -36px; left: 0; right: 0; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
  animation: scroll-drop 2.4s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { transform: translateY(0); }
  100% { transform: translateY(72px); }
}


/* Buttons */
.btn-solid, .btn-ghost, .btn-solid-dark, .btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 0;
  font-size: 11.5px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all .2s;
  white-space: nowrap;
}
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-2); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.04);
}


/* ════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════ */
.stats {
  position: relative;
  z-index: 1;
  isolation: isolate;
  contain: layout paint;
  background: var(--navy);
  display: flex; justify-content: center;
  overflow: hidden;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; max-width: var(--container);
}
.stat {
  position: relative;
  padding: 36px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat:last-child { border-right: none; }
.stat-num {
  position: relative;
  display: inline-block;
  font-size: 40px; font-weight: 800;
  color: #fff; line-height: 1;
  margin-bottom: 14px; letter-spacing: -.025em;
  transform-origin: center bottom;
}
.stat-num::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 0; height: 2px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.stats-inner.in .stat-num::after { width: 36px; }
.stat-num.pop {
  animation: stat-pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes stat-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); color: var(--orange); }
  100% { transform: scale(1); }
}
.stat-label {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}


/* Fade-in całej strony głównej + serwisu przy ładowaniu */
@media (prefers-reduced-motion: no-preference) {
  body.home,
  body.page-id-21 { animation: pateh-page-fade .7s ease both; }
}
@keyframes pateh-page-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* shimmer sweep across stats bar on reveal */
.stats { position: relative; overflow: hidden; }
.stats::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(244,108,15,.08) 50%,
    transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
}
.stats-inner.in ~ .stats-shimmer,
.stats:has(.stats-inner.in)::after {
  animation: shimmer-sweep 1.8s cubic-bezier(.16,1,.3,1) .2s forwards;
}
@keyframes shimmer-sweep {
  to { transform: translateX(100%); }
}


/* ════════════════════════════════════════════════════════
   SECTION SHARED
   ════════════════════════════════════════════════════════ */
.sec {
  padding: var(--pad-y) var(--pad-x);
  display: flex; justify-content: center;
}
.sec-inner {
  width: 100%; max-width: var(--container);
}
.h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 56px;
}
.h2 em { font-style: normal; color: var(--orange); font-weight: 800; }
.h2-tight { margin-bottom: 18px; }
.eyebrow.mb { margin-bottom: 20px; }


/* ════════════════════════════════════════════════════════
   SERVICES – Editorial × Swiss premium
   ════════════════════════════════════════════════════════ */
.services-pro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 120px 0 140px;
  background: #EFF0F2;
  overflow: hidden;
}
.services-pro-bg {
  display: none;
}
.services-pro-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1440px;
  margin: 0 auto; padding: 0 var(--pad-x);
}


/* Header */
.services-pro-header {
  margin: 0 0 100px 0;
  padding: 0;
  max-width: 720px;
  position: relative;
  z-index: 10;
  background: transparent;
}
.services-pro-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0;
  padding: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
.services-pro-h2 em {
  font-style: normal; color: var(--orange); font-weight: 800;
}
.services-pro-header-right {
  display: flex; gap: 32px; align-items: flex-start;
  padding-bottom: 12px;
}
.services-pro-marker {
  flex-shrink: 0;
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 16px;
}
.services-pro-marker-num {
  display: block;
  font-size: 44px; font-weight: 800;
  color: var(--navy); line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.services-pro-marker-lbl {
  display: block;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(35,40,60,.5);
  line-height: 1.5;
}
.services-pro-lead {
  font-size: 16px; line-height: 1.75;
  color: rgba(35,40,60,.65);
  margin: 0; max-width: 420px;
}


/* Block */
.services-pro-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 680px;
  box-shadow:
    0 30px 80px -20px rgba(22,25,40,.25),
    0 60px 120px -40px rgba(22,25,40,.15);
}


/* Left: navy panel */
.services-pro-panel {
  background: var(--navy);
  padding: 48px 48px 40px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.services-pro-panel::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(244,108,15,.2));
}
.services-pro-panel::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 0% 100%, rgba(244,108,15,.08), transparent 60%);
}
.services-pro-panel-top {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
  position: relative; z-index: 2;
}
.services-pro-step {
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.services-pro-step strong {
  color: var(--orange); font-weight: 700;
}
.services-pro-brand {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.services-pro-brand-line {
  display: block; width: 28px; height: 1.5px;
  background: var(--orange);
}
.services-pro-progress {
  flex: 1; height: 1px;
  background: rgba(255,255,255,.1);
  position: relative;
}
.services-pro-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 25%; background: var(--orange);
  transition: width .6s cubic-bezier(.16,1,.3,1);
}
.services-pro-tabs {
  flex: 1;
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
}
.tab-pro {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 14px 0;
  cursor: pointer;
  transition: padding .2s ease-out;
}
.tab-pro:last-child { border-bottom: 1px solid rgba(255,255,255,.07); }
.tab-pro.active { padding: 18px 0 22px; }


/* fixed row height = no vertical jump when num/title scale */
.tab-pro-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

/* fixed slot for the number = no horizontal shift of title */
.tab-pro-num {
  flex-shrink: 0;
  width: 64px;
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,.25);
  letter-spacing: -.02em;
  line-height: 1;
  transition: font-size .2s ease-out,
              color .2s ease-out,
              font-weight .2s ease-out,
              letter-spacing .2s ease-out;
}
.tab-pro.active .tab-pro-num {
  font-size: 30px; color: var(--orange);
  font-weight: 800; letter-spacing: -.04em;
}
.tab-pro-title {
  flex: 1;
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0;
  transition: font-size .2s ease-out,
              color .2s ease-out,
              font-weight .2s ease-out,
              letter-spacing .2s ease-out;
}
.tab-pro.active .tab-pro-title {
  font-size: 23px; font-weight: 700;
  color: #fff; letter-spacing: -.02em;
}
.tab-pro-arrow {
  font-size: 16px;
  color: rgba(255,255,255,.25);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
  transform: translateX(-4px);
  opacity: 0;
}
.tab-pro:hover:not(.active) .tab-pro-arrow {
  opacity: 1; transform: translateX(0);
  color: var(--orange);
}
.tab-pro.active .tab-pro-arrow { display: none; }
.tab-pro:hover:not(.active) .tab-pro-title { color: rgba(255,255,255,.8); }
.tab-pro:hover:not(.active) .tab-pro-num { color: rgba(244,108,15,.6); }


/* Body: opens height first, text fades in later. Closes text first, then height. */
.tab-pro-body {
  margin-top: 0; max-height: 0; opacity: 0;
  overflow: hidden;
  padding-left: 84px;
  transition: max-height .2s ease-out,
              opacity .12s ease,
              margin-top .2s ease-out;
}
.tab-pro.active .tab-pro-body {
  margin-top: 18px; max-height: 340px; opacity: 1;
  transition: max-height .2s ease-out,
              opacity .18s ease .08s,
              margin-top .2s ease-out;
}
.tab-pro-desc {
  font-size: 14.5px; line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin: 0 0 22px; max-width: 380px;
}
.tab-pro-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0; margin: 0;
}
.tab-pro-stats li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px 12px 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.tab-pro-stats li:last-child { border-right: none; }
.tab-pro-stats li:not(:first-child) { padding-left: 16px; }
.tab-pro-stats span {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.tab-pro-stats strong {
  font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: -.01em;
}


/* Right: visual canvas */
.services-pro-visual {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

/* orange line that draws on tab hover */
.services-pro-visual::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(244,108,15,.6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.65,0,.35,1);
  z-index: 4;
  pointer-events: none;
}
.services-pro-block:has(.tab-pro:hover) .services-pro-visual::after {
  transform: scaleX(1);
}
.services-pro-images {
  position: absolute; inset: 0;
}
.services-pro-images img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1),
              transform 6s cubic-bezier(.16,1,.3,1);
}
.services-pro-images img.on {
  opacity: 1;
  transform: scale(1.0);
}
.services-pro-visual-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,25,40,.45) 0%, rgba(22,25,40,.15) 30%, rgba(22,25,40,.35) 70%, rgba(22,25,40,.85) 100%),
    linear-gradient(90deg, rgba(22,25,40,.4) 0%, transparent 50%);
}

/* corner accents */
.services-pro-visual-bl {
  position: absolute; z-index: 3;
  bottom: 40px; left: 40px; max-width: 60%;
  display: flex; flex-direction: column; gap: 10px;
}
.visual-caption-title {
  font-size: 32px; font-weight: 700;
  color: #fff; letter-spacing: -.025em;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.services-pro-visual-cta {
  position: absolute; bottom: 40px; right: 40px; z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: all .3s ease;
}
.services-pro-visual-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.cta-arrow {
  display: inline-block;
  transition: transform .3s ease;
}
.services-pro-visual-cta:hover .cta-arrow {
  transform: translateX(4px);
}


/* Mobile */
@media (max-width: 1024px) {
  .services-pro { padding: 100px 0 120px; }
  .services-pro-header { grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
  .services-pro-block { grid-template-columns: 1fr; }
  .services-pro-panel { padding: 32px 28px; }
  .services-pro-visual { min-height: 420px; }
  .tab-pro.active .tab-pro-num { font-size: 44px; }
  .tab-pro.active .tab-pro-title { font-size: 20px; }
  .visual-caption-title { font-size: 22px; }
}
@media (max-width: 640px) {
  .tab-pro-body { padding-left: 0; }
  .tab-pro-stats { grid-template-columns: 1fr; gap: 6px; }
  .tab-pro-stats li { padding: 8px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); flex-direction: row; justify-content: space-between; align-items: center; }
  .tab-pro-stats li:not(:first-child) { padding-left: 0; }
  .services-pro-visual { display: none; }
  .services-pro { padding: 56px 0 64px; }
  .services-pro-header { margin-bottom: 32px; }
  .kontakt { padding: 64px 24px; }
}


/* ════════════════════════════════════════════════════════
   FOR PROS – Editorial × Swiss premium
   ════════════════════════════════════════════════════════ */
.for-pros-pro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 48px 0 96px;
  background: var(--navy-2);
  overflow: hidden;
}
.for-pros-pro-bg {
  position: absolute; inset: 0;
  background-color: var(--navy-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(.55) saturate(.7) contrast(1.05);
}
.for-pros-pro-fx {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28,32,52,.78) 0%, rgba(28,32,52,.55) 35%, rgba(28,32,52,.55) 65%, rgba(28,32,52,.85) 100%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(244,108,15,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(244,108,15,.06), transparent 60%);
}
.for-pros-pro-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1440px;
  margin: 0 auto; padding: 0 var(--pad-x);
}


/* Header */
.fp-pro-header {
  margin: 0 0 112px 0;
  padding: 0;
  max-width: 720px;
  position: relative;
  z-index: 10;
  background: transparent;
}
.fp-pro-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0;
  padding: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
.fp-pro-h2 em {
  font-style: normal; font-weight: 800;
  display: inline-block;
  color: var(--orange);
}


/* ── Premium reveal choreography ─────────────────────── */

/* Eyebrow – line draws, text slides in from left */
.fp-pro-header.reveal .eyebrow i {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.65,0,.35,1);
}
.fp-pro-header.reveal .eyebrow span {
  opacity: 0;
  transform: translateX(-14px);
  display: inline-block;
  transition: opacity .7s ease .25s,
              transform .8s cubic-bezier(.16,1,.3,1) .25s;
}
.fp-pro-header.reveal.in .eyebrow i { transform: scaleX(1); }
.fp-pro-header.reveal.in .eyebrow span {
  opacity: 1;
  transform: translateX(0);
}


/* H2 – slide up + letter-spacing settle from loose to tight */
.fp-pro-header.reveal .fp-pro-h2 {
  opacity: 0;
  transform: translateY(24px);
  letter-spacing: -.005em;
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1) .3s,
              transform 1.1s cubic-bezier(.16,1,.3,1) .3s,
              letter-spacing 1.4s cubic-bezier(.16,1,.3,1) .3s;
}
.fp-pro-header.reveal.in .fp-pro-h2 {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: -.03em;
}


/* "profesjonalistów" – delayed color reveal (last accent) */
.fp-pro-header.reveal .fp-pro-h2 em {
  color: rgba(255,255,255,.25);
  transition: color 1.1s ease 1.1s;
}
.fp-pro-header.reveal.in .fp-pro-h2 em {
  color: var(--orange);
}


/* Cards – blur + scale + slide stagger */
.fp-pro-cards.reveal-stagger > .fp-pro-card {
  opacity: 0;
  transform: translateY(36px) scale(.96);
  filter: blur(8px);
  will-change: transform, opacity, filter;
  transition: opacity 1s cubic-bezier(.16,1,.3,1),
              transform 1.1s cubic-bezier(.16,1,.3,1),
              filter .9s cubic-bezier(.16,1,.3,1);
}
.fp-pro-cards.reveal-stagger.in > .fp-pro-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.fp-pro-cards.reveal-stagger.in > *:nth-child(1) { transition-delay: .45s; }
.fp-pro-cards.reveal-stagger.in > *:nth-child(2) { transition-delay: .6s; }
.fp-pro-cards.reveal-stagger.in > *:nth-child(3) { transition-delay: .75s; }
.fp-pro-header-aside {
  display: flex; flex-direction: column; gap: 28px;
  padding-bottom: 12px;
}
.fp-pro-lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  margin: 0;
  max-width: 460px;
}
.fp-pro-signature {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  width: fit-content;
}
.fp-pro-signature-line {
  display: block; width: 28px; height: 1.5px;
  background: var(--orange);
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.fp-pro-signature:hover .fp-pro-signature-line { width: 48px; }
.fp-pro-signature-arrow { transition: transform .3s ease; }
.fp-pro-signature:hover .fp-pro-signature-arrow { transform: translateX(4px); }


/* Cards grid */
.fp-pro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fp-pro-card {
  position: relative;
  background: rgba(22,25,40,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.10);
  padding: 40px 36px 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: background .35s ease, border-color .35s ease;
}
.fp-pro-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.fp-pro-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.fp-pro-card:hover::before { transform: scaleX(1); }


/* Watermark */
.fp-pro-watermark {
  position: absolute;
  right: 28px; bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 180px;
  font-weight: 900;
  color: rgba(244,108,15,.05);
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
  transition: color .4s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.fp-pro-card:hover .fp-pro-watermark {
  color: rgba(244,108,15,.10);
  transform: translateX(-6px);
}


/* Head */
.fp-pro-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.fp-pro-card-icon {
  width: 50px; height: 50px;
  background: rgba(244,108,15,.10);
  border: 1px solid rgba(244,108,15,.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease;
}
.fp-pro-card:hover .fp-pro-card-icon {
  background: rgba(244,108,15,.18);
  border-color: rgba(244,108,15,.4);
}
.fp-pro-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--orange);
}
.fp-pro-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
}
.fp-pro-card-idx {
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
}
.fp-pro-card-dot {
  display: block; width: 3px; height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
}
.fp-pro-card-lbl { color: var(--orange); }


/* Title + tagline */
.fp-pro-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px; font-weight: 700;
  color: #fff;
  letter-spacing: -.022em;
  line-height: 1.1;
  margin: 0 0 12px;
  position: relative; z-index: 1;
}
.fp-pro-card-tagline {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.72);
  margin: 0 0 26px;
  max-width: 320px;
  position: relative; z-index: 1;
}


/* Bullet list */
.fp-pro-card-list {
  list-style: none; padding: 0;
  margin: 0 0 26px;
  position: relative; z-index: 1;
}
.fp-pro-card-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 14.5px; line-height: 1.5;
  color: rgba(255,255,255,.82);
  letter-spacing: -.005em;
}
.fp-pro-card-list li::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 10px;
}


/* Stat */
.fp-pro-card-stat {
  display: flex; align-items: baseline; gap: 12px;
  padding-top: 22px;
  margin-top: auto;
  margin-bottom: 20px;
  border-top: 1px solid rgba(244,108,15,.22);
  position: relative; z-index: 1;
}
.fp-pro-card-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 34px; font-weight: 800;
  color: rgba(255,255,255,.45);
  letter-spacing: -.03em;
  line-height: 1;
  transition: color .35s ease;
}
.fp-pro-card:hover .fp-pro-card-stat-num {
  color: var(--orange);
}
.fp-pro-card-stat-lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  max-width: 150px;
}


/* CTA – outline button */
.fp-pro-card-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.40);
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
  position: relative; z-index: 1;
}
.fp-pro-card-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.fp-pro-card-cta .cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.fp-pro-card-cta:hover .cta-arrow { transform: translateX(4px); }


/* Mobile */
@media (max-width: 1024px) {
  .for-pros-pro { padding: 100px 0 120px; }
  .fp-pro-header { grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
  .fp-pro-cards { grid-template-columns: 1fr; gap: 14px; }
  .fp-pro-card { min-height: auto; padding: 32px 28px; }
  .fp-pro-watermark { font-size: 140px; }
}


/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.testimonials {
  background: #fff;
  position: relative;
  z-index: 1;
  isolation: isolate;
  contain: layout paint;
  overflow: hidden;
}
.tst-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 80px; align-items: center;
}
.tst-nav {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px;
}
.tst-btn {
  width: 40px; height: 40px; border-radius: 0;
  border: 1px solid rgba(35,40,60,.2);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.tst-btn:hover { background: var(--navy); border-color: var(--navy); }
.tst-btn:hover svg { stroke: #fff; }
.tst-btn svg {
  width: 12px; height: 12px;
  stroke: var(--navy); fill: none; stroke-width: 2;
}
.tst-count {
  font-size: 12px; color: #999;
  font-weight: 500; margin-left: 6px;
  letter-spacing: .05em;
}
.tst-dots { display: flex; gap: 5px; margin-top: 20px; }
.dot {
  height: 2px; border-radius: 2px;
  background: var(--orange); width: 22px;
  transition: all .3s;
}
.dot.off { background: rgba(35,40,60,.12); width: 8px; }
.tst-quote {
  font-size: 22px; font-weight: 400;
  line-height: 1.6; color: var(--navy);
  margin-bottom: 36px; letter-spacing: -.018em;
}
.tst-author { display: flex; align-items: center; gap: 16px; }
.tst-bar {
  width: 2px; height: 44px;
  background: var(--orange); border-radius: 2px; flex-shrink: 0;
}
.tst-name {
  font-size: 16px; font-weight: 600;
  color: var(--navy); letter-spacing: -.01em;
}
.tst-role {
  font-size: 13.5px; color: #888;
  margin-top: 4px; letter-spacing: -.005em;
}


/* ════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════ */
.cta {
  background: var(--bg);
  padding-top: 80px; padding-bottom: 80px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  contain: layout paint;
  overflow: hidden;
}


/* ════════════════════════════════════════════════════════
   KONTAKT – minimalna sekcja, plain block layout
   ════════════════════════════════════════════════════════ */
.kontakt {
  background: #1C2034;
  padding: 120px 24px;
  text-align: center;
}
.kontakt__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.kontakt__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: #F26C0F;
  margin: 0 0 24px 0;
}
.kontakt__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 20px 0;
}
.kontakt__title span {
  color: #F26C0F;
  position: relative;
  display: inline-block;
}
.reveal-stagger.in .kontakt__title span {
  animation: kontakt-highlight 1.2s cubic-bezier(.16,1,.3,1) .8s both;
}
@keyframes kontakt-highlight {
  0%   { opacity: .5; transform: translateY(8px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.kontakt__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 40px 0;
}
.kontakt__buttons {
  display: block;
}
.kontakt__btn-primary,
.kontakt__btn-secondary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 6px 12px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.kontakt__btn-primary {
  background: #F26C0F;
  color: #fff;
  border: 1px solid #F26C0F;
}
.kontakt__btn-primary:hover {
  background: #D85A05;
  border-color: #D85A05;
}
.kontakt__btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.kontakt__btn-secondary:hover {
  border-color: #fff;
}
.cta-inner-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.cta-right p {
  font-size: 15px; color: #5a5d6b;
  line-height: 1.75; margin-bottom: 28px;
  letter-spacing: -.005em;
  max-width: 380px;
}
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-solid-dark { background: var(--orange); color: #fff; }
.btn-solid-dark:hover { background: var(--orange-2); }
.btn-ghost-dark {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(35,40,60,.2);
}
.btn-ghost-dark:hover { border-color: var(--navy); }


/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
footer {
  background: var(--navy-3);
  padding: 72px var(--pad-x) 36px;
  display: flex; justify-content: center;
  border-top: 3px solid var(--orange);
}
.ft-wrap { width: 100%; max-width: var(--container); }
.ft-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px; padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.ft-brand .logo {
  display: inline-flex; align-items: center;
  margin-bottom: 26px; margin-left: -12px;
}
.ft-brand p {
  font-size: 15px; color: rgba(255,255,255,.55);
  line-height: 1.65; max-width: 280px;
  letter-spacing: -.005em;
}
.ft-bottom p {
  font-size: 12px; color: rgba(255,255,255,.22);
  letter-spacing: -.005em;
}
.ft-credit {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .25s ease;
}
.ft-credit:hover { color: var(--orange); }


/* ════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .3s; }


/* stats hover */
.stat {
  transition: transform .4s cubic-bezier(.16,1,.3,1),
              background .35s ease;
  cursor: default;
}
.stat::before {
  content: '';
  position: absolute; left: 50%; top: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width 1.1s cubic-bezier(.16,1,.3,1);
}
.stat:hover {
  transform: translateY(-4px);
  background: rgba(244,108,15,.04);
}
.stat:hover::before { width: 60%; }
.stat:hover .stat-num { color: var(--orange); }
.stat:hover .stat-num::after { width: 60px; background: var(--orange); }
.stat:hover .stat-label { color: rgba(255,255,255,.8); }
.stat-num {
  transition: color .3s ease;
}
.stat-num.counting::after {
  content: ''; display: inline-block;
}


/* tab transitions */
.tab { transition: all .3s cubic-bezier(.16,1,.3,1); }
.tab .tab-name { transition: color .3s; }
.tab-desc {
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .35s ease, max-height .4s ease;
}
.tab.active .tab-desc {
  opacity: 1; max-height: 120px;
}


/* button micro-interactions */
.btn-solid, .btn-solid-dark {
  position: relative; overflow: hidden;
}
.btn-solid::before, .btn-solid-dark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn-solid:hover::before, .btn-solid-dark:hover::before {
  transform: translateX(100%);
}
.btn-solid > *, .btn-solid-dark > * {
  position: relative; z-index: 1;
}


/* image hover */
.svc-img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-img { transform: scale(1.03); }


/* arrow animation in buttons */
.btn-solid, .btn-ghost, .btn-solid-dark, .btn-ghost-dark, .fp-link {
  --arrow-shift: 0px;
}
.btn-solid:hover, .btn-solid-dark:hover { --arrow-shift: 4px; }


/* respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-bg { animation: none; }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --pad-x: 60px; --pad-y: 80px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; --pad-y: 64px; }
  body > header { height: 68px; }
  .header-inner {
    padding: 0 24px;
    grid-template-columns: 1fr auto;
  }
  nav { display: none; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero-scroll { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .svc {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .svc-img { min-height: 240px; order: -1; }
  .fp-grid { grid-template-columns: 1fr; gap: 40px; }
  .tst-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 56px 24px 28px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: O NAS (pateh-nas.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --bg:     #F2F3F5;
  --bg-2:   #EFF0F2;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #23283C;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }


/* ── SHARED ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--orange); flex-shrink: 0;
}
.link-arrow {
  display: inline-flex; align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  transition: background .35s ease,
              color .35s ease,
              border-color .35s ease,
              gap .3s ease,
              box-shadow .35s ease;
}
.link-arrow::after {
  content: '→';
  font-size: 14px;
  transition: transform .3s ease;
}
.link-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  gap: 18px;
  box-shadow: 0 12px 28px -12px rgba(244,108,15,.55);
}
.link-arrow:hover::after { transform: translateX(4px); }


/* Dark-background variant */
.klaus .link-arrow,
.hero-on .link-arrow {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.klaus .link-arrow:hover,
.hero-on .link-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}


/* ════════════════════════════════════════════════════════
   1. HERO – full-bleed editorial portal
   ════════════════════════════════════════════════════════ */
.hero-on {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 80px 0 0;
  background: var(--navy-3);
  color: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-on-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background-color: var(--navy-3);
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.92) 0%, rgba(20,24,42,.72) 45%, rgba(20,24,42,.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(20,24,42,.85) 100%);
  background-size: cover;
  background-position: center right;
}
.hero-on-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(244,108,15,.10), transparent 70%);
  pointer-events: none;
}
.hero-on::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.hero-on-inner {
  position: relative; z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 144px var(--pad-x) 192px;
  display: flex; flex-direction: column;
}
.hero-on-body { max-width: 880px; }
.hero-on-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}
.hero-on-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.hero-on h1 {
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 800; line-height: .9;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-on h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-on-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  letter-spacing: -.012em;
}


/* ════════════════════════════════════════════════════════
   2. INTRO – editorial premium spread
   ════════════════════════════════════════════════════════ */
.intro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 180px 0 160px;
  background: #FFFFFF;
  overflow: hidden;
}
.intro-rule {
  position: absolute;
  top: 110px; left: var(--pad-x); right: var(--pad-x);
  height: 1px; background: var(--line-2);
  z-index: 1;
}
.intro-rule::before {
  content: '01';
  position: absolute;
  right: 0; top: -8px;
  background: #fff;
  padding: 0 0 0 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .28em;
  color: var(--orange);
}
.intro-rule::after {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 64px; height: 3px;
  background: var(--orange);
}
.intro-wrap {
  position: relative; z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 96px;
  align-items: stretch;
}
.intro-text {
  display: flex; flex-direction: column;
  padding-top: 24px;
  max-width: 560px;
}
.intro-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 40px;
}
.intro-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.intro h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: 40px;
}
.intro h2 em { font-style: normal; color: var(--orange); }
.intro-lead {
  position: relative;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -.018em;
  padding-top: 32px;
  margin-bottom: 36px;
  max-width: 580px;
}
.intro-lead::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 3px;
  background: var(--orange);
}
.intro-lead::first-line {
  /* subtle: first line slightly tighter */
  letter-spacing: -.02em;
}
.intro-body p {
  font-size: 16px; line-height: 1.72;
  color: var(--txt-2);
  letter-spacing: -.005em;
  margin-bottom: 18px;
}
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin: 36px 0 40px;
}
.intro-meta-row {
  padding: 18px 0;
  border-right: 1px solid var(--line-2);
}
.intro-meta-row:last-child { border-right: none; }
.intro-meta-row:not(:first-child) { padding-left: 20px; }
.intro-meta-row dt {
  font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 6px;
}
.intro-meta-row dd {
  font-size: 14.5px; font-weight: 600;
  color: var(--navy);
  letter-spacing: -.005em;
}
.intro-text .link-arrow { align-self: flex-start; }


/* The photograph – bleeds to right viewport edge */
.intro-image {
  position: relative;
  aspect-ratio: 5/4;
  align-self: center;
  background-image:
    linear-gradient(180deg, transparent 55%, rgba(22,25,40,.7) 100%),
    url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1600&q=90');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-right: calc(-1 * var(--pad-x));
}
@media (min-width: 1441px) {
  .intro-image {
    margin-right: calc(-1 * (var(--pad-x) + (100vw - 1440px) / 2));
  }
}
.intro-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,25,40,.05) 0%, transparent 30%, rgba(22,25,40,.5) 100%);
  pointer-events: none;
}
.intro-image-caption {
  position: absolute;
  bottom: 28px; left: 32px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.intro-image-caption::before {
  content: ''; display: block; width: 22px; height: 1.5px;
  background: var(--orange);
}


/* ════════════════════════════════════════════════════════
   3. WARTOŚCI – dark navy tabbed panel (kompaktowy)
   ════════════════════════════════════════════════════════ */
.values {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 100px var(--pad-x);
  background: #1F2545;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.values::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(244,108,15,.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(244,108,15,.06), transparent 60%);
  z-index: 0;
}
.values::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.values-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
}
.values-head {
  margin-bottom: 48px;
}
.values-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.values-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}


/* Tabbed dark panel – matches screen reference */
.values-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 64px;
  align-items: stretch;
}


/* Left – numbered tab list */
.values-list {
  list-style: none;
  display: flex; flex-direction: column;
}
.value-tab {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 0 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: padding-left .4s cubic-bezier(.16,1,.3,1);
}
.value-tab:last-child { border-bottom: none; }
.value-tab::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.value-tab.active::before { transform: scaleY(1); }
.value-tab.active { padding-left: 36px; }
.value-tab-num {
  font-size: 13px; font-weight: 600;
  letter-spacing: .24em;
  color: rgba(255,255,255,.35);
  font-variant-numeric: tabular-nums;
  transition: color .35s ease;
}
.value-tab.active .value-tab-num { color: var(--orange); }
.value-tab-name {
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: -.018em;
  transition: color .35s ease;
}
.value-tab:hover .value-tab-name,
.value-tab.active .value-tab-name { color: #fff; }


/* Right – content panel with photo bg */
.values-content {
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  min-height: 420px;
}
.values-content::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px; background: var(--orange);
  z-index: 3;
}
.values-content { min-height: 420px; }
.value-panel {
  position: absolute;
  inset: 0;
  padding: 36px 44px 44px;
  background-color: rgba(255,255,255,.03);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1);
}
.value-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,42,.55) 0%, rgba(20,24,42,.92) 100%);
  z-index: 0;
}
.value-panel > * { position: relative; z-index: 1; }
.value-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.value-panel[data-panel="1"] { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200&q=85'); }
.value-panel[data-panel="2"] { background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1200&q=85'); }
.value-panel[data-panel="3"] { background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1200&q=85'); }
.value-panel[data-panel="4"] { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1200&q=85'); }
.value-panel-meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.value-panel-meta::before {
  content: ''; display: block; width: 18px; height: 1.5px;
  background: var(--orange);
}
.value-panel-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  margin: 0;
}
@media (max-width: 900px) {
  .values-panel { grid-template-columns: 1fr; gap: 36px; }
  .values-content { min-height: 0; padding: 36px 28px; }
}


/* ════════════════════════════════════════════════════════
   4. KLAUS – DARK partnership
   ════════════════════════════════════════════════════════ */
.klaus {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 140px var(--pad-x);
  background: var(--navy-2);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.klaus-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(28,32,52,.95) 0%, rgba(28,32,52,.75) 50%, rgba(28,32,52,.95) 100%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(244,108,15,.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(244,108,15,.05), transparent 60%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2000&q=85');
  background-size: cover;
  background-position: center;
}
.klaus-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.klaus-body { color: #fff; }
.klaus-body .eyebrow { margin-bottom: 28px; }
.klaus-body h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 32px;
}
.klaus-body h2 em { font-style: normal; color: var(--orange); }
.klaus-body p {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,.72);
  margin-bottom: 20px;
}
.klaus-body p:last-of-type { margin-bottom: 32px; }
.klaus-card {
  background: #14182A;
  border: 1px solid rgba(255,255,255,.08);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  aspect-ratio: 5/4;
}
.klaus-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
}
.klaus-card-brand {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.klaus-card-sub {
  font-size: 22px; font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: -.015em;
  margin-bottom: 32px;
}
.klaus-card-line {
  width: 36px; height: 2px;
  background: var(--orange);
  margin-bottom: 18px;
}
.klaus-card-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}


/* ════════════════════════════════════════════════════════
   5. TEAM – editorial split with portrait
   ════════════════════════════════════════════════════════ */
.team {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 160px var(--pad-x);
  background: #FFFFFF;
  overflow: hidden;
}
.team-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Three vertical portraits – staggered */
.team-image {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
.team-pin {
  position: relative;
  aspect-ratio: 4/7;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.team-pin:nth-child(1) { margin-top: 0; }
.team-pin:nth-child(2) { margin-top: 64px; }
.team-pin:nth-child(3) { margin-top: 32px; }
.team-pin::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,25,40,.06) 0%, transparent 35%, rgba(22,25,40,.45) 100%);
  pointer-events: none;
  transition: background .35s ease;
  z-index: 1;
}
.team-pin::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.team-pin:hover { transform: translateY(-4px); }
.team-pin:hover::after {
  background: linear-gradient(180deg, rgba(244,108,15,.10) 0%, transparent 40%, rgba(22,25,40,.55) 100%);
}
.team-pin:hover::before { transform: scaleX(1); }
.team-pin:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=800&q=85');
}
.team-pin:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=800&q=85');
}
.team-pin:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=800&q=85');
}
.team-body { }
.team-body .eyebrow { margin-bottom: 28px; }
.team-body h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--navy);
  margin-bottom: 32px;
}
.team-body h2 em { font-style: normal; color: var(--orange); }
.team-body p {
  font-size: 16.5px; line-height: 1.7;
  color: var(--txt); margin-bottom: 20px;
  letter-spacing: -.005em;
}
.team-body .link-arrow { margin-top: 18px; }


/* ════════════════════════════════════════════════════════
   6. ZAKRES – premium dark ledger
   ════════════════════════════════════════════════════════ */
.zakres {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 180px var(--pad-x) 140px;
  background: #1F2440;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.zakres::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 14%, transparent 38%);
  z-index: 3;
}
.zakres-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(244,108,15,.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(244,108,15,.06), transparent 60%);
}
.zakres-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
}
.zakres-watermark { display: none; }
.zakres-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
}
.zakres-head {
  margin-bottom: 96px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.zakres-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.015em;
  color: #fff;
}
.zakres-head h2 em {
  font-style: normal;
  color: var(--orange);
}

/* Services ledger */
.zakres-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 14px;
}
.zakres-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1.2fr 1.1fr 44px;
  gap: 48px;
  align-items: center;
  padding: 32px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow:
    0 10px 18px -12px rgba(0,0,0,.4),
    0 2px 4px -2px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.04);
  cursor: default;
  overflow: hidden;
  transition: background .4s ease,
              transform .4s cubic-bezier(.16,1,.3,1),
              box-shadow .4s ease;
}
.zakres-row:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  transform: translateY(-2px);
  box-shadow:
    0 14px 24px -10px rgba(0,0,0,.45),
    0 4px 8px -2px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.zakres-row > * { position: relative; z-index: 1; }
.zakres-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.zakres-row:hover::before { transform: scaleY(1); }
.zakres-row h3 { text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.zakres-index {
  font-size: 13px; font-weight: 700;
  letter-spacing: .24em;
  color: var(--orange);
}
.zakres-row h3 {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #fff;
}
.zakres-row p {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,.9);
  letter-spacing: -.005em;
  max-width: 460px;
}
.zakres-arrow {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.zakres-arrow svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 1.6;
}
.zakres-row:hover .zakres-arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}


/* ════════════════════════════════════════════════════════
   7. KONTAKT – 1:1 z index
   ════════════════════════════════════════════════════════ */
.kontakt {
  background: #F6F7F9;
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid var(--line-2);
}
.kontakt__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.kontakt__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: #F26C0F;
  margin: 0 0 24px 0;
}
.kontakt__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0 0 20px 0;
}
.kontakt__title span {
  color: #F26C0F;
  position: relative;
  display: inline-block;
}
.reveal-stagger.in .kontakt__title span {
  animation: kontakt-highlight 1.2s cubic-bezier(.16,1,.3,1) .8s both;
}
@keyframes kontakt-highlight {
  0%   { opacity: .5; transform: translateY(8px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.kontakt__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt-2);
  margin: 0 0 40px 0;
}
.kontakt__buttons {
  display: block;
}
.kontakt__btn-primary,
.kontakt__btn-secondary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 6px 12px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.kontakt__btn-primary {
  background: #F26C0F;
  color: #fff;
  border: 1px solid #F26C0F;
}
.kontakt__btn-primary:hover {
  background: #D85A05;
  border-color: #D85A05;
}
.kontakt__btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.kontakt__btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.reveal h1 em, .reveal h2 em {
  color: rgba(35,40,60,.18);
  transition: color 1s ease .9s;
}
.reveal.in h1 em, .reveal.in h2 em { color: var(--orange); }
.klaus .reveal h2 em { color: rgba(255,255,255,.25); }
.klaus .reveal.in h2 em { color: var(--orange); }
.hero-on .reveal h1 em { color: rgba(255,255,255,.18); }
.hero-on .reveal.in h1 em { color: var(--orange); }
.zakres .reveal h2 em { color: rgba(255,255,255,.25); }
.zakres .reveal.in h2 em { color: var(--orange); }
.team .reveal.in h2 { letter-spacing: -.035em; }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .6s; }


/* Team pins – wipe reveal (editorial) */
.team-image.reveal-stagger > .team-pin {
  opacity: 0;
  transform: translateY(48px);
  clip-path: inset(100% 0 0 0);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1),
              transform 1.1s cubic-bezier(.16,1,.3,1),
              clip-path 1.3s cubic-bezier(.16,1,.3,1);
}
.team-image.reveal-stagger.in > .team-pin {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}
.team-image.reveal-stagger.in > .team-pin:nth-child(1) { transition-delay: 0s; }
.team-image.reveal-stagger.in > .team-pin:nth-child(2) { transition-delay: .15s; }
.team-image.reveal-stagger.in > .team-pin:nth-child(3) { transition-delay: .3s; }


/* Value tabs – horizontal slide-in */
.values-list.reveal-stagger > .value-tab {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1);
}
.values-list.reveal-stagger.in > .value-tab {
  opacity: 1;
  transform: translateX(0);
}


/* Zakres rows – fade up with subtle scale */
.zakres-list.reveal-stagger > .zakres-row {
  opacity: 0;
  transform: translateY(28px) scale(.99);
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1),
              box-shadow .4s ease,
              background .4s ease;
}
.zakres-list.reveal-stagger.in > .zakres-row {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 60px; }
  .intro-wrap,
  .klaus-inner,
  .team-inner { grid-template-columns: 1fr; gap: 56px; }
  .intro-image { min-height: 520px; aspect-ratio: 5/4; }
  .intro-text { max-width: none; }
  .zakres-head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .zakres-row {
    grid-template-columns: 1fr;
    gap: 14px; padding: 28px 24px;
  }
  .zakres-row .zakres-arrow { display: none; }
  .zakres-row::before { left: 0; }
  .zakres-row:hover { padding-left: 24px; padding-right: 24px; }
  .team-image { gap: 10px; }
  .team-pin:nth-child(2) { margin-top: 48px; }
  .team-pin:nth-child(3) { margin-top: 24px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .hero-on { padding-top: 68px; }
  .hero-on-inner { padding: 96px 24px 120px; }
  .hero-on h1 { font-size: clamp(52px, 14vw, 88px); margin-bottom: 24px; }
  .hero-on-eyebrow { margin-bottom: 24px; }
  .values, .klaus, .team, .zakres { padding: 80px 24px; }
  .values-content { display: none; }
  .values-panel { gap: 0; }
  .intro { padding: 100px 0 80px; }
  .intro-wrap { padding: 0 24px; gap: 40px; }
  .intro-rule { left: 24px; right: 24px; top: 60px; }
  .intro-image { aspect-ratio: 4/5; min-height: 440px; margin-right: 0; }
  .intro-meta { grid-template-columns: 1fr; }
  .intro-meta-row { padding: 14px 0 !important; border-right: none; border-bottom: 1px solid var(--line-2); }
  .intro-meta-row:last-child { border-bottom: none; }
  .intro h2 { font-size: clamp(32px, 9vw, 44px); margin-bottom: 28px; }
  .intro-lead { font-size: 17px; }
  .zakres-head h2 { font-size: clamp(30px, 8vw, 44px); }
  .zakres-row h3 { font-size: clamp(26px, 8vw, 36px); }
  .team-body h2 { font-size: clamp(36px, 10vw, 56px); }
  .team-image { gap: 8px; }
  .team-pin:nth-child(2) { margin-top: 0; }
  .team-pin:nth-child(3) { margin-top: 0; }
  .klaus-card { padding: 48px 28px; aspect-ratio: auto; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: HISTORIA (pateh-historia.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --gray:   #EDEEF1;
  --cream:  #F6F7F9;
  --pad-x:  100px;
}


/* ═══ HERO – cinematic dark, photo + serif accents ═══════════ */
.hi-hero {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding-top: 80px;
  overflow: hidden;
}
.hi-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.96) 0%, rgba(20,24,42,.80) 50%, rgba(20,24,42,.60) 100%),
    linear-gradient(180deg, transparent 50%, rgba(20,24,42,.96) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2000&q=85');
  background-size: cover;
  background-position: center;
  filter: saturate(.85);
}
.hi-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px; background: var(--orange);
  z-index: 2;
}
.hi-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px; width: 100%;
  margin: 0 auto;
  padding: 140px var(--pad-x) 0;
}
.hi-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 36px;
}
.hi-hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1.5px; background: var(--orange); }
.hi-hero h1 {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 800; line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 28px;
}
.hi-hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hi-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 720px;
  letter-spacing: -.012em;
  padding-bottom: 96px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hi-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 64px 0 96px;
}
.hi-hero-stat {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hi-hero-stat:nth-child(n+2) { padding-left: 48px; }
.hi-hero-stat:last-child { border-right: none; }
.hi-hero-stat-num {
  display: block;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.hi-hero-stat-num em { font-style: normal; color: var(--orange); font-weight: 800; }
.hi-hero-stat-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}


/* ═══ INTRO – O firmie ═══════════════════════════════════════ */
.hi-intro {
  background: #FFFFFF;
  padding: 160px var(--pad-x) 120px;
}
.hi-intro-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.hi-intro-aside { position: sticky; top: 120px; }
.hi-section-num {
  display: block;
  font-size: 14px; font-weight: 800;
  color: var(--orange);
  letter-spacing: .04em;
  line-height: 1;
  padding-top: 14px;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.hi-section-num::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 2px;
  background: var(--orange);
}
.hi-section-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.hi-intro h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hi-intro h2 em { font-style: normal; color: var(--orange); }
.hi-intro-body {
  display: flex; flex-direction: column;
  gap: 28px;
}
.hi-intro-body p {
  font-size: 18px; line-height: 1.7;
  color: var(--txt-2);
  letter-spacing: -.01em;
  max-width: 640px;
}
.hi-intro-body p.lead {
  font-size: 22px; line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.018em;
}


/* ═══ ZAŁOŻYCIEL – split portrait + text ════════════════════ */
.hi-founder {
  background: #F6F7F9;
  padding: 96px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.hi-founder-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 96px;
  align-items: center;
}
.hi-founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  background: var(--navy);
  overflow: hidden;
}
.hi-founder-portrait::before {
  content: '';
  position: absolute;
  left: -16px; top: -16px;
  right: 24px; bottom: 24px;
  border: 1px solid var(--orange);
  z-index: 0;
  pointer-events: none;
}
.hi-founder-portrait-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hi-founder-portrait-inner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}
.hi-founder-initials {
  position: relative;
  z-index: 1;
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.05em;
  line-height: .85;
  text-align: center;
}
.hi-founder-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
}
.hi-founder-body { padding: 24px 0; }
.hi-founder h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hi-founder-role {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}
.hi-founder-body p {
  font-size: 17px; line-height: 1.7;
  color: var(--txt-2);
  letter-spacing: -.008em;
  margin-bottom: 22px;
  max-width: 720px;
}
.hi-founder-quote {
  margin-top: 36px;
  padding: 22px 28px;
  background: #FFFFFF;
  border-left: 3px solid var(--orange);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
  letter-spacing: -.015em;
  max-width: 560px;
}


/* ═══ PARTNERZY – grid z badge'ami ═══════════════════════════ */
.hi-partners {
  background: #FFFFFF;
  padding: 140px var(--pad-x);
}
.hi-partners-inner { max-width: 1280px; margin: 0 auto; }
.hi-partners-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.hi-partners-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hi-partners-head h2 em { font-style: normal; color: var(--orange); }
.hi-partners-intro {
  font-size: 17px; line-height: 1.65;
  color: var(--txt-2);
  letter-spacing: -.008em;
  max-width: 560px;
  text-align: right;
  justify-self: end;
  margin-left: auto;
}
.hi-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.hi-partner {
  position: relative;
  padding: 40px 48px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: #FFFFFF;
  display: flex; flex-direction: column;
  gap: 14px;
}
.hi-partner--featured {
  grid-column: span 2;
  background: var(--navy-3);
  color: #fff;
  padding: 56px 64px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.hi-partner--featured::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--orange);
}
.hi-partner--featured::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(244,108,15,.08), transparent 60%);
  pointer-events: none;
}
.hi-partner-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 4px;
}
.hi-partner-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.022em;
  color: var(--navy);
  line-height: 1;
}
.hi-partner--featured .hi-partner-logo { color: #fff; font-size: 32px; }
.hi-partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  flex-shrink: 0;
}
.hi-partner-badge--active {
  background: rgba(244,108,15,.12);
  color: var(--orange-2);
}
.hi-partner--featured .hi-partner-badge--active {
  background: var(--orange);
  color: #fff;
}
.hi-partner-badge--active::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange-2);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(244,108,15,.2);
}
.hi-partner--featured .hi-partner-badge--active::before { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.hi-partner-badge--inactive {
  background: rgba(35,40,60,.06);
  color: var(--txt-3);
}
.hi-partner-badge--inactive::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--txt-3);
}
.hi-partner-desc {
  font-size: 15px; line-height: 1.6;
  color: var(--txt-2);
  letter-spacing: -.005em;
  max-width: 520px;
}
.hi-partner--featured .hi-partner-desc { font-size: 17px; color: rgba(255,255,255,.78); max-width: 720px; }
.hi-partner-since {
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-top: auto;
}
.hi-partner--featured .hi-partner-since { color: var(--orange); margin-top: 12px; }
.hi-partner-link {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: gap .25s ease;
  align-self: flex-start;
}
.hi-partner-link::after { content: ''; width: 24px; height: 1.5px; background: currentColor; }
.hi-partner-link:hover { gap: 14px; }


/* ═══ TIMELINE – ciemna sekcja, horyzontalne wiersze z linią ═══ */
.hi-timeline {
  background: var(--navy-3);
  color: #fff;
  padding: 130px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.hi-timeline::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 60% at 100% 0%, rgba(244,108,15,.08), transparent 60%);
}
.hi-timeline-inner {
  max-width: 1180px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hi-timeline-head {
  margin-bottom: 80px;
}
.hi-timeline-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.035em;
  line-height: 1.05;
  max-width: 720px;
}
.hi-timeline-head h2 em {
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: -.035em;
}
.hi-timeline-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.hi-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1.4fr minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 40px -24px rgba(0,0,0,.6),
    0 6px 14px -6px rgba(0,0,0,.4);
  transition: background .4s ease, border-color .4s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.hi-milestone::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.hi-milestone:hover {
  background: linear-gradient(180deg, rgba(244,108,15,.06) 0%, rgba(255,255,255,.025) 100%);
  border-color: rgba(244,108,15,.32);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 24px 56px -24px rgba(0,0,0,.7),
    0 8px 20px -6px rgba(244,108,15,.18);
}
.hi-milestone:hover::before { transform: scaleY(1); }
.hi-milestone-year {
  font-size: 14px; font-weight: 800;
  letter-spacing: .16em;
  color: var(--orange);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 12px;
}
.hi-milestone-year::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}
.hi-milestone-title {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -.022em;
  line-height: 1.25;
}
.hi-milestone-desc {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.72);
  letter-spacing: -.003em;
}


/* ═══ CTA ════════════════════════════════════════════════════ */
.hi-cta {
  background: var(--navy-3);
  color: #fff;
  padding: 110px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.hi-cta-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}
.hi-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hi-cta-eyebrow::before { content: ''; display: block; width: 36px; height: 1.5px; background: var(--orange); }
.hi-cta h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: #fff;
  max-width: 720px;
}
.hi-cta h2 em { font-style: normal; color: var(--orange); }
.hi-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 32px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.hi-cta-btn:hover { background: var(--orange-2); transform: translateX(4px); }
.hi-cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 48px; }
  .hi-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .hi-intro-aside { position: static; }
  .hi-founder-inner { grid-template-columns: 1fr; gap: 48px; justify-items: start; }
  .hi-founder-portrait { width: 100%; max-width: 320px; }
  .hi-partners-head { grid-template-columns: 1fr; gap: 28px; }
  .hi-partners-intro { text-align: left; justify-self: start; margin-left: 0; }
  .hi-milestone { grid-template-columns: 140px 1fr; gap: 32px; padding: 28px 28px; align-items: start; }
  .hi-milestone-title { padding-top: 0; }
  .hi-milestone-desc { grid-column: 2; }
  .hi-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  body > header { height: 68px; }
  nav { display: none; }
  /* HERO */
  .hi-hero-inner { padding: 96px 20px 0; }
  .hi-hero h1 { font-size: clamp(44px, 13vw, 72px); margin-bottom: 22px; }
  .hi-hero-lead { font-size: 16px; padding-bottom: 56px; }
  .hi-hero-stats { grid-template-columns: 1fr; padding: 32px 0 56px; gap: 0; }
  .hi-hero-stat { padding: 20px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hi-hero-stat:nth-child(n+2) { padding-left: 0; padding-top: 20px; }
  .hi-hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .hi-hero-stat-num { font-size: 38px; margin-bottom: 10px; }
  .hi-hero-stat-label { font-size: 10.5px; letter-spacing: .22em; }
  /* INTRO */
  .hi-intro { padding: 72px 20px; }
  .hi-section-num { font-size: 13px; }
  .hi-intro h2 { font-size: clamp(28px, 8vw, 38px); }
  .hi-intro-body p { font-size: 16px; line-height: 1.65; }
  .hi-intro-body p.lead { font-size: 18px; }
  /* FOUNDER */
  .hi-founder { padding: 72px 20px; }
  .hi-founder-portrait { max-width: 240px; aspect-ratio: 1 / 1; }
  .hi-founder-portrait::before { left: -8px; top: -8px; right: 16px; bottom: 16px; }
  .hi-founder h2 { font-size: clamp(28px, 8vw, 38px); }
  .hi-founder-role { font-size: 11px; margin-bottom: 22px; }
  .hi-founder-body p { font-size: 15.5px; line-height: 1.65; }
  /* PARTNERS */
  .hi-partners { padding: 72px 20px; }
  .hi-partners-head h2 { font-size: clamp(28px, 8vw, 38px); }
  .hi-partners-intro { font-size: 15.5px; }
  .hi-partners-grid { grid-template-columns: 1fr; }
  .hi-partner { padding: 28px 24px; }
  .hi-partner--featured { grid-column: span 1; padding: 32px 24px; }
  .hi-partner--featured .hi-partner-logo { font-size: 24px; }
  .hi-partner-logo { font-size: 18px; }
  .hi-partner-desc { font-size: 14px; }
  /* TIMELINE */
  .hi-timeline { padding: 72px 20px; }
  .hi-timeline-head { margin-bottom: 40px; }
  .hi-timeline-head h2 { font-size: clamp(26px, 8vw, 36px); }
  .hi-milestone {
    grid-template-columns: 1fr; gap: 16px; padding: 26px 22px;
    align-items: start;
  }
  .hi-milestone-desc { grid-column: auto; }
  .hi-milestone-year { font-size: 12.5px; gap: 10px; }
  .hi-milestone-year::before { width: 22px; }
  .hi-milestone-title { font-size: 19px; line-height: 1.25; }
  .hi-milestone-desc { font-size: 14.5px; line-height: 1.6; }
  /* CTA */
  .hi-cta { padding: 72px 20px; }
  .hi-cta h2 { font-size: clamp(26px, 8vw, 36px); }
  .hi-cta-btn { padding: 16px 22px; font-size: 11px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: KATEGORIE (pateh-kategorie.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }


/* ═══ HERO ═══════════════════════════════════════════ */
.hero-kat {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 80px 0 0;
  background: var(--navy-3);
  color: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-kat-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.92) 0%, rgba(20,24,42,.7) 45%, rgba(20,24,42,.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(20,24,42,.88) 100%),
    url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=2000&q=85');
  background-size: cover;
  background-position: center right;
}
.hero-kat::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.hero-kat-inner {
  position: relative; z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 144px var(--pad-x) 192px;
  display: flex; flex-direction: column;
}
.hero-kat-body { max-width: 1040px; }
.hero-kat-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}
.hero-kat-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.hero-kat h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-kat h1 em { font-style: normal; color: var(--orange); }
.hero-kat-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  letter-spacing: -.012em;
}


/* ═══ INTRO – editorial premium spread ═════════════════ */
.intro-kat {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 180px 0 160px;
  background: #FFFFFF;
  overflow: hidden;
}
.intro-kat-rule {
  position: absolute;
  top: 110px; left: var(--pad-x); right: var(--pad-x);
  height: 1px; background: var(--line-2);
  z-index: 1;
}
.intro-kat-rule::before {
  content: '01';
  position: absolute;
  right: 0; top: -8px;
  background: #fff;
  padding: 0 0 0 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .28em;
  color: var(--orange);
}
.intro-kat-rule::after {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 64px; height: 3px;
  background: var(--orange);
}
.intro-kat-wrap {
  position: relative; z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 96px;
  align-items: stretch;
}
.intro-kat-text {
  display: flex; flex-direction: column;
  padding-top: 24px;
  max-width: 560px;
}
.intro-kat-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 40px;
}
.intro-kat-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.intro-kat-text h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: 40px;
}
.intro-kat-text h2 em { font-style: normal; color: var(--orange); }
.intro-kat-lead {
  position: relative;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -.018em;
  padding-top: 32px;
  margin-bottom: 36px;
  max-width: 580px;
}
.intro-kat-lead::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 64px; height: 3px;
  background: var(--orange);
}
.intro-kat-body p {
  font-size: 16px; line-height: 1.72;
  color: var(--txt-2);
  letter-spacing: -.005em;
  margin-bottom: 18px;
}
.intro-kat-body p b { color: var(--orange); font-weight: 700; }
.intro-kat-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin: 36px 0 40px;
}
.intro-kat-meta-row {
  padding: 18px 0;
  border-right: 1px solid var(--line-2);
}
.intro-kat-meta-row:last-child { border-right: none; }
.intro-kat-meta-row:not(:first-child) { padding-left: 20px; }
.intro-kat-meta-row dt {
  font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 6px;
}
.intro-kat-meta-row dd {
  font-size: 14.5px; font-weight: 600;
  color: var(--navy);
  letter-spacing: -.005em;
}
.intro-kat-text .link-arrow { align-self: flex-start; }


/* Button */
.link-arrow {
  display: inline-flex; align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  transition: background .35s ease,
              color .35s ease,
              border-color .35s ease,
              gap .3s ease,
              box-shadow .35s ease;
}
.link-arrow::after {
  content: '→';
  font-size: 14px;
  transition: transform .3s ease;
}
.link-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  gap: 18px;
  box-shadow: 0 12px 28px -12px rgba(244,108,15,.55);
}
.link-arrow:hover::after { transform: translateX(4px); }


/* Photo – bleeds to right edge */
.intro-kat-image {
  position: relative;
  height: 100%;
  min-height: 520px;
  background-image:
    linear-gradient(180deg, transparent 55%, rgba(22,25,40,.7) 100%),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=90');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-right: calc(-1 * var(--pad-x));
}
.intro-kat-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,25,40,.05) 0%, transparent 30%, rgba(22,25,40,.5) 100%);
  pointer-events: none;
}
.intro-kat-image-caption {
  position: absolute;
  bottom: 28px; left: 32px;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.intro-kat-image-caption::before {
  content: ''; display: block; width: 22px; height: 1.5px;
  background: var(--orange);
}
@media (min-width: 1441px) {
  .intro-kat-image {
    margin-right: calc(-1 * (var(--pad-x) + (100vw - 1440px) / 2));
  }
}


/* ═══ KORZYSCI – light editorial ════════════════════════ */
.korzysci {
  background: #F6F7F9;
  padding: 130px var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.korzysci-inner { max-width: 1280px; margin: 0 auto; }
.korzysci-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.korzysci-head-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.korzysci-head-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.korzysci-head h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--navy);
}
.korzysci-head h2 em { font-style: normal; color: var(--orange); }
.korzysci-head-aside {
  font-size: 14px; line-height: 1.6;
  color: var(--txt-2);
  max-width: 320px;
  letter-spacing: -.005em;
  padding-bottom: 8px;
}
.korzysci-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.korzysci-grid::before {
  content: '';
  position: absolute;
  left: 50%; top: 20px; bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--line-2) 8%,
    var(--line-2) 92%,
    transparent 100%);
}
.korzysc-col { padding: 8px 0; }
.korzysc-col h3 {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy-2);
  color: #fff;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.1;
  padding: 22px 28px;
  margin-bottom: 32px;
}
.korzysc-col-icon {
  width: 22px; height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.korzysc-items {
  list-style: none;
  counter-reset: kitem;
}
.korzysc-items li {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 14px;
  margin: 0 -14px;
  border-top: 1px solid var(--line-2);
  transition: background .35s ease;
}
.korzysc-items li:first-child { border-top: none; }
.korzysc-items li::before {
  content: '';
  display: block;
  width: 14px; height: 1.5px;
  background: var(--orange);
  transition: width .4s cubic-bezier(.16,1,.3,1);
}
.korzysc-items li > span {
  font-size: 16.5px; line-height: 1.55;
  color: var(--txt);
  letter-spacing: -.005em;
}
.korzysc-items li:hover {
  background: linear-gradient(90deg, rgba(244,108,15,.06), transparent 70%);
}
.korzysc-items li:hover::before { width: 30px; }
.korzysc-items li:hover > span {
  font-weight: 700;
  color: var(--navy);
}


/* ═══ KATEGORIE – split: light head + dark cards ══════════ */
.kategorie {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-2);
}
.kategorie-head-wrap {
  background: #FFFFFF;
  color: var(--navy);
  padding: 140px var(--pad-x) 72px;
}
.kategorie-cards-wrap {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 72px var(--pad-x) 120px;
  overflow: hidden;
}
.kategorie-cards-wrap::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(244,108,15,.10), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(244,108,15,.06), transparent 60%);
}
.kategorie-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
}
.kategorie-head {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.kategorie-head-left {
  margin-bottom: 56px;
}
.kategorie-head-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.kategorie-head-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.kategorie-head h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--navy);
}
.kategorie-head h2 em { font-style: normal; color: var(--orange); }
.kategorie-head-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.kategorie-head-aside p {
  margin: 0;
  letter-spacing: -.003em;
}
.kategorie-head-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -.008em;
}
.kategorie-head-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--txt-2);
}
.kategorie-head-body p + p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.kategorie-head-aside b {
  color: var(--navy);
  font-weight: 600;
}
.kategorie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kategoria-card {
  position: relative;
  background-color: var(--navy-2);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 5/4;
  min-height: 380px;
  transition: box-shadow .5s ease,
              transform .45s cubic-bezier(.16,1,.3,1);
}
.kategoria-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.kategoria-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(20,24,42,.15) 0%,
      rgba(20,24,42,.10) 35%,
      rgba(20,24,42,.65) 70%,
      rgba(20,24,42,.92) 100%);
  z-index: 1;
  transition: background .45s ease;
}
.kategoria-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .65s cubic-bezier(.16,1,.3,1);
  z-index: 4;
}
.kategoria-card:hover {
  box-shadow: 0 32px 60px -28px rgba(0,0,0,.7);
  transform: translateY(-6px);
}
.kategoria-card:hover::after { transform: scaleX(1); }
.kategoria-card:hover .kategoria-card-bg {
  transform: scale(1.08);
}
.kategoria-card:hover::before {
  background:
    linear-gradient(180deg,
      rgba(244,108,15,.15) 0%,
      rgba(20,24,42,.05) 28%,
      rgba(20,24,42,.7) 60%,
      rgba(20,24,42,.96) 100%);
}
.kategoria-card-bg-1 { background-image: url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=1400&q=85'); }
.kategoria-card-bg-2 { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=85'); }
.kategoria-card-bg-3 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1400&q=85'); }
.kategoria-card-bg-4 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1400&q=85'); }
.kategoria-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 40px 36px;
  z-index: 2;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.kategoria-card:hover .kategoria-card-body {
  transform: translateY(-4px);
}
.kategoria-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 10px;
  line-height: 1.05;
}
.kategoria-card p {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,.72);
  letter-spacing: -.005em;
  margin-bottom: 22px;
  max-width: 420px;
}
.kategoria-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  transition: gap .25s ease, color .25s ease;
}
.kategoria-card-cta::after {
  content: '→';
  font-size: 14px;
  transition: transform .3s ease;
}
.kategoria-card:hover .kategoria-card-cta { gap: 16px; color: #fff; }
.kategoria-card:hover .kategoria-card-cta::after { transform: translateX(4px); }


/* ═══ FAQ – 2-col editorial ═══════════════════════════ */
.faq {
  background: #EFEEEA;
  padding: 130px var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.faq-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.faq-head {
  text-align: left;
  margin-bottom: 0;
  position: sticky;
  top: 100px;
}
.faq-head-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.faq-head-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.faq-head h2 {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--navy);
  margin-bottom: 24px;
}
.faq-head h2 em { font-style: normal; color: var(--orange); }
.faq-head-desc {
  font-size: 15px; line-height: 1.6;
  color: var(--txt-2);
  max-width: 320px;
  letter-spacing: -.005em;
}


/* List */
.faq-list {
  list-style: none;
}
.faq-item {
  border-bottom: 1px solid var(--line-2);
  transition: border-color .35s ease;
}
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-item.open { border-color: rgba(244,108,15,.3); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px; font-weight: 600;
  color: var(--navy);
  letter-spacing: -.012em;
  transition: color .25s ease;
}
.faq-question:hover { color: var(--orange); }
.faq-question span { padding-right: 16px; }


/* + → x icon */
.faq-plus {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  background: var(--navy);
  transition: background .25s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.faq-plus::before {
  /* horizontal line */
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-plus::after {
  /* vertical line */
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
}
.faq-question:hover .faq-plus::before,
.faq-question:hover .faq-plus::after { background: var(--orange); }
.faq-item.open .faq-plus {
  transform: rotate(45deg);
}
.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after { background: var(--orange); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-answer { max-height: 480px; }
.faq-answer p {
  padding: 0 4px 28px;
  font-size: 15px; line-height: 1.7;
  color: var(--txt-2);
  letter-spacing: -.005em;
  max-width: 640px;
}


/* ═══ KONTAKT – dark ═══════════════════════════════════ */
.kontakt {
  background: var(--navy-2);
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.kontakt__wrap { max-width: 720px; margin: 0 auto; }
.kontakt__eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; color: #F26C0F;
  margin: 0 0 24px 0;
}
.kontakt__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 20px 0;
}
.kontakt__title span {
  color: #F26C0F;
  position: relative;
  display: inline-block;
}
.reveal-stagger.in .kontakt__title span {
  animation: kontakt-highlight 1.2s cubic-bezier(.16,1,.3,1) .8s both;
}
@keyframes kontakt-highlight {
  0%   { opacity: .5; transform: translateY(8px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.kontakt__desc {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 40px 0;
}
.kontakt__buttons { display: block; }
.kontakt__btn-primary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  background: #F26C0F; color: #fff;
  border: 1px solid #F26C0F;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.kontakt__btn-primary:hover {
  background: #D85A05;
  border-color: #D85A05;
}
.reveal h1 em, .reveal h2 em {
  color: rgba(35,40,60,.18);
  transition: color 1s ease .9s;
}
.reveal.in h1 em, .reveal.in h2 em { color: var(--orange); }
.hero-kat .reveal h1 em { color: rgba(255,255,255,.18); }
.hero-kat .reveal.in h1 em { color: var(--orange); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .6s; }


/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --pad-x: 60px; }
  .korzysci-grid,
  .kategorie-grid { grid-template-columns: 1fr; }
  .korzysci-grid { gap: 64px; }
  .korzysci-grid::before,
  .korzysci-grid::after { display: none; }
  .korzysci-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .kategorie-head-aside { grid-template-columns: 1fr; gap: 32px; }
  .intro-kat-wrap { grid-template-columns: 1fr; gap: 56px; }
  .intro-kat-image { min-height: 480px; margin-right: 0; }
  .intro-kat-text { max-width: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-head { position: static; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .hero-kat { padding-top: 68px; }
  .hero-kat-inner { padding: 96px 24px 120px; }
  .hero-kat h1 { font-size: clamp(36px, 10vw, 56px); }
  .korzysci, .faq { padding: 80px 24px; }
  .kategorie-head-wrap { padding: 80px 24px 48px; }
  .kategorie-cards-wrap { padding: 48px 24px 80px; }
  .intro-kat { padding: 100px 0 80px; }
  .intro-kat-wrap { padding: 0 24px; gap: 40px; }
  .intro-kat-rule { left: 24px; right: 24px; top: 60px; }
  .intro-kat-image { min-height: 380px; margin-right: 0; }
  .intro-kat-meta { grid-template-columns: 1fr; }
  .intro-kat-meta-row { padding: 14px 0 !important; border-right: none; border-bottom: 1px solid var(--line-2); }
  .intro-kat-meta-row:last-child { border-bottom: none; }
  .intro-kat-text h2 { font-size: clamp(32px, 9vw, 44px); margin-bottom: 28px; }
  .intro-kat-lead { font-size: 17px; }
  .korzysci-head h2,
  .kategorie-head h2,
  .faq-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .korzysc-card { padding: 32px 28px; }
  .kategoria-card { min-height: 320px; aspect-ratio: 4/3; }
  .kategoria-card-body { padding: 28px 28px 28px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: PRODUKT (pateh-produkt.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }


/* ═══ HERO – split: photo left + downloads right ═══════════ */
.produkt-hero {
  position: relative;
  padding-top: 80px;
  background: var(--navy-3);
  color: #fff;
  overflow: hidden;
}
.produkt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  min-height: 520px;
}
.produkt-hero-visual {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(20,24,42,.55) 0%, rgba(20,24,42,.85) 100%),
    url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=2000&q=85');
  background-size: cover;
  background-position: center;
}
.produkt-hero-visual::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
  z-index: 2;
}
.produkt-hero-visual-inner {
  position: relative; z-index: 1;
  padding: 88px var(--pad-x) 64px;
  max-width: 920px;
  margin-left: auto;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.produkt-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.produkt-hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.produkt-hero h1 {
  font-size: clamp(44px, 5.4vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 20px;
}
.produkt-hero h1 em { font-style: normal; color: var(--orange); }
.produkt-hero-lead {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  letter-spacing: -.005em;
  margin-bottom: 28px;
}
.produkt-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  align-self: flex-start;
}


/* Right – downloads panel */
.produkt-hero-downloads {
  position: relative;
  background: var(--navy-2);
  padding: 48px var(--pad-x) 72px 44px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  overflow: hidden;
}
.produkt-hero-downloads::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange);
  z-index: 2;
}
.produkt-hero-downloads::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 110% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 50% 30%, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.produkt-hero-downloads-logo,
.reveal-stagger.in > .produkt-hero-downloads-logo {
  height: 110px;
  width: auto;
  opacity: .2;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.produkt-hero-downloads > * { position: relative; z-index: 1; }
.produkt-hero-downloads-title {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.produkt-hero-downloads-title::before {
  content: ''; display: block;
  width: 24px; height: 1.5px;
  background: var(--orange);
}
.dl-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  max-width: 420px;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  text-decoration: none;
  transition: background .35s ease, border-color .35s ease,
              transform .35s ease, box-shadow .35s ease;
}
.dl-card:hover {
  background: var(--navy-3);
  border-color: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 14px 32px -14px rgba(0,0,0,.6);
}
.dl-card-type {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
}
.dl-card-name {
  font-size: 13.5px; font-weight: 600;
  letter-spacing: -.005em;
  color: #fff;
}
.dl-card-arrow {
  font-size: 16px;
  color: #fff;
  transition: transform .25s ease;
}
.dl-card:hover .dl-card-arrow {
  transform: translateY(2px);
}


/* ═══ DESCRIPTION – image + text ════════════════════════ */
.produkt-desc {
  padding: 120px var(--pad-x);
  background: #FFFFFF;
}
.produkt-desc-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.produkt-desc-image {
  position: relative;
  aspect-ratio: 16/9;
  width: calc(100% + 60px);
  margin-left: -60px;
  background-image:
    linear-gradient(180deg, transparent 55%, rgba(22,25,40,.5) 100%),
    url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=1800&q=90');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media (min-width: 1441px) {
  .produkt-desc-image {
    width: calc(100% + (100vw - 1440px) / 2 + 60px);
    margin-left: calc(-1 * ((100vw - 1440px) / 2 + 60px));
  }
}
.produkt-desc-text h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--navy);
  margin-bottom: 32px;
}
.produkt-desc-text h2 em { font-style: normal; color: var(--orange); }
.produkt-desc-text p {
  font-size: 15.5px; line-height: 1.7;
  color: var(--txt-2);
  letter-spacing: -.005em;
  margin-bottom: 18px;
}
.produkt-desc-text p:first-of-type {
  font-size: 18px; line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -.012em;
  padding-top: 24px;
  position: relative;
  margin-bottom: 24px;
}
.produkt-desc-text p:first-of-type::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--orange);
}


/* ═══ VIDEO ═════════════════════════════════════════════ */
.produkt-video {
  padding: 100px var(--pad-x) 120px;
  background: #F6F7F9;
  border-top: 1px solid var(--line-2);
}
.produkt-video-inner {
  max-width: 1180px; margin: 0 auto;
}
.produkt-video-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.produkt-video-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.produkt-video-tag::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.produkt-video-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
}
.produkt-video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy-3);
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.produkt-video-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.produkt-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(20,24,42,.4), rgba(20,24,42,.85)),
    url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=1600&q=85');
  background-size: cover;
  background-position: center;
  color: #fff;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.produkt-video-placeholder:hover { transform: scale(1.02); }
.produkt-video-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease;
}
.produkt-video-placeholder:hover .produkt-video-play {
  transform: scale(1.1);
  background: var(--orange-2);
}
.produkt-video-play svg {
  width: 22px; height: 22px;
  fill: #fff;
  margin-left: 4px;
}
.produkt-video-caption {
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}


/* ═══ SPECIFICATION ═════════════════════════════════════ */
.produkt-spec {
  padding: 120px var(--pad-x);
  background: #FFFFFF;
}
.produkt-spec-inner {
  max-width: 1280px; margin: 0 auto;
}
.produkt-spec-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.produkt-spec-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.produkt-spec-tag::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.produkt-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.produkt-spec-lead {
  font-size: 16px; line-height: 1.65;
  color: var(--txt-2);
  letter-spacing: -.005em;
  margin: 16px 0 36px;
}
.produkt-spec-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 4px;
}
.spec-list {
  list-style: none;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.spec-list dt {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-3);
}
.spec-list dd {
  font-size: 15px; line-height: 1.55;
  color: var(--navy);
  letter-spacing: -.005em;
}
.spec-list dd b { color: var(--orange); font-weight: 700; }
.produkt-spec-side {
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.produkt-spec-gif {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy-2);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.produkt-spec-gif svg {
  width: 80%; height: auto;
}
.produkt-spec-gif img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
}
.produkt-spec-gif-caption {
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--txt-3);
  text-align: center;
}


/* ═══ WARIANTY GALLERY ══════════════════════════════════ */
.produkt-warianty {
  padding: 130px var(--pad-x);
  background: var(--navy-3);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.produkt-warianty::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(244,108,15,.08), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(244,108,15,.06), transparent 60%);
}
.produkt-warianty-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
}
.produkt-warianty-head {
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
}
.produkt-warianty-head .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.produkt-warianty-head .eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.produkt-warianty-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
}
.produkt-warianty-head h2 em { font-style: normal; color: var(--orange); }
.produkt-warianty-aside {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(255,255,255,.65);
  max-width: 360px;
  padding-bottom: 6px;
  letter-spacing: -.005em;
  margin-left: auto;
  text-align: right;
}
.warianty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.wariant-card {
  position: relative;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  padding: 28px 28px 24px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .45s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.wariant-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.wariant-card:hover {
  border-color: rgba(244,108,15,.3);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -20px rgba(0,0,0,.5);
}
.wariant-card:hover::after { transform: scaleX(1); }
.wariant-card-name {
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.wariant-card-svg {
  width: 100%;
  aspect-ratio: 16/10;
  margin-bottom: 16px;
}
.wariant-card-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.wariant-card-meta-block dt {
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}
.wariant-card-meta-block dd {
  font-size: 13px; font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}


/* ═══ ZASTOSOWANIE & WYMAGANIA – chips ══════════════════ */
.produkt-zastosowanie {
  padding: 120px var(--pad-x);
  background: #F6F7F9;
}
.produkt-zastosowanie-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.zastosowanie-block h3 {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.zastosowanie-block h3::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.chips {
  display: flex; flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--navy);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  transition: background .3s ease, border-color .3s ease,
              color .3s ease, transform .25s ease;
}
.chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.chip svg {
  width: 16px; height: 16px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s ease;
}
.chip:hover svg { stroke: var(--orange); }


/* ═══ REFERENCJE ════════════════════════════════════════ */
.produkt-referencje {
  padding: 120px var(--pad-x);
  background: #FFFFFF;
  border-top: 1px solid var(--line-2);
}
.produkt-referencje-inner {
  max-width: 1280px; margin: 0 auto;
}
.produkt-referencje-head {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
}
.produkt-referencje-head .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.produkt-referencje-head .eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.produkt-referencje-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--navy);
}
.produkt-referencje-head h2 em { font-style: normal; color: var(--orange); }
.produkt-referencje-aside {
  font-size: 14.5px; line-height: 1.6;
  color: var(--txt-2);
  max-width: 360px;
  padding-bottom: 6px;
  letter-spacing: -.005em;
}
.referencje-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.referencja-card {
  position: relative;
  background: #fff;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow .45s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.referencja-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 3;
}
.referencja-card:hover {
  box-shadow: 0 26px 52px -22px rgba(35,40,60,.22);
  transform: translateY(-4px);
}
.referencja-card:hover::after { transform: scaleX(1); }
.referencja-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-2);
}
.referencja-card-image-1 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1200&q=85'); }
.referencja-card-image-2 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200&q=85'); }
.referencja-card-image-3 { background-image: url('https://images.unsplash.com/photo-1545179605-1296651e9d43?w=1200&q=85'); }
.referencja-card-body {
  padding: 28px 30px 32px;
  border: 1px solid var(--line-2);
  border-top: none;
  transition: border-color .35s ease;
}
.referencja-card:hover .referencja-card-body {
  border-color: rgba(244,108,15,.25);
}
.referencja-card-loc {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.referencja-card-loc::before {
  content: ''; display: block;
  width: 18px; height: 1.5px;
  background: var(--orange);
}
.referencja-card h3 {
  font-size: 20px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.022em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.referencja-card p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--txt-2);
  letter-spacing: -.005em;
}
.referencja-card-stats {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-3);
}
.referencja-card-stats span:first-child { color: var(--orange); }

/* Responsywność siatki kart referencji – na produkt single */
@media (max-width: 1024px) {
  .produkt-referencje .referencje-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .produkt-referencje .referencje-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ═══ KONTAKT (1:1 z kategorie, dark) ═══════════════════ */
.kontakt {
  background: var(--navy-2);
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.kontakt__wrap { max-width: 720px; margin: 0 auto; }
.kontakt__eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; color: #F26C0F;
  margin: 0 0 24px 0;
}
.kontakt__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 20px 0;
}
.kontakt__title span {
  color: #F26C0F;
  position: relative;
  display: inline-block;
}
.reveal-stagger.in .kontakt__title span {
  animation: kontakt-highlight 1.2s cubic-bezier(.16,1,.3,1) .8s both;
}
@keyframes kontakt-highlight {
  0%   { opacity: .5; transform: translateY(8px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.kontakt__desc {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 40px 0;
}
.kontakt__buttons { display: block; }
.kontakt__btn-primary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  background: #F26C0F; color: #fff;
  border: 1px solid #F26C0F;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.kontakt__btn-primary:hover {
  background: #D85A05;
  border-color: #D85A05;
}
.reveal h1 em, .reveal h2 em {
  color: rgba(35,40,60,.18);
  transition: color 1s ease .9s;
}
.reveal.in h1 em, .reveal.in h2 em { color: var(--orange); }
.produkt-hero .reveal h1 em,
.produkt-warianty .reveal h2 em { color: rgba(255,255,255,.18); }
.produkt-hero .reveal.in h1 em,
.produkt-warianty .reveal.in h2 em { color: var(--orange); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .produkt-hero-grid { grid-template-columns: 1fr; }
  .produkt-hero-visual-inner { max-width: none; padding: 96px 60px 56px; }
  .produkt-hero-downloads { padding: 40px 60px; }
  .produkt-desc-inner { grid-template-columns: 1fr; gap: 48px; }
  .produkt-spec-grid { grid-template-columns: 1fr; gap: 40px; }
  .produkt-spec-side { position: static; max-width: 360px; }
  .produkt-warianty-head,
  .produkt-referencje-head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .warianty-grid { grid-template-columns: repeat(2, 1fr); }
  .referencje-grid { grid-template-columns: repeat(2, 1fr); }
  .produkt-zastosowanie-inner { grid-template-columns: 1fr; gap: 40px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .produkt-hero { padding-top: 68px; }
  .produkt-hero-visual-inner { padding: 64px 24px 48px; }
  .produkt-hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .produkt-hero-downloads { padding: 32px 24px; }
  .produkt-desc, .produkt-video, .produkt-spec, .produkt-warianty,
  .produkt-zastosowanie, .produkt-referencje { padding: 72px 24px; }
  .warianty-grid, .referencje-grid { grid-template-columns: 1fr; }
  .produkt-desc-text h2 { font-size: clamp(28px, 8vw, 40px); }
  .produkt-warianty-head h2,
  .produkt-referencje-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: FINDER (pateh-finder.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --gray:   #EDEEF1;
  --pad-x:  100px;
  /* kolory kategorii produktów */
  --c-platformy:        #1E2A55;
  --c-polautomatyczny:  #F26C0F;
  --c-automatyczny:     #1E5BFF;
  --c-palety:           #7BA1C2;
}


/* HERO */
.fd-hero {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 160px var(--pad-x) 64px;
  overflow: hidden;
}
.fd-hero::before {
  content: '';
  position: absolute; left: 0; top: 80px; bottom: 0;
  width: 3px; background: var(--orange); z-index: 2;
}
.fd-hero-inner { max-width: 1440px; margin: 0 auto; position: relative; z-index: 2; }
.fd-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.fd-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.fd-hero h1 {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 800; line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 18px;
}
.fd-hero h1 em { font-style: normal; color: var(--orange); }
.fd-hero-lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 720px;
  letter-spacing: -.012em;
}


/* MAIN */
.fd-main {
  background: #FFFFFF;
  padding: 64px var(--pad-x) 130px;
}
.fd-main-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}


/* FILTRY SIDEBAR */
.fd-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--gray);
  border-top: 3px solid var(--orange);
}
.fd-sidebar::-webkit-scrollbar { width: 6px; }
.fd-sidebar::-webkit-scrollbar-track { background: transparent; }
.fd-sidebar::-webkit-scrollbar-thumb { background: rgba(35,40,60,.18); }
.fd-sidebar-head {
  position: sticky; top: 0;
  z-index: 2;
  background: var(--gray);
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.fd-sidebar-head h2 {
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.fd-sidebar-head h2 strong {
  color: var(--orange);
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.fd-clear-all {
  background: none; border: none;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--txt-3); cursor: pointer;
  font-family: inherit; padding: 0;
  transition: color .25s ease;
}
.fd-clear-all:hover { color: var(--orange); }
.fd-group { padding: 12px 16px 0; }
.fd-group:last-child { padding-bottom: 16px; }
.fd-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  user-select: none;
  background: #fff;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--navy);
  transition: border-color .25s ease, background .2s ease, box-shadow .25s ease;
}
.fd-group > summary::-webkit-details-marker { display: none; }
.fd-group > summary:hover {
  border-left-color: var(--orange);
  box-shadow: 0 2px 8px -4px rgba(35,40,60,.18);
}
.fd-group[open] > summary {
  border-left-color: var(--orange);
  background: #fff;
}
.fd-group[open]:has(input:checked) > summary { box-shadow: 0 2px 8px -4px rgba(244,108,15,.3); }
.fd-group-title {
  font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  flex: 1;
}
.fd-group-badge {
  min-width: 22px; height: 22px;
  padding: 0 7px;
  background: var(--orange);
  color: #fff;
  font-size: 11px; font-weight: 800;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity .25s ease;
}
.fd-group:has(input:checked) .fd-group-badge { opacity: 1; }
.fd-group-chev {
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s ease;
}
.fd-group[open] .fd-group-chev { transform: rotate(225deg) translate(-2px, -2px); }
.fd-group-logic {
  display: block;
  padding: 14px 18px 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.fd-group-options {
  padding: 8px 18px 16px;
  display: flex; flex-direction: column;
  gap: 2px;
}
.fd-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  color: var(--txt);
  letter-spacing: -.005em;
  line-height: 1.4;
  user-select: none;
  transition: color .2s ease;
}
.fd-option:hover { color: var(--orange); }
.fd-option input {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color .2s ease, background-color .2s ease;
}
.fd-option input:hover { border-color: var(--orange); }
.fd-option input:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.fd-option input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.fd-option:has(input:checked) { color: var(--navy); font-weight: 600; }


/* CONTENT (right) */
.fd-content { min-width: 0; }
.fd-content-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.fd-count {
  font-size: 11px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--txt-2);
}
.fd-count strong {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.fd-sort {
  background: none; border: none;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--txt-2);
  cursor: pointer; padding: 0;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .25s ease;
}
.fd-sort:hover { color: var(--orange); }
.fd-sort::after {
  content: ''; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}


/* AKTYWNE FILTRY – chips */
.fd-active {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.fd-active:empty { display: none; }
.fd-chip {
  display: inline-flex; align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  background: var(--navy);
  color: #fff;
  font-size: 12px; font-weight: 600;
  letter-spacing: -.005em;
}
.fd-chip-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 14px; line-height: 1;
  transition: background .2s ease;
}
.fd-chip-x:hover { background: var(--orange); }
.fd-chip-x::before { content: '×'; font-size: 16px; margin-top: -2px; }
.fd-chip-clear {
  margin-left: 4px;
  background: none; border: none;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  cursor: pointer; padding: 6px 8px;
  font-family: inherit;
  transition: color .25s ease;
}
.fd-chip-clear:hover { color: var(--orange-2); text-decoration: underline; }


/* PRODUCT GRID */
.fd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fd-card {
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color .35s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.fd-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.fd-card:hover {
  border-color: rgba(244,108,15,.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(35,40,60,.18);
}
.fd-card:hover::before { transform: scaleX(1); }
.fd-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray);
}
.fd-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.fd-card:hover .fd-card-photo img { transform: scale(1.05); }
.fd-card-cat {
  position: absolute;
  left: 12px; top: 12px;
  padding: 6px 10px;
  background: rgba(20,27,54,.85);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  z-index: 1;
}

/* kolor plakietki = kategoria produktu (pełne slugi taksonomii) */
.fd-card[data-cat~="platformy-parkingowe"]         .fd-card-cat { background: var(--c-platformy); }
.fd-card[data-cat~="systemy-polautomatyczne"]      .fd-card-cat { background: var(--c-polautomatyczny); }
.fd-card[data-cat~="systemy-w-pelni-automatyczne"] .fd-card-cat { background: var(--c-automatyczny); }
.fd-card[data-cat~="palety-i-obrotnica"]           .fd-card-cat { background: var(--c-palety); }
.fd-card-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.fd-card-name {
  font-size: 19px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.022em;
  line-height: 1.15;
}
.fd-card-desc {
  font-size: 13px; line-height: 1.55;
  color: var(--txt-2);
  letter-spacing: -.005em;
}
.fd-card-attrs {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.fd-card-attr {
  display: inline-flex; align-items: center;
  padding: 4px 8px;
  background: rgba(30,42,85,.06);
  color: var(--navy);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
.fd-card-attr--extra { background: rgba(244,108,15,.10); color: var(--orange-2); }
.fd-card-foot {
  padding: 12px 24px 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.fd-card-link {
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .25s ease, gap .25s ease;
}
.fd-card-link::after { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.fd-card:hover .fd-card-link { color: var(--orange); gap: 14px; }


/* PUSTY STAN */
.fd-empty {
  display: none;
  padding: 80px 32px;
  text-align: center;
  background: var(--gray);
  border: 1px dashed var(--line-2);
}
.fd-empty.show { display: block; }
.fd-empty-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--orange);
  color: #fff;
  margin: 0 auto 18px;
}
.fd-empty-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fd-empty h3 {
  font-size: 22px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.022em;
  margin-bottom: 10px;
}
.fd-empty p {
  font-size: 14px;
  color: var(--txt-2);
  letter-spacing: -.005em;
  margin-bottom: 20px;
}
.fd-empty button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .25s ease;
}
.fd-empty button:hover { background: var(--orange); }


/* MOBILE FILTER DRAWER TRIGGER */
.fd-mobile-trigger {
  display: none;
  width: 100%;
  padding: 16px 18px;
  background: var(--navy);
  color: #fff;
  border: none; cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 24px;
  align-items: center; justify-content: space-between;
}
.fd-mobile-trigger svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }


/* DRAWER – backdrop + close + apply (widoczne tylko na mobile) */
.fd-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,27,54,.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s ease;
}
.fd-backdrop.open { display: block; opacity: 1; }
.fd-sidebar-close {
  display: none;
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  background: var(--navy);
  border: none; cursor: pointer;
  color: #fff;
  align-items: center; justify-content: center;
  font-family: inherit;
  transition: background .2s ease;
  z-index: 3;
}
.fd-sidebar-close:hover { background: var(--orange); }
.fd-sidebar-close::before {
  content: '×';
  font-size: 22px; line-height: 1;
  font-weight: 400;
  margin-top: -2px;
}
.fd-sidebar-apply {
  display: none;
  position: sticky;
  bottom: 0;
  background: var(--gray);
  padding: 16px;
  border-top: 1px solid var(--line-2);
  z-index: 3;
}
.fd-sidebar-apply button {
  width: 100%;
  padding: 16px 20px;
  background: var(--orange);
  color: #fff;
  border: none; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s ease;
}
.fd-sidebar-apply button:hover { background: var(--orange-2); }
.fd-sidebar-apply button strong { font-weight: 800; font-variant-numeric: tabular-nums; }
body.fd-locked { overflow: hidden; }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* CTA STRIP */
.fd-cta {
  background: var(--navy-3);
  color: #fff;
  padding: 96px var(--pad-x);
}
.fd-cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.fd-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.fd-cta-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.fd-cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  max-width: 640px;
}
.fd-cta h2 em { font-style: normal; color: var(--orange); }
.fd-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.fd-cta-btn:hover { background: var(--orange-2); transform: translateX(4px); }
.fd-cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }


/* RESPONSIVE */
@media (max-width: 1200px) {
  .fd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --pad-x: 60px; }
  .fd-main-inner { grid-template-columns: 1fr; gap: 0; }
  /* sidebar → slide-in drawer z prawej */
  .fd-sidebar {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 100%);
    max-height: 100dvh;
    background: var(--gray);
    z-index: 999;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
    margin-bottom: 0;
    border-top: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex; flex-direction: column;
  }
  .fd-sidebar.open { transform: translateX(0); box-shadow: -24px 0 60px -20px rgba(0,0,0,.4); }
  .fd-sidebar-head { padding-right: 64px; flex-shrink: 0; }
  .fd-sidebar > details, .fd-sidebar > .fd-group { flex-shrink: 0; }
  .fd-mobile-trigger { display: flex; }
  .fd-sidebar-close { display: inline-flex; }
  .fd-sidebar-apply { display: block; margin-top: auto; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .fd-hero { padding: 120px 24px 48px; }
  .fd-hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .fd-main { padding: 48px 24px 80px; }
  .fd-grid { grid-template-columns: 1fr; gap: 16px; }
  .fd-content-bar { flex-wrap: wrap; gap: 12px; }
  .fd-active { margin-bottom: 20px; }
  .fd-chip { font-size: 11.5px; padding: 7px 7px 7px 12px; }
  .fd-group { padding: 10px 12px 0; }
  .fd-group > summary { padding: 14px 16px; }
  .fd-group-options { padding: 8px 14px 16px; }
  .fd-option { padding: 10px 0; font-size: 14px; min-height: 44px; }
  .fd-option input { width: 18px; height: 18px; margin-top: 2px; }
  .fd-card-body { padding: 20px 22px; }
  .fd-card-name { font-size: 18px; }
  .fd-cta { padding: 64px 24px; }
  .fd-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}


/* ============================================================
   === PAGE: REFERENCJE (pateh-referencje.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }


/* ═══ HERO – ciemny, editorial ══════════════════════════════ */
.ref-hero {
  position: relative;
  padding-top: 80px;
  background: var(--navy-3);
  color: #fff;
  overflow: hidden;
}
.ref-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.94) 0%, rgba(20,24,42,.78) 50%, rgba(20,24,42,.62) 100%),
    linear-gradient(180deg, transparent 60%, rgba(20,24,42,.9) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2000&q=85');
  background-size: cover;
  background-position: center;
}
.ref-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.ref-hero-inner {
  max-width: 1440px; width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad-x) 100px;
  position: relative; z-index: 2;
}
.ref-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.ref-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.ref-hero h1 {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 800; line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 28px;
}
.ref-hero h1 em { font-style: normal; color: var(--orange); }
.ref-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 620px;
  letter-spacing: -.012em;
}
.ref-hero-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 72px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.14);
  justify-content: start;
}
.ref-hero-stat-num {
  display: block;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ref-hero-stat-num em { font-style: normal; color: var(--orange); }
.ref-hero-stat-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
}


/* ═══ MAIN LAYOUT – sidebar + lista ═════════════════════════ */
.ref-main {
  background: #FFFFFF;
  padding: 96px var(--pad-x) 130px;
}
.ref-main-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}


/* SIDEBAR – FILTRY */
.ref-filters {
  position: sticky;
  top: 100px;
  background: #EDEEF1;
  padding: 32px 28px;
  border-top: 3px solid var(--orange);
}
.ref-filters-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.ref-filters-head h2 {
  font-size: 18px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.018em;
}
.ref-filters-clear {
  background: none; border: none;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--txt-3); cursor: pointer;
  transition: color .25s ease;
  font-family: inherit; padding: 0;
}
.ref-filters-clear:hover { color: var(--orange); }
.ref-filter-group { margin-bottom: 18px; }
.ref-filter-group:last-child { margin-bottom: 0; }
.ref-filter-group-title {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.ref-filter-group:has(input:checked) .ref-filter-group-title {
  box-shadow: 0 2px 8px -4px rgba(244,108,15,.3);
}
.ref-filter-group-options {
  padding: 0 6px;
}
.ref-filter-option {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  color: var(--txt);
  letter-spacing: -.005em;
  transition: color .2s ease;
  user-select: none;
}
.ref-filter-option:hover { color: var(--orange); }
.ref-filter-option input {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s ease, background-color .2s ease;
}
.ref-filter-option input[type="radio"] { border-radius: 50%; }
.ref-filter-option input:hover { border-color: var(--orange); }
.ref-filter-option input:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.ref-filter-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.ref-filter-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ref-filter-option input:checked + .ref-filter-option-label,
.ref-filter-option:has(input:checked) { color: var(--navy); font-weight: 600; }


/* LISTA REFERENCJI */
.ref-list-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}
.ref-count {
  font-size: 11px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--txt-2);
}
.ref-count strong { color: var(--orange); font-weight: 800; }
.ref-sort {
  background: none; border: none;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--txt-2); cursor: pointer;
  font-family: inherit; padding: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .25s ease;
}
.ref-sort:hover { color: var(--orange); }
.ref-sort::after {
  content: ''; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.ref-list { display: flex; flex-direction: column; gap: 32px; }
.ref-card {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .35s ease, transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.ref-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.ref-card:hover {
  border-color: rgba(244,108,15,.4);
  box-shadow: 0 24px 48px -22px rgba(35,40,60,.18);
  transform: translateY(-3px);
}
.ref-card:hover::before { transform: scaleX(1); }
.ref-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-2);
}
.ref-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.ref-card:hover .ref-card-photo img { transform: scale(1.06); }
.ref-card-badge {
  position: absolute;
  top: 18px; left: 18px;
  padding: 6px 12px;
  background: var(--orange);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  z-index: 1;
}
.ref-card-body {
  padding: 32px 36px 32px 0;
  display: flex; flex-direction: column;
  gap: 18px;
}
.ref-card-meta {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  font-size: 12.5px; font-weight: 500;
  color: var(--txt-2);
  letter-spacing: -.005em;
}
.ref-card-meta-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.ref-card-meta-item svg {
  width: 14px; height: 14px;
  stroke: var(--orange);
  fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ref-card-meta-item--accent { color: var(--navy); font-weight: 700; }
.ref-card-meta-item--accent strong { color: var(--orange); }
.ref-card-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--navy);
}
.ref-card-title a { color: inherit; text-decoration: none; }
.ref-card-desc {
  font-size: 14.5px; line-height: 1.6;
  color: var(--txt-2);
  letter-spacing: -.005em;
  max-width: 620px;
}
.ref-card-foot {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.ref-tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: rgba(30,42,85,.06);
  color: var(--navy);
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.ref-tag--count {
  background: rgba(244,108,15,.10);
  color: var(--orange-2);
  font-weight: 700;
}
.ref-card-link {
  margin-left: auto;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .25s ease, gap .25s ease;
}
.ref-card-link::after {
  content: ''; width: 18px; height: 1.5px; background: currentColor;
  position: relative;
}
.ref-card-link:hover { color: var(--orange); gap: 14px; }


/* PUSTY STAN */
.ref-empty {
  display: none;
  padding: 80px 32px;
  text-align: center;
  background: #F6F7F9;
  border: 1px dashed var(--line-2);
}
.ref-empty.show { display: block; }
.ref-empty h3 {
  font-size: 22px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.022em;
  margin-bottom: 10px;
}
.ref-empty p {
  font-size: 14px; color: var(--txt-2);
  letter-spacing: -.005em;
}


/* CTA STRIP */
.ref-cta {
  background: var(--navy-3);
  color: #fff;
  padding: 96px var(--pad-x);
}
.ref-cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.ref-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.ref-cta-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.ref-cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  max-width: 640px;
}
.ref-cta h2 em { font-style: normal; color: var(--orange); }
.ref-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: var(--orange);
  color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.ref-cta-btn:hover { background: var(--orange-2); transform: translateX(4px); }
.ref-cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .ref-main-inner { grid-template-columns: 1fr; gap: 48px; }
  .ref-filters { position: static; }
  .ref-card { grid-template-columns: 240px 1fr; gap: 24px; }
  .ref-card-body { padding: 24px 28px 24px 0; }
  .ref-hero-stats { gap: 48px; }
  .ref-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .ref-hero { padding-top: 68px; }
  .ref-hero-inner { padding: 80px 24px 96px; }
  .ref-hero h1 { font-size: clamp(44px, 13vw, 72px); }
  .ref-hero-stats { display: none; }
  .ref-main { padding: 64px 24px 96px; }
  .ref-filter-option { padding: 12px 0; min-height: 44px; }
  .ref-card { grid-template-columns: 1fr; gap: 0; }
  .ref-card-body { padding: 28px 24px; }
  .ref-card-photo { aspect-ratio: 16 / 10; }
  .ref-card-foot { gap: 6px; }
  .ref-card-link { margin-left: 0; margin-top: 8px; }
  .ref-cta { padding: 64px 24px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: REFERENCJA: MARINA TOWER ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --gray:   #EDEEF1;
  --pad-x:  100px;
}
section[id] { scroll-margin-top: 80px; }


/* ═══ BREADCRUMB ════════════════════════════════════════════ */
.cs-crumbs {
  background: #14182A;
  padding-top: 80px;
}
.cs-crumbs-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cs-crumbs-inner a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s ease; }
.cs-crumbs-inner a:hover { color: var(--orange); }
.cs-crumbs-sep { color: rgba(255,255,255,.2); }
.cs-crumbs-current { color: #fff; }


/* ═══ HERO ════════════════════════════════════════════════ */
.cs-hero {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange); z-index: 3;
}
.cs-hero-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 64px var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.cs-hero-body { padding-bottom: 64px; }
.cs-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.cs-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--orange); }
.cs-hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800; line-height: .98;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 14px;
}
.cs-hero-subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,.6);
  letter-spacing: -.01em;
  margin-bottom: 0;
}
.cs-hero-meta {
  display: flex; flex-wrap: wrap;
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.cs-hero-meta-item {
  flex: 1; min-width: 0;
  padding-right: 24px;
}
.cs-hero-meta-item + .cs-hero-meta-item {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.cs-hero-meta-label {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
}
.cs-hero-meta-value {
  display: block;
  font-size: 15px; font-weight: 600;
  color: #fff;
  letter-spacing: -.012em;
}
.cs-hero-actions {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.cs-hero-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.cs-hero-btn--primary { background: var(--orange); color: #fff; }
.cs-hero-btn--primary:hover { background: var(--orange-2); transform: translateX(3px); }
.cs-hero-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.cs-hero-btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.cs-hero-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs-hero-photo {
  position: relative;
  align-self: stretch;
  margin-bottom: -1px;
  min-height: 420px;
}
.cs-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cs-hero-photo-tag {
  position: absolute; left: 0; top: 24px;
  padding: 8px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  z-index: 2;
}


/* ═══ STATS STRIP ═══════════════════════════════════════════ */
.cs-stats {
  background: var(--gray);
  padding: 64px var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.cs-stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cs-stat {
  padding: 8px 32px 8px 0;
}
.cs-stat + .cs-stat {
  padding-left: 32px;
  border-left: 1px solid var(--line-2);
}
.cs-stat-num {
  display: block;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.cs-stat-num em { font-style: normal; color: var(--orange); }
.cs-stat-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-2);
}


/* ═══ MAIN: CONTENT + STICKY SPEC SIDEBAR ═══════════════════ */
.cs-main {
  background: #FFFFFF;
  padding: 130px var(--pad-x);
}
.cs-main-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 96px;
  align-items: start;
}
.cs-content > section + section { margin-top: 96px; }
.cs-section-head {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.cs-section-num {
  display: block;
  font-size: 14px; font-weight: 800;
  color: var(--orange);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding-top: 14px;
  position: relative;
}
.cs-section-num::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 2px;
  background: var(--orange);
}
.cs-section-eyebrow {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 16px;
}
.cs-section-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.cs-section-head h2 em { font-style: normal; color: var(--orange); }
.cs-prose {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
}
.cs-prose-aside {
  /* zostawione na adnotacje typu data, źródło */
}
.cs-prose-aside-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  padding-top: 8px;
  display: block;
}
.cs-prose-body {
  display: flex; flex-direction: column;
  gap: 22px;
}
.cs-prose-body p {
  font-size: 16px; line-height: 1.7;
  color: var(--txt-2);
  letter-spacing: -.005em;
  max-width: 680px;
}
.cs-prose-body p.lead {
  font-size: 19px; line-height: 1.55;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.015em;
}
.cs-pullquote {
  margin: 16px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--orange);
  background: var(--gray);
  font-size: 20px; font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: -.015em;
}


/* Rozwiązanie – numbered list */
.cs-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line-2);
}
.cs-checklist li {
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.cs-checklist li:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line-2);
}
.cs-checklist li:nth-child(even) {
  padding-left: 32px;
}
.cs-checklist-num {
  font-size: 12px; font-weight: 800;
  letter-spacing: .04em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.cs-checklist h4 {
  font-size: 16px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.012em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.cs-checklist p {
  font-size: 14px; line-height: 1.55;
  color: var(--txt-2);
  letter-spacing: -.005em;
}


/* Rezultaty – cards */
.cs-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.cs-result-card {
  background: var(--navy-3);
  color: #fff;
  padding: 36px 32px;
  position: relative;
  border-left: 3px solid var(--orange);
}
.cs-result-num {
  display: block;
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.cs-result-num em { font-style: normal; color: var(--orange); }
.cs-result-label {
  display: block;
  font-size: 13px; line-height: 1.5;
  color: rgba(255,255,255,.7);
  letter-spacing: -.005em;
}


/* SPEC SIDEBAR */
.cs-spec {
  position: sticky;
  top: 100px;
  background: var(--gray);
  border-top: 3px solid var(--orange);
  padding: 32px 28px;
}
.cs-spec h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.cs-spec-row {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cs-spec-row:last-child { border-bottom: none; }
.cs-spec-key {
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt-3);
}
.cs-spec-val {
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.4;
}
.cs-spec-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  gap: 10px;
}
.cs-spec-cta a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.cs-spec-cta-primary { background: var(--orange); color: #fff; }
.cs-spec-cta-primary:hover { background: var(--orange-2); }
.cs-spec-cta-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line-2); }
.cs-spec-cta-ghost:hover { border-color: var(--orange); color: var(--orange); }
.cs-spec-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-left: auto; }


/* ═══ GALERIA – full-bleed ═════════════════════════════════ */
.cs-gallery {
  padding: 0 var(--pad-x) 130px;
  background: #FFFFFF;
}
.cs-gallery-inner {
  max-width: 1280px; margin: 0 auto;
}
.cs-gallery-head {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}
.cs-gallery-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.cs-gallery-head h2 em { font-style: normal; color: var(--orange); }
.cs-gallery-count {
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
  padding-bottom: 6px;
}
.cs-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 16 / 9;
}
.cs-gallery-grid > a {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--navy-2);
}
.cs-gallery-grid > a:first-child {
  grid-row: span 2;
}
.cs-gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.cs-gallery-grid > a:hover img { transform: scale(1.06); }
.cs-gallery-grid > a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,27,54,0) 70%, rgba(20,27,54,.5) 100%);
  pointer-events: none;
}


/* ═══ TESTIMONIAL ═══════════════════════════════════════════ */
.cs-testimonial {
  background: var(--gray);
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.cs-testimonial-inner {
  max-width: 1080px; margin: 0 auto;
  text-align: left;
}
.cs-testimonial-mark {
  font-size: 96px; line-height: 1;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: -32px;
  display: block;
  font-family: Georgia, serif;
}
.cs-testimonial blockquote {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -.025em;
  margin-bottom: 40px;
  max-width: 980px;
}
.cs-testimonial-author {
  display: flex; align-items: center; gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.cs-testimonial-avatar {
  width: 52px; height: 52px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.cs-testimonial-name {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.012em;
  margin-bottom: 4px;
}
.cs-testimonial-role {
  display: block;
  font-size: 13px;
  color: var(--txt-2);
  letter-spacing: -.005em;
}


/* ═══ POWIĄZANE REALIZACJE ═════════════════════════════════ */
.cs-related {
  background: #FFFFFF;
  padding: 130px var(--pad-x);
}
.cs-related-inner { max-width: 1280px; margin: 0 auto; }
.cs-related-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.cs-related-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1;
}
.cs-related-head h2 em { font-style: normal; color: var(--orange); }
.cs-related-all {
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .25s ease, gap .25s ease;
}
.cs-related-all::after { content: ''; width: 24px; height: 1.5px; background: currentColor; }
.cs-related-all:hover { color: var(--orange); gap: 14px; }
.cs-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-related-card {
  display: block;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid var(--line);
  transition: border-color .35s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
  position: relative;
}
.cs-related-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.cs-related-card:hover {
  border-color: rgba(244,108,15,.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(35,40,60,.18);
}
.cs-related-card:hover::before { transform: scaleX(1); }
.cs-related-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-2);
}
.cs-related-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.cs-related-card:hover .cs-related-photo img { transform: scale(1.06); }
.cs-related-body { padding: 24px 28px 28px; }
.cs-related-meta {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.cs-related-card h3 {
  font-size: 20px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.022em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cs-related-card p {
  font-size: 13px;
  color: var(--txt-2);
  letter-spacing: -.005em;
}


/* ═══ CTA STRIP ═════════════════════════════════════════════ */
.cs-cta {
  background: var(--navy-3);
  color: #fff;
  padding: 96px var(--pad-x);
}
.cs-cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.cs-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.cs-cta-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.cs-cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  max-width: 640px;
}
.cs-cta h2 em { font-style: normal; color: var(--orange); }
.cs-cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.cs-cta-btn:hover { background: var(--orange-2); transform: translateX(4px); }
.cs-cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .cs-hero-inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .cs-hero-body { padding-bottom: 64px; }
  .cs-hero-photo { min-height: 420px; }
  .cs-stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .cs-stat:nth-child(3) { border-left: none; padding-left: 0; }
  .cs-stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .cs-stat:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line-2); }
  .cs-main-inner { grid-template-columns: 1fr; gap: 64px; }
  .cs-spec { position: static; }
  .cs-results { grid-template-columns: 1fr; }
  .cs-checklist { grid-template-columns: 1fr; }
  .cs-checklist li:nth-child(odd) { padding-right: 0; border-right: none; }
  .cs-checklist li:nth-child(even) { padding-left: 0; }
  .cs-related-grid { grid-template-columns: 1fr 1fr; }
  .cs-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .cs-crumbs { padding-top: 68px; }
  .cs-crumbs-inner { padding: 14px 24px; font-size: 10px; flex-wrap: wrap; }
  .cs-hero-inner { padding: 60px 24px 0; }
  .cs-hero-body { padding-bottom: 48px; }
  .cs-hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .cs-hero-meta { flex-direction: column; gap: 18px; }
  .cs-hero-meta-item + .cs-hero-meta-item { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
  .cs-stats { padding: 48px 24px; }
  .cs-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cs-stat, .cs-stat + .cs-stat { padding: 0; border-left: none; }
  .cs-main { padding: 80px 24px; }
  .cs-content > section + section { margin-top: 64px; }
  .cs-section-head { grid-template-columns: 1fr; gap: 12px; }
  .cs-prose { grid-template-columns: 1fr; gap: 8px; }
  .cs-gallery { padding: 0 24px 80px; }
  .cs-gallery-head { grid-template-columns: 1fr; gap: 12px; }
  .cs-gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .cs-gallery-grid > a { aspect-ratio: 4 / 3; }
  .cs-gallery-grid > a:first-child { grid-row: span 1; aspect-ratio: 16 / 10; }
  .cs-testimonial { padding: 80px 24px; }
  .cs-related { padding: 80px 24px; }
  .cs-related-grid { grid-template-columns: 1fr; }
  .cs-cta { padding: 64px 24px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: AKTUALNOŚCI (pateh-aktualnosci.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --gray:   #EDEEF1;
  --pad-x:  100px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  background: #F6F7F9; color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFadeIn 1.4s cubic-bezier(.22, 1, .36, 1) both;
}


/* ═══ HERO – jasny, editorial ════════════════════════════════ */
.ak-hero {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 200px var(--pad-x) 80px;
  overflow: hidden;
}
.ak-hero::before {
  content: '';
  position: absolute; left: 0; top: 80px; bottom: 0;
  width: 3px; background: var(--orange); z-index: 2;
}
.ak-hero::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 90% 30%, rgba(244,108,15,.10), transparent 60%);
}
.ak-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.ak-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.ak-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.ak-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800; line-height: .98;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 24px;
}
.ak-hero h1 em { font-style: normal; color: var(--orange); }
.ak-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 680px;
  letter-spacing: -.012em;
}


/* ═══ FILTRY KATEGORII ══════════════════════════════════════ */
.ak-filters {
  background: #FFFFFF;
  padding: 32px var(--pad-x) 0;
  border-bottom: 1px solid var(--line-2);
}
.ak-filters-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 24px;
}
.ak-chip {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--txt-2);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  font-family: inherit; cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ak-chip:hover { border-color: var(--orange); color: var(--orange); }
.ak-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}


/* ═══ FEATURED ARTICLE ══════════════════════════════════════ */
.ak-featured {
  padding: 80px var(--pad-x) 40px;
  background: transparent;
}
.ak-featured-inner { max-width: 1280px; margin: 0 auto; }
.ak-featured-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.ak-featured-card:hover {
  border-color: rgba(244,108,15,.4);
  box-shadow: 0 28px 56px -28px rgba(35,40,60,.22);
}
.ak-featured-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.ak-featured-card:hover::before { transform: scaleX(1); }
.ak-featured-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy-2);
}
.ak-featured-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.5s cubic-bezier(.16,1,.3,1);
}
.ak-featured-card:hover .ak-featured-photo img { transform: scale(1.04); }
.ak-featured-body {
  padding: 56px 64px 48px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.ak-featured-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.ak-featured-eyebrow::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--orange); }
.ak-featured-tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  background: rgba(244,108,15,.10);
  color: var(--orange-2);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  align-self: flex-start;
}
.ak-featured-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.ak-featured-desc {
  font-size: 16px; line-height: 1.6;
  color: var(--txt-2);
  letter-spacing: -.005em;
  max-width: 520px;
}
.ak-featured-meta {
  display: flex; gap: 28px; align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600;
  color: var(--txt-3);
  letter-spacing: -.005em;
}
.ak-featured-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.ak-featured-meta-item svg { width: 13px; height: 13px; stroke: var(--orange); fill: none; stroke-width: 1.7; }
.ak-featured-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 6px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  transition: color .25s ease, gap .25s ease;
}
.ak-featured-cta::after { content: ''; width: 24px; height: 1.5px; background: currentColor; }
.ak-featured-card:hover .ak-featured-cta { color: var(--orange); gap: 18px; }


/* ═══ GRID ARTYKUŁÓW ════════════════════════════════════════ */
.ak-grid-section {
  background: transparent;
  padding: 40px var(--pad-x) 130px;
}
.ak-grid-inner { max-width: 1280px; margin: 0 auto; }
.ak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ak-card {
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color .35s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.ak-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.ak-card:hover {
  border-color: rgba(244,108,15,.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(35,40,60,.18);
}
.ak-card:hover::before { transform: scaleX(1); }
.ak-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray);
}
.ak-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.ak-card:hover .ak-card-photo img { transform: scale(1.06); }
.ak-card-body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  flex: 1;
}
.ak-card-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: rgba(30,42,85,.06);
  color: var(--navy);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  align-self: flex-start;
}
.ak-card-title {
  font-size: 20px; font-weight: 800;
  color: var(--navy);
  letter-spacing: -.022em;
  line-height: 1.25;
}
.ak-card-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--txt-2);
  letter-spacing: -.005em;
}
.ak-card-meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 600;
  color: var(--txt-3);
  letter-spacing: -.005em;
}
.ak-card-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.ak-card-meta-item svg { width: 12px; height: 12px; stroke: var(--orange); fill: none; stroke-width: 1.7; }


/* PAGINACJA */
.ak-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2);
}
.ak-pg {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--txt-2);
  font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ak-pg:hover { border-color: var(--orange); color: var(--orange); }
.ak-pg.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ak-pg-arrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.ak-pg-disabled { opacity: .3; cursor: not-allowed; }
.ak-pg-disabled:hover { border-color: var(--line-2); color: var(--txt-2); }


/* ═══ NEWSLETTER STRIP ══════════════════════════════════════ */
.ak-newsletter {
  background: var(--navy-3);
  color: #fff;
  padding: 88px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.ak-newsletter::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 100% 50%, rgba(244,108,15,.12), transparent 60%);
}
.ak-newsletter-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}
.ak-newsletter-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.ak-newsletter-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.ak-newsletter h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.ak-newsletter h2 em { font-style: normal; color: var(--orange); }
.ak-newsletter p {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  letter-spacing: -.005em;
}
.ak-newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,.18);
}
.ak-newsletter-form input {
  background: transparent;
  border: none;
  padding: 18px 22px;
  width: 320px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: -.005em;
}
.ak-newsletter-form input:focus { outline: none; background: rgba(255,255,255,.04); }
.ak-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.ak-newsletter-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background .25s ease, gap .25s ease;
  white-space: nowrap;
}
.ak-newsletter-form button:hover { background: var(--orange-2); gap: 16px; }
.ak-newsletter-form button svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .ak-grid { grid-template-columns: repeat(2, 1fr); }
  .ak-featured-card { grid-template-columns: 1fr; }
  .ak-featured-body { padding: 40px 36px; }
  .ak-newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .ak-hero { padding: 140px 24px 64px; }
  .ak-hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .ak-filters { padding: 24px 24px 0; }
  .ak-featured { padding: 48px 24px 32px; }
  .ak-featured-body { padding: 32px 28px; }
  .ak-grid-section { padding: 32px 24px 80px; }
  .ak-grid { grid-template-columns: 1fr; gap: 20px; }
  .ak-newsletter { padding: 64px 24px; }
  .ak-newsletter-form { flex-direction: column; }
  .ak-newsletter-form input { width: 100%; }
  .ak-newsletter-form button { padding: 16px 24px; justify-content: center; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: SERWIS (pateh-serwis.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }


/* ═══ HERO ════════════════════════════════════════════════ */
.serwis-hero {
  position: relative;
  padding-top: 80px;
  background: var(--navy-3);
  color: #fff;
  overflow: hidden;
}
.serwis-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.94) 0%, rgba(20,24,42,.78) 50%, rgba(20,24,42,.62) 100%),
    linear-gradient(180deg, transparent 60%, rgba(20,24,42,.9) 100%),
    url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=2000&q=85');
  background-size: cover;
  background-position: center;
}
.serwis-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.serwis-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px; width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad-x) 140px;
}
.serwis-hero-body { max-width: 880px; }
.serwis-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}
.serwis-hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.serwis-hero h1 {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 800; line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 28px;
}
.serwis-hero h1 em { font-style: normal; color: var(--orange); }
.serwis-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 620px;
  letter-spacing: -.012em;
}


/* ═══ ZAKRES USŁUG – 3 cards ══════════════════════════════ */
.serwis-zakres {
  background: #F6F7F9;
  padding: 130px var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.serwis-inner { max-width: 1280px; margin: 0 auto; }
.serwis-head {
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: end;
}
.serwis-head-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.serwis-head-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.serwis-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--navy);
}
.serwis-head h2 em { font-style: normal; color: var(--orange); }
.serwis-head-aside {
  font-size: 15px; line-height: 1.65;
  color: var(--txt-2);
  max-width: 420px;
  padding-bottom: 6px;
  letter-spacing: -.005em;
  margin-left: auto;
  text-align: right;
}
.serwis-zakres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.serwis-zakres-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .45s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.serwis-zakres-card::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px; background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  z-index: 3;
}
.serwis-zakres-card:hover::before { transform: scaleX(1); }
.serwis-zakres-card:hover { box-shadow: 0 24px 48px -20px rgba(35,40,60,.18); transform: translateY(-4px); }
.serwis-zakres-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-2);
}
.serwis-zakres-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.serwis-zakres-card:hover .serwis-zakres-photo img { transform: scale(1.06); }
.serwis-zakres-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,27,54,0) 50%, rgba(20,27,54,.55) 100%);
  pointer-events: none;
}
.serwis-zakres-icon {
  position: absolute; left: 24px; bottom: 24px;
  z-index: 2;
  width: 52px; height: 52px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.serwis-zakres-icon svg {
  width: 22px; height: 22px;
  stroke: #fff;
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.serwis-zakres-body {
  padding: 32px 36px 36px;
}
.serwis-zakres-card h3 {
  font-size: 22px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.022em;
  margin-bottom: 14px;
}
.serwis-zakres-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--txt-2);
  letter-spacing: -.005em;
}


/* ═══ PROCES SERWISOWY – numbered editorial ════════════════ */
.serwis-proces {
  background: #FFFFFF;
  padding: 130px var(--pad-x);
}
.serwis-proces .serwis-head-aside,
.serwis-materialy .serwis-head-aside {
  text-align: right;
  justify-self: end;
  margin-left: auto;
}
.serwis-proces-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
}

/* (linia łącząca usunięta) */
.proces-step {
  position: relative;
  padding: 32px 28px 32px;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  transition: border-color .35s ease, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.proces-step:hover {
  border-color: rgba(244,108,15,.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(35,40,60,.18);
}
.proces-step-num {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--navy);
  color: #fff;
  font-size: 20px; font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 32px;
  z-index: 1;
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.proces-step-num::after {
  content: '';
  position: absolute;
  top: 50%; left: 100%;
  width: 24px; height: 1px;
  background: var(--orange);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1) .1s;
}
.proces-step:last-child .proces-step-num::after { display: none; }
.proces-step:hover .proces-step-num {
  background: var(--orange);
  transform: translateY(-4px);
}
.proces-step:hover .proces-step-num::after { transform: translateY(-50%) scaleX(1); }
.proces-step-label {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.proces-step h3 {
  font-size: 22px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.022em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.proces-step p {
  font-size: 14px; line-height: 1.65;
  color: var(--txt-2);
  letter-spacing: -.005em;
}


/* ═══ MATERIAŁY – downloads ════════════════════════════════ */
.serwis-materialy {
  background: #EDEEF1;
  padding: 130px var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.materialy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.materialy-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  text-decoration: none;
  transition: background .35s ease, border-color .35s ease,
              transform .35s ease, box-shadow .35s ease;
}
.materialy-card:hover {
  background: var(--navy-3);
  border-color: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 14px 32px -14px rgba(0,0,0,.4);
}
.materialy-card-type {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
}
.materialy-card-text {
  display: flex; flex-direction: column;
  gap: 4px;
}
.materialy-card-name {
  font-size: 15px; font-weight: 700;
  letter-spacing: -.012em;
  color: #fff;
  line-height: 1.2;
}
.materialy-card-meta {
  font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
}
.materialy-card-arrow {
  font-size: 18px;
  color: #fff;
  text-align: right;
}


/* ═══ KONTAKT SERWISOWY – editorial command center ═══════════ */
.sk {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 140px 0 0;
  overflow: hidden;
}
.sk::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(244,108,15,.10), transparent 60%);
  z-index: 0;
}
.sk-wrap {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.sk-eyebrow {
  display: inline-flex; align-items: baseline; gap: 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 36px;
}
.sk-eyebrow::before {
  content: '';
  width: 56px; height: 1px;
  background: var(--orange);
  display: inline-block;
}
.sk-title {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  max-width: 920px;
  margin-bottom: 72px;
}
.sk-title em {
  font-style: normal;
  color: var(--orange);
}


/* Hero call panel */
.sk-call {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 64px;
  padding: 56px 0 48px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.sk-call-left { min-width: 0; }
.sk-call-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.sk-call-number {
  display: block;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color .4s ease;
}
.sk-call-number:hover { color: var(--orange); }
.sk-call-right {
  display: flex; flex-direction: column;
  align-items: flex-end;
  padding-bottom: 14px;
}
.sk-call-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.sk-call-status-icon {
  width: 16px; height: 16px;
  stroke: var(--orange);
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.sk-call-hours {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  letter-spacing: -.005em;
  text-align: right;
}


/* Info strip */
.sk-strip {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.sk-strip-cell {
  padding: 40px 36px 44px 0;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.sk-strip-cell:nth-child(n+2) { padding-left: 40px; }
.sk-strip-cell:last-child { border-right: none; padding-right: 0; }
.sk-strip-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.sk-strip-value {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  transition: color .3s ease;
}
a.sk-strip-value:hover { color: var(--orange); }
.sk-strip-note {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.55);
}


/* Bottom CTA row */
.sk-cta {
  padding: 56px 0 140px;
  display: flex; justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.sk-cta-quote {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,.55);
  max-width: 520px;
}
.sk-cta-quote strong { color: #fff; font-weight: 600; }
.sk-cta-action {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  background: var(--orange);
  color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s ease, transform .3s ease;
}
.sk-cta-action:hover {
  background: var(--orange-2);
  transform: translateX(4px);
}
.sk-cta-action svg {
  width: 14px; height: 14px;
  stroke: #fff; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.reveal h1 em, .reveal h2 em {
  color: rgba(255,255,255,.18);
  transition: color 1s ease .9s;
}
.reveal.in h1 em, .reveal.in h2 em { color: var(--orange); }
.serwis-zakres .reveal h2 em,
.serwis-proces .reveal h2 em,
.serwis-materialy .reveal h2 em { color: rgba(35,40,60,.18); }
.serwis-zakres .reveal.in h2 em,
.serwis-proces .reveal.in h2 em,
.serwis-materialy .reveal.in h2 em { color: var(--orange); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1),
              transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .3s; }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .serwis-zakres-grid { grid-template-columns: 1fr; }
  .serwis-proces-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .serwis-proces-grid::before { display: none; }
  .proces-step:not(:last-child) { padding-right: 24px; }
  .proces-step-num::after { display: none; }
  .materialy-grid { grid-template-columns: 1fr; }
  .serwis-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .serwis-head-aside { margin-left: 0; text-align: left; max-width: none; }
  .sk-call { grid-template-columns: 1fr; gap: 28px; }
  .sk-call-right { align-items: flex-start; }
  .sk-call-hours { text-align: left; }
  .sk-strip { grid-template-columns: 1fr; }
  .sk-strip-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); padding: 28px 0 32px; }
  .sk-strip-cell:nth-child(n+2) { padding-left: 0; }
  .sk-strip-cell:last-child { border-bottom: none; }
  .sk-cta { flex-direction: column; align-items: flex-start; padding: 40px 0 100px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .serwis-hero { padding-top: 68px; }
  .serwis-hero-inner { padding: 80px 24px 96px; }
  .serwis-hero h1 { font-size: clamp(44px, 13vw, 72px); }
  .serwis-zakres, .serwis-proces, .serwis-materialy { padding: 80px 24px; }
  .sk { padding-top: 88px; }
  .sk-title { margin-bottom: 64px; }
  .sk-eyebrow { margin-bottom: 24px; }
  .serwis-zakres-card { padding: 32px 28px; }
  .serwis-proces-grid { grid-template-columns: 1fr; row-gap: 16px; }
  .proces-step { padding: 28px 24px; }
  .proces-step-num { width: 56px; height: 56px; font-size: 18px; margin-bottom: 24px; }
  .materialy-card { grid-template-columns: 64px 1fr 20px; gap: 16px; padding: 20px 22px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: KONTAKT (pateh-kontakt.html) ===
   ============================================================ */
:root {
  --navy:   #1E2A55;
  --navy-2: #1A2347;
  --navy-3: #141B36;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #1E2A55;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
}
section[id] { scroll-margin-top: 80px; }
.mega-col-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mega-col-list a {
  display: block;
  padding: 7px 10px;
  margin: 0 -10px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  letter-spacing: -.005em;
  text-transform: none;
  border: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
/* Hover: tylko ramka, bez animacji/przesuwania tekstu */
.mega-col-list a:hover {
  border-color: rgba(244,108,15,.45);
  background-color: rgba(244,108,15,.06);
}


/* ═══ HERO ═══════════════════════════════════════════════ */
.kontakt-hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 80px 0 0;
  background: var(--navy-3);
  color: #fff;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.kontakt-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(20,24,42,.94) 0%, rgba(20,24,42,.78) 50%, rgba(20,24,42,.6) 100%),
    linear-gradient(180deg, transparent 60%, rgba(20,24,42,.9) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2000&q=85');
  background-size: cover;
  background-position: center;
}
.kontakt-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.kontakt-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad-x) 140px;
  display: flex; flex-direction: column;
}
.kontakt-hero-body { max-width: 880px; }
.kontakt-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
}
.kontakt-hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1.5px;
  background: var(--orange);
}
.kontakt-hero h1 {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 800; line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 28px;
}
.kontakt-hero h1 em { font-style: normal; color: var(--orange); }
.kontakt-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  letter-spacing: -.012em;
}


/* ═══ MAIN – sidebar + form ════════════════════════════ */
.kontakt-main {
  background: #FFFFFF;
  padding: 120px 0 140px;
}
.kontakt-main-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 56px;
  align-items: start;
}


/* Sidebar */
.kontakt-side {
  display: flex; flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.kontakt-card {
  position: relative;
  background: var(--navy-3);
  padding: 0;
  overflow: hidden;
}
.kontakt-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange);
  z-index: 2;
}
.kontakt-card-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
  margin: 32px 32px 24px;
}
.kontakt-card-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1.5px;
  background: var(--orange);
}
.kontakt-info {
  list-style: none;
}
.kontakt-info-row {
  padding: 28px 32px;
}

/* Alternating navy shades */
.kontakt-info-row:nth-child(odd) { background: var(--navy-3); }
.kontakt-info-row:nth-child(even) { background: var(--navy-2); }
.kontakt-info-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.kontakt-info-head svg {
  width: 14px; height: 14px;
  stroke: var(--orange);
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.kontakt-info-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange);
}
.kontakt-info-value,
.kontakt-info-value * {
  font-size: 16px; line-height: 1.55;
  color: #fff !important;
  font-weight: 500;
  letter-spacing: -.005em;
}
.kontakt-info-value strong {
  font-weight: 700;
  color: #fff !important;
}
.kontakt-info-value a {
  color: #fff;
  text-decoration: none;
}
.kontakt-info-value strong {
  font-weight: 700;
  color: var(--navy);
}


/* Social card */
.kontakt-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kontakt-social {
  padding: 0 32px 32px;
}
.kontakt-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.kontakt-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.kontakt-social svg {
  width: 18px; height: 18px;
  fill: currentColor;
}


/* CTA callout card (dark) */
.kontakt-callout {
  position: relative;
  background: var(--navy-2);
  color: #fff;
  padding: 32px 32px 36px;
  overflow: hidden;
}
.kontakt-callout::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange);
}
.kontakt-callout::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 110% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}
.kontakt-callout > * { position: relative; z-index: 1; }
.kontakt-callout h4 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -.018em;
  color: #fff;
  margin-bottom: 12px;
}
.kontakt-callout p {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,.7);
  letter-spacing: -.005em;
  margin-bottom: 18px;
}
.kontakt-callout-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: gap .25s ease;
}
.kontakt-callout-cta::after {
  content: '→';
  font-size: 13px;
  transition: transform .25s ease;
}
.kontakt-callout-cta:hover { gap: 14px; }
.kontakt-callout-cta:hover::after { transform: translateX(4px); }


/* Form */
.kontakt-form-wrap {
  background: #fff;
  border: 1px solid var(--line-2);
  padding: 48px 48px 44px;
  position: relative;
  overflow: hidden;
}
.kontakt-form-wrap::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--orange);
}
.kontakt-form-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.kontakt-form-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 8px;
}
.kontakt-form-head h2 em { font-style: normal; color: var(--orange); }
.kontakt-form-head p {
  font-size: 14px; line-height: 1.6;
  color: var(--txt-2);
  letter-spacing: -.005em;
}
.kontakt-form {
  display: flex; flex-direction: column;
  gap: 20px;
}
.kontakt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex; flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--txt-3);
}
.field label .req {
  color: var(--orange);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: #FAFAF7;
  border: 1px solid var(--line-2);
  padding: 14px 18px;
  width: 100%;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  border-radius: 0;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--txt-3);
  font-weight: 400;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244,108,15,.12);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26C0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}
.field textarea {
  resize: vertical;
  min-height: 160px;
  font-family: inherit;
  line-height: 1.6;
}
.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  padding-top: 8px;
}
.field-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1px solid var(--line-2);
  background: #FAFAF7;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .25s ease, border-color .25s ease;
}
.field-check input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.field-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-55%, -75%) rotate(-45deg);
}
.field-check input[type="checkbox"]:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.field-check-text {
  font-size: 13px; line-height: 1.55;
  color: var(--txt-2);
  letter-spacing: -.003em;
}
.field-check-text .req {
  color: var(--orange);
}
.field-check-text a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .25s ease;
}
.field-check-text a:hover { color: var(--orange); }
.kontakt-form-actions {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}
.btn-primary,
.btn-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid;
  background: transparent;
  text-decoration: none;
  transition: background .3s ease, color .3s ease,
              border-color .3s ease, gap .3s ease,
              box-shadow .35s ease;
}
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-2);
  border-color: var(--orange-2);
  gap: 16px;
  box-shadow: 0 14px 28px -12px rgba(244,108,15,.6);
}
.btn-primary::after {
  content: '→';
  font-size: 14px;
  transition: transform .25s ease;
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-secondary {
  color: var(--navy);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}


/* ═══ MAP – full width ══════════════════════════════════ */
.kontakt-map {
  position: relative;
  background: var(--navy-3);
  border-top: 1px solid var(--line-2);
  overflow: hidden;
}
.kontakt-map-frame {
  position: relative;
  height: 540px;
  background: var(--navy-3);
}
.kontakt-map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.4) contrast(1.05);
}
/* Kolorowa pinezka na środku mapy */
.kontakt-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 54px;
  transform: translate(-50%, -100%);
  z-index: 2;
  pointer-events: none;
}
.kontakt-map-pin-svg {
  position: relative;
  z-index: 2;
  width: 40px; height: 54px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(20,25,40,.35));
  animation: pateh-pin-drop .6s cubic-bezier(.16,1,.3,1) both;
}
@keyframes pateh-pin-drop {
  0%   { transform: translateY(-18px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
/* Pulsujący pierścień u podstawy pinezki */
.kontakt-map-pin-pulse {
  position: absolute;
  left: 50%; bottom: 2px;
  width: 22px; height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(242,108,15,.45);
  z-index: 1;
  animation: pateh-pin-pulse 2.2s ease-out infinite;
}
@keyframes pateh-pin-pulse {
  0%   { transform: translateX(-50%) scale(.5); opacity: .8; }
  100% { transform: translateX(-50%) scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt-map-pin-svg { animation: none; }
  .kontakt-map-pin-pulse { animation: none; opacity: .35; }
}
.reveal h1 em, .reveal h2 em {
  color: rgba(255,255,255,.18);
  transition: color 1s ease .9s;
}
.reveal.in h1 em, .reveal.in h2 em { color: var(--orange); }


/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --pad-x: 60px; }
  .kontakt-main-inner { grid-template-columns: 1fr; gap: 32px; }
  .kontakt-side { position: static; }
  .kontakt-form-row { grid-template-columns: 1fr; }
  .kontakt-form-wrap { padding: 36px 32px 32px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .kontakt-hero { padding-top: 68px; }
  .kontakt-hero-inner { padding: 80px 24px 96px; }
  .kontakt-hero h1 { font-size: clamp(44px, 13vw, 72px); }
  .kontakt-main { padding: 80px 0 100px; }
  .kontakt-card { padding: 28px 24px; }
  .kontakt-form-wrap { padding: 32px 24px 28px; }
  .kontakt-map-frame { height: 380px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header-right .btn-cta { display: none; }
}


/* ============================================================
   === PAGE: KLAUS MULTIPARKING ===
   ============================================================ */
:root {
  --navy:   #23283C;
  --navy-2: #1C2034;
  --navy-3: #161928;
  --orange: #F26C0F;
  --orange-2: #D85A05;
  --bg:     #F2F3F5;
  --bg-2:   #EFF0F2;
  --line:   rgba(35,40,60,.08);
  --line-2: rgba(35,40,60,.16);
  --txt:    #23283C;
  --txt-2:  #4A4D5A;
  --txt-3:  #8A8FA0;
  --pad-x: 100px;
  --container: 1180px;
}
html { scroll-behavior: smooth; }


/* ── HEADER ─────────────────────────────────────────── */
/* UWAGA: selektor MUSI być ograniczony do nagłówka strony (.pateh-site-header).
   Goły `header {}` łapał też sekcyjne <header class="k-products-head"> itp.
   i przyklejał je (position:fixed) do góry – stąd nakładanie tytułów. */
.pateh-site-header {
  position: fixed; inset: 0 0 auto;
  z-index: 200; height: 80px;
  background: #14182A;
  border-bottom: 1px solid transparent;
  transition: height .3s ease, border-color .3s ease;
}
.pateh-site-header.scrolled { height: 64px; border-bottom-color: rgba(255,255,255,.08); }
.pateh-site-header nav {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 32px;
}
/* UWAGA: te reguły dotyczą TYLKO linków najwyższego poziomu w menu.
   Nie wolno ich rozszerzać na `nav a`, bo wtedy biją style podmenu
   (.nav-submenu--simple a) i rozwalają rozwijane menu. */
.pateh-site-header .nav-list > .nav-item > a {
  position: relative;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.78);
  text-decoration: none; letter-spacing: .14em;
  text-transform: uppercase; padding: 8px 0;
  transition: color .35s ease;
}
.pateh-site-header .nav-list > .nav-item > a:hover,
.pateh-site-header .nav-list > .nav-item > a.active { color: #fff; }


/* ── SHARED ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--orange); flex-shrink: 0;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); text-decoration: none;
  transition: gap .25s ease;
}
.link-arrow::after { content: '→'; transition: transform .25s ease; }
.link-arrow:hover { gap: 18px; }
.link-arrow:hover::after { transform: translateX(4px); }


/* ════════════════════════════════════════════════════════
   1. HERO + stats
   ════════════════════════════════════════════════════════ */
.k-hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: 80px;
  background: var(--navy-3);
  color: #fff;
  overflow: hidden;
}
.k-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
}
.k-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.k-hero-inner {
  position: relative; z-index: 2;
  max-width: 1440px; width: 100%;
  margin: 0 auto;
  padding: 120px var(--pad-x) 0;
}
.k-hero-crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 36px;
}
.k-hero-crumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.k-hero-crumb a:hover { color: var(--orange); }
.k-hero-crumb span { color: rgba(255,255,255,.35); }
.k-hero-crumb i {
  display: block; width: 28px; height: 1.5px;
  background: var(--orange);
}
.k-hero h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 28px;
}
.k-hero h1 em {
  font-style: normal; color: var(--orange); font-weight: 800;
}
.k-hero-lead {
  font-size: 20px; line-height: 1.5;
  color: rgba(255,255,255,.78); max-width: 640px;
  letter-spacing: -.01em;
  margin-bottom: 80px;
}
.k-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 32px 0;
  margin-bottom: 0;
}
.k-hero-stat {
  border-right: 1px solid rgba(255,255,255,.12);
  padding: 0 24px;
}
.k-hero-stat:first-child { padding-left: 0; }
.k-hero-stat:last-child { border-right: none; }
.k-hero-stat-num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 12px;
}
.k-hero-stat-num em { font-style: normal; color: var(--orange); font-weight: 800; }
.k-hero-stat-lbl {
  font-size: 11px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}


/* ════════════════════════════════════════════════════════
   2. INTRO – O firmie
   ════════════════════════════════════════════════════════ */
.k-intro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 120px var(--pad-x);
  background: #FFFFFF;
  overflow: hidden;
}
.k-intro-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.k-intro-side {
  position: sticky; top: 120px;
}
.k-intro-side .eyebrow { margin-bottom: 24px; }
.k-intro-side h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy);
}
.k-intro-side h2 em { font-style: normal; color: var(--orange); }
.k-intro-body p {
  font-size: 17px; line-height: 1.7;
  color: var(--txt); margin-bottom: 24px;
  letter-spacing: -.005em;
}
.k-intro-body p:last-child { margin-bottom: 0; }


/* ════════════════════════════════════════════════════════
   3. PRODUKTY – 2x2 grid
   ════════════════════════════════════════════════════════ */
.k-products {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 120px var(--pad-x);
  background: var(--bg-2);
  overflow: hidden;
}
.k-products-inner { max-width: 1180px; margin: 0 auto; }
.k-products-head {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.k-products-head .eyebrow { margin-bottom: 18px; }
.k-products-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy);
}
.k-products-head h2 em { font-style: normal; color: var(--orange); }
.k-products-head p {
  font-size: 16px; line-height: 1.65;
  color: var(--txt-2);
  padding-bottom: 8px;
  max-width: 440px;
}
.k-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.k-product-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.k-product-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.k-product-card:hover {
  border-color: rgba(244,108,15,.3);
  transform: translateY(-3px);
}
.k-product-card:hover::before { transform: scaleX(1); }
.k-product-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; color: var(--orange);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.k-product-num::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--orange);
}
.k-product-card h3 {
  font-size: 24px; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy); margin-bottom: 14px;
  line-height: 1.2;
}
.k-product-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--txt-2);
  max-width: 420px;
}


/* ════════════════════════════════════════════════════════
   4. QUALITY – certificates
   ════════════════════════════════════════════════════════ */
.k-quality {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 120px var(--pad-x);
  background: #FFFFFF;
  overflow: hidden;
}
.k-quality-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.k-quality-side .eyebrow { margin-bottom: 24px; }
.k-quality-side h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy); margin-bottom: 20px;
}
.k-quality-side h2 em { font-style: normal; color: var(--orange); }
.k-quality-side p {
  font-size: 16px; line-height: 1.7;
  color: var(--txt-2);
}
.k-cert-list {
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.k-cert-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0 28px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, border-color .35s ease;
}
/* 2px orange left bar, scaleY(0→1) — same language as .hi-milestone */
.k-cert-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0); transform-origin: top;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.k-cert-item:hover {
  background: rgba(244,108,15,.03);
  border-bottom-color: rgba(244,108,15,.25);
}
.k-cert-item:hover::before { transform: scaleY(1); }
.k-cert-code {
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange);
}
.k-cert-desc {
  font-size: 16px; line-height: 1.6;
  color: var(--txt);
}


/* ════════════════════════════════════════════════════════
   5. INNOWACJE – 3 columns
   ════════════════════════════════════════════════════════ */
/* ─────────── INNOWACJE — head + 3-card grid (no sticky) ─────────── */
.k-innovations {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 140px var(--pad-x) 120px;
  background: var(--cream);
  overflow: hidden;
}
/* top-left orange tick — anchors the spread to the page rhythm */
.k-innovations::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  top: 0; left: 0;
  width: 120px; height: 1px;
  background: var(--orange);
}
.k-innovations-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
}

/* ── HEAD ───────────────────────────────────────────── */
.k-inn-head { max-width: 760px; margin-bottom: 64px; }
.k-inn-head .eyebrow { margin-bottom: 22px; }
.k-inn-head h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--navy);
  margin-bottom: 24px;
}
.k-inn-head h2 em { font-style: normal; color: var(--orange); }
.k-inn-head p {
  font-size: 17px; line-height: 1.7;
  color: var(--txt-2);
  max-width: 620px;
  margin: 0;
}

/* ── GRID – 3 cards, language taken from .k-product-card ── */
.k-inn-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.k-inn-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 40px 36px 38px;
  overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
/* orange top bar – matches .k-product-card pattern */
.k-inn-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.k-inn-card:hover {
  border-color: rgba(244,108,15,.3);
  transform: translateY(-3px);
}
.k-inn-card:hover::before { transform: scaleX(1); }

.k-inn-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
/* "01" folio – matches .k-product-num typography */
.k-inn-folio {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.k-inn-folio::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--orange);
}
/* icon – thin line, top-right; on hover swaps to orange */
.k-inn-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--navy);
  background: transparent;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.k-inn-icon svg { width: 22px; height: 22px; }
.k-inn-card:hover .k-inn-icon {
  color: var(--orange);
  border-color: rgba(244,108,15,.4);
  background: rgba(244,108,15,.04);
}
/* tag (sterowanie · mechatronika) – muted small caps above title */
.k-inn-tag {
  display: block;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 14px;
}
.k-inn-title {
  font-size: 23px; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.k-inn-desc {
  font-size: 15px; line-height: 1.7;
  color: var(--txt-2);
  margin: 0;
}


/* ════════════════════════════════════════════════════════
   6. TIMELINE – DARK moment
   ════════════════════════════════════════════════════════ */
.k-timeline {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 120px var(--pad-x) 140px;
  background: var(--navy-2);
  overflow: hidden;
}
.k-timeline-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(244,108,15,.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(244,108,15,.05), transparent 60%);
}
.k-timeline-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
}
.k-timeline-head {
  margin-bottom: 72px;
  max-width: 720px;
}
.k-timeline-head .eyebrow { margin-bottom: 18px; }
.k-timeline-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
}
.k-timeline-head h2 em { font-style: normal; color: var(--orange); }
.k-tl-list {
  list-style: none;
  position: relative;
}
.k-tl-list::before {
  content: '';
  position: absolute;
  left: 60px; top: 16px; bottom: 16px;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.k-tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 24px 0;
  position: relative;
}
.k-tl-item::before {
  content: '';
  position: absolute;
  left: 56px; top: 36px;
  width: 9px; height: 9px;
  background: var(--orange);
  border-radius: 50%;
  z-index: 1;
}
.k-tl-year {
  background: var(--navy-3);
  border: 1px solid rgba(255,255,255,.08);
  padding: 16px 18px;
  font-size: 22px; font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1;
  height: fit-content;
}
.k-tl-content {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  padding: 22px 28px;
  transition: border-color .3s ease, background .3s ease;
}
.k-tl-item:hover .k-tl-content {
  border-color: rgba(244,108,15,.25);
  background: rgba(255,255,255,.04);
}
.k-tl-content h3 {
  font-size: 17px; font-weight: 700;
  letter-spacing: -.015em;
  color: #fff; margin-bottom: 8px;
}
.k-tl-content p {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(255,255,255,.6);
}


/* ════════════════════════════════════════════════════════
   7. KONTAKT – identical to index.html
   ════════════════════════════════════════════════════════ */
.kontakt {
  background: #1C2034;
  padding: 120px 24px;
  text-align: center;
}
.kontakt__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.kontakt__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: #F26C0F;
  margin: 0 0 24px 0;
}
.kontakt__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 20px 0;
}
.kontakt__title span { color: #F26C0F; }
.kontakt__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 40px 0;
}
.kontakt__buttons { display: block; }
.kontakt__btn-primary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
  background: #F26C0F;
  color: #fff;
  border: 1px solid #F26C0F;
}
.kontakt__btn-primary:hover {
  background: #D85A05;
  border-color: #D85A05;
}


/* ── REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }


/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 60px; }
  .k-intro-inner,
  .k-quality-inner,
  .k-products-head { grid-template-columns: 1fr; gap: 40px; }
  .k-intro-side { position: static; }
  .k-hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .k-hero-stat { padding: 16px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .k-products-grid { grid-template-columns: 1fr; }
  .k-inn-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 24px; }
  body > header { height: 68px; }
  nav { display: none; }
  .k-hero { padding-top: 68px; }
  .k-hero::before { top: 68px; }
  .k-hero-inner { padding: 56px 24px 0; }
  .k-hero-crumb { flex-wrap: wrap; row-gap: 6px; margin-bottom: 24px; font-size: 10.5px; }
  .k-hero h1 { font-size: clamp(34px, 8.5vw, 48px); margin-bottom: 20px; }
  .k-hero-lead { font-size: 17px; margin-bottom: 48px; }
  .k-hero-stats { grid-template-columns: 1fr; gap: 0; }
  .k-intro, .k-products, .k-quality, .k-timeline, .k-cta { padding: 64px 24px; }
  .k-innovations { padding: 80px 24px 72px; }
  .k-inn-head { margin-bottom: 40px; }
  .k-inn-grid { grid-template-columns: 1fr; gap: 14px; }
  .k-inn-card { padding: 28px 24px 30px; }
  .k-inn-card-top { margin-bottom: 24px; }
  .k-inn-folio { font-size: 10.5px; }
  .k-inn-folio::before { width: 16px; }
  .k-inn-icon { width: 40px; height: 40px; }
  .k-inn-icon svg { width: 20px; height: 20px; }
  .k-inn-title { font-size: 21px; margin-bottom: 10px; }
  .k-inn-desc { font-size: 15.5px; }
  .k-tl-list::before { left: 40px; }
  .k-tl-item { grid-template-columns: 80px 1fr; gap: 24px; }
  .k-tl-item::before { left: 36px; }
  .k-tl-year { font-size: 16px; padding: 10px 12px; }
  .k-cert-item { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
}

/* === cs-hero-big (single-realizacja, proporcje jak serwis-hero) === */
.cs-hero-big { padding-top: 80px; background: #141B36; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cs-hero-big h1 em { color: var(--orange) !important; }
.cs-hero-big .cs-hero-body * { opacity: 1 !important; transform: none !important; }
.cs-hero-big-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.cs-hero-big-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(20,24,42,.94) 0%, rgba(20,24,42,.78) 50%, rgba(20,24,42,.62) 100%), linear-gradient(180deg, transparent 60%, rgba(20,24,42,.9) 100%); }
.cs-hero-big-bar { position: absolute; left: 0; top: 80px; bottom: 0; width: 3px; background: var(--orange); z-index: 2; }
.cs-hero-big-inner { position: relative; z-index: 2; max-width: 1440px; width: 100%; margin: 0 auto; padding: 96px var(--pad-x) 112px; }
.cs-hero-big .cs-hero-body { max-width: 960px; }
.cs-hero-big .cs-hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-bottom: 32px; }
.cs-hero-big .cs-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1.5px; background: var(--orange); }
.cs-hero-big h1 { font-size: clamp(44px, 5.2vw, 80px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 24px; }
.cs-hero-big h1 em { font-style: normal; color: var(--orange); }
.cs-hero-big .cs-hero-subtitle { font-size: clamp(17px, 1.4vw, 20px); font-weight: 400; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 620px; letter-spacing: -.012em; }
.cs-hero-big-tag { display: inline-block; margin-top: 32px; padding: 10px 18px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* Anchor scroll offset for sticky 80px header */
[id="formularz"], #formularz { scroll-margin-top: 100px; }

/* Fix podwójnej kreski w eyebrow:
   Część szablonów ma <div class="eyebrow"><i></i><span>…</span></div>,
   a późniejsze reguły CSS (.eyebrow::before) dodają drugą kreskę pseudo-elementem.
   Globalnie chowamy <i> – kreska zostaje tylko z ::before. */
.eyebrow > i,
.eyebrow-on > i,
.eyebrow.mb > i { display: none !important; }


/* ============================================================
   === PAGE: KARIERA ===
   Hero (dark) → benefity (light, 2×2) → lista ofert + CV CTA
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────── */
.kariera-hero {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 160px var(--pad-x) 96px;
  overflow: hidden;
  isolation: isolate;
}
.kariera-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 80px; bottom: 0;
  width: 3px;
  background: var(--orange);
  z-index: 2;
}
.kariera-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(244,108,15,.08), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(30,42,85,.5), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.kariera-hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
}
.kariera-hero .eyebrow {
  color: var(--orange);
  margin-bottom: 28px;
}
.kariera-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 900px;
}
.kariera-hero h1 em { font-style: normal; color: var(--orange); }
.kariera-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 680px;
  margin: 0;
}

/* ── BENEFITS – 2×2 grid, jak .k-product-card ───────────── */
.kariera-benefits {
  background: var(--cream);
  padding: 120px var(--pad-x);
}
.kariera-benefits-inner {
  max-width: 1180px; margin: 0 auto;
}
.kariera-benefits-inner > header {
  max-width: 720px;
  margin-bottom: 56px;
}
.kariera-benefits-inner .eyebrow { margin-bottom: 22px; }
.kariera-benefits-inner h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0;
}
.kariera-benefits-inner h2 em { font-style: normal; color: var(--orange); }
.kariera-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.kariera-benefit {
  position: relative;
  background: #fff;
  padding: 44px 40px 40px;
  overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.kariera-benefit::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.kariera-benefit:hover::before { transform: scaleX(1); }
.kariera-benefit-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,108,15,.10);
  border: 1px solid rgba(244,108,15,.22);
  margin-bottom: 24px;
  transition: background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.kariera-benefit-icon svg {
  width: 24px; height: 24px;
  stroke: var(--orange);
}
.kariera-benefit:hover .kariera-benefit-icon {
  background: rgba(244,108,15,.18);
  border-color: rgba(244,108,15,.4);
  transform: translateY(-2px);
}
.kariera-benefit h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}
.kariera-benefit p {
  font-size: 15.5px; line-height: 1.7;
  color: var(--txt-2);
  margin: 0;
}

/* ── LIST – oferty pracy ────────────────────────────────── */
.kariera-list {
  background: #fff;
  padding: 120px var(--pad-x);
}
.kariera-list-inner {
  max-width: 1180px; margin: 0 auto;
}
.kariera-list-inner > header {
  max-width: 720px;
  margin-bottom: 56px;
}
.kariera-list-inner .eyebrow { margin-bottom: 22px; }
.kariera-list-inner h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0;
}
.kariera-list-inner h2 em { font-style: normal; color: var(--orange); }

.kariera-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}
.kariera-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.kariera-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.kariera-card:hover {
  border-color: rgba(244,108,15,.3);
  transform: translateY(-3px);
}
.kariera-card:hover::before { transform: scaleX(1); }

.kariera-card-urgent {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  padding: 6px 10px;
  border: 1px solid rgba(244,108,15,.4);
  background: rgba(244,108,15,.06);
}
.kariera-card-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 80px 4px 0;
  line-height: 1.25;
}
.kariera-card-meta {
  display: flex; flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--txt-2);
  margin: 0;
}
.kariera-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.kariera-card-salary {
  display: inline-flex; align-self: flex-start;
  font-size: 13px; font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  margin-top: 4px;
}
.kariera-card-link {
  margin-top: auto; padding-top: 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  border-top: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s ease;
}
.kariera-card:hover .kariera-card-link { gap: 14px; }

/* CV ogólne CTA */
/* ── OGŁOSZENIA (ACF repeater: tytuł + treść WYSIWYG) ─────── */
.kariera-oferty {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}
.kariera-oferta {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--orange);
}
/* Nagłówek rozwijany (summary) */
.kariera-oferta-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 44px;
  user-select: none;
  transition: background .25s ease;
}
.kariera-oferta-summary::-webkit-details-marker { display: none; }
.kariera-oferta-summary:hover { background: var(--cream); }
.kariera-oferta-title {
  flex: 1;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
  line-height: 1.25;
}
/* Ikona +/× po prawej */
.kariera-oferta-toggle {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  transition: border-color .25s ease, background .25s ease;
}
.kariera-oferta-toggle::before,
.kariera-oferta-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--orange);
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.kariera-oferta-toggle::before { width: 11px; height: 1.5px; transform: translate(-50%,-50%); }
.kariera-oferta-toggle::after  { width: 1.5px; height: 11px; transform: translate(-50%,-50%); }
.kariera-oferta[open] .kariera-oferta-toggle { border-color: var(--orange); background: rgba(244,108,15,.08); }
.kariera-oferta[open] .kariera-oferta-toggle::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.kariera-oferta-summary:hover .kariera-oferta-toggle { border-color: var(--orange); }
/* Treść rozwijana */
.kariera-oferta-body {
  padding: 4px 44px 36px;
}
.kariera-oferta-tresc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--txt-2);
}
.kariera-oferta-tresc p { margin: 0 0 14px; }
.kariera-oferta-tresc h2,
.kariera-oferta-tresc h3,
.kariera-oferta-tresc h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 26px 0 12px;
}
.kariera-oferta-tresc h2:first-child,
.kariera-oferta-tresc h3:first-child,
.kariera-oferta-tresc h4:first-child { margin-top: 0; }
.kariera-oferta-tresc strong { color: var(--navy); font-weight: 700; }
.kariera-oferta-tresc ul,
.kariera-oferta-tresc ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.kariera-oferta-tresc ul li,
.kariera-oferta-tresc ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.kariera-oferta-tresc ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 1px;
}
.kariera-oferta-tresc ol { counter-reset: kar; }
.kariera-oferta-tresc ol li { counter-increment: kar; }
.kariera-oferta-tresc ol li::before {
  content: counter(kar) '.';
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
}
.kariera-oferta-tresc a { color: var(--orange); text-decoration: underline; }
.kariera-oferta-foot {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.kariera-oferta-cta {
  display: inline-flex; align-items: center; gap: 12px;
}
.kariera-oferta-cta::after { content: '→'; }

.kariera-cv-ogolne {
  background: var(--cream);
  border: 1px solid var(--line-2);
  padding: 48px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
/* Kompaktowy wariant: nagłówek + przycisk po lewej, opis po prawej */
.kariera-cv-ogolne--compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  padding: 36px 44px;
  gap: 48px;
}
.kariera-cv-ogolne-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.kariera-cv-ogolne-left h3 { margin: 0; }
.kariera-cv-ogolne-desc {
  font-size: 15px; line-height: 1.6;
  color: var(--txt-2);
  margin: 0;
  align-self: center;
}
.kariera-cv-ogolne h3 {
  font-size: 24px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  margin: 0 0 6px;
  line-height: 1.25;
}
.kariera-cv-ogolne p {
  font-size: 15.5px; line-height: 1.6;
  color: var(--txt-2);
  margin: 0;
  max-width: 600px;
}
.kariera-cv-ogolne .btn-cta { flex-shrink: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .kariera-hero { padding: 140px var(--pad-x) 80px; }
  .kariera-benefits, .kariera-list { padding: 80px var(--pad-x); }
  .kariera-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .kariera-hero { padding: 110px 24px 64px; }
  .kariera-benefits, .kariera-list { padding: 64px 24px; }
  .kariera-benefits-grid { grid-template-columns: 1fr; }
  .kariera-benefit { padding: 32px 28px 30px; }
  .kariera-benefit h3 { font-size: 20px; }
  .kariera-card { padding: 28px 24px 26px; }
  .kariera-card-urgent { top: 20px; right: 20px; }
  .kariera-card-title { font-size: 20px; margin-right: 70px; }
  .kariera-card-meta { font-size: 13.5px; gap: 6px 14px; }
  .kariera-oferta-summary { padding: 22px 24px; gap: 16px; }
  .kariera-oferta-title { font-size: 19px; }
  .kariera-oferta-body { padding: 0 24px 28px; }
  .kariera-cv-ogolne {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 20px;
  }
  .kariera-cv-ogolne--compact { gap: 20px; padding: 28px 24px; }
  .kariera-cv-ogolne-desc { align-self: flex-start; }
  .kariera-cv-ogolne h3 { font-size: 21px; }
}


/* ────────────────────────────────────────────────────────────
   Mobile / tablet header switch
   Desktop nav i tak nie mieści się ładnie poniżej ~1100px obok
   absolute-centrowanego logo Pateh, więc do 1024px przełączamy
   na hamburger. Selektory scopowane do body > header żeby nie
   tknąć sekcyjnych <nav> w treści.
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* WAŻNE: selektory muszą mieć specyficzność klasy (.pateh-site-header),
     bo bazowa reguła `.pateh-site-header nav { display:flex }` (0,1,1)
     bije `body > header nav` (0,0,3). Przy równej specyficzności wygrywa
     reguła późniejsza w pliku = ta poniżej. */
  .pateh-site-header nav { display: none !important; }
  .pateh-site-header .header-inner { justify-content: space-between; }
  .pateh-site-header .hamburger { display: flex; margin-left: auto; }
  .pateh-site-header .header-right .btn-cta { display: none; }
  .mobile-nav { display: flex; }
}

/* ============================================================
   === LIGHTBOX: powiekszenie zdjec wariantow produktu ===
   ============================================================ */
.wariant-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
  text-decoration: none;
  overflow: hidden;
  transition: opacity .25s ease;
}
.wariant-zoom:hover { opacity: .94; }
.wariant-zoom-hint {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,27,54,.85);
  color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.wariant-zoom-hint svg { width: 18px; height: 18px; }
.wariant-zoom:hover .wariant-zoom-hint { opacity: 1; transform: translateY(0); }

.pateh-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,14,30,.97);
  z-index: 100000;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .35s ease;
}
.pateh-lightbox.open { opacity: 1; }
/* Bazowe centrowanie + ograniczenie rozmiaru – DZIAŁA SAMODZIELNIE,
   nawet gdy JS-owy sizeImg() nie zdąży/nie odczyta naturalWidth.
   JS dokłada precyzyjne px (z !important), ale to jest fallback. */
.pateh-lightbox img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  max-height: 92vh;
  width: auto; height: auto;
  display: block;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.7);
}
.pateh-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; font-weight: 200;
  font-family: inherit;
  transition: background .25s ease, border-color .25s ease;
}
.pateh-lightbox-close:hover {
  background: var(--orange);
  border-color: var(--orange);
}
body.pateh-lightbox-locked { overflow: hidden; }
@media (max-width: 768px) {
  .pateh-lightbox { padding: 16px; }
  .pateh-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .pateh-lightbox, .pateh-lightbox img, .wariant-zoom, .wariant-zoom-hint { transition: none; }
}

/* ============================================================
   === 404 – STRONA NIE ZNALEZIONA ===
   Minimalna sekcja w stylistyce reszty serwisu:
   granatowe tło, pomarańczowy ticker po lewej, jeden krótki
   nagłówek z em, lead, dwa CTA. Bez dekoracji.
   ============================================================ */
.e404 {
  position: relative;
  background: var(--navy-3);
  color: #fff;
  padding: 160px var(--pad-x) 120px;
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  overflow: hidden;
}
.e404::before {
  content: '';
  position: absolute; left: 0; top: 80px; bottom: 0;
  width: 3px; background: var(--orange);
}
.e404-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flex; flex-direction: column; gap: 20px;
}
.e404-num {
  font-size: clamp(96px, 16vw, 180px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.06em;
  color: #fff;
  margin-bottom: 8px;
  user-select: none;
}
.e404-num em { font-style: normal; color: var(--orange); }
.e404-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--orange);
}
.e404-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--orange);
}
.e404-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
}
.e404-h1 em { font-style: normal; color: var(--orange); }
.e404-lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  letter-spacing: -.008em;
}
.e404-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 12px;
}
.e404-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 24px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, gap .25s ease;
}
.e404-btn::after { content: '→'; font-size: 14px; }
.e404-btn--primary { background: var(--orange); color: #fff; }
.e404-btn--primary:hover { background: var(--orange-2); gap: 18px; }
.e404-btn--ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.e404-btn--ghost:hover { border-color: var(--orange); color: var(--orange); gap: 18px; }

@media (max-width: 768px) {
  .e404 { padding: 120px 24px 80px; min-height: auto; }
  .e404::before { top: 68px; }
  .e404-h1 { font-size: clamp(32px, 8vw, 44px); }
  .e404-cta-row { flex-direction: column; align-items: stretch; }
  .e404-btn { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .e404-btn { transition: none; }
}

/* ============================================================
   === ARCHIWUM TAKSONOMII (index.php) – lista produktów ===
   Kompaktowe kafle z hoverem (orange border + lift + strzałka).
   ============================================================ */
.default-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tax-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: border-color .3s ease, border-left-color .3s ease,
              transform .35s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.tax-list-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
  line-height: 1.3;
}
.tax-list-card-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--txt-3);
  transition: color .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.tax-list-card:hover {
  border-color: rgba(244,108,15,.3);
  border-left-color: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 8px 22px -14px rgba(35,40,60,.25);
}
.tax-list-card:hover .tax-list-card-title { color: var(--orange); }
.tax-list-card:hover .tax-list-card-arrow { color: var(--orange); transform: translateX(4px); }
@media (max-width: 768px) {
  .tax-list-card { padding: 16px 20px; }
  .tax-list-card-title { font-size: 16px; }
}

/* ============================================================
   === FOOTER MOBILE: ukryj kolumny Firma / Produkty / Serwis ===
   Zostaje logo (.ft-brand) + dolny pasek (.ft-bottom).
   Reguła na końcu pliku – wygrywa nad wcześniejszymi duplikatami.
   ============================================================ */
@media (max-width: 768px) {
  .ft-top .ft-col { display: none; }
  .ft-top { grid-template-columns: 1fr; gap: 0; }
}
