:root {
  --navy: #1B3F7F;
  --navy-dark: #15315F;
  --ink: #0C1F3F;
  --blue: #0F4FA8;
  --green: #1FA84B;
  --green-dark: #198D3F;
  /* tło przycisku: ciemniejsza zieleń, żeby biały tekst miał kontrast AA */
  --action: #177E38;
  --action-hover: #126A2E;
  --mint: #7BE3A1;
  --tint: #EEF3F9;
  --soft: #F6F9FC;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #16202E;
  --muted: #4F5B6B;
  --line: #DCE4EE;
  --grid: rgba(27, 63, 127, .07);
  --heading: var(--ink);
  --link: var(--navy);
  --accent: var(--action);
  --shadow: 0 1px 2px rgba(12, 31, 63, .05), 0 8px 24px rgba(12, 31, 63, .07);
  --shadow-lg: 0 2px 4px rgba(12, 31, 63, .06), 0 18px 48px rgba(12, 31, 63, .14);
  --radius: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tint: #13233B;
    --soft: #0F1D32;
    --bg: #0B1626;
    --card: #162741;
    --text: #E7EDF6;
    --muted: #B3C0D2;
    --line: #29405F;
    --grid: rgba(255, 255, 255, .05);
    --heading: #F2F6FB;
    --link: #9DBDF2;
    --accent: #4FD07D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3 { color: var(--heading); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; margin-bottom: .8em; }
h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--navy); color: #fff; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* nagłówek */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); }
}
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); min-width: 0; }
.brand-mark { background: #fff; border-radius: 12px; padding: 4px; flex: none; box-shadow: 0 1px 2px rgba(12, 31, 63, .12); }
.brand-mark img { width: 44px; height: 40px; }
.brand-name { font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.nav-toggle { display: inline-block; font: inherit; font-weight: 600; color: var(--heading); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }
.nav-box { display: none; flex-wrap: wrap; align-items: center; gap: 4px 16px; grid-column: 1 / -1; }
.nav-box.is-open { display: flex; }
.nav-list, .lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.nav-list a, .lang-list a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--text); transition: background-color .15s; }
.nav-list a:hover, .lang-list a:hover { background: var(--tint); }
.nav-list a[aria-current] { color: var(--link); background: var(--tint); }
.lang-list a { font-size: .875rem; color: var(--muted); padding: 10px; }
.lang-list a[aria-current] { color: var(--text); background: var(--tint); }
@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav-box { display: flex; grid-column: auto; flex-wrap: nowrap; }
}

/* przyciski */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; text-align: center; transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, var(--action), var(--action-hover)); color: #fff; box-shadow: 0 6px 18px rgba(23, 126, 56, .32); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(23, 126, 56, .42); }
.btn-ghost { background: var(--card); color: var(--link); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--link); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }

/* pierwszy ekran */
.hero { position: relative; overflow: hidden; padding: 52px 0 60px; background:
  radial-gradient(900px 520px at 88% -12%, rgba(31, 168, 75, .17), transparent 62%),
  radial-gradient(820px 540px at -12% 8%, rgba(15, 79, 168, .19), transparent 62%),
  linear-gradient(180deg, var(--soft), var(--bg)); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 10%, transparent 72%); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-sub { padding: 44px 0 48px; }
.hero-sub h1 { font-size: clamp(1.9rem, 5.2vw, 2.9rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 1.2em; box-shadow: var(--shadow); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 168, 75, .2); }
.hl { color: var(--accent); display: block; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 40em; }
.crumbs { font-size: .9375rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.chips li::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }

.quote { position: relative; background: linear-gradient(160deg, var(--ink), var(--navy) 70%, var(--blue)); color: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.quote::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 227, 161, .35), transparent 68%); pointer-events: none; }
.quote-k { font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.quote dl { margin: 0; }
.quote dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.quote dt { color: #DCE6F5; }
.quote dd { margin: 0; font-weight: 700; white-space: nowrap; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 16px 0 4px; color: #DCE6F5; }
.quote-total strong { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.quote-note { font-size: .875rem; color: #B9C8DE; margin-bottom: 18px; }
.quote a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; padding: 11px 20px; min-height: 48px; transition: background-color .15s; }
.quote a:hover { background: rgba(255, 255, 255, .2); }
@media (min-width: 940px) {
  .hero { padding: 92px 0 100px; }
  .hero-sub { padding: 64px 0 68px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* sekcje */
.section { padding: 56px 0; }
.section-tint { background: var(--soft); }
.kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .7em; }
@media (min-width: 940px) { .section { padding: 88px 0; } }

.grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .tiles, .two, .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .tiles, .three, .steps { grid-template-columns: repeat(3, 1fr); } .grid { gap: 22px; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 1.3125rem; }
.tile { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile p { color: var(--muted); font-size: 1rem; }
a.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--navy) 45%, var(--line)); }
.tile-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 15px; background: linear-gradient(145deg, var(--navy), var(--blue)); color: #fff; margin-bottom: 18px; flex: none; box-shadow: 0 6px 16px rgba(15, 79, 168, .28); }
.tile-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.tile-more .icon { transition: transform .2s; }
a.tile:hover .tile-more .icon { transform: translateX(4px); }
.tile-muted { box-shadow: none; background: transparent; border-style: dashed; }
.tile-muted .tile-icon { background: var(--tint); color: var(--link); box-shadow: none; }
.icon-sm { width: 18px; height: 18px; }

/* ciemna sekcja „jak pracujemy” */
.section-dark { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--ink), var(--navy-dark) 55%, var(--blue)); }
.section-dark::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 168, 75, .3), transparent 68%); pointer-events: none; }
.section-dark > .wrap { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: var(--mint); }
.why-item { display: flex; gap: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 24px; }
.why-item p { color: #D3DEEE; margin: 0; }
.why-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--mint); flex: none; }

.steps { counter-reset: step; }
.step { counter-increment: step; position: relative; }
.step::before { content: counter(step); display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(145deg, var(--green-dark), var(--action-hover)); color: #fff; font-weight: 800; font-size: 1.125rem; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(23, 126, 56, .28); }
.step p { color: var(--muted); }

.clients { display: grid; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); border-left: 6px solid var(--green); }
.clients h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-bottom: .5em; }
.clients p { color: var(--muted); }
.clients .actions { margin-top: .4em; }
@media (min-width: 940px) { .clients { grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px; } .clients .actions { justify-content: flex-end; margin: 0; } }

/* wezwanie do kontaktu */
.band { padding: 0 0 56px; }
.section-tint + .band, .section-dark + .band { padding-top: 56px; }
.band-inner { position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center; color: #fff; background: linear-gradient(120deg, var(--ink), var(--navy) 60%, var(--blue)); border-radius: 28px; padding: 34px 28px; box-shadow: var(--shadow-lg); max-width: 1120px; }
.band-inner::after { content: ""; position: absolute; right: -90px; bottom: -130px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 227, 161, .32), transparent 68%); pointer-events: none; }
.band-inner > * { position: relative; z-index: 1; }
.band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.band p { margin: 0; color: #D3DEEE; }
@media (min-width: 760px) { .band-inner { grid-template-columns: 1fr auto; padding: 48px 52px; } .band { padding-bottom: 88px; } .section-tint + .band, .section-dark + .band { padding-top: 88px; } }
.band-inner.wrap { width: calc(100% - 40px); max-width: 1120px; margin: 0 auto; }

.check { list-style: none; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 34px; }
.check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent); }
.check li::after { content: ""; position: absolute; left: 6px; top: .52em; width: 10px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.note { color: var(--muted); font-size: .9375rem; margin-top: 1em; }

.rows { margin: 0; display: grid; gap: 16px; }
.rows dt { font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.rows dd { margin: 2px 0 0; font-weight: 600; }
.company { margin: 0; }

/* tabele */
.table-card { margin-top: 18px; padding: 8px 26px 8px; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 800; font-size: 1.125rem; color: var(--heading); padding: 18px 0 12px; letter-spacing: -.01em; }
th, td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 400; vertical-align: top; }
thead th { font-size: .8125rem; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.num { text-align: right; padding-left: 16px; }
thead .num { white-space: nowrap; }
td.num { max-width: 11em; font-weight: 800; color: var(--heading); }
tbody th { font-weight: 400; }
.facts th { width: 38%; color: var(--muted); padding-right: 16px; }
.facts td { font-weight: 600; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }

/* strony tekstowe */
.block { margin-bottom: 44px; }
.block:last-child { margin-bottom: 0; }
.block .table-card:first-of-type { margin-top: 0; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 3.6vw, 1.8rem); }
.prose > :first-child, .prose .block:first-child h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul:not(.check) { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose .check { margin-bottom: 1em; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jump a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--card); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.jump a:hover { border-color: var(--link); transform: translateY(-1px); }
[id] { scroll-margin-top: 88px; }

/* kalkulator */
.calc { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 940px) { .calc { grid-template-columns: 1fr 1fr; align-items: stretch; } #kalkulator .narrow { max-width: 1040px; } }
.calc-form { display: grid; gap: 20px; align-content: start; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.field input[type="number"] { width: 100%; min-height: 52px; padding: 11px 14px; font: inherit; font-weight: 600; color: var(--text); background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.field input[type="number"]:focus-visible { border-color: var(--link); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.hint { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label, .check-line { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; margin: 0; cursor: pointer; background: var(--soft); transition: border-color .15s, background-color .15s; }
.choice label:has(input:checked) { border-color: var(--link); background: var(--tint); }
.field .check-line { display: flex; margin: 0; }
.field input[type="radio"], .field input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--action); flex: none; }
.field-pair { display: grid; gap: 20px; }
@media (min-width: 520px) { .field-pair { grid-template-columns: 1fr 1fr; align-items: end; } }
.card.calc-result { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(160deg, var(--ink), var(--navy) 70%, var(--blue)); box-shadow: var(--shadow-lg); }
.calc-result h3 { color: #fff; }
.calc-result > h3:first-child { font-size: .8125rem; letter-spacing: .07em; text-transform: uppercase; color: var(--mint); }
.calc-rows { margin: 0; }
.calc-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc-rows dt { color: #DCE6F5; }
.calc-rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 16px 0 0; font-weight: 600; color: #DCE6F5; }
.calc-total strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.calc-result .note { color: #B9C8DE; }
.calc-cta { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.calc-cta p { margin-bottom: 0; color: #D3DEEE; }
.calc-cta .actions { margin-top: 16px; }
.calc-result .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.calc-result .btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

/* stopka */
.site-footer { background: var(--ink); color: #C9D6EA; padding: 56px 0 28px; font-size: .9375rem; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 1em; font-weight: 700; }
.site-footer a { color: #EAF0F8; text-decoration-color: rgba(234, 240, 248, .4); }
.site-footer a:hover { text-decoration-color: #fff; }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1.2fr .9fr; gap: 48px; } }
.plain { list-style: none; display: grid; gap: 9px; }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: #A9B8CF; font-size: .875rem; }

/* ilustracje */
.art { display: block; width: 100%; height: auto; max-width: 460px; margin: 0 auto; overflow: visible; }
.hero-art { max-width: 340px; }
.art-blob { fill: color-mix(in srgb, var(--blue) 10%, transparent); }
.art-blob2 { fill: color-mix(in srgb, var(--green) 20%, transparent); }
.art-card { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.art-line, .art-line-fill rect { fill: var(--line); }
.art-soft { fill: var(--tint); }
.art-screen { fill: var(--soft); }
.art-navy { fill: #1B3F7F; }
.art-blue { fill: #0F4FA8; }
.art-green, .art-bar { fill: #1FA84B; }
.art-mint { fill: #7BE3A1; }
.art-white { fill: #fff; }
.art-ink { fill: #0C1F3F; stroke: var(--line); stroke-width: 1.5; }
.art-arrow { fill: #0F4FA8; }
.art-stroke { fill: none; stroke: #0F4FA8; stroke-width: 8; stroke-linecap: round; }
.art-tick { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art-tag { fill: #fff; font-size: 13px; font-weight: 700; }
.art-ring { fill: none; stroke: var(--link); stroke-width: 3; opacity: .55; }
.art-ring-light { fill: none; stroke: #7BE3A1; stroke-width: 3; }
.art-dash { fill: none; stroke: #1FA84B; stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.art-stamp { fill: none; stroke: #1FA84B; stroke-width: 4; }
.art-stamp-tick { fill: none; stroke: #1FA84B; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.art-win rect { fill: rgba(255, 255, 255, .28); }
.art-scan { fill: #1FA84B; opacity: .85; }
.a-float, .a-float2, .a-float3 { filter: drop-shadow(0 10px 18px rgba(12, 31, 63, .14)); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow { 0% { transform: scaleY(.15); } 25%, 86% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes draw { 0% { stroke-dashoffset: 320; } 38%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 320; } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes pop { 0%, 14% { transform: scale(0); } 27% { transform: scale(1.18); } 33%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(86px); } }
@keyframes type { 0% { transform: scaleX(0); } 40%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes stamp { 0% { transform: scale(1.7) rotate(-12deg); opacity: 0; } 16%, 90% { transform: scale(1) rotate(-12deg); opacity: 1; } 100% { transform: scale(1) rotate(-12deg); opacity: 0; } }
.a-float { animation: floatY 7s ease-in-out infinite; }
.a-float2 { animation: floatY 6s ease-in-out -2s infinite; }
.a-float3 { animation: floatY 8s ease-in-out -4s infinite; }
.a-grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 5s cubic-bezier(.2, .7, .2, 1) infinite; }
.a-draw { stroke-dasharray: 320; animation: draw 5s ease infinite; }
.a-dash { animation: dash 1.2s linear infinite; }
.a-pop { transform-box: fill-box; transform-origin: center; animation: pop 5s ease infinite; }
.a-scan { animation: scan 3.2s ease-in-out infinite; }
.a-type { transform-box: fill-box; transform-origin: 0 50%; animation: type 4s ease infinite; }
.a-blink { animation: blink 2.4s ease-in-out infinite; }
.a-stamp { transform-box: fill-box; transform-origin: center; animation: stamp 5s ease infinite; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; }

/* pływające etykiety przy wycenie */
.hero-side { position: relative; }
.floats { display: none; list-style: none; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.floats li { position: absolute; font-size: .8125rem; font-weight: 700; color: var(--heading); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow-lg); animation: floatY 6s ease-in-out infinite; }
.float-1 { top: -20px; left: -34px; }
.float-2 { top: 30%; right: -52px; animation-delay: -1.5s; }
.float-3 { bottom: -18px; left: 16%; animation-delay: -3s; }
.float-4 { bottom: 26%; left: -46px; animation-delay: -4.5s; }
@media (min-width: 1240px) { .floats { display: block; } }
@media (min-width: 940px) { .hero-sub .hero-grid { grid-template-columns: 1.25fr .75fr; } .hero-art { max-width: 400px; } }

/* zdjęcia */
.photo { margin: 0; position: relative; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--tint); }
.hero-photo { max-width: 460px; width: 100%; margin: 0 auto; }
.hero-photo::before, .photo-frame::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 28px; background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .22; }
.hero-photo img, .photo-frame img { position: relative; }
.photo-frame::after { content: ""; position: absolute; left: -18px; top: -18px; width: 96px; height: 96px; border-radius: 24px; background-image: radial-gradient(var(--line) 2px, transparent 2.5px); background-size: 14px 14px; z-index: -1; }
.block-photo { margin-top: 22px; }
.split { display: grid; gap: 36px; align-items: center; }
.split .photo-frame { margin-right: 14px; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.photo-frame:hover img, .hero-photo:hover img { transform: translateY(-4px) scale(1.01); }

/* liczby */
.stats-band { position: relative; z-index: 1; margin-top: -30px; }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats li { background: var(--card); padding: 22px 20px; display: grid; gap: 4px; align-content: start; }
.stats strong { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--heading); font-variant-numeric: tabular-nums; }
.stats li:nth-child(even) strong { color: var(--accent); }
.stats span { font-size: .9375rem; color: var(--muted); }
.stats strong span { font-size: inherit; color: inherit; }
@media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats li { padding: 30px 28px; } .stats-band { margin-top: -44px; } }

/* zakładki „dla kogo” */
.tab-list { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.js .tab-list { display: flex; }
.tab-list button { font: inherit; font-weight: 700; color: var(--text); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 20px; min-height: 48px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.tab-list button:hover { border-color: var(--link); }
.tab-list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panel { display: grid; gap: 24px; margin-bottom: 16px; }
.js .tab-panel { display: none; margin-bottom: 0; }
.js .tab-panel.is-active { display: grid; animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: 1.4rem; margin-bottom: .9em; }
.tab-price { background: var(--tint); border-radius: 18px; padding: 24px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.tab-price p { margin: 0; display: grid; }
.tab-price strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--heading); }
.tab-price span { color: var(--muted); }
@media (min-width: 760px) { .tab-panel, .js .tab-panel.is-active { grid-template-columns: 1.5fr 1fr; align-items: stretch; } .card.tab-panel { padding: 34px; } }

/* portal */
.portal { display: grid; gap: 32px; align-items: center; }
.portal-art { max-width: 400px; }
@media (min-width: 940px) { .portal { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.timeline { list-style: none; counter-reset: tl; margin-top: 28px; display: grid; gap: 22px; }
.timeline li { counter-increment: tl; position: relative; padding-left: 62px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--navy), var(--blue)); box-shadow: 0 6px 16px rgba(15, 79, 168, .26); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: -18px; width: 2px; background: var(--line); }
.timeline h3 { margin-bottom: .25em; }
.timeline p { color: var(--muted); margin: 0; }

/* pytania i odpowiedzi */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: border-color .15s; }
.faq details[open] { border-color: color-mix(in srgb, var(--navy) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--accent); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* pasek postępu i przycisk „do góry” */
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 6; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--blue), var(--green)); pointer-events: none; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 4; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--navy); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(12, 31, 63, .1); }

/* pojawianie się bloków przy przewijaniu */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .art *, .floats li, .js .tab-panel.is-active { animation: none; }
  .photo img { transition: none; }
  .photo-frame:hover img, .hero-photo:hover img { transform: none; }
  .btn, .tile, .jump a { transition: none; }
  .btn:hover, a.tile:hover, .jump a:hover { transform: none; }
}

.tile-title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 .5em; }
