/* Licencje ESET · DSERVE — arkusz stylów */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #edf1f7;
  --ink: #1d283b;
  --ink-2: #39455a;
  --muted: #626d80;
  --line: #d8dfea;
  --line-strong: #b5c0d1;
  --accent: #c24127;
  --accent-hover: #a3361f;
  --accent-ink: #ffffff;
  --accent-soft: #fdebe5;
  --ok: #10795a;
  --ok-soft: #e1f3eb;
  --warn: #8a5300;
  --warn-soft: #fff2d9;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --band: #1d283b;
  --band-ink: #f3f5f9;
  --band-muted: #aeb7c6;
  --band-line: #303c52;
  --sum-label: #2c3a52;
  --sum-label-ink: #ffffff;
  --sum-cell: #dde3ec;
  --sum-cell-2: #eef1f6;
  --sum-ink: #1d283b;
  --shadow: 0 1px 2px rgba(13, 31, 60, .06), 0 8px 24px rgba(13, 31, 60, .08);
  --radius: 10px;
  --radius-sm: 6px;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "IBM Plex Sans Condensed", "Arial Narrow", "Roboto Condensed", var(--font-body);
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --topbar-h: 60px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07111f;
    --surface: #0e1b30;
    --surface-2: #132441;
    --ink: #e6ecf6;
    --ink-2: #bcc7d9;
    --muted: #8f9db4;
    --line: #213450;
    --line-strong: #34496b;
    --accent: #f4714f;
    --accent-hover: #ff8e70;
    --accent-ink: #170c08;
    --accent-soft: #3a1f17;
    --ok: #52c99c;
    --ok-soft: #0f2f27;
    --warn: #f2b561;
    --warn-soft: #33260f;
    --danger: #ff8a80;
    --danger-soft: #3a1714;
    --band: #151d2b;
    --band-ink: #eef3fb;
    --band-muted: #a3adbd;
    --band-line: #2a3547;
    --sum-label: #243149;
    --sum-label-ink: #eef3fb;
    --sum-cell: #1a2436;
    --sum-cell-2: #141d2b;
    --sum-ink: #e6ecf6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0e1b30;
  --surface-2: #132441;
  --ink: #e6ecf6;
  --ink-2: #bcc7d9;
  --muted: #8f9db4;
  --line: #213450;
  --line-strong: #34496b;
  --accent: #f4714f;
  --accent-hover: #ff8e70;
  --accent-ink: #170c08;
  --accent-soft: #3a1f17;
  --ok: #52c99c;
  --ok-soft: #0f2f27;
  --warn: #f2b561;
  --warn-soft: #33260f;
  --danger: #ff8a80;
  --danger-soft: #3a1714;
  --band: #151d2b;
  --band-ink: #eef3fb;
  --band-muted: #a3adbd;
  --band-line: #2a3547;
  --sum-label: #243149;
  --sum-label-ink: #eef3fb;
  --sum-cell: #1a2436;
  --sum-cell-2: #141d2b;
  --sum-ink: #e6ecf6;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  font-feature-settings: "tnum" 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 60; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(34px, 5vw, 50px); }
h2 { font-size: clamp(27px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0; }
.eyebrow { font: 500 12px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* ---------- górny pasek ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--topbar-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; display: block; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none !important; } :root:not([data-theme="light"]) .logo-dark { display: block !important; } }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.footer-logo { height: 32px; width: auto; display: block; margin-bottom: 14px; }
.brand-sub { font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: var(--radius-sm); }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.topbar-phone { font: 500 15px/1 var(--font-mono); color: var(--ink); text-decoration: none; white-space: nowrap; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.topbar-phone:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 980px) { .nav { display: none; } .theme { margin-left: auto; } }
@media (max-width: 460px) { .brand-sub { display: none; } .brand-logo { height: 26px; } }

/* ---------- hero ---------- */
.hero { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; padding-block: 48px 44px; align-items: end; }
.hero .eyebrow { color: var(--band-muted); }
.hero h1 { margin-top: 14px; color: #fff; }
.hero .lead { color: var(--band-muted); margin-top: 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--band-ink); }
.hero-facts b { font: 500 13px/1 var(--font-mono); color: #ff9b80; letter-spacing: .02em; }
.hero-side { display: grid; gap: 14px; }
.partner-slot { display: flex; align-items: center; justify-content: center; min-height: 86px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px dashed var(--band-line); padding: 12px; }
.partner-slot img { max-height: 72px; width: auto; }
.partner-slot .placeholder { font: 500 12px/1.4 var(--font-mono); color: var(--band-muted); text-align: center; letter-spacing: .04em; }
.hero-contact { border: 1px solid var(--band-line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 6px; }
.hero-contact .t { font-size: 14px; color: var(--band-muted); }
.hero-contact a { color: #fff; text-decoration: none; font: 600 20px/1.2 var(--font-display); letter-spacing: .01em; }
.hero-contact a.mail { font: 500 15px/1.3 var(--font-mono); color: #dfe5ee; }
.hero-contact a:hover { text-decoration: underline; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 32px; gap: 28px; } }

/* ---------- sekcje ---------- */
.section { padding-block: 56px 8px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 24px; }
.section-head .lead { margin-top: 8px; font-size: 17px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- zakładki kategorii ---------- */
.cats { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: 1 0 auto; border: 0; background: transparent; padding: 10px 16px; border-radius: 9px; cursor: pointer; font-weight: 500; color: var(--ink-2); white-space: nowrap; display: grid; gap: 1px; text-align: left; }
.cats button small { font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.cats button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.cats button:hover:not([aria-selected="true"]) { color: var(--ink); }

/* ---------- układ konfiguratora ---------- */
.config { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin-top: 22px; align-items: start; }
@media (max-width: 1060px) { .config { grid-template-columns: minmax(0, 1fr); } }
.steps { display: grid; gap: 22px; min-width: 0; }
.steps > *, .fields > *, .field > *, .rec > *, .order > *, .contact > *, .config > * { min-width: 0; }
.step { padding: 22px; }
.step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px; }
.step-no { font: 500 12px/1 var(--font-mono); color: var(--accent); border: 1px solid currentColor; border-radius: 99px; padding: 5px 8px; flex-shrink: 0; }
.step-head h3 { font-size: 21px; }
.step-head .aside { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }

/* karty produktów */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--line-strong); }
.pcard input { position: absolute; opacity: 0; pointer-events: none; }
.pcard:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.pcard:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pcard .pname { font: 700 19px/1.15 var(--font-display); padding-right: 26px; }
.pcard .pname small { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.pcard .ptag { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.pcard .pmeta { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pcard .pfrom { font: 600 15px/1.2 var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard .pbadge { align-self: flex-start; font: 500 11px/1 var(--font-mono); letter-spacing: .04em; color: var(--accent-hover); background: var(--accent-soft); padding: 5px 7px; border-radius: 4px; }
.pcard .tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.pcard:has(input:checked) .tick { background: var(--accent); border-color: var(--accent); }
.pcard:has(input:checked) .tick::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

/* pola parametrów */
.fields { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > .label, .field > label.label { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field .label .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.seats-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 20px; line-height: 1; color: var(--ink); }
.stepper button:hover { background: var(--accent-soft); color: var(--accent); }
.stepper input { width: 88px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 600 20px/1 var(--font-body); padding: 10px 4px; background: var(--surface); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seats-unit { color: var(--muted); font-size: 15px; }
.range { flex: 1 1 220px; accent-color: var(--accent); min-width: 0; }

/* drabinka progów cenowych */
.tiers { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tier { flex: 1 0 86px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--surface); text-align: left; cursor: pointer; display: grid; gap: 3px; }
.tier .r { font: 500 12px/1.2 var(--font-mono); color: var(--muted); white-space: nowrap; }
.tier .v { font: 600 14px/1.2 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier:hover { border-color: var(--line-strong); }
.tier[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); }
.tier[aria-current="true"] .r { color: var(--accent-hover); }
.tier.quote .v { color: var(--muted); font-weight: 500; }
.tiers-note { font-size: 13px; color: var(--muted); }

/* przełączniki segmentowe */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; border-radius: 7px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.seg input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.seg.wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.seg.wide span { white-space: normal; text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.check b { font-weight: 600; display: block; }
.check .d { font-size: 14px; color: var(--muted); display: block; margin-top: 2px; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.inline-select { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
select, .input, textarea { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); padding: 10px 12px; min-height: 44px; width: 100%; }
select { width: auto; }
textarea { min-height: 96px; resize: vertical; }
.input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }

/* komunikaty */
.note { font-size: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.ok { background: var(--ok-soft); color: var(--ok); }
.note.err { background: var(--danger-soft); color: var(--danger); }
.note .icon { flex-shrink: 0; font: 600 12px/1.6 var(--font-mono); }
.note button { margin-left: auto; }

/* funkcje pakietu */
.feat-cols { columns: 2; column-gap: 28px; }
.feat-cols > .feat-group { break-inside: avoid; margin-bottom: 18px; }
@media (max-width: 720px) { .feat-cols { columns: 1; } }
.feat-group h4 { font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.feat-list .mk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; font: 700 12px/1 var(--font-body); }
.feat-list .yes .mk { background: var(--ok-soft); color: var(--ok); }
.feat-list .no .mk { background: var(--surface-2); color: var(--muted); }
.feat-list .fn { font-weight: 600; font-size: 15px; display: block; }
.feat-list .fd { font-size: 14px; color: var(--muted); margin-top: 1px; display: block; }
.feat-list .no .fn { color: var(--muted); font-weight: 500; }
.feat-list .upg { font: 500 11px/1 var(--font-mono); color: var(--accent-hover); background: var(--accent-soft); padding: 3px 6px; border-radius: 4px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px/1 var(--font-mono); padding: 6px 8px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- wycena ---------- */
.quote { position: sticky; top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px) + 16px); display: grid; gap: 0; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 1060px) { .quote { position: static; } }
.quote-head { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.quote-head .eyebrow { display: flex; justify-content: space-between; gap: 8px; }
.quote-head h3 { font-size: 24px; }
.quote-head .cfg { font-size: 14px; color: var(--muted); }
.qlines { padding: 14px 20px; display: grid; gap: 10px; border-bottom: 1px dashed var(--line-strong); }
.qline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; font-size: 14px; }
.qline .k { color: var(--ink-2); }
.qline .v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qline .sub { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.qline.promo .v, .qline.promo .k { color: var(--ok); }
.qline.addon .k::before { content: "+ "; color: var(--muted); }
.qtotal { padding: 16px 20px 18px; display: grid; gap: 6px; }
.qtotal .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.qtotal .big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; }
.qtotal .big .k { font-weight: 600; }
.qtotal .big .v { font: 700 34px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.qtotal .gross { font-size: 15px; color: var(--ink); }
.qtotal .per { font-size: 13px; color: var(--muted); text-align: right; }
.qactions { padding: 0 20px 20px; display: grid; gap: 8px; }
.qfoot { padding: 12px 20px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: grid; gap: 6px; background: var(--surface-2); }
.qfoot .linkbtn { justify-self: start; }
.quote-na { padding: 18px 20px; display: grid; gap: 10px; }
.quote-na .big { font: 700 26px/1.1 var(--font-display); }

/* przyciski */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: inherit; text-decoration: underline; text-underline-offset: .18em; }
.linkbtn:hover { color: var(--accent-hover); }

/* ---------- dobór po funkcjach ---------- */
.rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .rec { grid-template-columns: 1fr; } }
.rec-form { padding: 22px; display: grid; gap: 18px; }
.needs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px; }
.need { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.need input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.need b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.need small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.need:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.rec-out { display: grid; gap: 12px; }
.ropt { padding: 18px 20px; display: grid; gap: 10px; }
.ropt.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.ropt .rtop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ropt .rname { font: 700 20px/1.15 var(--font-display); }
.ropt .rprice { font: 700 22px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ropt .rsub { font-size: 13.5px; color: var(--muted); }
.ropt .rlabel { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.ropt .ractions { display: flex; flex-wrap: wrap; gap: 8px; }
.rec-empty { padding: 26px 22px; color: var(--muted); border-style: dashed; }

/* ---------- porównanie ---------- */
.ctabs { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: 14px; }
.cmp th, .cmp td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); z-index: 2; vertical-align: bottom; padding-top: 16px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 240px; max-width: 320px; box-shadow: 1px 0 0 var(--line); }
.cmp thead th:first-child { z-index: 3; }
.cmp .colh { display: grid; gap: 6px; justify-items: center; }
.cmp .colh .n { font: 700 17px/1.1 var(--font-display); }
.cmp .colh .m { font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.cmp .grp td { background: var(--surface-2); font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-align: left; }
.cmp .grp td:first-child { background: var(--surface-2); }
.cmp .rowname { font-weight: 500; }
.cmp .rowname small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.cmp .y { color: var(--ok); font-weight: 700; font-size: 16px; }
.cmp .y sup { font: 500 11px/1 var(--font-mono); color: var(--muted); margin-left: 1px; }
.cmp .n0 { color: var(--line-strong); }
.cmp .sel { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); }
.cmp thead th.sel { box-shadow: inset 0 3px 0 var(--accent); }
.cmp tfoot td, .cmp tfoot th { font-variant-numeric: tabular-nums; font-weight: 600; border-bottom: 0; }
.cmp tfoot .p { font-size: 15px; }
@media (min-width: 1000px) {
  .table-scroll { overflow: visible; }
  .cmp thead th { top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px)); }
}
.cmp-notes { margin-top: 10px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }

/* ---------- zamówienie ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
@media (max-width: 980px) { .order { grid-template-columns: 1fr; } }
.cart { padding: 20px; display: grid; gap: 14px; }
.cart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.citems { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.citem { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; }
.citem .cn { font-weight: 600; }
.citem .cd { font-size: 13px; color: var(--muted); grid-column: 1 / 2; }
.citem .cv { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; text-align: right; }
.citem .cr { grid-column: 2; text-align: right; }
.ctotal { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 12px; font-variant-numeric: tabular-nums; }
.ctotal .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.ctotal .row.big { font: 700 22px/1.2 var(--font-display); color: var(--ink); }
.cart-empty { color: var(--muted); font-size: 15px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 16px; }
.nextsteps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.form { padding: 22px; display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.form legend { font: 700 18px/1.2 var(--font-display); padding: 0; margin-bottom: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 12px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.f { display: grid; gap: 5px; min-width: 0; }
.f label { font-size: 14px; font-weight: 600; }
.f label .opt { font-weight: 400; color: var(--muted); }
.f .err { font-size: 13px; color: var(--danger); }
.f.invalid .input, .f.invalid textarea { border-color: var(--danger); }
.nip-row { display: flex; gap: 8px; }
.nip-row .input { flex: 1; font-family: var(--font-mono); letter-spacing: .04em; }
.nip-status { font-size: 13px; }
.consents { display: grid; gap: 8px; }
.consents .check { font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { padding: 26px 22px; display: grid; gap: 10px; border-color: var(--ok); }
.done h3 { color: var(--ok); }
.done .oid { font: 600 18px/1.2 var(--font-mono); }

/* ---------- wdrożenie / kontakt / faq ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.svc { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.svc h3 { font-size: 19px; }
.svc p { font-size: 14.5px; color: var(--ink-2); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-card { padding: 22px; display: grid; gap: 14px; }
.contact-card .big { font: 700 28px/1.1 var(--font-display); color: var(--ink); text-decoration: none; }
.contact-card .mail { font: 500 17px/1.3 var(--font-mono); text-decoration: none; }
.contact-card .row { display: grid; gap: 2px; }
.copy { margin-left: 8px; }
.offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.faq { display: grid; gap: 8px; max-width: 900px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--font-mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 8px; max-width: 75ch; }

/* ---------- stopka ---------- */
.footer { margin-top: 64px; background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); font-size: 14px; }
.footer .wrap { padding-block: 36px 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h4 { color: var(--band-ink); font: 700 16px/1.2 var(--font-display); margin: 0 0 8px; letter-spacing: .02em; }
.footer a { color: #ffb59f; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--band-line); padding-top: 18px; font-size: 12.5px; display: grid; gap: 6px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

/* ---------- pasek mobilny ---------- */
.mobilebar { display: none; }
@media (max-width: 1060px) {
  .mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 31, 60, .12); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); gap: 12px; align-items: center; justify-content: space-between; transition: transform .2s; }
  .mobilebar.off { transform: translateY(110%); }
  .mobilebar .mb-t { display: grid; gap: 2px; min-width: 0; }
  .mobilebar .mb-n { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobilebar .mb-v { font: 700 21px/1 var(--font-display); font-variant-numeric: tabular-nums; }
  body { padding-bottom: 76px; }
}

/* ---------- okno informacji ---------- */
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; max-width: min(760px, calc(100vw - 32px)); width: 100%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(7, 17, 31, .55); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.dlg-body { padding: 18px 20px 24px; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); max-height: 70vh; overflow: auto; }
.dlg-body h4 { margin: 8px 0 0; font: 700 16px/1.3 var(--font-display); color: var(--ink); }
.dlg-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 70; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
@media (min-width: 1061px) { .toast { bottom: 28px; } }

/* baner trybu podglądu (wersja demonstracyjna) */
.demo-banner { background: var(--warn-soft); color: var(--warn); font-size: 13.5px; padding: 8px var(--gutter); text-align: center; border-bottom: 1px solid var(--line); }

/* ---------- podsumowanie funkcjonalności (układ jak tabela 11 cennika) ---------- */
.sum-wrap { overflow-x: auto; max-width: 100%; contain: paint; border-radius: var(--radius); }
table.sum { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 2px; font-size: 14px; background: var(--surface); }
.sum th, .sum td { padding: 9px 10px; border-radius: 3px; }
.sum thead th { background: var(--band); color: var(--band-ink); vertical-align: bottom; padding: 0; }
.sum thead th:first-child { text-align: left; font: 700 16px/1.2 var(--font-display); padding: 12px; vertical-align: middle; min-width: 280px; position: sticky; left: 0; z-index: 2; }
.sum-pick { display: grid; gap: 2px; width: 100%; padding: 10px 6px; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: center; font: 700 16px/1.1 var(--font-display); border-radius: 3px; }
.sum-pick small { font: 500 11px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--band-muted); }
.sum-pick:hover { background: rgba(255, 255, 255, .08); }
.sum tbody th { background: var(--sum-label); color: var(--sum-label-ink); text-align: left; font-weight: 500; line-height: 1.35; position: sticky; left: 0; z-index: 1; }
.sum td { background: var(--sum-cell); color: var(--sum-ink); text-align: center; font-size: 17px; font-weight: 600; min-width: 92px; }
.sum tbody tr:nth-child(even) td { background: var(--sum-cell-2); }
.sum td sup { font: 500 11px/1 var(--font-mono); margin-left: 1px; }
.sum tr.seats th { font-weight: 700; }
.sum tr.seats td { font: 500 13px/1.3 var(--font-body); }
.sum tbody td.sel, .sum tbody tr:nth-child(even) td.sel { background: var(--accent-soft); }
.sum thead th.sel { box-shadow: inset 0 -4px 0 var(--accent); }
@media (max-width: 640px) { .sum thead th:first-child, .sum tbody th { min-width: 190px; max-width: 220px; font-size: 13px; } }
.footer .linkbtn { color: #ffb59f; }

/* ---------- przełącznik motywu ---------- */
.theme { position: relative; flex-shrink: 0; }
.theme-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .ico-moon { fill: currentColor; stroke: none; }
.theme-btn .ico-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ico-sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .ico-moon { display: block; }
}
.theme-auto { position: absolute; right: -5px; bottom: -5px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--ink); color: var(--surface); font: 600 10px/16px var(--font-mono); text-align: center; }
.theme-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 230px; padding: 6px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.theme-menu button { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-size: 15px; }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--surface-2); }
.theme-menu small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.theme-menu .tm-mark { color: var(--accent); font-weight: 700; visibility: hidden; }
.theme-menu button[aria-checked="true"] .tm-mark { visibility: visible; }
@media (max-width: 560px) {
  .topbar .wrap { gap: 10px; }
  .topbar-phone { font-size: 14px; padding: 8px 10px; }
}
