/* =========================================================
   ITMSP — arkusz stylów
   Kolory zmienisz w jednym miejscu: sekcja :root poniżej.
   ========================================================= */

/* ---------- Font Inter (pliki w assets/fonts) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Kolory i zmienne ---------- */
:root {
  --ink: #0E2A47;         /* granat — nagłówki */
  --ink-2: #1B3A5C;
  --text: #475569;        /* tekst akapitów */
  --muted: #64748B;
  --sky-50: #ECFAFF;
  --sky-100: #D5F2FB;
  --sky-200: #AEE6F7;
  --sky-400: #38BDE3;
  --sky: #13A4D0;         /* turkus — główny akcent */
  --sky-600: #0B86AE;
  --brand-100: #DCEBFF;
  --brand: #2E73EB;       /* niebieski — przyciski */
  --brand-600: #1D5FD8;
  --amber: #FBB540;       /* ciepły akcent */
  --amber-soft: #FFF4DD;
  --ok: #10B981;
  --ok-soft: #E3F8EF;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-2: #F6F9FC;
  --night: #0B1E33;       /* ciemne sekcje */
  --radius: 20px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .04), 0 8px 24px rgba(14, 42, 71, .06);
  --shadow-hover: 0 6px 16px rgba(19, 164, 208, .12), 0 20px 48px rgba(14, 42, 71, .10);
  --shadow-lg: 0 30px 70px -30px rgba(14, 42, 71, .35);
  --grad: linear-gradient(100deg, var(--sky) 0%, var(--brand-600) 100%);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.bg-soft { background: var(--bg-2); }
.bg-sky { background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); }

/* Nagłówki sekcji */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.12rem; }

/* Dekoracyjne tła: siatka i „aury” */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco .grid-bg { position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(14,42,71,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(14,42,71,.05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent); }
.aura { position: absolute; border-radius: 50%; filter: blur(70px); }
.aura.a1 { width: 420px; height: 420px; right: -120px; top: -100px; background: rgba(116, 212, 239, .35); }
.aura.a2 { width: 340px; height: 340px; left: -140px; top: 120px; background: rgba(76, 141, 245, .18); }
.aura.a3 { width: 300px; height: 300px; left: 40%; bottom: -120px; background: rgba(255, 210, 122, .22); }

/* Wejście elementów przy przewijaniu (klasa .js dodawana przez main.js) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(46, 115, 235, .8); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--sky-200); color: var(--ink); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky-50); color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }

/* ---------- Nagłówek strony ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 42, 71, .4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo .word small { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky-600); margin-top: 3px; }
.logo.light .word b { color: #fff; }
.logo.light .word small { color: var(--sky-200); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: 9px 13px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky-50); color: var(--sky-600); }
.nav .nav-phone { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.nav .nav-phone svg { width: 16px; height: 16px; color: var(--sky); }
.nav .nav-cta { margin-left: 6px; background: var(--brand); color: #fff; padding: 10px 18px; box-shadow: 0 8px 20px -10px rgba(46,115,235,.8); }
.nav .nav-cta:hover { background: var(--brand-600); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 74px 0 auto 0; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(14,42,71,.35); display: none; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- HERO ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--sky-50) 0%, #fff 75%); overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .day { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--sky-200);
  color: var(--sky-600); font-weight: 700; font-size: .9rem; box-shadow: 0 2px 8px rgba(14,42,71,.05); margin-bottom: 22px; }
.hero .day i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251,181,64,.6); } 70% { box-shadow: 0 0 0 9px rgba(251,181,64,0); } 100% { box-shadow: 0 0 0 0 rgba(251,181,64,0); } }
.hero h1 { margin-bottom: .4em; }
.hero h1 .grad-text { display: inline; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); max-width: 36em; color: var(--ink-2); opacity: .9; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 600; color: var(--ink-2); }
.trust-row svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Panel zgłoszeń w hero */
.desk { position: relative; max-width: 500px; margin-inline: auto; width: 100%; }
.desk-card { position: relative; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,42,71,.05); padding: 22px; z-index: 1; }
.desk-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.desk-head b { color: var(--ink); font-size: 1rem; }
.desk-head span { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.ticket { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px dashed var(--line); }
.ticket:last-child { border-bottom: 0; }
.ticket .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); }
.ticket .ic svg { width: 20px; height: 20px; }
.ticket b { display: block; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.ticket small { color: var(--muted); font-size: .8rem; }
.status { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; transition: background .4s, color .4s; }
.status.work { background: var(--amber-soft); color: #A16207; }
.status.done { background: var(--ok-soft); color: #047857; }
.chip-float { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 11px 15px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,42,71,.05);
  display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink); font-weight: 700; animation: float 7s ease-in-out infinite; }
.chip-float small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.chip-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-float .dot svg { width: 18px; height: 18px; }
.chip-float.c1 { top: -22px; right: -18px; }
.chip-float.c2 { bottom: -26px; left: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.desk::before { content: ""; position: absolute; inset: 30px -30px -30px 30px; border-radius: 28px; background: var(--grad); opacity: .14; transform: rotate(3deg); }
@media (max-width: 560px) { .chip-float.c1 { right: -6px; } .chip-float.c2 { left: -6px; } }

/* ---------- Pasek logo (przewijany) ---------- */
.logos { padding: 36px 0 44px; border-block: 1px solid var(--line); background: #fff; }
.logos p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: .98rem; white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.brand-logo img { width: 24px; height: 24px; opacity: .75; transition: opacity .2s; }
.brand-logo .txt { font-weight: 900; letter-spacing: .02em; font-size: .95rem; color: var(--ink); }
.brand-logo:hover { border-color: var(--sky-200); box-shadow: var(--shadow); }
.brand-logo:hover img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee-track { width: auto; justify-content: center; } .marquee-track > div { flex-wrap: wrap; justify-content: center; } .marquee-track > [aria-hidden="true"] { display: none !important; } }

/* ---------- „Co Cię sprowadza?” — wybór problemu ---------- */
.pains { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.pain-tabs { display: grid; gap: 12px; align-content: start; }
.pain-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  color: var(--ink); font-weight: 700; font-size: 1.02rem; transition: border-color .2s, box-shadow .2s, background .2s, transform .15s; }
.pain-tab:hover { border-color: var(--sky-200); transform: translateX(3px); }
.pain-tab .emo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: #B7791F; flex: none; transition: .2s; }
.pain-tab .emo svg { width: 22px; height: 22px; }
.pain-tab .arr { margin-left: auto; color: var(--muted); transition: .2s; }
.pain-tab[aria-selected="true"] { border-color: var(--sky); background: var(--sky-50); box-shadow: 0 10px 30px -18px rgba(19,164,208,.8); }
.pain-tab[aria-selected="true"] .emo { background: var(--sky); color: #fff; }
.pain-tab[aria-selected="true"] .arr { color: var(--sky); transform: translateX(4px); }
.pain-panel { background: linear-gradient(160deg, var(--ink) 0%, var(--night) 100%); color: #CBD5E1; border-radius: 24px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.pain-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,227,.35), transparent 70%); }
.pain-panel h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); position: relative; }
.pain-panel p { position: relative; font-size: 1.05rem; }
.pain-panel .list { position: relative; margin: 20px 0 28px; }
.pain-panel .list li { color: #E2E8F0; }
.pain-panel .btn { position: relative; }
.js .pain-panel[hidden] { display: none; }
.pain-panels { display: grid; gap: 16px; }
@media (max-width: 900px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* Lista z ptaszkami */
.list { list-style: none; display: grid; gap: 11px; }
.list li { position: relative; padding-left: 30px; font-size: .98rem; }
.list li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pain-panel .list li::before, .dark .list li::before, .plan.popular .list li::before { background-color: rgba(16, 185, 129, .2); }

/* ---------- Karty ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(29, 95, 216, .25); }
.card h3 { margin-top: 18px; }
.card p { margin: 0; font-size: .97rem; }
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand-100); color: var(--brand-600); flex: none; transition: background .25s, color .25s; }
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--brand-600); color: #fff; }
.icon-sky { background: var(--sky-50); color: var(--sky-600); }
.icon-amber { background: var(--amber-soft); color: #B7791F; }
.icon-dark { background: var(--ink); color: #fff; }
.card .tagline { display: block; margin-top: 14px; font-size: .85rem; font-weight: 700; color: var(--sky-600); }

/* ---------- Branże (zakładki) ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.tab-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s; }
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn:hover { border-color: var(--sky-200); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.no-js-hint { display: none; }
.sector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.js .sector[hidden] { display: none; }
.sector-list { display: grid; gap: 22px; }
.sector h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px; background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--ink-2); font-weight: 600; font-size: .88rem; }
.chips span.hot { background: var(--amber-soft); border-color: #FDE3AE; }
.sector-art { border-radius: 20px; background: linear-gradient(160deg, var(--sky-50), #fff); border: 1px solid var(--sky-100); padding: 26px; }
.sector-art .list { gap: 14px; }
.sector-art h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 14px; }
@media (max-width: 860px) { .sector { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sekcja zaufania (ciemna) ---------- */
.dark { background: radial-gradient(1200px 500px at 80% -10%, rgba(56,189,227,.22), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--night) 100%); color: #B6C4D6; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--sky-200); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.tcard { border-radius: 22px; padding: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.tcard .big { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 10px; }
.tcard .big .grad-text { background: linear-gradient(100deg, #74D4EF, #4C8DF5); -webkit-background-clip: text; background-clip: text; }
.tcard h3 { font-size: 1.1rem; margin: 0 0 6px; }
.tcard p { margin: 0; font-size: .96rem; }
.tcard.hero-t { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(56,189,227,.16), rgba(46,115,235,.08)); }
.tcard.hero-t .big { font-size: clamp(4rem, 9vw, 6.5rem); }
.tcard .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(56,189,227,.14); color: #74D4EF; margin-bottom: 16px; }
.tcard .ic svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } .tcard.hero-t { grid-row: auto; } }

/* Zespół: 7 specjalistów + partnerzy */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 64px; }
.team-art { position: relative; aspect-ratio: 1 / 1; max-width: 420px; width: 100%; margin-inline: auto; }
.team-art svg { width: 100%; height: 100%; }
.orbit { transform-origin: 210px 210px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Na co idzie kwota wdrożenia ---------- */
.cost { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.cost div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.cost .icon { width: 42px; height: 42px; border-radius: 12px; }
.cost .icon svg { width: 21px; height: 21px; }
.cost b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.cost small { font-size: .84rem; color: var(--muted); }
@media (max-width: 1020px) { .cost { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cost { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pakiety ---------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.plan .name { font-size: .8rem; font-weight: 800; letter-spacing: .16em; color: var(--sky-600); }
.plan h3, .plan h2 { font-size: 1.4rem; margin: 8px 0 6px; }
.plan .for { font-size: .92rem; color: var(--muted); margin: 0; }
.plan .price { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 10px; }
.plan .price small { display: block; font-size: .8rem; color: var(--muted); }
.plan .price strong { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan .price strong span { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .list { flex: 1; }
.plan .btn { margin-top: 28px; }
.plan.popular { background: linear-gradient(165deg, var(--ink) 0%, var(--night) 100%); border: 0; box-shadow: var(--shadow-lg), 0 0 0 2px var(--sky); color: #B6C4D6; }
.plan.popular::after { content: ""; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,227,.35), transparent 70%); }
.plan.popular h3, .plan.popular h2, .plan.popular .price strong { color: #fff; }
.plan.popular .name { color: var(--sky-200); }
.plan.popular .for, .plan.popular .price small, .plan.popular .price strong span { color: #94A3B8; }
.plan.popular .price { border-color: rgba(255,255,255,.12); }
.plan.popular .list li { color: #E2E8F0; }
.pill { display: inline-block; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #3B2300; font-size: .68rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }

/* Tabela porównawcza (pakiety.html) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink); }
.compare thead th, .compare thead th:first-child { background: var(--ink); color: #fff; font-weight: 700; }
.compare thead th.pop { background: var(--sky-600); }
.compare tbody tr:nth-child(even) { background: var(--bg-2); }
.compare .group td { background: var(--sky-50) !important; color: var(--sky-600); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; }
.compare .yes { background: var(--ok-soft); color: var(--ok); }
.compare .no { color: #CBD5E1; }
.compare tfoot td { font-weight: 800; color: var(--ink); background: #fff; }

/* ---------- Proces ---------- */
.steps { position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 58px; border-top: 2px dashed var(--sky-200); }
.steps .card { text-align: center; }
.steps .card::after { counter-increment: s; content: "0" counter(s); position: absolute; top: 16px; right: 20px; font-size: 2.8rem; font-weight: 900; color: var(--sky-50); letter-spacing: -.04em; }
.steps .icon { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 8px #fff; position: relative; z-index: 1; }
.bg-soft .steps .icon { box-shadow: 0 0 0 8px var(--bg-2); }
@media (max-width: 1020px) { .steps::before { display: none; } }

/* ---------- NIS2 (strona główna i nis2.html) ---------- */
.nis2-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.nis2-types { display: grid; gap: 12px; }
.ntype { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.ntype .badge { flex: none; }
.ntype b { color: var(--ink); display: block; margin-bottom: 2px; }
.ntype p { margin: 0; font-size: .93rem; }
@media (max-width: 900px) { .nis2-band { grid-template-columns: minmax(0, 1fr); } }
.badge { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; margin-bottom: 12px; }
.badge-red { background: #FDECEC; color: #B42318; }
.badge-amber { background: #FEF3E2; color: #B45309; }
.badge-blue { background: var(--brand-100); color: var(--brand-600); }
.who .card { display: flex; flex-direction: column; }
.who .card .list { margin-top: 16px; }
.note { font-size: .88rem; color: var(--muted); margin-top: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.panel { border-radius: 24px; padding: clamp(28px, 4vw, 40px); }
.panel-ok { background: var(--ok-soft); border: 1px solid #BDEBD8; }
.panel-ok h3 { color: #065F46; }
.panel-dark { background: linear-gradient(160deg, var(--ink) 0%, var(--night) 100%); color: #B6C4D6; }
.panel-dark h3, .panel-dark h2 { color: #fff; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; margin-top: 12px; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; border-top: 2px dashed rgba(255,255,255,.25); }
.timeline li { position: relative; text-align: center; }
.timeline .t { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 8px var(--night); position: relative; }
.timeline h4 { color: #fff; margin: 16px 0 6px; font-size: 1.05rem; }
.timeline p { font-size: .92rem; margin: 0; color: #94A3B8; }
@media (max-width: 640px) { .timeline { grid-template-columns: minmax(0, 1fr); } .timeline::before { display: none; } }
.measure { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.measure .num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; }
.measure h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.measure p { margin: 0; font-size: .93rem; }
.measure .we { display: block; margin-top: 8px; font-size: .88rem; color: var(--sky-600); font-weight: 600; }

/* ---------- Kontakt / wielkie CTA ---------- */
.final { background: radial-gradient(900px 400px at 10% 0%, rgba(116,212,239,.35), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(255,210,122,.25), transparent 60%), var(--sky-50); }
.final-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .final-grid { grid-template-columns: minmax(0, 1fr); } }
.final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-items { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.contact-items li { display: flex; gap: 14px; align-items: center; }
.contact-items small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-items a, .contact-items strong { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.contact-items a:hover { color: var(--brand); }
.promise { margin-top: 30px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--sky-100); display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow); }
.promise svg { width: 26px; height: 26px; color: var(--sky); flex: none; }
.promise p { margin: 0; font-size: .95rem; }
.form { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,42,71,.05); }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form .sub { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label i { color: #DC2626; font-style: normal; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(19, 164, 208, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { cursor: pointer; }
.topics label { position: relative; }
.field .topics input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: .15s; }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topics input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .95rem; }
.form-msg.ok { display: block; background: var(--ok-soft); color: #065F46; border: 1px solid #BDEBD8; }
.form-msg.err { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.small { font-size: .82rem; color: var(--muted); }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 42em; color: var(--ink-2); }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Pasek CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--sky-600) 0%, var(--brand-600) 100%); color: #E0F2FE; border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--night); color: #8DA2B8; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #C9D6E3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: #64748B; }

/* ---------- Pływające przyciski kontaktu ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab a { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); text-decoration: none; font-weight: 700; font-size: .92rem; }
.fab .call { background: var(--ok); color: #fff; padding: 12px 20px 12px 16px; }
.fab .call:hover { background: #059669; color: #fff; }
.fab .mail { background: var(--ink); color: #fff; width: 50px; height: 50px; justify-content: center; }
.fab svg { width: 20px; height: 20px; }

/* ---------- Pasek ogłoszenia NIS2 (nad nagłówkiem) ---------- */
.topbar { background: var(--grad); color: #fff; font-size: .9rem; font-weight: 600; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 6px 0; text-align: center; flex-wrap: wrap; }
.topbar b { background: rgba(255,255,255,.2); padding: 2px 9px; border-radius: 999px; font-size: .75rem; letter-spacing: .08em; }
.topbar a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: #FFF4DD; }
.nav .nav-hot { position: relative; }
.nav .nav-hot::after { content: ""; position: absolute; top: 7px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* ---------- NIS2: dwie ścieżki (strona główna) ---------- */
.nis2-hero { background: radial-gradient(900px 420px at 90% 0%, rgba(56,189,227,.28), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--night) 100%); color: #B6C4D6; overflow: hidden; }
.nis2-hero h2 { color: #fff; }
.nis2-hero .eyebrow { background: rgba(251,181,64,.14); border-color: rgba(251,181,64,.35); color: #FFD27A; }
.nis2-hero .section-head p { color: #C9D6E3; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.path { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: clamp(26px, 4vw, 38px); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.path.supplier::before { background: linear-gradient(100deg, var(--amber), #F0A019); }
.path .who-tag { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.path h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-bottom: 10px; }
.path > p { font-size: 1.02rem; }
.path .list { margin: 18px 0 26px; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .big-q { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 8px; }
.path.supplier .big-q { color: #B7791F; }
.nis2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.nis2-facts div { border-radius: 18px; padding: 18px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.nis2-facts b { display: block; color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.nis2-facts span { font-size: .88rem; }
@media (max-width: 900px) { .nis2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
