/* ==========================================================================
   R-SEC — Dark cinematic / SecOps design system
   Matowa czerń + grain · Space Grotesk / Inter / JetBrains Mono · czerwień punktowo
   ========================================================================== */

:root {
  /* powierzchnie */
  --bg: #0a0b0d;
  --bg-2: #0d0e11;
  --surface: #111216;
  --surface-2: #15171c;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);

  /* tekst */
  --text: #e9eaec;
  --text-dim: #9aa0a8;
  --text-mute: #5d636d;

  /* akcent */
  --red: #e60000;
  --red-br: #ff2a24;
  --red-dim: rgba(230,0,0,0.12);
  --ok: #3fb950;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1340px;
  --radius: 8px;
  --header-h: 150px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv01";
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red-br); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
strong { color: var(--text); font-weight: 600; }

/* ---------- grain + winieta tła ---------- */
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.bg-vign { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(230,0,0,0.10), transparent 55%),
    radial-gradient(100% 60% at 0% 100%, rgba(230,0,0,0.05), transparent 60%),
    var(--bg);
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
.container-narrow { max-width: 760px; }
section { padding: 132px 0; position: relative; }
.center { text-align: center; }
.muted { color: var(--text-dim); }
.text-accent { color: var(--red-br); }

/* hairline dzielnik */
.rule { height: 1px; background: var(--line); border: 0; }

/* kicker (mono mikro-etykieta) — zastępuje stary .eyebrow */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 22px; padding: 0; border: 0; background: none;
}
.eyebrow::before, .kicker::before { content: ""; width: 7px; height: 7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 10px var(--red); }

.section-head { max-width: 760px; margin: 0 0 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); margin-bottom: 22px; letter-spacing: -0.03em; }
.section-head p { color: var(--text-dim); font-size: 1.08rem; max-width: 620px; }
.section-head.center p { margin-inline: auto; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  transition: all .3s var(--ease); white-space: nowrap; position: relative;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-br); transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(230,0,0,.5); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: .74rem; }
.btn-text { padding: 0; border: 0; background: none; color: var(--text); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-text svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-text:hover { color: var(--red-br); } .btn-text:hover svg { transform: translateX(4px); }

/* ---------- scroll progress ---------- */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--red); z-index: 1200; transition: width .1s linear; }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 2000; mix-blend-mode: difference; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; background: #fff; margin: -3px 0 0 -3px; }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.5); margin: -17px 0 0 -17px; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s var(--ease); }
.cursor-ring.grow { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--red-br); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 1000; display: flex; align-items: center; transition: background .3s var(--ease), border-color .3s var(--ease), height .4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { height: 78px; background: rgba(10,11,13,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-emblem { height: 124px; width: auto; display: block; transition: transform .4s var(--ease), height .4s var(--ease); filter: drop-shadow(0 0 16px rgba(196,28,28,.3)); }
.brand:hover .brand-emblem { transform: scale(1.04); }
.brand-mark { height: 36px; width: auto; display: block; overflow: hidden; transition: height .4s var(--ease); flex-shrink: 0; }
.site-header.scrolled .brand-emblem { height: 50px; }
.site-header.scrolled .brand-mark { height: 24px; }
@media (max-width: 700px) { :root { --header-h: 104px; } .site-header.scrolled { height: 66px; } .brand-emblem { height: 64px; } .brand-mark { height: 32px; } .site-header.scrolled .brand-emblem { height: 40px; } .site-header.scrolled .brand-mark { height: 22px; } }
.footer-brand .brand-mark { height: 38px; margin-bottom: 22px; }
.brand-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.35; max-width: 150px; }
@media (max-width: 1180px) { .brand-tag { display: none; } }
.footer-slogan { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-top: 14px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; font-size: .8rem; font-weight: 500; white-space: nowrap;
  color: var(--text-dim); font-family: var(--font-mono); letter-spacing: .02em; border: 0; background: none; cursor: pointer; transition: color .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active, .nav-links .nav-trigger:hover, .nav-links li.open .nav-trigger { color: var(--text); }
.nav-links a.active { position: relative; }
.nav-links a.active::before { content: ""; position: absolute; left: 14px; top: 50%; width: 5px; height: 5px; background: var(--red); border-radius: 50%; transform: translate(-12px,-50%); }
.nav-links a.active { padding-left: 22px; }
.nav-trigger svg { width: 13px; height: 13px; transition: transform .3s; }
.nav-links li.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 0; min-width: 320px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); display: grid; gap: 2px; }
.nav-links li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: 14px; align-items: center; padding: 13px 14px; border-radius: 6px; font-family: var(--font-body); color: var(--text-dim); }
.dropdown a:hover { background: var(--surface-2); color: var(--text); }
.dropdown .di { width: 22px; height: 22px; color: var(--red-br); flex-shrink: 0; }
.dropdown .di svg { width: 22px; height: 22px; }
.dropdown b { display: block; color: var(--text); font-size: .9rem; font-weight: 600; font-family: var(--font-body); }
.dropdown small { color: var(--text-mute); font-size: .76rem; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; color: var(--text); }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px auto; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- page hero (podstrony) ---------- */
.page-hero { padding: calc(var(--header-h) + 100px) 0 68px; }
.page-hero .container { max-width: 960px; }
.breadcrumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: .76rem; color: var(--text-mute); margin-bottom: 30px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a:hover { color: var(--red-br); } .breadcrumbs span { color: var(--text-dim); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin-bottom: 24px; letter-spacing: -0.035em; }
.page-hero p { color: var(--text-dim); font-size: 1.18rem; max-width: 680px; }

/* ---------- home hero ---------- */
.hero { padding: calc(var(--header-h) + 70px) 0 70px; position: relative; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero { overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-watermark { position: absolute; top: 50%; right: -8%; width: min(840px, 66%); transform: translateY(-50%); opacity: 1; pointer-events: none; z-index: 0; animation: wmIn 1.6s var(--ease) both; }
@keyframes wmIn { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@media (max-width: 1024px) { .hero-watermark { right: -20%; top: 1%; transform: none; width: min(580px, 88%); opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .hero-watermark { animation: none; } }
@media (prefers-reduced-motion: reduce) { .hero-watermark { animation: none; } }
.hero h1 { font-size: clamp(3rem, 6.8vw, 5.6rem); margin-bottom: 28px; letter-spacing: -0.035em; }
.hero .hero-actions { margin-bottom: 18px; }
.hero-assure { font-family: var(--font-mono); font-size: .75rem; color: var(--text-mute); letter-spacing: .02em; margin-bottom: 50px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-assure i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); display: inline-block; }
.cta-assure { font-family: var(--font-mono); font-size: .74rem; color: var(--text-mute); margin-top: 24px; position: relative; }
.hero h1 .accent { color: var(--red-br); }
.hero .lead { font-size: 1.2rem; color: var(--text-dim); max-width: 520px; margin-bottom: 38px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line); }
.hero-stats div { padding: 22px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { font-family: var(--font-display); font-size: 1.9rem; color: var(--text); display: block; letter-spacing: -0.02em; }
.hero-stats span { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }

/* ops panel */
.ops { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.ops-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .76rem; color: var(--text-dim); }
.ops-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--ok); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.ops-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(63,185,80,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 0%{box-shadow:0 0 0 0 rgba(63,185,80,.5);} 70%{box-shadow:0 0 0 8px rgba(63,185,80,0);} 100%{box-shadow:0 0 0 0 rgba(63,185,80,0);} }
.ops-body { padding: 20px 22px; font-family: var(--font-mono); font-size: .8rem; line-height: 1.8; height: 230px; overflow: hidden; }
.ops-body .ln { white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-body .prompt { color: var(--red-br); } .ops-body .ok { color: var(--ok); } .ops-body .muted { color: var(--text-mute); }
.cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--red-br); vertical-align: text-bottom; animation: blink 1.05s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ops-metrics { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.ops-metrics div { padding: 18px 20px; border-right: 1px solid var(--line); }
.ops-metrics div:last-child { border-right: 0; }
.ops-metrics b { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); display: block; }
.ops-metrics span { font-family: var(--font-mono); font-size: .66rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- marquee / ticker ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll-x 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); padding: 0 32px; display: inline-flex; align-items: center; gap: 32px; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- numbered service rows ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 32px; align-items: center; padding: 38px 8px; border-bottom: 1px solid var(--line); transition: all .4s var(--ease); position: relative; }
.svc-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--red); transition: width .5s var(--ease); }
.svc-row:hover { padding-left: 24px; }
.svc-row:hover::after { width: 100%; }
.svc-row .idx { font-family: var(--font-mono); font-size: .9rem; color: var(--text-mute); }
.svc-row:hover .idx { color: var(--red-br); }
.svc-row h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; transition: transform .4s var(--ease); }
.svc-row p { color: var(--text-dim); max-width: 560px; font-size: .98rem; }
.svc-row .go { width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text-dim); transition: all .35s var(--ease); flex-shrink: 0; }
.svc-row .go svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.svc-row:hover .go { background: var(--red); border-color: var(--red); color: #fff; }
.svc-row:hover .go svg { transform: translateX(3px); }

/* ---------- pillars (zamiast emoji-kart) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 40px 38px 40px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar .pi { width: 30px; height: 30px; color: var(--red-br); margin-bottom: 26px; }
.pillar .pi svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 12px; }
.pillar p { color: var(--text-dim); font-size: .96rem; }
@media (max-width: 720px) { .pillar { border-right: 0; padding: 32px 0; } }

/* ---------- karty (flat, ostre) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; }
.cards.cols-2 { grid-template-columns: repeat(auto-fit, minmax(360px,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: all .35s var(--ease); position: relative; }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.card-icon { width: 30px; height: 30px; color: var(--red-br); margin-bottom: 24px; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.3rem; margin-bottom: 13px; }
.card p { color: var(--text-dim); font-size: .96rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--text); font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.card .card-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card-link { color: var(--red-br); } .card:hover .card-link svg { transform: translateX(4px); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); margin-bottom: 22px; }
.split > div > p { color: var(--text-dim); margin-bottom: 20px; font-size: 1.02rem; }
.feature-list { display: grid; gap: 18px; margin: 28px 0; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-dim); font-size: .98rem; }
.feature-list svg { width: 20px; height: 20px; color: var(--red-br); flex-shrink: 0; margin-top: 2px; }
.feature-list b { color: var(--text); display: block; margin-bottom: 2px; }
.media-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }

/* ---------- offer list / numbered ---------- */
.offer-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer-item { display: flex; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.offer-item:hover { padding-left: 16px; }
.offer-item .num { font-family: var(--font-mono); color: var(--red-br); font-size: .85rem; min-width: 32px; padding-top: 3px; }
.offer-item h4 { font-size: 1.12rem; margin-bottom: 7px; font-family: var(--font-display); }
.offer-item p { font-size: .94rem; color: var(--text-dim); margin: 0; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.tab-btn { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 14px 20px; border: 0; background: none; color: var(--text-mute); transition: color .25s var(--ease); position: relative; }
.tab-btn::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); transition: width .3s var(--ease); }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); } .tab-btn.active::after { width: 100%; }
.tab-panel { display: none; } .tab-panel.active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- packages ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pkg { background: var(--surface); border-right: 1px solid var(--line); padding: 38px 32px; display: flex; flex-direction: column; transition: background .35s var(--ease); position: relative; }
.pkg:last-child { border-right: 0; }
.pkg:hover { background: var(--surface-2); }
.pkg.featured { background: var(--surface-2); }
.pkg .tag { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red-br); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px; }
.pkg .tag::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.pkg h4 { font-size: 1.45rem; margin-bottom: 10px; }
.pkg .price { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin: 6px 0; letter-spacing: -0.02em; }
.pkg .price small { font-size: .82rem; color: var(--text-mute); font-family: var(--font-mono); }
.pkg .sla { font-family: var(--font-mono); color: var(--text-dim); font-size: .82rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .06em; }
.pkg ul { display: grid; gap: 14px; margin-bottom: 30px; }
.pkg li { display: flex; gap: 12px; font-size: .92rem; color: var(--text-dim); }
.pkg li svg { width: 18px; height: 18px; color: var(--red-br); flex-shrink: 0; margin-top: 2px; }
.pkg .btn { margin-top: auto; justify-content: center; }
@media (max-width: 720px) { .pkg { border-right: 0; border-bottom: 1px solid var(--line); } .pkg:last-child { border-bottom: 0; } }

/* ---------- stats ---------- */
.stats-section { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 0; }
.stat { padding: 8px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .value { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); color: var(--text); line-height: 1; letter-spacing: -0.03em; }
.stat .value .plus { color: var(--red-br); }
.stat .label { display: block; margin-top: 14px; color: var(--text-mute); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 720px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; } }

/* ---------- sektory ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-card { display: flex; align-items: center; gap: 18px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s var(--ease); }
.client-card:hover { background: var(--surface); }
.client-card .ci { width: 30px; height: 30px; color: var(--red-br); flex-shrink: 0; }
.client-card .ci svg { width: 30px; height: 30px; }
.client-card b { font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; }

/* ---------- zespół ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: all .4s var(--ease); }
.member:hover { border-color: var(--line-2); transform: translateY(-4px); }
.member .photo { aspect-ratio: 4/5; overflow: hidden; background: #0d0e11; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .6s var(--ease); }
.member:hover .photo img { filter: grayscale(0); transform: scale(1.04); }
.member .info { padding: 24px; }
.member h3 { font-size: 1.2rem; margin-bottom: 8px; }
.member .role { color: var(--red-br); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.member p { color: var(--text-dim); font-size: .88rem; }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 0; max-width: 920px; }
.tl-step { display: grid; grid-template-columns: 90px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); position: relative; }
.tl-step:last-child { border-bottom: 1px solid var(--line); }
.tl-num { font-family: var(--font-mono); font-size: 1rem; color: var(--red-br); }
.tl-body h4 { font-size: 1.4rem; margin-bottom: 10px; }
.tl-body p { color: var(--text-dim); font-size: .98rem; max-width: 620px; }

/* ---------- opinie ---------- */
.carousel { max-width: 900px; }
.carousel-track { overflow: hidden; }
.slides { display: flex; transition: transform .7s var(--ease); }
.slide { min-width: 100%; }
.quote { padding: 8px 0; }
.quote .stars { color: var(--red-br); margin-bottom: 26px; letter-spacing: 6px; font-size: .9rem; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2.1rem); line-height: 1.4; margin-bottom: 32px; color: var(--text); letter-spacing: -0.02em; font-weight: 500; }
.quote .who { font-family: var(--font-mono); font-size: .82rem; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.quote .who small { color: var(--text-mute); text-transform: none; letter-spacing: 0; margin-left: 8px; }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 48px; height: 48px; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all .3s var(--ease); border-radius: 50%; }
.carousel-nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.carousel-nav button svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; transition: all .3s var(--ease); padding: 0; }
.dots button.active { background: var(--red-br); width: 28px; border-radius: 4px; }

/* ---------- filtry / wyszukiwarka ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.chip { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; padding: 10px 16px; border: 1px solid var(--line); background: none; color: var(--text-mute); transition: all .25s var(--ease); border-radius: 6px; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { background: var(--red); color: #fff; border-color: var(--red); }
.search-box { position: relative; max-width: 100%; margin-bottom: 24px; }
.search-box input { width: 100%; padding: 16px 16px 16px 48px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-family: var(--font-mono); font-size: .9rem; }
.search-box input:focus { outline: none; border-color: var(--line-2); }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-mute); }
.is-hidden { display: none !important; }
.no-results { text-align: center; color: var(--text-mute); padding: 48px; font-family: var(--font-mono); }

/* ---------- kursy ---------- */
.course-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.course-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.course-card .level { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.course-card .level::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.level.beginner { color: var(--ok); } .level.beginner::before { background: var(--ok); }
.level.intermediate { color: #d9a441; } .level.intermediate::before { background: #d9a441; }
.level.advanced { color: var(--red-br); } .level.advanced::before { background: var(--red-br); }
.course-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.course-card p { color: var(--text-dim); font-size: .9rem; margin-bottom: 22px; flex-grow: 1; }
.course-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.course-card .from { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); }
.course-card .from small { font-size: .7rem; color: var(--text-mute); font-family: var(--font-mono); text-transform: uppercase; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.post-card .thumb { aspect-ratio: 16/10; display: grid; place-items: center; background: var(--bg-2); position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.post-card .thumb > svg { width: 44px; height: 44px; color: var(--text-mute); }
.post-card .thumb img.thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.post-card:hover .thumb img.thumb-img { transform: scale(1.05); opacity: 1; }
.post-card .thumb .cat { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 11px; background: rgba(10,11,13,.85); color: var(--red-br); border: 1px solid var(--line); border-radius: 5px; }
.post-card .body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card .meta { font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 12px; line-height: 1.25; }
.post-card p { color: var(--text-dim); font-size: .9rem; margin-bottom: 20px; flex-grow: 1; }
.post-card .card-link { color: var(--text); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; }
.post-card:hover .card-link { color: var(--red-br); }
.post-card .card-link svg { width: 14px; height: 14px; }

/* ---------- artykuł ---------- */
.article-body { font-size: 1.1rem; line-height: 1.85; color: #c9ccd1; }
.article-body h2 { font-size: 1.7rem; margin: 48px 0 18px; color: var(--text); }
.article-body h3 { font-size: 1.3rem; margin: 32px 0 14px; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 4px; display: grid; gap: 10px; }
.article-body ul li, .article-body ol li { padding-left: 26px; position: relative; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before { content: counter(ol); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: .85rem; color: var(--red-br); }
.article-body blockquote { border-left: 2px solid var(--red); padding: 6px 0 6px 26px; margin: 28px 0; color: var(--text); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; letter-spacing: -0.01em; }
.article-body a { color: var(--red-br); text-decoration: underline; text-underline-offset: 3px; }
.checklist { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin: 28px 0; background: var(--surface); }
.checklist h4 { margin-bottom: 18px; font-size: 1.1rem; }
.checklist li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--text-dim); padding: 0; }
.checklist li::before { display: none; }
.checklist li svg { width: 19px; height: 19px; color: var(--red-br); flex-shrink: 0; margin-top: 2px; }
.article-cta { margin-top: 56px; padding: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; }
.article .meta { font-family: var(--font-mono); font-size: .76rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-cat-title { margin: 56px 0 0; font-size: 1.3rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--red-br); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--text); background: none; border: 0; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: color .25s var(--ease); }
.faq-q:hover { color: var(--red-br); }
.faq-q .chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s var(--ease); color: var(--text-mute); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--red-br); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 28px; color: var(--text-dim); font-size: 1rem; max-width: 720px; }

/* ---------- quiz ---------- */
.quiz { max-width: 720px; border: 1px solid var(--line); border-radius: 12px; padding: 44px; background: var(--surface); }
.quiz-progress { height: 3px; background: var(--line); overflow: hidden; margin-bottom: 36px; }
.quiz-progress span { display: block; height: 100%; background: var(--red); width: 0; transition: width .4s var(--ease); }
.quiz-step small { font-family: var(--font-mono); color: var(--text-mute); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.quiz-q { font-size: 1.5rem; margin: 12px 0 6px; }
.quiz-options { display: grid; gap: 12px; margin-top: 28px; }
.quiz-opt { text-align: left; font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; cursor: pointer; transition: all .25s var(--ease); display: flex; align-items: center; gap: 14px; }
.quiz-opt:hover { border-color: var(--red); background: var(--surface-2); transform: translateX(4px); }
.quiz-opt .mk { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--text-mute); flex-shrink: 0; transition: all .25s var(--ease); }
.quiz-opt:hover .mk { border-color: var(--red-br); box-shadow: inset 0 0 0 4px var(--red); }
.quiz-result { text-align: center; }
.quiz-score { font-family: var(--font-display); font-size: 4rem; color: var(--red-br); line-height: 1; margin: 10px 0; letter-spacing: -0.03em; }
.quiz-meter { height: 6px; background: var(--line); overflow: hidden; margin: 26px 0; }
.quiz-meter span { display: block; height: 100%; background: var(--red); width: 0; transition: width .9s var(--ease); }

/* ---------- CTA ---------- */
.cta-banner { padding: 90px 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(230,0,0,.12), transparent 55%); pointer-events: none; }
.cta-banner h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 20px; position: relative; max-width: 640px; }
.cta-banner p { color: var(--text-dim); max-width: 560px; margin-bottom: 36px; position: relative; font-size: 1.08rem; }
.cta-banner .hero-actions { margin-bottom: 0; position: relative; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-info .row { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info .ic { width: 22px; height: 22px; color: var(--red-br); flex-shrink: 0; margin-top: 2px; }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info .row b { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: 6px; }
.contact-info .row a, .contact-info .row span { color: var(--text); font-size: 1rem; }
.contact-info .row a:hover { color: var(--red-br); }
.socials { display: flex; gap: 10px; padding-top: 24px; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-dim); border-radius: 6px; transition: all .3s var(--ease); }
.socials a:hover { border-color: var(--red); color: var(--red-br); }
.socials svg { width: 18px; height: 18px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; color: var(--text-dim); }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 130px; }
.field.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--text-dim); }
.field.consent input { width: auto; margin-top: 3px; }
.form-msg { margin-top: 16px; font-size: .9rem; padding: 14px 16px; border-radius: var(--radius); display: none; font-family: var(--font-mono); }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(63,185,80,.1); color: #6ee787; border: 1px solid rgba(63,185,80,.3); }
.form-msg.err { background: var(--red-dim); color: #ff8a84; border: 1px solid rgba(230,0,0,.3); }
.rodo { margin-top: 18px; font-size: .72rem; line-height: 1.6; color: var(--text-mute); }
.rodo a { color: var(--text-dim); text-decoration: underline; }
.form-thanks { text-align: center; padding: 34px 12px; animation: fade .5s var(--ease); }
.form-thanks .tick { width: 66px; height: 66px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(63,185,80,.12); border: 1px solid rgba(63,185,80,.4); color: #3fb950; }
.form-thanks .tick svg { width: 32px; height: 32px; }
.form-thanks h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form-thanks p { color: var(--text-dim); max-width: 380px; margin: 0 auto; font-size: .98rem; }
.map-embed { margin-top: 64px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- sklep w budowie ---------- */
.construction { max-width: 720px; }
.construction .big-ico { width: 64px; height: 64px; color: var(--red-br); margin-bottom: 32px; }
.construction .big-ico svg { width: 64px; height: 64px; }
.construction h2 { font-size: clamp(2rem,4vw,3rem); margin: 18px 0; }
.construction p { color: var(--text-dim); font-size: 1.12rem; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 16px; margin-top: 64px; }
.preview-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: border-color .35s var(--ease); }
.preview-item:hover { border-color: var(--line-2); }
.preview-item .ph { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.preview-item .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: grayscale(1); transition: all .4s var(--ease); }
.preview-item:hover .ph img { opacity: .9; filter: grayscale(0); }
.preview-item .pi { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preview-item b { font-size: .9rem; font-family: var(--font-display); }
.preview-item .pp { color: var(--red-br); font-family: var(--font-mono); font-size: .82rem; }
.preview-item .soon { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; background: rgba(10,11,13,.85); color: var(--text-dim); border: 1px solid var(--line); border-radius: 5px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 90px 0 36px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 56px; margin-bottom: 72px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: 22px; }
.footer-brand img { height: 32px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-dim); font-size: .94rem; margin-bottom: 24px; max-width: 320px; }
.footer-brand .socials { padding-top: 0; }
.footer-col ul { display: grid; gap: 14px; }
.footer-col a { color: var(--text-dim); font-size: .92rem; } .footer-col a:hover { color: var(--red-br); }
.footer-meta { color: var(--text-dim); font-size: .9rem; display: grid; gap: 10px; }
.footer-meta a:hover { color: var(--red-br); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--text-mute); font-family: var(--font-mono); font-size: .76rem; }
.footer-bottom a { color: var(--text-dim); } .footer-bottom a:hover { color: var(--red-br); }

/* ---------- UI misc ---------- */
#to-top { position: fixed; right: 28px; bottom: 28px; width: 48px; height: 48px; z-index: 900; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; display: grid; place-items: center; background: var(--surface); color: var(--text); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .35s var(--ease); }
#to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }
#to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#to-top svg { width: 20px; height: 20px; }
.cookie { position: fixed; left: 28px; right: 28px; bottom: 28px; z-index: 1100; max-width: 480px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); display: none; }
.cookie.show { display: block; animation: fade .5s var(--ease); }
.cookie p { font-size: .88rem; color: var(--text-dim); margin-bottom: 18px; }
.cookie p a { color: var(--red-br); text-decoration: underline; }
.cookie .actions { display: flex; gap: 12px; }
.cookie .btn { padding: 11px 18px; font-size: .72rem; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 6px; }
.skip-link:focus { left: 16px; }

/* ==========================================================================
   SEKCJA JASNA (ivory / papier) — kontrast editorialowy
   ========================================================================== */
.section-light {
  --bg: #f4f1ea; --bg-2: #ece7dc; --surface: #ffffff; --surface-2: #f6f3ec;
  --line: rgba(18,19,24,0.13); --line-2: rgba(18,19,24,0.26);
  --text: #14151a; --text-dim: #4c5159; --text-mute: #8b909a;
  background: #f4f1ea; color: #14151a; position: relative; isolation: isolate;
}
.section-light::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-light .quote blockquote, .section-light h2, .section-light h3 { color: #14151a; }

/* manifest */
.manifesto { max-width: 1000px; }
.manifesto-h { font-size: clamp(2.4rem, 6.5vw, 5rem); letter-spacing: -0.035em; line-height: 1.0; margin: 4px 0 28px; }
.manifesto-h em { font-style: normal; color: var(--red); }
.manifesto-lead { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-dim); max-width: 720px; line-height: 1.55; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 64px; }
.principle { padding: 40px 40px 8px 40px; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; padding-right: 0; }
.principle .pn { font-family: var(--font-mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.principle h3 { font-size: 1.35rem; margin: 18px 0 12px; }
.principle p { color: var(--text-dim); font-size: .98rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; } }

/* numery tabularne wszędzie tam, gdzie cyfry */
.stat .value, .hero-stats b, .ops-metrics b, .quiz-score, .pkg .price, .course-card .from, .idx, .num, .tl-num, .principle .pn { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   WORDMARK w stopce — sygnatura
   ========================================================================== */
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 15vw, 11rem); letter-spacing: -0.05em; line-height: .8; color: var(--text); margin-bottom: 8px; display: flex; align-items: flex-start; }
.footer-word .reg { font-size: .9rem; color: var(--red); margin-left: 6px; margin-top: .4em; letter-spacing: 0; }
.footer-lockup { display: flex; align-items: center; gap: 26px; }
.footer-emblem { height: 88px; width: auto; flex-shrink: 0; }
.footer-id { display: flex; flex-direction: column; gap: 14px; }
.footer-id .brand-mark { height: 60px; width: auto; display: block; overflow: hidden; }
@media (max-width: 760px) { .footer-id .brand-mark { height: 42px; } }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 760px) { .footer-emblem { height: 60px; width: auto; } .footer-lockup { gap: 18px; } }
.footer-top .ft-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; text-align: right; line-height: 2; }
@media (max-width: 760px) { .footer-top .ft-meta { text-align: left; } }

/* indeks sekcji w kickerze już obsłużony przez treść (np. „01 — Usługi") */

/* ==========================================================================
   ŚCIANA LOGO — „zaufali nam"
   ========================================================================== */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-tile { aspect-ratio: 16/9; display: grid; place-items: center; padding: 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #faf8f4; transition: background .35s var(--ease); }
.logo-tile:hover { background: #fff; }
.logo-tile img { max-height: 44px; max-width: 128px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile.logo-text span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #1a1b20; letter-spacing: -0.02em; }
.logo-tile.logo-more span { font-family: var(--font-mono); font-weight: 500; font-size: .82rem; color: #6c727c; letter-spacing: .02em; }
/* slider logo (taśma) */
.logo-slider { position: relative; overflow: hidden; background: #f4f1ea; border-block: 1px solid var(--line); padding: 34px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-slider-track { display: flex; width: max-content; align-items: center; animation: logoScroll 55s linear infinite; }
.logo-slider:hover .logo-slider-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-slide { flex: 0 0 auto; width: 210px; display: grid; place-items: center; padding: 0 28px; }
.logo-slide img { max-height: 58px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logo-slide:hover img { filter: none; opacity: 1; }
.logo-slide.is-text span { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #1a1b20; letter-spacing: -0.02em; white-space: nowrap; }
.logo-slide.is-more span { font-family: var(--font-mono); font-weight: 500; font-size: .9rem; color: #6c727c; }
@media (prefers-reduced-motion: reduce) { .logo-slider-track { animation: none; } }
@media (max-width: 700px) { .logo-slide { width: 150px; padding: 0 18px; } .logo-slide img { max-height: 46px; max-width: 110px; } }

.refs { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 40px; }
.refs .refs-label { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); }
.refs a { font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); padding: 9px 14px; border-radius: 6px; transition: all .25s var(--ease); }
.refs a:hover { border-color: var(--red); color: var(--red-br); }
.refs a svg { width: 15px; height: 15px; }

/* ==========================================================================
   CERTYFIKATY / KOMPETENCJE
   ========================================================================== */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cred { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s var(--ease); }
.cred:hover { background: var(--surface); }
.cred b { font-family: var(--font-display); font-size: 1.35rem; display: block; color: var(--text); letter-spacing: -0.02em; }
.cred span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); margin-top: 10px; display: block; }

/* ==========================================================================
   CASE STUDY / REALIZACJE
   ========================================================================== */
.case-teaser { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); transition: border-color .35s var(--ease), transform .35s var(--ease); }
.case-teaser:hover { border-color: var(--line-2); transform: translateY(-4px); }
.ct-body { padding: 52px; }
.ct-tag { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red-br); }
.ct-body h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 18px 0 14px; }
.ct-body p { color: var(--text-dim); margin-bottom: 30px; max-width: 460px; }
.ct-metrics { display: grid; border-left: 1px solid var(--line); }
.ct-metrics div { padding: 30px 44px; border-bottom: 1px solid var(--line); }
.ct-metrics div:last-child { border-bottom: 0; }
.ct-metrics b { font-family: var(--font-display); font-size: 2.1rem; color: var(--text); display: block; font-variant-numeric: tabular-nums; }
.ct-metrics b .pl { color: var(--red-br); }
.ct-metrics span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
@media (max-width: 860px) { .case-teaser { grid-template-columns: 1fr; } .ct-metrics { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr 1fr; } .ct-metrics div { border-right: 1px solid var(--line); border-bottom: 0; } .ct-body { padding: 34px; } }

.metrics-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.metrics-band div { padding: 40px 30px; border-right: 1px solid var(--line); }
.metrics-band div:last-child { border-right: 0; }
.metrics-band b { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--text); display: block; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.metrics-band b .pl { color: var(--red-br); }
.metrics-band span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
@media (max-width: 860px) { .metrics-band { grid-template-columns: 1fr 1fr; } .metrics-band div { border-bottom: 1px solid var(--line); } .metrics-band div:nth-child(odd) { border-right: 1px solid var(--line); } }

.case-meta { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.case-meta div { padding: 22px 30px; border-right: 1px solid var(--line); flex: 1; min-width: 160px; }
.case-meta div:last-child { border-right: 0; }
.case-meta b { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); display: block; margin-bottom: 6px; }
.case-meta span { font-size: 1rem; }
.disclaimer { font-family: var(--font-mono); font-size: .78rem; color: var(--text-mute); border-left: 2px solid var(--line-2); padding-left: 16px; }

/* baner wizualny na stronach usług */
.svc-banner { padding-top: 0 !important; }
.svc-banner .frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; aspect-ratio: 2.5/1; background: #000; position: relative; }
.svc-banner .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .95; }
.svc-banner .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 2%, transparent 30%, transparent 70%, var(--bg) 98%); pointer-events: none; }
@media (max-width: 760px) { .svc-banner .frame { aspect-ratio: 16/9; } }

/* ==========================================================================
   MIKRO-INTERAKCJE
   ========================================================================== */
/* wipe-reveal nagłówków (wycieranie od góry) */
.section-head.reveal h2,
.manifesto.reveal .manifesto-h,
.split .reveal h2 { clip-path: inset(0 0 112% 0); transition: clip-path 1s var(--ease) .08s; }
.section-head.reveal.visible h2,
.manifesto.reveal.visible .manifesto-h,
.split .reveal.visible h2 { clip-path: inset(0 0 -18% 0); }
@keyframes wipeIn { from { clip-path: inset(0 0 112% 0); } to { clip-path: inset(0 0 -18% 0); } }
.page-hero h1 { animation: wipeIn 1s var(--ease) .12s both; }
.hero h1 { animation: wipeIn 1.05s var(--ease) .1s both; }
@media (prefers-reduced-motion: reduce) {
  .page-hero h1, .hero h1 { animation: none; }
  .section-head.reveal h2, .manifesto.reveal .manifesto-h, .split .reveal h2 { clip-path: none; }
}
/* magnetyczne przyciski (transform sterowany JS) */
.btn { will-change: transform; }
.magnetic { transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  section { padding: 88px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero .ops { max-width: 540px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .container { padding-inline: 22px; }
  .nav-links { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 12px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .4s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-links.open { transform: none; }
  .nav-links a, .nav-links .nav-trigger { padding: 15px 14px; font-size: .95rem; width: 100%; justify-content: space-between; }
  .nav-links a.active { padding-left: 14px; } .nav-links a.active::before { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--bg-2); margin: 4px 0 8px; max-height: 0; overflow: hidden; padding: 0 8px; transition: max-height .35s var(--ease), padding .35s var(--ease); }
  .nav-links li.open .dropdown { max-height: 640px; padding: 8px; }
  .nav-toggle { display: block; }
  .header-cta .btn-primary { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .svc-row .go { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stats div { border-right: 0; padding-right: 0; margin-right: 0; min-width: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner { padding: 56px 32px; }
  .ops-metrics { grid-template-columns: 1fr; } .ops-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
}
