/* ==========================================================
   Witryna: Amazon + transport i magazyny (wersja 4, układ biznesowy)
   Wszystkie kolory i odstępy w zmiennych :root.
   ========================================================== */
:root {
  --ink: #0e1a2b;
  --muted: #526178;
  --line: #dce3ed;
  --bg: #ffffff;
  --soft: #f4f6fa;
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --brand: #0a52b4;
  --brand-dark: #083b82;
  --brand-tint: #e8f0fb;
  --accent: #f2a900;
  --accent-tint: #fff3d1;
  --ok: #17784a;
  --no: #9a3b3b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14,26,43,.05), 0 8px 24px rgba(14,26,43,.07);
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 4.2vw, 2.9rem); font-weight: 780; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 740; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
section[id] { scroll-margin-top: 128px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); margin-bottom: .8em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

mark.ph { background: var(--accent-tint); color: #6a4a00; padding: 0 .3em; border-radius: 4px; border: 1px dashed #d9a400; font-weight: 600; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.5em; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #ffc233; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--accent); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- Nagłówek i nawigacja ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand b { font-size: 1.15rem; }
.brand span { font-size: .78rem; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav .dd-btn { display: block; padding: .6em .85em; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav a:hover, .nav .dd-btn:hover { background: var(--soft); }
.nav [aria-current="page"], .nav .is-current > .dd-btn { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.dd-btn::after { content: "▾"; margin-left: .35em; font-size: .8em; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; }
.has-dd.open > .dd-menu { display: block; }
.dd-menu a { padding: .7em .9em; }
.pill { display: inline-block; font-size: .66rem; font-weight: 800; background: var(--accent); color: var(--ink); padding: .15em .6em; border-radius: 999px; margin-left: .4em; vertical-align: middle; text-transform: uppercase; letter-spacing: .04em; }
.nav .btn { background: var(--brand); color: #fff; margin-left: 8px; padding: .55em 1.2em; min-height: 44px; }
.nav .btn:hover { background: var(--brand-dark); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .dd-btn { padding: .9em .6em; width: 100%; text-align: left; }
  .dd-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .dd-btn::after { display: none; }
  .nav .btn { margin: 10px 0 0; text-align: center; justify-content: center; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(28px, 4vw, 44px) 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }

/* Hero ciemne (granat) */
.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 5vw, 64px); background: var(--bg); }
.hero--dark { background: radial-gradient(900px 380px at 85% -10%, rgba(10,82,180,.55), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero--dark h1 { color: #fff; }
.hero--dark .eyebrow { color: #ffd166; }
.hero--dark .lead { color: #c9d6e8; }
.hero--page { padding-bottom: clamp(60px, 7vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-grid > div { min-width: 0; }
.hero-art--ico { display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; aspect-ratio: 1 / 1; max-width: 280px; width: 100%; justify-self: end; color: #fff; }
.hero-art--ico svg { width: 44%; height: auto; }
@media (max-width: 960px) { .hero-art--ico { display: none; } }
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Wyszukiwarka potrzeby (strona główna) */
.finder { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.finder h2 { font-size: 1.05rem; padding: 12px 12px 6px; margin: 0; letter-spacing: 0; }
.finder-row { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.finder-row:first-of-type { border-top: 0; }
.finder-row:hover { background: var(--brand-tint); color: var(--ink); }
.finder-row .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.finder-row:hover .n { background: var(--brand); color: #fff; }
.finder-row b { display: block; line-height: 1.3; }
.finder-row small { display: block; color: var(--muted); font-size: .88rem; }
.finder-row .arr { margin-left: auto; color: var(--brand); font-weight: 800; }
.finder-split { padding: 14px 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.finder-split .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.finder-split b { display: block; line-height: 1.3; flex: 1 1 200px; min-width: 0; }
.finder-split .opts-in { display: flex; gap: 8px; flex-wrap: wrap; }
.finder-split .opts-in a { text-decoration: none; font-weight: 700; font-size: .9rem; padding: .35em .85em; border: 1.5px solid var(--brand); border-radius: 999px; }
.finder-split .opts-in a:hover { background: var(--brand); color: #fff; }
.finder-row--main { background: var(--accent-tint); }
.finder-row--main:hover { background: #ffe9a8; }

/* Pasek faktów */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.2); }
.facts > div { padding: 18px 20px 0 0; }
.facts b { display: block; font-size: 1.15rem; color: #fff; line-height: 1.3; }
.facts span { color: #b8c8dd; font-size: .93rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; gap: 0 16px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Pasek „w skrócie” pod hero strony usługi */
.quick-wrap { margin-top: -44px; position: relative; z-index: 3; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.quick > div { padding: 22px 24px; border-left: 1px solid var(--line); min-width: 0; }
.quick > div:first-child { border-left: 0; }
.quick small { display: block; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .4em; }
.quick p { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 800px) { .quick { grid-template-columns: 1fr; } .quick > div { border-left: 0; border-top: 1px solid var(--line); } .quick > div:first-child { border-top: 0; } .quick-wrap { margin-top: -36px; } }

/* Nawigacja po stronie usługi */
.subnav { position: sticky; top: 68px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); margin-top: 28px; }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 14px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .93rem; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.subnav .btn { background: var(--brand); margin-left: auto; flex: none; min-height: 38px; padding: .3em 1.1em; font-size: .93rem; color: #fff; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.svc { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.svc:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.svc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.svc-ico svg { width: 26px; height: 26px; }
.svc .for { font-size: .82rem; font-weight: 700; color: var(--muted); margin-top: auto; padding-top: 10px; }
.svc .go { margin-top: 12px; font-weight: 700; color: var(--brand); }
.svc .go::after { content: " →"; }
.svc--main { border-color: var(--brand); border-width: 2px; }

/* Przewagi */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.adv > div { padding: 26px 26px 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.adv > div:nth-child(-n+3) { border-top: 0; }
.adv > div:nth-child(3n+1) { border-left: 0; }
.adv h3 { font-size: 1.05rem; margin-bottom: .35em; }
.adv p { color: var(--muted); margin: 0; font-size: .98rem; }
.adv .k { display: inline-block; width: 30px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
@media (max-width: 980px) { .adv { grid-template-columns: 1fr 1fr; } .adv > div { border-left: 1px solid var(--line); border-top: 1px solid var(--line); } .adv > div:nth-child(-n+2) { border-top: 0; } .adv > div:nth-child(odd) { border-left: 0; } }
@media (max-width: 640px) { .adv { grid-template-columns: 1fr; } .adv > div { border-left: 0 !important; border-top: 1px solid var(--line) !important; } .adv > div:first-child { border-top: 0 !important; } }

/* Tabela porównawcza */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .98rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { border-top: 0; background: var(--soft); font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp thead th.me { background: var(--brand); color: #fff; }
.cmp td.me { background: var(--brand-tint); font-weight: 600; }
.cmp tbody th { font-weight: 600; width: 32%; }
.cmp .y { color: var(--ok); font-weight: 800; }
.cmp .n { color: #8a98ab; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: .8rem; }

/* Kroki / oś */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps li b { display: block; margin-bottom: .15em; }
.steps li span { color: var(--muted); }
.steps--row { grid-template-columns: repeat(4, 1fr); }
.steps--row li { padding: 68px 18px 18px; }
.steps--row li::before { left: 18px; top: 18px; }
@media (max-width: 980px) { .steps--row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps--row { grid-template-columns: 1fr; } .steps--row li { padding: 18px 20px 18px 70px; } .steps--row li::before { top: 16px; } }

/* Schemat przepływu dostawy */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; margin: 1.5rem 0 0; }
.flow li { background: #fff; border: 2px solid var(--brand-tint); border-radius: var(--radius); padding: 16px; text-align: center; position: relative; margin: 0; font-weight: 700; }
.flow li small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: .3em; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1.4rem; font-weight: 800; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; gap: 26px; } .flow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -26px; transform: translateX(50%); } }

/* Kto co robi */
.resp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .resp { grid-template-columns: 1fr; } }
.resp > div { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: #fff; border-top-width: 5px; }
.resp .r-me { border-top-color: var(--brand); }
.resp .r-coord { border-top-color: var(--accent); }
.resp .r-partner { border-top-color: #8a99ad; }
.resp h3 { font-size: 1.05rem; }
.resp ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .98rem; }
.note { background: var(--accent-tint); border-left: 5px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 1.5rem 0; }
.note p:last-child { margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1em 0; }
.chips li { margin: 0; background: var(--brand-tint); color: var(--brand-dark); border-radius: 999px; padding: .4em 1em; font-weight: 700; font-size: .95rem; }
.chips li.chip-more { background: #fff; border: 1px dashed var(--brand); }

.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.7em; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.xlist { list-style: none; padding: 0; }
.xlist li { padding-left: 1.7em; position: relative; color: var(--muted); }
.xlist li::before { content: "×"; position: absolute; left: .1em; color: var(--no); font-weight: 800; font-size: 1.15em; line-height: 1.3; }
.col-title { font-size: 1.05rem; padding-bottom: .5em; border-bottom: 2px solid var(--line); margin-bottom: 1em; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 960px) { .three-col { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.two-col > *, .three-col > * { min-width: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 16px; color: var(--muted); }

/* Pasek CTA */
.cta-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c9d6e8; max-width: 56ch; }

/* Sekcja z grafiką trasy */
.spot { background: var(--soft); border-radius: 18px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.spot .art svg { width: 100%; height: auto; }

.portrait { aspect-ratio: 4/5; background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 12px, #e9eef4 12px, #e9eef4 24px); border: 2px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; font-size: .95rem; max-width: 100%; }

/* Formularz zamówienia */
form.contact { display: grid; gap: 22px; }
fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.step legend { font-weight: 800; font-size: 1.1rem; padding: 0; margin-bottom: 12px; }
fieldset.step legend > span:first-child { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; margin-right: 8px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt label { display: block; padding: 14px 16px 14px 48px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; line-height: 1.3; position: relative; }
.opt label small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.opt label::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa9bd; background: #fff; }
.opt input:checked + label { border-color: var(--brand); background: var(--brand-tint); }
.opt input:checked + label::before { border-color: var(--brand); background: radial-gradient(var(--brand) 0 45%, #fff 50%); }
.opt input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.prep { background: var(--soft); border-radius: 10px; padding: 16px 20px; margin-top: 12px; display: none; }
.prep.show { display: block; }
.prep h3 { font-size: 1rem; margin-bottom: .4em; }
.prep ul { margin: 0; color: var(--muted); font-size: .96rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .96rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
input[type=text], input[type=email], input[type=tel], select, textarea { font: inherit; padding: .75em .9em; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
textarea { min-height: 200px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field--row { grid-template-columns: 1fr; } }
.form-ok { display: none; background: #e7f6ee; border: 1px solid #a6dcc0; color: #11583a; border-radius: 10px; padding: 14px 18px; font-weight: 600; margin-bottom: 18px; }
.form-ok.show { display: block; }
.box { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.box--line { background: #fff; border: 1px solid var(--line); }

/* Stopka */
.site-footer { background: #0a1626; color: #b9c6d6; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e3ecf6; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.legal { border-top: 1px solid #22344a; margin-top: 32px; padding-top: 20px; font-size: .84rem; color: #8ea0b5; }

/* Baza wiedzy */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }
.kb-card { padding: 0; overflow: hidden; }
.kb-card .kb-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.kb-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--soft); }
.kb-cat { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: .5em; }
.kb-card h3 { font-size: 1.15rem; }
.kb-card h3 a { color: var(--ink); text-decoration: none; }
.kb-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.kb-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.kb-nav { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.5em 0 0; }
.kb-nav li { margin: 0; }
.kb-nav a { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1.1em; text-decoration: none; font-weight: 700; color: var(--ink); }
.kb-nav a:hover { border-color: var(--brand); color: var(--brand); }
.kb-group { margin-bottom: 3rem; }
.kb-group:last-child { margin-bottom: 0; }
.article { max-width: 760px; margin-inline: auto; }
.article .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .93rem; margin-bottom: 1.5em; }
.article .answer { background: var(--brand-tint); border-left: 5px solid var(--brand); border-radius: 8px; padding: 18px 22px; margin: 0 0 2rem; }
.article .answer b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--brand-dark); margin-bottom: .3em; }
.article .answer p:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5em .7em; text-align: left; }
.prose th { background: var(--soft); }
.sources { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; }
.sources h2 { font-size: 1.1rem; margin-bottom: .6em; }
.article-cta { margin-top: 2.5rem; }
.section-more { margin-top: 1.5rem; font-weight: 700; }

/* Grafika trasy (SVG) */
.art-bg { fill: var(--brand-tint); }
.art-ground { fill: none; stroke: var(--line); stroke-width: 2; }
.art-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.art-line--alt { stroke: #8a99ad; stroke-width: 2.5; }
.art-node { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.art-node--main { fill: var(--brand); stroke: var(--brand-dark); }
.art-node--alt { stroke: #8a99ad; }
.art-box { fill: var(--accent); stroke: #b98100; stroke-width: 2; }
.art-label { fill: var(--ink); font-size: 16px; font-weight: 700; font-family: var(--font); }
.art-sub { fill: var(--muted); font-size: 13px; font-family: var(--font); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Grafiki tematyczne w hero usług */
.hero-art--scene { justify-self: end; width: 100%; max-width: 420px; }
.scene { width: 100%; height: auto; filter: drop-shadow(0 14px 28px rgba(0,0,0,.25)); }
.sc-st { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sc-thin { stroke-width: 1.6; fill: none; }
.sc-dash { fill: none; stroke-dasharray: 2 9; }
.sc-fill { fill: rgba(255,255,255,.14); }
.sc-acc { fill: var(--accent); }
.sc-ink { fill: var(--navy); }
.sc-okk { fill: none; stroke: var(--accent); stroke-width: 3; }
.sc-t { fill: #fff; font: 700 15px var(--font); }
.sc-sm { font-size: 13px; }
.sc-ink-t { fill: var(--navy); font: 800 17px var(--font); }
.hero-art--scene .sc-ink.sc-st { stroke: #fff; }
@media (max-width: 960px) { .hero-art--scene { justify-self: center; max-width: 340px; } }

/* ===== Wersja jasna: biznesowa, jasne tła ===== */
.hero--dark { background: radial-gradient(900px 420px at 90% -10%, #dbe9fb 0%, transparent 60%), linear-gradient(180deg, #f3f7fc 0%, #ffffff 100%); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero--dark h1 { color: var(--navy); }
.hero--dark .eyebrow { color: var(--brand); }
.hero--dark .lead { color: var(--muted); }
.btn--ghost-light { color: var(--brand); border-color: var(--brand); background: #fff; }
.btn--ghost-light:hover { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand); }
.btn--accent { background: var(--brand); color: #fff; }
.btn--accent:hover { background: var(--brand-dark); color: #fff; }
.finder { border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(11,31,58,.12); }
.facts { border-top-color: var(--line); }
.facts b { color: var(--navy); }
.facts span { color: var(--muted); }
.hero-art--ico { background: #fff; border-color: var(--line); color: var(--brand); }
.quick-wrap { margin-top: 28px; }
.subnav { margin-top: 28px; }
/* grafiki: ciemny kontur na jasnym tle */
.scene { filter: drop-shadow(0 10px 20px rgba(11,31,58,.12)); }
.sc-st { stroke: var(--navy); }
.sc-fill { fill: var(--brand-tint); }
.sc-t { fill: var(--navy); }
.sc-ink { fill: var(--navy); }
.sc-ink.sc-st, .hero-art--scene .sc-ink.sc-st { stroke: var(--navy); }
.sc-dash { stroke: var(--brand); }
.sc-okk { stroke: var(--brand); }
.sc-ink-t { fill: var(--navy); }
/* pasek CTA: jasny */
.cta-band { background: var(--brand-tint); color: var(--ink); border: 1px solid #c9dcf5; }
.cta-band h2 { color: var(--navy); }
.cta-band p { color: var(--muted); }
.cta-band .btn--light { background: var(--brand); color: #fff; }
.cta-band .btn--light:hover { background: var(--brand-dark); color: #fff; }
.cta-band .btn--ghost { color: var(--brand) !important; border-color: var(--brand) !important; }
/* stopka: jasna */
.site-footer { background: var(--soft); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer a { color: var(--brand); }
.site-footer h4 { color: var(--navy); }
.legal { border-top-color: var(--line); color: var(--muted); }
/* numery kroków i kółka: niebieskie zamiast granatowych */
.steps li::before, fieldset.step legend > span:first-child { background: var(--brand); }

/* Pozycjonowanie: E-commerce Manager */
.h1-long { font-size: clamp(1.7rem, 3.4vw, 2.45rem); line-height: 1.2; }
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.loop-col { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 24px; position: relative; }
.loop-col:not(:last-child)::after { content: "→"; position: absolute; right: -28px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1.6rem; font-weight: 800; }
.loop-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.loop-col ul { margin: 0; }
.loop-back { margin: 20px 0 0; padding: 14px 18px; border: 1px dashed var(--brand); border-radius: var(--radius); background: var(--brand-tint); color: var(--navy); font-weight: 600; text-align: center; }
.loop-back::before { content: "↺ "; color: var(--brand); font-weight: 800; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; gap: 30px; } .loop-col:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -30px; transform: translateX(50%); } }

.portrait-img { width: 100%; max-width: 400px; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 16px; box-shadow: var(--shadow); justify-self: end; border: 1px solid var(--line); }
@media (max-width: 860px) { .portrait-img { justify-self: start; max-width: 320px; } }

.crumbs-hero { font-size: .88rem; color: var(--muted); margin: 0 0 .9em; }
.crumbs-hero a { color: var(--muted); }

/* Infografiki w nagłówkach usług */
.hero-art--info { justify-self: end; width: 100%; max-width: 400px; }
.infocard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 16px; box-shadow: 0 18px 44px rgba(11,31,58,.10); }
.ic-h { margin: 0 0 14px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.ic-list { list-style: none; margin: 0; padding: 0; position: relative; }
.ic-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding-bottom: 14px; position: relative; }
.ic-list li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--brand-tint); }
.ic-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; font-size: .9rem; display: grid; place-items: center; position: relative; z-index: 1; }
.ic-list li:last-child .ic-n { background: var(--brand); color: #fff; }
.ic-t { display: block; line-height: 1.3; padding-top: 3px; }
.ic-t b { display: block; font-size: .98rem; color: var(--navy); }
.ic-t small { display: block; color: var(--muted); font-size: .84rem; }
.ic-note { margin: 4px 0 0; font-size: .74rem; color: var(--muted); text-align: right; }
.ic-bar { display: flex; height: 46px; border-radius: 8px; overflow: hidden; gap: 3px; margin: 6px 0 16px; }
.ic-seg { display: block; }
.ic-seg--t { background: #0b1f3a; } .ic-seg--tr { background: #3d6fb4; } .ic-seg--a { background: #8fb2e0; } .ic-seg--r { background: #cfdff3; } .ic-seg--m { background: var(--accent); }
.ic-legend { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.ic-legend li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; color: var(--navy); }
.ic-dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; flex: none; }
.ic-lead { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .hero-art--info { justify-self: start; max-width: 460px; } }

/* ===== Grafiki i infografiki (v6) ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-art--info { justify-self: end; width: 100%; max-width: 420px; }
.infocard { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 16px; box-shadow: 0 18px 44px rgba(11,31,58,.10); }
.ic-h { margin: 0 0 14px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.ic-list { list-style: none; margin: 0; padding: 0; }
.ic-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding-bottom: 14px; position: relative; }
.infocard .ic-list li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--brand-tint); }
.ic-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; font-size: .9rem; display: grid; place-items: center; position: relative; z-index: 1; }
.infocard .ic-list li:last-child .ic-n { background: var(--brand); color: #fff; }
.ic-t { display: block; line-height: 1.3; padding-top: 3px; }
.ic-t b { display: block; font-size: .98rem; color: var(--navy); }
.ic-t small { display: block; color: var(--muted); font-size: .86rem; }
.ic-note { margin: 4px 0 0; font-size: .76rem; color: var(--muted); text-align: right; }
.ic-lead { margin: 12px 0 6px; font-size: .92rem; color: var(--ink); font-weight: 600; }
.ic-back { margin: 2px 0 6px; padding: 10px 12px; background: var(--brand-tint); border-radius: 8px; font-size: .88rem; color: var(--navy); font-weight: 600; }
/* wykres kosztów */
.cbar { display: flex; height: 48px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 4px 0 16px; background: #fff; }
.cs { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: #fff; min-width: 0; }
.cs-produkt { background: #0b1f3a; } .cs-transport { background: #2f62a8; } .cs-amazon { background: #456fae; }
.cs-fba { background: #8fb0dc; color: #0b1f3a; } .cs-reklama { background: #c5d8f0; color: #0b1f3a; } .cs-inne { background: #dfe8f4; color: #0b1f3a; box-shadow: inset 0 0 0 1px #c5d3e6; }
.cs-marza { background: var(--ok); }
.cleg { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 5px; }
.cleg li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; color: var(--navy); }
.cleg i.cs { width: 14px; height: 14px; border-radius: 4px; flex: none; display: inline-block; }
.cleg li span { flex: 1; }
.cleg li.is-margin { font-weight: 800; }
/* tabele kalkulacji */
table.calc { border-collapse: collapse; width: 100%; font-size: .96rem; min-width: 320px; }
.calc caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--muted); font-size: .88rem; }
.calc th, .calc td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: right; vertical-align: middle; }
.calc th[scope=row], .calc thead th:first-child { text-align: left; font-weight: 600; }
.calc thead th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.calc .mb { width: 28%; padding: 10px 14px 10px 0; text-align: left; }
.calc .mb .cs { display: block; height: 12px; border-radius: 3px; }
.calc .r-sum th, .calc .r-sum td, .calc .r-price th, .calc .r-price td { background: var(--soft); font-weight: 700; }
.calc .r-profit th, .calc .r-profit td { background: #e7f6ee; font-weight: 800; color: #11583a; }
.calc--sc td.bad { background: #fdecec; color: #8a2d2d; } .calc--sc td.good { background: #e7f6ee; color: #11583a; }
.calc--sc thead th.bad { color: #8a2d2d; } .calc--sc thead th.good { color: #11583a; }
.note--blue { background: var(--brand-tint); border-left-color: var(--brand); }
.mid-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 2rem; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.mid-cta p { margin: 0; flex: 1 1 260px; }
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .two-col--even { grid-template-columns: 1fr; } }
.nf-h { margin-top: 1.6rem; font-size: 1rem; }
/* diagramy procesowe: poziomo, na telefonie pionowo */
.gfx { margin: 0; }
.gfx figcaption { margin-top: 14px; font-size: .86rem; color: var(--muted); max-width: 80ch; }
.gfx h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.gfx h3.gap-h { margin-top: 2rem; }
.route { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 26px; counter-reset: rt; }
.route li { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.route li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 800; font-size: 1.3rem; }
.route h3 { margin: 0; font-size: .98rem; line-height: 1.25; }
.route p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.rt-n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.rt-gate { background: var(--accent-tint); border-radius: 6px; padding: 6px 8px; color: #5a4100 !important; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; padding: .2em .65em; border-radius: 999px; margin-top: auto; }
.tag--me { background: var(--navy); color: #fff; } .tag--coord { background: var(--brand-tint); color: var(--brand-dark); border: 1px solid #b9cdee; }
.tag--partner { background: #fff; color: #3b4a5f; border: 1.5px dashed #7d8da3; } .tag--you { background: var(--accent-tint); color: #5a4100; } .tag--gate { background: var(--accent); color: var(--ink); }
.tag-legend { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-legend li { margin: 0; }
.route--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .route, .route--3 { grid-template-columns: 1fr; gap: 24px; }
  .route li:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -24px; transform: none; }
}
/* faza / pytania / brief / checklist w kartach */
.ph-list { display: grid; gap: 12px; }
.ph-blk { display: flex; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.ph-blk:nth-child(3) { background: var(--brand-tint); }
.ph-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ph-blk b { display: block; color: var(--navy); margin-bottom: 2px; }
.ph-blk ul { margin: 0; padding-left: 1.1em; font-size: .88rem; color: var(--muted); }
.ph-blk li { margin-bottom: .1em; }
dl.brief { margin: 0; display: grid; gap: 10px; }
.brief div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.brief div:first-child { border-top: 0; }
.brief dt { font-weight: 800; color: var(--navy); }
.brief dd { margin: 0; color: var(--muted); font-size: .92rem; }
.ck-list { list-style: none; margin: 0 0 6px; padding: 0; }
.ck-list li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); margin: 0; font-weight: 600; color: var(--navy); }
.ck-list li:first-child { border-top: 0; }
.ck { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
/* mapa kafelkowa Europy */
.tilemap { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, 62px); gap: 6px; }
.tile { margin: 0; background: var(--brand-tint); border: 1.5px solid #b9cdee; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); text-align: center; line-height: 1.1; padding: 2px; }
.tile b { font-size: 1rem; } .tile span { font-size: .68rem; font-weight: 600; }
.tile.t-hl { background: var(--accent-tint); border-color: #e0b84a; }
.tile.t-pl { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .82rem; color: var(--muted); }
.tile-leg li { display: flex; align-items: center; gap: 8px; margin: 0; }
.tile-k { width: 14px; height: 14px; border-radius: 4px; background: var(--brand-tint); border: 1.5px solid #b9cdee; flex: none; display: inline-block; }
.tile-k.t-hl { background: var(--accent-tint); border-color: #e0b84a; } .tile-k.t-pl { background: var(--navy); border-color: var(--navy); }
@media (max-width: 520px) {
  .tilemap { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 58px; }
  .tile { grid-row: auto !important; grid-column: auto !important; }
  .tile span { font-size: .62rem; }
}
/* mapa zależności (strona główna) */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }
.map-svg { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.map-list li { padding-bottom: 16px; }
.map-list .ic-t b { font-size: 1rem; } .map-list .ic-t small { font-size: .92rem; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; gap: 20px; } .map-svg { display: none; } }
/* hub transportowy */
.hub { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1.2fr; gap: 14px; align-items: center; }
.hub-col { display: grid; gap: 10px; }
.hub-box { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.hub-box b { display: block; color: var(--navy); } .hub-box span { display: block; font-size: .86rem; color: var(--muted); }
.hub-box--you { background: var(--accent-tint); border-color: #e0b84a; }
.hub-box--me { background: var(--navy); border-color: var(--navy); } .hub-box--me b { color: #fff; } .hub-box--me span { color: #c9d6e8; }
.hub-arrows { display: grid; gap: 14px; font-size: .78rem; color: var(--brand-dark); font-weight: 700; text-align: center; max-width: 130px; }
.hub-arrows i { font-style: normal; font-size: 1.1rem; }
@media (max-width: 900px) { .hub { grid-template-columns: 1fr; } .hub-arrows { max-width: none; grid-template-columns: 1fr 1fr; } }
/* łańcuch 3PL */
.chain { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 14px; align-items: center; }
.chain-box { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.chain-box b { display: block; color: var(--navy); } .chain-box span { display: block; font-size: .86rem; color: var(--muted); }
.chain-box--main { background: var(--navy); border-color: var(--navy); } .chain-box--main b { color: #fff; } .chain-box--main span { color: #c9d6e8; }
.chain-arr { color: var(--brand); font-weight: 800; font-size: 1.4rem; }
.chain-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chain-out li { margin: 0; background: var(--brand-tint); border-radius: 8px; padding: 8px 12px; font-weight: 600; color: var(--navy); font-size: .92rem; }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr; } .chain-arr { transform: rotate(90deg); justify-self: center; } }
/* kryteria 3PL */
.crit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.crit li { margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 700px) { .crit { grid-template-columns: 1fr; } }
/* O mnie: mapa kompetencji */
.cm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cm-col { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.cm-note { margin-top: 1.4rem; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .cm { grid-template-columns: 1fr; } }
/* usługi na stronie głównej: 5 kart */
.svc-grid .svc--main { grid-column: span 2; }
@media (max-width: 980px) { .svc-grid .svc--main { grid-column: auto; } }
.adv--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .adv--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .adv--4 { grid-template-columns: 1fr; } }
/* nawigacja: nagłówki grup, aktualna strona */
.dd-h { margin: 6px 0 2px !important; padding: .4em .9em; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nav .btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--accent); border-radius: 8px; }
.dd-menu [aria-current="page"] { background: var(--brand-tint); box-shadow: none; border-radius: 8px; }
/* CTA */
.cta-act { display: grid; gap: 8px; justify-items: start; }
.cta-act small { color: #b8c8dd; font-size: .84rem; }
/* formularz */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #a12626; font-size: .88rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #a12626; }
.form-status { display: none; border-radius: 10px; padding: 14px 18px; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: #e7f6ee; border: 1px solid #a6dcc0; color: #11583a; }
.form-status.info { background: var(--brand-tint); border: 1px solid #b9cdee; color: var(--navy); }
.form-status.bad { background: #fdecec; border: 1px solid #efb4b4; color: #8a2d2d; }
.prose--legal { max-width: 760px; } .prose--legal h2 { font-size: 1.25rem; }
fieldset.step legend .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.table-wrap { position: relative; }
.sr { left: 0; top: 0; }
@media (max-width: 520px) { table.calc:not(.calc--sc) th:nth-child(4), table.calc:not(.calc--sc) td:nth-child(4) { display: none; } .calc th, .calc td { padding: 9px 10px; } }
.cmp .n { color: #5f6f85; }

/* ==========================================================
   MOTYW „MODEL 2”: jasny, pastelowy, biznesowy
   ========================================================== */
:root {
  --ink: #163047; --muted: #5E7282; --line: #DCE7EC; --bg: #ffffff; --soft: #F4F8FA;
  --navy: #163047; --navy-2: #1d4058; --brand: #2E6F86; --brand-dark: #1f566b; --brand-tint: #EAF1F4;
  --accent: #163047; --accent-tint: #EEF4F7; --ok: #2E9B62;
  --radius: 14px; --shadow: 0 1px 2px rgba(22,48,71,.04), 0 10px 30px rgba(22,48,71,.08);
}
body { background: #F9FBFC; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.02em; }
.eyebrow { color: var(--brand); letter-spacing: .12em; font-size: .75rem; }
:focus-visible { outline-color: var(--brand); }
/* przyciski */
.btn { border-radius: 12px; }
.btn--primary, .btn--accent { background: var(--navy); color: #fff; }
.btn--primary:hover, .btn--accent:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost, .btn--ghost-light { background: #fff; color: var(--navy); border-color: var(--line); border-width: 1.5px; }
.btn--ghost:hover, .btn--ghost-light:hover { background: var(--brand-tint); color: var(--navy); border-color: var(--brand); }
.nav .btn, .subnav .btn { background: var(--navy); }
.nav .btn:hover { background: var(--brand-dark); }
/* nagłówek i logo */
.site-header { background: rgba(255,255,255,.92); }
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand .logo { width: 40px; height: 40px; max-width: 40px; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 1rem; letter-spacing: .1em; font-weight: 800; color: var(--navy); }
.brand-t span { font-size: .78rem; color: var(--muted); }
.nav [aria-current="page"], .nav .is-current > .dd-btn { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
/* karty */
.card, .steps li, .resp > div, .loop-col, .adv, .table-wrap, .faq details { border-radius: var(--radius); border-color: var(--line); }
.card { box-shadow: 0 1px 2px rgba(22,48,71,.03); }
.svc:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.svc-ico { background: var(--brand-tint); color: var(--brand); border-radius: 50%; }
.svc--main { border-color: var(--brand); }
.section--soft { background: #F1F6F8; }
.adv .k { background: var(--brand); }
.chips li { background: var(--brand-tint); color: var(--navy); }
.pill { background: var(--brand-tint); color: var(--brand-dark); }
.note { background: var(--brand-tint); border-left-color: var(--brand); }
.cta-band { background: var(--brand-tint); border-color: var(--line); }
.cta-band .btn--light { background: var(--navy); }
.steps li::before, fieldset.step legend > span:first-child, .loop-n { background: var(--brand); }
.checklist li::before { color: var(--ok); }
.ic-seg--t { background: #163047; } .ic-seg--tr { background: #2E6F86; } .ic-seg--a { background: #7FAABB; } .ic-seg--r { background: #C9DDE5; } .ic-seg--m { background: #2E9B62; }
.site-footer { background: #fff; }

/* hero: pastelowe tło z geometrycznymi akcentami */
.hero--dark {
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(46,111,134,.05) 62% 100%),
    radial-gradient(720px 360px at 88% -8%, rgba(46,111,134,.16), transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(22,48,71,.035) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(22,48,71,.035) 47px 48px),
    linear-gradient(180deg, #F2F7F9 0%, #FAFCFD 100%);
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.hero--dark::after { content: ""; position: absolute; right: -90px; top: -70px; width: 420px; height: 420px; background: linear-gradient(135deg, rgba(46,111,134,.10), rgba(22,48,71,.02)); transform: rotate(30deg); border-radius: 36px; pointer-events: none; }
.hero--dark > .container { position: relative; z-index: 1; }
.hero--home h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; font-weight: 800; }
.h1-accent { color: var(--brand); }
.hero--home .lead { max-width: 56ch; font-size: 1.12rem; }
.hero-points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { margin: 0; padding-left: 1.5em; position: relative; font-size: .93rem; color: var(--muted); font-weight: 600; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

.hero-grid--solo { grid-template-columns: minmax(0, 760px); }

/* Dla kogo */
.split-head { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: end; }
.split-head h2, .split-head .lead { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.aud-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.aud-ico svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .aud .card { flex-direction: row; flex-wrap: wrap; align-items: flex-start; } .aud-ico { margin-right: 14px; } .aud .card h3 { flex: 1 1 60%; align-self: center; } .aud .card p { flex-basis: 100%; margin-top: 6px; } }

/* zdjęcie w bloku „o mnie” na stronie głównej */
.about-home { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.about-photo { margin: 0; }
.about-photo .portrait-img { max-width: 300px; justify-self: start; }
.about-photo figcaption { margin-top: 12px; line-height: 1.3; }
.about-photo figcaption b { display: block; color: var(--navy); }
.about-photo figcaption span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .about-home { grid-template-columns: 1fr; gap: 24px; } .about-photo .portrait-img { max-width: 240px; } }
.nav .btn[aria-current="page"] { color: #fff; box-shadow: none; border-radius: 12px; }

/* Kluczowe obszary (5 kart z ikonami) */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.area { text-decoration: none; color: inherit; padding: 22px 20px; transition: box-shadow .15s, border-color .15s; }
.area:hover { box-shadow: var(--shadow); border-color: var(--brand); color: inherit; }
.area h3 { font-size: 1.05rem; }
.area ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.area li { margin-bottom: .4em; }
@media (max-width: 1100px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .areas { grid-template-columns: 1fr; } .area { flex-direction: row; flex-wrap: wrap; align-items: center; } .area .aud-ico { margin: 0 14px 0 0; } .area h3 { flex: 1; margin: 0; } .area ul { flex-basis: 100%; margin-top: 10px; } }

/* Proces poziomy z kółkami i łącznikami */
.proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; counter-reset: p; }
.proc li { position: relative; margin: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.proc-n { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 8px; position: relative; z-index: 1; border: 1px solid var(--line); }
.proc-n svg { width: 26px; height: 26px; }
.proc li::after { content: ""; position: absolute; top: 32px; left: 66px; right: -18px; border-top: 2px dotted #9FB2BE; }
.proc li:last-child::after { display: none; }
.proc b { color: var(--navy); font-size: 1.05rem; }
.proc-t { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .proc { grid-template-columns: 1fr; gap: 22px; } .proc li { padding-left: 74px; min-height: 56px; } .proc-n { position: absolute; left: 0; top: 0; } .proc li::after { top: 60px; left: 28px; right: auto; bottom: -22px; border-top: 0; border-left: 2px dotted #9FB2BE; } }

/* Końcowe CTA */
.final-cta { background: linear-gradient(180deg, #F1F6F8, #E6EFF3); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 58px, rgba(46,111,134,.10) 58px 100px); -webkit-mask: linear-gradient(135deg, transparent 40%, #000 100%); mask: linear-gradient(135deg, transparent 40%, #000 100%); pointer-events: none; }
.final-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; }
.final-in h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.final-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.final-checks li { margin: 0; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 12px 44px; position: relative; font-weight: 600; color: var(--navy); }
.final-checks li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; }
@media (max-width: 860px) { .final-in { grid-template-columns: 1fr; gap: 24px; } }
html, body { overflow-x: clip; }

/* Baner zgody (tylko gdy włączona analityka) */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(22,48,71,.22); padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner .btn { min-height: 42px; padding: .4em 1.2em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }

/* Wpisy blogowe */
.article--blog { max-width: 780px; }
.article--blog h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.article .cover { margin: 0 0 1.6rem; }
.article .cover .infocard { max-width: 520px; margin-inline: auto; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 2rem; }
.toc summary { font-weight: 800; cursor: pointer; color: var(--navy); }
.toc ol { margin: .8em 0 .2em; padding-left: 1.3em; }
.toc li { margin-bottom: .35em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 2rem 0 0; }
.tags li { margin: 0; background: var(--brand-tint); color: var(--navy); border-radius: 999px; padding: .25em .9em; font-size: .85rem; font-weight: 700; }
.author-box { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 2rem; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.author-box b { display: block; color: var(--navy); }
.author-box span { color: var(--muted); font-size: .95rem; }
.article-more { max-width: 1000px; margin: 3rem auto 0; }
.article-more h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.1rem; }
.prose table td:last-child, .prose table th:last-child { text-align: right; }
.prose { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; }
.ic-seg--x { background: #E2ECF0; }

/* Wykresy w artykule o P90 / PMean */
.p90-svg { width: 100%; height: auto; display: block; margin-top: 6px; }
.fig-chart, .fig-flow { margin: 1.8rem 0; }
.fig-chart .infocard { max-width: 520px; margin-inline: auto; }
.fig-chart figcaption, .fig-flow figcaption { font-size: .92rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.dflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: d; }
.dflow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; margin: 0; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.dflow li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 800; }
.dflow .ic-n { margin-bottom: 4px; }
.dflow b { color: var(--navy); font-size: .98rem; line-height: 1.25; }
.dflow small { color: var(--muted); font-size: .85rem; line-height: 1.3; }
@media (max-width: 900px) { .dflow { grid-template-columns: 1fr; gap: 24px; } .dflow li { flex-direction: row; text-align: left; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .dflow li small { flex-basis: 100%; padding-left: 42px; } .dflow li:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -22px; transform: none; } }

/* Grafiki w treści artykułów 1–3 */
.fig-x { margin: 1.8rem 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.fig-x .fx-title { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 12px; }
.fig-x figcaption { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.fx-svg { width: 100%; max-width: 520px; height: auto; display: block; }
.fx-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.fx-bar span { display: block; }
.fx-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 18px; }
.fx-legend li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; }
.fx-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.fx-legend span { flex: 1; color: var(--muted); }
.fx-legend b { color: var(--navy); }
.fx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.fx-grid li { margin: 0; display: flex; align-items: center; gap: 10px; background: var(--bg-soft, #EAF1F4); border-radius: 10px; padding: 10px 12px; font-size: .96rem; color: var(--navy); }
.fx-grid--steps li { flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border: 1px solid var(--line); }
.fx-grid--steps small { color: var(--muted); font-size: .88rem; }
.fx-grid--plain li { font-weight: 600; }
.fx-grid--cards { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fx-grid--cards li { flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border: 1px solid var(--line); }
.fx-grid--cards small { color: var(--muted); font-size: .9rem; }
.fx-cols { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.fx-row { display: grid; grid-template-columns: 130px 1fr 60px; align-items: center; gap: 12px; margin: 10px 0; font-size: .95rem; }
.fx-track { height: 18px; background: var(--bg-soft, #EAF1F4); border-radius: 9px; overflow: hidden; }
.fx-track i { display: block; height: 100%; border-radius: 9px; }
.fx-row b { color: var(--navy); text-align: right; }
@media (max-width: 520px) { .fx-row { grid-template-columns: 1fr 54px; } .fx-row .fx-track { grid-column: 1 / -1; order: 3; } }

.hd-legend { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hd-legend li { margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.hd-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; flex: none; }
.fx-svg { max-width: 560px; }
