/* ==========================================================
   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 { 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 { 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); }
