/* BestROI – bestroi.net (2026, v3)
   Jedna rodzina pisma (Plus Jakarta Sans), trzy kolory marki z brandbooka: granat #1B2747, fiolet #6D4AAE, biel.
   Białe tła, granatowy tekst, fiolet tylko jako akcent (przyciski, wyróżnienia, liczby). Odcienie fioletu i szarości
   to warianty tych samych kolorów. Czerwień (#C9453F, kolor funkcjonalny z brandbooka) wyłącznie na wykresach – dla strat. */

/* ---------- Font (na własnym serwerze – bez Google, bez cookies) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* trzy kolory marki */
  --navy: #1B2747;
  --violet: #6D4AAE;
  --white: #FFFFFF;
  /* odcienie tych samych kolorów */
  --navy-2: #2B3760;
  --violet-d: #5A3A97;
  --violet-l: #9B86C9;
  --lav: #C4B5DD;
  --lav-pale: #ECE7F5;
  --mist: #F5F5F9;
  --steel: #5A6473;
  --silver: #D8DAE0;
  --line: #E6E7EE;
  /* tylko wykresy */
  --bad: #C9453F;
  --ok: #2E9E6B;

  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-h1: clamp(40px, 1rem + 3.4vw, 72px);
  --t-h2: clamp(30px, 1rem + 1.9vw, 50px);
  --t-h3: clamp(20px, 1rem + .4vw, 24px);
  --t-lead: clamp(18px, 1rem + .3vw, 21px);

  --wrap: 1240px;
  --gl: max(24px, env(safe-area-inset-left, 0px));
  --gr: max(24px, env(safe-area-inset-right, 0px));
  --r: 14px;
  --hdr: 76px;
  --sh: 0 1px 2px rgba(27,39,71,.06), 0 12px 32px -12px rgba(27,39,71,.16);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 18px/1.65 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-d); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f); color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h4 { font-size: 17px; font-weight: 700; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
.s { color: var(--violet); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gl) + var(--gr)); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }

/* ---------- Elementy wspólne ---------- */
.tag { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1.2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.tag i { width: 22px; height: 2px; background: var(--violet); border-radius: 2px; flex: none; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--steel); }
.note, .datanote { font-size: 13.5px; color: var(--steel); }
.datanote { font-size: 12.5px; letter-spacing: .02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px/1.2 var(--f); text-decoration: none; padding: 15px 24px; border-radius: 10px; border: 1.5px solid var(--violet); background: var(--violet); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--violet-d); border-color: var(--violet-d); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.line { background: transparent; color: var(--navy); border-color: var(--silver); }
.btn.line:hover { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn.navy { background: var(--navy); border-color: var(--navy); }
.btn.navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn.white:hover { background: var(--lav-pale); border-color: var(--lav-pale); color: var(--navy); }
.btn.sm { padding: 11px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--violet); text-decoration: none; }
.arrow-link svg { width: 18px; height: 18px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(3px); }
.btn.lg { font-size: clamp(18px, 1rem + .3vw, 20px); padding: 19px 30px; border-radius: 12px; }
.btn .bsub { font-weight: 600; opacity: .85; padding-left: 12px; border-left: 1.5px solid rgba(255,255,255,.45); }
.start { display: grid; gap: 10px; justify-items: start; }
.start-n { font-size: 15.5px; color: var(--steel); }
/* pływający przycisk kontaktu (tworzy go main.js) */
.fab { position: fixed; z-index: 40; right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px)); padding: 15px 22px; box-shadow: 0 14px 30px -10px rgba(109,74,174,.6), 0 2px 6px rgba(27,39,71,.15); transition: opacity .25s, transform .25s, background .2s, border-color .2s; }
.fab.off { opacity: 0; transform: translateY(14px); pointer-events: none; }
body:has(.calc-mini.show) .fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.lnk { display: inline-flex; align-items: baseline; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; padding: 6px 0 4px; border-bottom: 2px solid var(--lav); transition: border-color .2s; }
.lnk span { font-size: 14px; font-weight: 500; color: var(--steel); }
.lnk:hover { border-color: var(--violet); color: var(--navy); }

.sec { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.sec.mist { background: var(--mist); }
.sec:not(.mist):not(.contact) + .sec:not(.mist):not(.contact) { border-top: 1px solid var(--line); }
.sec.tight { padding-top: clamp(40px, 5vw, 64px); }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 4vw, 52px); max-width: 820px; }
.head.row { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------- Nagłówek ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease), border-color .25s, box-shadow .25s; }
.hdr.solid { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(27,39,71,.5); }
.hdr.hide { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .dd > button { font: 600 17px var(--f); color: var(--navy); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .dd > button:hover, .dd.open > button { color: var(--violet); background: var(--mist); }
.nav .btn { margin-left: 10px; padding: 11px 18px; font-size: 15px; color: var(--white); background: var(--violet); }
.nav .btn:hover { color: var(--white); background: var(--violet-d); }
.dd { position: relative; }
.dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); right: -16px; width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); }
.dd-panel a:hover { background: var(--mist); }
.dd-panel b { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); font-size: 14px; }
.dd-panel strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.dd-panel span { font-size: 13.5px; color: var(--steel); }
.dd-panel .dd-more { display: grid; grid-template-columns: 1fr; margin-top: 6px; background: var(--lav-pale); }
.dd-panel .dd-more:hover { background: #E3DBF1; }
.dd-panel .dd-more strong { color: var(--violet); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Pierwszy ekran ---------- */
.hero { padding: calc(var(--hdr) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 7vw, 96px); position: relative; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .claim { font-size: clamp(19px, 1rem + .45vw, 23px); line-height: 1.5; color: var(--steel); max-width: 540px; }
.hero-copy .claim b { color: var(--navy); }
.hero-media { position: relative; margin: 0 0 56px; }
.pd { margin-left: -.08em; }
.hero-media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.hero-media .ph { aspect-ratio: 5 / 4; border-radius: 20px; background: var(--mist); }
.ph { background: linear-gradient(135deg, var(--lav-pale), var(--mist)); }
.trust { margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 14.5px; color: var(--steel); }
.trust b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-right: 6px; }
.trust span::after { content: "·"; margin-left: 14px; color: var(--silver); }
.trust span:last-child::after { content: ""; }

/* Cost Cake jednego produktu (karta na zdjęciu) */
.pie-card { position: absolute; left: clamp(-72px, -4.5vw, -24px); bottom: -84px; width: 344px; background: var(--white); border-radius: var(--r); box-shadow: var(--sh); border: 1px solid var(--line); padding: 18px 20px 16px; display: grid; gap: 12px; }
.pie-card .k { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.pie-row { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-items: center; }
.pie-svg { width: 124px; height: 124px; display: block; overflow: visible; }
.pie-svg .c1 { font: 600 9.5px var(--f); letter-spacing: .1em; fill: var(--steel); text-transform: uppercase; }
.pie-svg .c2 { font: 800 25px var(--f); letter-spacing: -.03em; fill: var(--violet); }
.pie-svg .c2.neg { fill: var(--bad); }
.pie-lg { display: grid; gap: 5px; font-size: 13px; line-height: 1.25; color: var(--steel); }
.pie-lg div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.pie-lg i { width: 10px; height: 10px; border-radius: 3px; }
.pie-lg b { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pie-lg .var b { color: var(--violet); }
.pie-lg .mg { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
.pie-lg .mg i { background: linear-gradient(90deg, var(--violet) 50%, var(--bad) 50%); }
.pie-q { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.pie-q span { display: block; font-size: 13.5px; font-weight: 500; color: var(--steel); margin-top: 2px; }
.pie-link { font-size: 15px; }

/* ---------- Kim jesteśmy ---------- */
.introg { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-t { margin-top: 18px; font-size: clamp(21px, 1rem + .75vw, 28px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.intro-t b { color: var(--violet); font-weight: 700; }
.nums { display: grid; gap: 0; }
.nums > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.nums > div:first-child { border-top: 1px solid var(--line); }
.nums b { font-size: clamp(30px, 1rem + 1.4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--violet); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums > div > span { font-size: 15.5px; line-height: 1.45; color: var(--steel); }
.nums small { margin-top: 12px; font-size: 12.5px; color: var(--steel); }
/* jednostka tuż przy liczbie i tej samej wielkości („10 lat”, „500 mln zł”); kwalifikator „ponad”, „ok.” mniejszy */
.nums b .vq, .big .vq { font-size: .5em; font-weight: 700; letter-spacing: 0; }
.big .nw { white-space: nowrap; }

/* ---------- Brzmi znajomo? ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain { padding: 28px; display: grid; gap: 12px; align-content: start; }
.pain .n { font-size: 13px; font-weight: 800; color: var(--violet); letter-spacing: .1em; }
.pain h3 { font-size: clamp(21px, 1rem + .5vw, 25px); line-height: 1.25; }
.pain h3 span { color: var(--violet); }
.pain p { font-size: 16px; color: var(--steel); }
.coda { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 30px; border-radius: var(--r); background: var(--lav-pale); }
.coda p { font-size: clamp(18px, 1rem + .3vw, 21px); font-weight: 600; color: var(--navy); max-width: 760px; }

/* ---------- Dwie marżowości ---------- */
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.panel .k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.panel .k em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--steel); }
.formula { font-size: clamp(22px, 1rem + .8vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.formula .op { color: var(--violet-l); margin: 0 4px; }
.formula .s { color: var(--violet); }
.panel > p { font-size: 16.5px; color: var(--steel); }

.cake { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: end; margin-top: 18px; }
.cake-col { position: relative; height: 300px; display: flex; flex-direction: column-reverse; }
.cake-seg { position: relative; flex: 0 0 auto; height: var(--h); border-top: 2px solid var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--white); transition: height .8s var(--ease); }
.cake-seg:first-child { border-radius: 0 0 10px 10px; }
.cake-seg:last-child { border-radius: 10px 10px 0 0; }
.cake-seg:nth-child(4) { align-items: flex-end; padding-bottom: 4px; line-height: 1; } /* etykieta pod linią ceny, nie pod kreskowaniem */
.cake-seg:nth-child(2) { transition-delay: .12s; } .cake-seg:nth-child(3) { transition-delay: .24s; } .cake-seg:nth-child(4) { transition-delay: .36s; }
.cake-price { position: absolute; left: -10px; right: -150px; bottom: calc(100% * 100 / 111); border-top: 2px dashed var(--navy); transition: opacity .4s .9s; }
.cake-price span { position: absolute; right: 0; top: -24px; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.cake-over { position: absolute; left: 0; right: 0; top: 0; height: calc(100% * 11 / 111); background: repeating-linear-gradient(45deg, rgba(201,69,63,.75) 0 5px, rgba(201,69,63,.25) 5px 10px); border-radius: 10px 10px 0 0; transition: opacity .4s 1s; }
.cake-legend { display: grid; gap: 10px; font-size: 15px; color: var(--steel); }
.cake-legend div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.cake-legend i { width: 12px; height: 12px; border-radius: 3px; }
.cake-legend b { color: var(--navy); font-variant-numeric: tabular-nums; }
.cake-legend .tot { border-bottom: 0; padding-top: 2px; }
.cake-legend .tot span { color: var(--navy); font-weight: 600; line-height: 1.3; }
.cake-legend .tot b { font-size: 26px; font-weight: 800; color: var(--bad); }
.chart.pre .cake-seg { height: 0 !important; }
.chart.pre .cake-price, .chart.pre .cake-over { opacity: 0; transition-delay: 0s; }

.fall { position: relative; height: 240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; border-bottom: 1px solid var(--silver); margin-top: 34px; }
.fall > div { position: relative; height: 100%; }
.fall .b { position: absolute; left: 6%; right: 6%; border-radius: 6px; transition: height .8s var(--ease), bottom .8s var(--ease); }
.fall .b span { position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); font-size: 14px; font-weight: 800; line-height: 1.15; text-align: center; color: var(--navy); white-space: nowrap; }
.fall .b span small { font-size: inherit; font-weight: inherit; }
.fall > div:nth-child(2) .b { transition-delay: .2s; } .fall > div:nth-child(3) .b { transition-delay: .4s; } .fall > div:nth-child(4) .b { transition-delay: .6s; }
.fall-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; font-size: 13px; color: var(--steel); text-align: center; line-height: 1.35; }
.chart.pre .fall .b { height: 0 !important; }

/* ---------- Pięć obszarów ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.area { display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; color: var(--navy); transition: box-shadow .25s, transform .25s, border-color .25s; }
.area:hover { box-shadow: var(--sh); transform: translateY(-3px); border-color: var(--lav); color: var(--navy); }
.area .im { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.area .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.area:hover .im img { transform: scale(1.04); }
.area .bd { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.area .nm { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.area .nm b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--white); font-size: 12.5px; letter-spacing: 0; }
.area h3 { font-size: clamp(20px, 1rem + .4vw, 23px); }
.area p { font-size: 15.5px; line-height: 1.55; color: var(--steel); }
.area .go { margin-top: 4px; }
.area.jp .nm { color: var(--navy); }
.area.jp .nm b { background: var(--navy); }
.areas-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }

/* ---------- Wywiad „Od czego zacząć?” ---------- */
.wiz-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.wiz-intro { display: grid; gap: 20px; position: sticky; top: calc(var(--hdr) + 32px); }
.prof { padding: 22px 24px; display: grid; gap: 10px; margin-top: 8px; }
.prof h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.prof .r { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }
.prof .t { height: 8px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.prof .t i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--lav); transition: width .5s var(--ease); }
.prof .r.top .t i { background: var(--violet); }
.prof .r.top span:first-child { color: var(--violet); }
.prof .hint { font-size: 13px; color: var(--steel); }
.wiz { padding: clamp(24px, 3vw, 36px); min-height: 520px; display: grid; grid-template-rows: auto 1fr; gap: 26px; border-color: var(--lav); box-shadow: var(--sh); }
/* zachęta do pierwszego kliknięcia; profil pojawia się dopiero po pierwszej odpowiedzi (klasa .started z wywiad.js) */
.wiz-cue { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; background: var(--lav-pale); border: 1.5px solid var(--lav); font-size: clamp(19px, 1rem + .5vw, 23px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--violet); }
.wiz-cue small { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--violet-d); }
.wiz-cue svg { width: 30px; height: 30px; flex: none; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
#dopasuj .prof { display: none; }
#dopasuj.started .prof { display: grid; animation: wqIn .4s var(--ease) both; }
#dopasuj.started .wiz-cue { display: none; }
.wiz-top { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--steel); }
.wiz-prog { flex: 1; height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.wiz-prog i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 4px; transition: width .4s var(--ease); }
.wiz-back { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--f); color: var(--steel); background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.wiz-back:hover { color: var(--violet); }
.wiz-back svg { width: 16px; height: 16px; }
.wiz-body { position: relative; }
.wq { display: none; gap: 8px; align-content: start; }
.wq.on { display: grid; animation: wqIn .4s var(--ease) both; }
.wiz.back .wq.on { animation-name: wqBack; }
@keyframes wqIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes wqBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.wq h3 { font-size: clamp(23px, 1rem + .8vw, 30px); outline: 0; }
.wq .sub { font-size: 15.5px; color: var(--steel); }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 14px; align-items: center; text-align: left; width: 100%; font: 600 16.5px/1.35 var(--f); color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.opt:hover { border-color: var(--violet-l); background: var(--mist); }
.opt[aria-pressed="true"] { border-color: var(--violet); background: var(--lav-pale); }
.opt .k { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); color: var(--violet); font-size: 14px; font-weight: 800; }
.opt[aria-pressed="true"] .k { background: var(--violet); color: var(--white); }
.opt svg { width: 18px; height: 18px; color: var(--violet-l); }
.wiz.busy .opt { pointer-events: none; }
.wres { display: none; align-content: start; gap: 18px; outline: 0; }
.wres.on { display: grid; animation: wqIn .45s var(--ease) both; }
.wres .rk { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.wres h3 { font-size: clamp(30px, 1rem + 1.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.wres .qq { font-size: clamp(18px, 1rem + .4vw, 22px); font-weight: 600; color: var(--violet); margin-top: -6px; }
.why b, .first b, .also b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.why ul { display: grid; gap: 6px; }
.why li { position: relative; padding-left: 20px; font-size: 16px; }
.why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.wres .calm { color: var(--steel); font-size: 16px; }
.first { border: 1px solid var(--line); background: var(--mist); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.first strong { font-size: 19px; font-weight: 800; line-height: 1.3; }
.first span { font-size: 14.5px; color: var(--steel); }
.also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.also b { flex-basis: 100%; margin-bottom: 0; }
.also a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-radius: 30px; padding: 7px 14px; }
.also a:hover { border-color: var(--violet); color: var(--violet); }
.wres .fine { font-size: 13.5px; color: var(--steel); }
.wiz-again { font: 700 13.5px var(--f); color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Jak pracujemy (kadr zmienia się z krokami) ---------- */
.story { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.stage { position: sticky; top: calc(var(--hdr) + 32px); aspect-ratio: 4 / 3.2; max-height: min(380px, calc(100vh - var(--hdr) - 64px)); border-radius: 20px; overflow: hidden; background: var(--mist); }
.stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease), opacity .3s; }
.stage figure.on, .stage figure.past { opacity: 1; }
.stage figure.on { clip-path: inset(0 0 0 0); z-index: 2; }
.stage figure.past { clip-path: inset(0 0 0 0); z-index: 1; }
.stage img, .stage .ph { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.stage figure.on img { transform: scale(1); }
.stage .bar { position: absolute; z-index: 3; left: 20px; right: 20px; top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stage .bar i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); overflow: hidden; position: relative; }
.stage .bar i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.stage .hud { position: absolute; z-index: 3; left: 20px; bottom: 20px; display: flex; align-items: baseline; gap: 14px; background: var(--white); border-radius: 12px; padding: 12px 18px; box-shadow: var(--sh); }
.stage .hud .big { font-size: 28px; font-weight: 800; color: var(--violet); letter-spacing: -.02em; order: -1; }
.stage .hud #hud-t { font-size: 17px; font-weight: 700; }
.flip { animation: flip .45s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.steps { display: grid; }
.step { min-height: 50vh; display: grid; align-content: center; gap: 14px; padding: 24px 0; opacity: .35; transition: opacity .4s; }
.step.on { opacity: 1; }
.step .mimg { display: none; }
.step .no { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--violet); }
.step h3 { font-size: clamp(28px, 1rem + 1.4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.step p { font-size: 17.5px; color: var(--steel); max-width: 520px; }
.step .get { display: grid; gap: 2px; padding: 14px 18px; border-left: 3px solid var(--violet); background: var(--mist); border-radius: 0 10px 10px 0; max-width: 520px; }
.step .get b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.step .get span { font-size: 16px; font-weight: 600; color: var(--navy); }

/* ---------- Realizacje ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.proof.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof.two .pf { padding: 30px 32px; }
.pf { padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.pf .ind { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.pf .big { font-size: clamp(32px, 1rem + 1.6vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: var(--violet); font-variant-numeric: tabular-nums; }
.pf .big.long { font-size: clamp(24px, 1rem + .9vw, 30px); }
.pf .bs { font-size: 14.5px; color: var(--steel); line-height: 1.4; }
.pf h3 { font-size: 18.5px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.pf p { font-size: 15px; line-height: 1.55; color: var(--steel); }

/* ---------- Pytania ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--silver); flex: none; position: relative; transition: transform .25s, border-color .25s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.qa details[open] summary i { border-color: var(--violet); }
.qa details[open] summary i::after { opacity: 0; }
.qa summary:hover { color: var(--violet); }
.qa .a { padding: 0 48px 22px 0; font-size: 16.5px; color: var(--steel); }

/* ---------- Kontakt ---------- */
.contact { background: var(--mist); }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cgrid > div:first-child { display: grid; gap: 22px; align-content: start; }
.steps3 { display: grid; gap: 0; margin-top: 4px; }
.steps3 div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps3 b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--lav); color: var(--violet); font-size: 14px; }
.steps3 strong { display: block; font-size: 16.5px; }
.steps3 span { font-size: 14.5px; color: var(--steel); }
.people { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 6px; }
.people img { width: 132px; height: 132px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
.people .pl { display: grid; gap: 14px; }
.person { display: grid; gap: 1px; font-size: 15px; }
.person b { font-size: 16.5px; }
.person span { color: var(--steel); font-size: 13.5px; }
.person a { color: var(--navy); text-decoration: none; }
.person a:hover { color: var(--violet); }
.clines { font-size: 14px; color: var(--steel); display: grid; gap: 2px; }
.clines a { font-weight: 700; }
.form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; box-shadow: var(--sh); }
.form h3 { font-size: 24px; }
.form .sub { font-size: 15px; color: var(--steel); margin-top: -10px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 14px; font-weight: 700; }
.fld input, .fld select, .fld textarea { font: 500 16px var(--f); color: var(--navy); background: var(--white); border: 1.5px solid var(--silver); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 104px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,74,174,.14); }
.hp { position: absolute; left: -9999px; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 13.5px; color: var(--steel); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); }
.form .btn { width: 100%; }
.calc-note { font-size: 14px; background: var(--lav-pale); color: var(--violet-d); border-radius: 10px; padding: 10px 12px; }
.fstatus { font-size: 15px; border-radius: 10px; padding: 12px 14px; }
.fstatus.ok { background: #E6F4EC; color: #1E6B48; }
.fstatus.err { background: #FBEAE9; color: #8E2E2A; }

/* ---------- Stopka ---------- */
.foot { background: var(--navy); color: #C9CEDC; padding: 64px 0 28px; font-size: 15px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { color: var(--lav); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot img { height: 34px; width: auto; }
.fclaim { margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--white); }
.fclaim .s { color: var(--lav); }
.fbot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }

/* ---------- Podstrony obszarów ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--steel); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--violet); }
.anum { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--violet); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.glass { position: absolute; left: clamp(-56px, -3vw, -24px); bottom: -40px; width: min(420px, 92%); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; display: grid; gap: 14px; }
.glass .k { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.atabs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: var(--hdr); z-index: 20; }
.atabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.atabs .wrap::-webkit-scrollbar { display: none; }
.atabs a { display: inline-flex; align-items: center; gap: 10px; padding: 16px 14px; font-size: 15px; font-weight: 600; color: var(--steel); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.atabs a i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--violet); font-size: 12px; font-weight: 800; }
.atabs a:hover { color: var(--navy); }
.atabs a[aria-current] { color: var(--navy); border-color: var(--violet); }
.atabs a[aria-current] i { background: var(--violet); color: var(--white); }
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sign { padding: 26px; display: grid; gap: 10px; align-content: start; }
.sign b { font-size: 13px; color: var(--violet); letter-spacing: .1em; }
.sign h3 { font-size: 20px; }
.sign p { font-size: 15.5px; color: var(--steel); }
.svcs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--line); }
.svc h3 { font-size: clamp(19px, 1rem + .4vw, 23px); }
.svc .time { font-size: 13px; font-weight: 700; color: var(--violet); background: var(--lav-pale); padding: 5px 10px; border-radius: 8px; height: fit-content; white-space: nowrap; }
.svc p { grid-column: 1 / -1; font-size: 16px; color: var(--steel); }
.getbox { position: sticky; top: calc(var(--hdr) + 80px); padding: 28px; display: grid; gap: 16px; background: var(--navy); color: var(--white); border-radius: var(--r); }
.getbox .tag { color: var(--lav); }
.getbox .tag i { background: var(--lav); }
.getbox h3 { color: var(--white); font-size: 22px; }
.getbox ul { display: grid; gap: 10px; }
.getbox li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 16px; color: #DADDE8; }
.getbox li svg { width: 20px; height: 20px; color: var(--lav); margin-top: 3px; }
.getbox .btn { margin-top: 6px; }
.acase { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.acase .big { font-size: clamp(48px, 1rem + 4vw, 88px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--violet); }
.acase .big.fit { font-size: clamp(34px, 1rem + 2.2vw, 52px); }
.acase .bs { margin-top: 10px; font-size: 18px; color: var(--steel); }
.acase h3 { font-size: clamp(24px, 1rem + 1vw, 32px); margin-bottom: 12px; }
.acase p { color: var(--steel); }
.next5 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.next5 a { display: grid; gap: 8px; align-content: start; padding: 22px; text-decoration: none; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s, border-color .25s; }
.next5 a:hover { box-shadow: var(--sh); border-color: var(--lav); color: var(--navy); }
.next5 strong { font-size: 17px; line-height: 1.3; }
.next5 span:last-child { font-size: 14px; color: var(--steel); }
.extra { margin-top: 56px; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.tool .im img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.tool .bd { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 14px; }
.pt { padding: 20px; display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pt b { font-size: 13px; color: var(--violet); letter-spacing: .1em; }
.pt h3 { font-size: 18px; }
.pt p { font-size: 15px; color: var(--steel); }

/* wykresy na podstronach (w białej karcie) */
.load { display: grid; gap: 11px; }
.load div { display: grid; grid-template-columns: 92px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--steel); }
.load div b { text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }
.load .tr { position: relative; height: 14px; background: var(--mist); border-radius: 3px; }
.load .tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--violet-l); transition: width 1s var(--ease); }
.load .tr i.hot { background: var(--bad); }
.load .tr u { position: absolute; top: -5px; bottom: -5px; border-left: 2px dashed var(--navy); }
.load.pre .tr i, .chart.pre .load .tr i { width: 0 !important; }
.payc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; height: 180px; align-items: end; position: relative; border-bottom: 1px solid var(--silver); margin-top: 22px; }
.payc > div { position: relative; height: 100%; }
.payc .b { position: absolute; left: 14%; right: 14%; bottom: 0; border-radius: 5px 5px 0 0; background: var(--violet-l); transition: height 1s var(--ease); }
.payc .b.over { background: var(--bad); }
.payc .b span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.payc .th { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed var(--navy); }
.payc .th span { position: absolute; right: 0; top: -20px; font-size: 11.5px; font-weight: 700; color: var(--navy); }
.chart.pre .payc .b { height: 0 !important; }
.payl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: center; font-size: 12.5px; color: var(--steel); }
.raci { width: 100%; border-collapse: separate; border-spacing: 5px; font-size: 13.5px; }
.raci th { font-size: 11.5px; font-weight: 700; color: var(--steel); text-align: center; }
.raci th:first-child, .raci td:first-child { text-align: left; }
.raci td:first-child { font-weight: 700; color: var(--navy); }
.raci td { text-align: center; }
.raci b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12.5px; transition: transform .4s var(--ease), opacity .4s; }
.raci .R { background: var(--violet); color: var(--white); } .raci .A { background: var(--navy); color: var(--white); } .raci .C { background: var(--lav-pale); color: var(--violet); } .raci .I { background: var(--mist); color: var(--steel); }
.chart.pre .raci b { transform: scale(.4); opacity: 0; }
.kpi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; height: 160px; align-items: end; border-bottom: 1px solid var(--silver); }
.kpi > div { position: relative; height: 100%; }
.kpi .b { position: absolute; left: 8%; right: 8%; bottom: 0; background: var(--violet-l); border-radius: 3px 3px 0 0; transition: height .8s var(--ease); }
.kpi .b.below { background: var(--bad); }
.kpi .p { position: absolute; left: -2px; right: -2px; border-top: 2px solid var(--navy); }
.chart.pre .kpi .b { height: 0 !important; }
.kpil { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; text-align: center; font-size: 10.5px; color: var(--steel); }
.leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--steel); }
.leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* ---------- Kalkulator zwrotu ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; align-items: start; }
.calc-form { display: grid; gap: 20px; }
.cstep { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 22px; margin: 0; min-width: 0; }
.cstep-h { display: flex; align-items: center; gap: 14px; }
.cstep-h b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--white); font-weight: 800; flex: none; }
.cstep-h h3 { font-size: 23px; }
.cstep-h span { margin-left: auto; font-size: 13.5px; color: var(--steel); text-align: right; }
.q { display: grid; gap: 8px; }
.q-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.q-label label, .q-label .lab { font-weight: 700; color: var(--navy); font-size: 16.5px; line-height: 1.35; }
.q-label .qn { font-size: 13px; font-weight: 800; color: var(--violet); margin-right: 8px; }
.paper-t { font-size: 12px; color: var(--steel); background: var(--mist); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.inp { display: flex; border: 1.5px solid var(--silver); border-radius: 10px; background: var(--white); transition: border-color .2s, box-shadow .2s; min-width: 0; overflow: hidden; }
.inp:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,74,174,.14); }
.inp input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 18px var(--f); font-variant-numeric: tabular-nums; color: var(--navy); padding: 12px 14px; outline: 0; }
.inp .unit { display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--steel); background: var(--mist); border-left: 1px solid var(--line); white-space: nowrap; }
.inp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inp-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inp-cap { font-size: 13px; color: var(--steel); display: block; margin-bottom: 4px; }
.seg { display: inline-flex; border: 1.5px solid var(--silver); border-radius: 10px; overflow: hidden; width: fit-content; }
.seg button { font: 700 17px var(--f); border: 0; background: var(--white); color: var(--navy); padding: 10px 22px; cursor: pointer; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--violet); color: var(--white); }
.chk { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--steel); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--violet); }
.calc-out { position: sticky; top: calc(var(--hdr) + 24px); background: var(--navy); color: var(--white); border-radius: 20px; padding: 30px; display: grid; gap: 22px; }
.calc-out h3 { color: var(--white); font-size: 23px; margin-top: 6px; }
.calc-out .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; }
.verdict div { background: var(--navy-2); padding: 16px 18px; display: grid; gap: 4px; }
.verdict span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #B9BFD3; }
.verdict strong { font-size: clamp(28px, 1rem + 1.5vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.verdict small { font-size: 12.5px; color: #B9BFD3; }
.verdict .real strong { color: var(--white); }
.verdict .pap strong { color: var(--lav); }
.gapline { font-size: 15.5px; color: #C9CEDC; }
.gapline strong { color: var(--white); }
.scen { display: grid; gap: 8px; }
.scen-t { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #B9BFD3; }
.scen-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 96px; gap: 10px; align-items: center; font-size: 14px; }
.scen-row .lbl { color: #B9BFD3; }
.scen-row .val { text-align: right; font-weight: 700; }
.scen-track { position: relative; height: 14px; background: rgba(255,255,255,.08); border-radius: 3px; }
.scen-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--lav); border-radius: 3px; transition: width .6s var(--ease), background .3s; }
.scen-bar.over { background: #E07A75; }
.scen-th { position: absolute; top: -4px; bottom: -4px; border-left: 2px dashed var(--white); }
.scen-note { font-size: 12.5px; color: #B9BFD3; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.caps div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 10px; display: grid; gap: 2px; }
.caps span { font-size: 12px; color: #B9BFD3; line-height: 1.3; }
.caps strong { font-size: 16px; font-weight: 800; }
.signals { display: grid; gap: 12px; }
.signals li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: #C9CEDC; line-height: 1.45; }
.signals li::before { content: "!"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--navy); font-weight: 800; font-size: 13px; }
.signals li.ok::before { content: "✓"; background: var(--ok); color: var(--white); }
.signals strong { color: var(--white); }
.signals a { color: var(--lav); font-weight: 700; }
.calc-out .btn { width: 100%; }
.method { margin-top: 24px; font-size: 15px; color: var(--steel); }
.method summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.method ul { list-style: disc; padding-left: 20px; margin-top: 10px; display: grid; gap: 6px; }
.calc-mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gr) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--navy); color: var(--white); font-size: 14px; transform: translateY(110%); transition: transform .3s var(--ease); }
.calc-mini.show { transform: none; }
.calc-mini span { white-space: nowrap; }
.calc-mini b { font-size: 17px; font-weight: 800; }
.calc-mini .p b { color: var(--lav); }
.calc-mini a { color: var(--white); font-weight: 700; white-space: nowrap; }

/* ---------- Strony tekstowe, słownik ---------- */
.phero { padding: calc(var(--hdr) + clamp(40px, 6vw, 72px)) 0 clamp(24px, 3vw, 40px); }
.phero .wrap { display: grid; gap: 18px; justify-items: start; }
.phero h1 { font-size: clamp(36px, 1rem + 2.6vw, 60px); }
.prose { max-width: 820px; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(22px, 1rem + .7vw, 28px); margin-top: 20px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.gnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.gnav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-radius: 30px; padding: 6px 13px; }
.gnav a:hover { border-color: var(--violet); color: var(--violet); }
.gloss { margin: 0; display: grid; gap: 0; }
.term { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 20px); }
.term:first-child { border-top: 1px solid var(--line); }
.term dt { font-size: 19px; font-weight: 800; }
.term dd { margin: 0; display: grid; gap: 8px; justify-items: start; color: var(--steel); }
.term:target { background: var(--lav-pale); }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: up .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; } .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-media { animation: up 1s var(--ease) .1s both; }
  .pie-card, .glass { animation: up .9s var(--ease) .7s both; }
  @keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .chart.pre .cake-seg, .chart.pre .fall .b, .chart.pre .payc .b, .chart.pre .kpi .b { height: var(--h) !important; }
}

/* ---------- Szerokości ---------- */
@media (min-width: 961px) and (max-width: 1240px) {
  .nav .btn { display: none; }              /* tę rolę przejmuje pływający przycisk w rogu */
}
@media (min-width: 961px) and (max-width: 1100px) {
  .nav > a, .dd > button { font-size: 15.5px; padding: 10px 8px; }
}
@media (max-width: 1100px) {
  .nav > a.nh { display: none; }
  .areas, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { position: static; }
  .calc-mini { display: flex; }
}
@media (max-width: 960px) {
  :root { --hdr: 68px; }
  .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
  .burger { display: grid; }
  .nav { position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gr) 32px var(--gl); overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); margin: 0; }
  .nav.open { transform: none; }
  .nav > a, .dd > button { font-size: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav > a.nh { display: flex; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
  .dd-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 10px; display: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .dd-panel { display: grid; }
  .hero-in, .introg, .twin, .story, .faq, .cgrid, .wiz-grid, .svcs, .acase, .head.row, .tool { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 640px; }
  .pie-card { position: relative; left: auto; bottom: auto; margin: -64px 0 0 16px; width: min(380px, calc(100% - 32px)); }
  .glass { position: relative; left: auto; bottom: auto; margin: -48px 0 0 16px; }
  .pains, .signs { grid-template-columns: minmax(0, 1fr); }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 0 0 36px; }
  .step .mimg { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 440px; }
  .step .mimg img { width: 100%; height: 100%; object-fit: cover; }
  .wiz-intro, .getbox { position: static; }
  /* telefon/tablet: najpierw pytania, profil pod nimi */
  .wiz-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .wiz-intro > .tag { align-self: flex-start; }
  .wiz-intro { display: contents; }
  .wiz { order: 1; margin-top: 6px; }
  #dopasuj .prof { order: 2; margin-top: 0; }
  .wiz-cue svg { transform: rotate(90deg); animation-name: nudgeDown; }
  @keyframes nudgeDown { 50% { transform: rotate(90deg) translateX(5px); } }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .areas, .proof, .next5, .path, .fgrid, .f2, .inp-row.three, .term { grid-template-columns: minmax(0, 1fr); }
  .pie-card { display: none; }
  .area { grid-template-rows: none; grid-template-columns: 112px minmax(0, 1fr); }
  .area .im { aspect-ratio: auto; height: 100%; min-height: 128px; }
  .area .bd { padding: 16px 16px 16px 18px; gap: 6px; }
  .area p { display: none; }
  .area h3 { font-size: 17.5px; }
  .area .nm { font-size: 11.5px; }
  .area .go { font-size: 14.5px; }
  .glass { margin: 16px 0 0; width: 100%; }
  .btns .btn { width: 100%; }
  .start, .start .btn.lg { width: 100%; }
  .proof.two { grid-template-columns: minmax(0, 1fr); }
  .proof.two .pf { padding: 26px 22px; }
  .btn.lg { padding: 17px 22px; }
  .fab { right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); padding: 13px 18px; font-size: 15px; }
  .wiz-cue { padding: 14px 16px; }
  .nums > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cake { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }
  .cake-price { right: -60px; }
  .fall { margin-top: 50px; }
  .fall .b span small { display: block; }
  .people { grid-template-columns: 96px minmax(0, 1fr); }
  .people img { width: 96px; height: 96px; }
  .coda { padding: 22px; }
  .verdict, .caps { grid-template-columns: minmax(0, 1fr); }
  .trust span::after { margin-left: 12px; }
}
