/* wayflow — style strony. Wartości z Księgi znaku 1.0 (X 2026). */
:root {
  --navy: #050A18;
  --navy-2: #0B1328;
  --navy-3: #111B35;
  --navy-line: #1D2946;
  --blue: #0066FA;
  --sky: #00A9FE;
  --ink: #0A1022;
  --text: #2B3653;
  --muted: #56627E;
  --line: #DEE4EF;
  --panel: #EEF3FB;
  --panel-2: #E2EBFA;
  --white: #FFFFFF;
  --on-dark: #EAEFF8;
  --on-dark-2: #A3B0CA;
  --grad: linear-gradient(51.6deg, #0066FA 25%, #00A9FE 92%);
  --grad-h: linear-gradient(90deg, #0066FA 10%, #00A9FE 100%);
  --font: "Archivo", Arial, Helvetica, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --header-h: 80px;
  --shadow: 0 1px 2px rgba(5, 10, 24, .04), 0 18px 40px -24px rgba(5, 10, 24, .28);
  --skew: -35.4deg; /* 90° − 54,6° (kąt skosów sygnetu) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-stretch: 125%;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(27px, 3.4vw, 42px); }
h3 { font-size: 19px; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.ic { width: 22px; height: 22px; flex: none; }
.page[hidden] { display: none; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s, background-color .15s, border-color .15s, transform .15s;
}
.btn .ic { width: 20px; height: 20px; }
.btn--grad { background: var(--grad); color: var(--white); }
.btn--grad:hover { filter: brightness(1.08); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--panel); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- etykieta nad nagłówkiem ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 24px; height: 7px; background: var(--grad); transform: skewX(var(--skew)); border-radius: 1px; }
.on-dark .eyebrow, .eyebrow--dark { color: var(--sky); }

/* ---------- nagłówek strony ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--navy-line); }
.site-header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__logo { flex: none; }
.site-header__logo .logo { height: 34px; width: auto; }
@media (max-width: 760px) { .site-header__logo .logo { height: 28px; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 15.5px; position: relative; white-space: nowrap;
}
.nav__link .ic { width: 16px; height: 16px; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--grad-h); border-radius: 2px; }
.nav__group { position: relative; }
.nav__drop {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; padding: 10px;
  background: var(--white); border-radius: 14px; box-shadow: 0 24px 48px -16px rgba(5, 10, 24, .45);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav__drop a:hover { background: var(--panel); color: var(--blue); }
.nav__num { font-size: 12px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.nav__cta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.hdr-phone .ic { width: 18px; height: 18px; color: var(--sky); }
.hdr-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--navy-line); border-radius: 10px; background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

@media (max-width: 1180px) { .hdr-phone span { display: none; } }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .hdr-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: none; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 16px 24px 32px; background: var(--navy); overflow-y: auto; margin: 0;
  }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav__link { font-size: 19px; padding: 14px 4px; border-bottom: 1px solid var(--navy-line); border-radius: 0; color: var(--white); }
  .nav__link .ic { display: none; }
  .nav__link[aria-current="page"]::after { left: 4px; right: auto; width: 32px; bottom: 6px; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 4px 0 12px; min-width: 0; }
  .nav__drop a { color: var(--on-dark-2); padding: 9px 4px; }
  .nav__drop a:hover { background: transparent; color: var(--white); }
  .nav__cta { display: inline-flex; margin-top: 20px; }
}

/* ---------- sekcje ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--navy); color: var(--on-dark-2); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { font-size: 18.5px; color: var(--muted); margin-top: 16px; }
.section--dark .section-head p { color: var(--on-dark-2); }
.lead { font-size: clamp(17.5px, 1.6vw, 20px); line-height: 1.6; }

/* ---------- otwarcie strony ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark-2); isolation: isolate; }
.hero::before, .hero::after, .page-hero::before {
  content: ""; position: absolute; z-index: -1; top: -10%; height: 120%; transform: skewX(var(--skew));
  background: linear-gradient(180deg, rgba(0, 102, 250, .16), rgba(0, 169, 254, 0) 75%);
}
.hero::before { right: 6%; width: 22%; }
.hero::after { right: -14%; width: 18%; opacity: .7; }
.page-hero::before { right: -4%; width: 26%; opacity: .8; }
.hero h1, .page-hero h1 { color: var(--white); }
.hl { color: var(--sky); }
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); }
.hero .lead { max-width: 560px; margin: 24px 0 32px; }
.hero__visual { display: grid; grid-template-columns: .8fr 1.5fr; gap: 18px; align-items: end; }
.hero__visual .ill--payroll { grid-column: 1 / -1; width: 58%; justify-self: end; margin-top: -40px; }
.hero__trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 6vw, 72px); background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius-sm); overflow: hidden; }
.hero__trust div { background: var(--navy-2); padding: 18px 20px; display: grid; gap: 2px; align-content: start; }
.hero__trust strong { font-stretch: 125%; font-weight: 600; font-size: 22px; color: var(--white); }
.hero__trust span { font-size: 14px; }
.quick { margin-top: 28px; max-width: 520px; }
.quick__label { font-size: 14.5px; color: var(--on-dark-2); margin-bottom: 10px; }
.quick__row { display: flex; gap: 8px; }
.quick__row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--navy-line); background: var(--navy-2); color: var(--white); font: 16px var(--font); }
.quick__row input::placeholder { color: #7D8AA6; }
.quick__row input:focus { outline: none; border-color: var(--sky); }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero .lead { max-width: 720px; margin-top: 20px; }
.page-hero .flow { margin-top: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 20px; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .5; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- droga: .ddd → lista płac ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.flow__step {
  display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 30px 14px 22px;
  background: var(--grad); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}
.flow__step:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); border-radius: 10px 0 0 10px; padding-left: 18px; }
.flow__step:not(:first-child) { padding-left: 32px; }
.flow__step strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.2; }
.flow__step small { display: block; font-size: 12.5px; opacity: .85; line-height: 1.3; margin-top: 2px; }
.flow__ic { display: inline-flex; flex: none; }
.flow__ddd { font-weight: 700; font-size: 15px; font-stretch: 125%; }
.flow--compact .flow__step { min-height: 52px; }
.flow__step--dim { background: var(--navy-3); color: var(--on-dark-2); }
.flow-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.flow-panel--dark { background: var(--navy); color: var(--on-dark-2); }
.flow-panel .flow__step--dim { background: var(--panel-2); color: var(--muted); }
.flow-panel--dark .flow__step--dim { background: var(--navy-3); color: var(--on-dark-2); }
.flow-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.flow-panel__head h3 { font-size: 21px; }
.flow-panel--dark h3 { color: var(--white); }
.flow-panel__note { margin-top: 20px; }
.pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--blue); font-size: 13px; font-weight: 600; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 6px; }
  .flow__step, .flow__step:first-child, .flow__step:not(:first-child) { clip-path: none; border-radius: 10px; padding: 14px 16px; }
}

/* ---------- karty ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards--2, .cards--3 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--muted); }
.card h3 { margin-top: 4px; }
.card--link { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--link:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link .link-arrow { margin-top: auto; padding-top: 8px; }
.card--panel { background: var(--panel); border-color: transparent; }
.card--dark { background: var(--navy-2); border-color: var(--navy-line); }
.card--dark p { color: var(--on-dark-2); }
.card__ic { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--panel); color: var(--blue); display: grid; place-items: center; }
.card__ic .ic { width: 24px; height: 24px; }
.card--panel .card__ic { background: var(--white); }
.card--dark .card__ic { background: var(--navy-3); color: var(--sky); }
.card__num { position: absolute; top: 28px; right: 28px; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- liczby ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat strong { display: block; font-stretch: 125%; font-weight: 600; font-size: clamp(38px, 4.4vw, 54px); line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); max-width: 260px; }
.section--dark .stat strong, .stats-band .stat strong { color: var(--sky); }
.section--dark .stat span, .stats-band .stat span { color: var(--on-dark-2); }
.stats-band { background: var(--navy); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.stats-band--panel { background: var(--panel); }
.stats-band--panel .stat strong { color: var(--blue); }
.stats-band--panel .stat span { color: var(--muted); }
@media (max-width: 760px) { .stats, .stats--4 { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- listy ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066FA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.card .checks li, .checks--sm li { font-size: 15.5px; }
.section--dark .checks li { color: var(--on-dark); }
.section--dark .checks li::before { background-color: var(--navy-3); }
.checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 760px) { .checks--cols { grid-template-columns: 1fr; } }
.tag-note { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); color: var(--blue); font-size: 12px; font-weight: 600; vertical-align: 2px; }

/* ---------- układ tekst + grafika ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { display: grid; place-items: center; }
.split__media .ill { width: 100%; max-width: 420px; }
.split__media .ill--ddd { max-width: 200px; }
.split__media .ill--adr { max-width: 560px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split__media .ill { max-width: 360px; }
}
.media-panel { background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.media-panel .ill { width: clamp(180px, 26vw, 300px); }
.media-panel .big { font-stretch: 125%; font-weight: 600; font-size: clamp(42px, 5vw, 60px); color: var(--blue); line-height: 1; margin: 12px 0; }
@media (max-width: 760px) { .media-panel { grid-template-columns: 1fr; } }

/* ---------- pas kontaktowy ---------- */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 44px); background: var(--navy); border-radius: 24px; color: var(--on-dark-2); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; right: 18%; top: -20%; width: 120px; height: 140%; transform: skewX(var(--skew)); background: linear-gradient(180deg, rgba(0, 102, 250, .22), rgba(0, 169, 254, 0)); }
.band h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); }
.band p { margin-top: 8px; }
.band__contacts { display: grid; gap: 12px; }
.band__contacts a { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 17px; }
.band__contacts .ic { color: var(--sky); }
.band__contacts a:hover { color: var(--sky); }
.band .btn-row { margin-top: 18px; }

/* ---------- oś procesu ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; position: relative; padding-bottom: 32px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 19px; color: var(--blue); background: var(--white); border: 2.5px solid var(--blue); position: relative; z-index: 1;
}
.steps li:first-child::before, .steps li:last-child::before { background: var(--grad); color: var(--white); border-color: transparent; }
.steps li::after { content: ""; position: absolute; left: 26px; top: 56px; bottom: 0; width: 4px; background: var(--grad); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-top: 14px; }
.steps p { margin-top: 6px; color: var(--muted); }
.steps__ic { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--panel); color: var(--blue); display: grid; place-items: center; margin-top: 4px; }
.steps__tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }
@media (max-width: 600px) { .steps li { grid-template-columns: 48px 1fr; } .steps li::before { width: 48px; height: 48px; } .steps li::after { left: 22px; top: 48px; } .steps__ic { display: none; } }

.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: var(--panel); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.phases .pill { margin-bottom: 14px; }
.phases h3 { margin-bottom: 8px; }
.phases p { color: var(--muted); }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 600; font-stretch: 112%; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .faq__a { padding: 0 26px 24px; color: var(--muted); max-width: 820px; }

/* ---------- zespół ---------- */
.person { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.person__role { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card--lead { border-color: var(--blue); box-shadow: var(--shadow); }

/* ---------- formularze ---------- */
.form { display: grid; gap: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend, .field__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); font: 16px/1.4 var(--font);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 250, .12); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.choice input:checked + span { border-color: var(--blue); background: var(--panel); color: var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form__consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); }
.form__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.form__info { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__done { display: none; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--panel); color: var(--ink); }
.form__done strong { display: block; margin-bottom: 4px; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: block; }
.quick.is-sent .quick__row, .quick.is-sent .quick__label { display: none; }
.quick .form__done { background: var(--navy-2); color: var(--on-dark); }
.form__error { color: #B42318; font-size: 14px; display: none; }
.form.has-error .form__error, .quick.has-error .form__error { display: block; }
.quick .form__error { color: #FF8A80; margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: var(--on-dark-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h2 { color: var(--white); font-size: 24px; }
.contact-card a, .contact-card p { display: flex; align-items: flex-start; gap: 12px; color: var(--white); text-decoration: none; margin: 0; }
.contact-card .ic { color: var(--sky); margin-top: 2px; }
.contact-card a:hover { color: var(--sky); }
.contact-card__qr { margin: 8px 0 0; display: grid; justify-items: start; gap: 8px; }
.contact-card__qr img { width: 132px; height: 132px; padding: 10px; background: var(--white); border-radius: 10px; }
.contact-card__qr figcaption { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-card__role { color: var(--on-dark-2) !important; display: block !important; font-size: 15px; margin-top: -8px !important; }

/* ---------- treść prawna ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.draft-note { margin-bottom: 32px; padding: 16px 20px; border-radius: var(--radius-sm); background: #FFF6E0; border: 1px solid #F3C45A; color: #5C3B00; font-size: 15px; }

/* ---------- stopka ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding: 72px 0 32px; font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer__brand .logo { height: 28px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 320px; }
.site-footer h2 { font-size: 12.5px; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact a, .site-footer__addr { display: inline-flex; gap: 10px; align-items: flex-start; margin: 0; }
.site-footer__contact .ic { width: 18px; height: 18px; color: var(--sky); margin-top: 2px; }
.site-footer__contact strong { color: var(--white); font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__company { margin: 16px 0 0; font-size: 12px; line-height: 1.6; opacity: .7; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- pasek na telefonie ---------- */
.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--navy-line); }
  .mobilebar .btn { min-height: 46px; padding: 0 16px; }
  body { padding-bottom: 72px; }
  .nav-open .mobilebar { display: none; }
}

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

/* ---------- katalog 23.10.2026 ---------- */
.nav__drop-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px !important; color: var(--blue) !important; font-weight: 600 !important; }
.nav__drop-all .ic { width: 16px; height: 16px; }
@media (max-width: 1140px) { .nav__drop-all { border-top-color: var(--navy-line); color: var(--sky) !important; } }
.site-footer__motto { margin-top: 12px; color: var(--sky); font-weight: 600; font-size: 14px; letter-spacing: .04em; }

.ill-img { display: block; width: 100%; height: auto; max-width: 480px; margin-inline: auto; }
.ill-img--wide { max-width: 640px; }

.hero__band { position: absolute; z-index: -1; right: -6%; bottom: -30%; width: 34%; height: 90%; transform: skewX(var(--skew)); background: var(--grad); opacity: .9; }
.hero__band--soft { right: 16%; bottom: -10%; width: 22%; height: 120%; background: var(--navy-3); opacity: 1; }
.hero__img { max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(24px, 4vw, 36px); background: var(--navy); border-radius: var(--radius); color: var(--on-dark-2); }
.trio h3 { color: var(--sky); font-size: 22px; margin-bottom: 8px; }
.hero .trio { margin-top: clamp(40px, 5vw, 64px); background: var(--navy-2); border: 1px solid var(--navy-line); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

.facts { display: grid; gap: 22px; padding: clamp(24px, 4vw, 36px); background: var(--navy); border-radius: var(--radius); align-content: start; }
.facts strong { display: block; font-stretch: 125%; font-weight: 600; font-size: clamp(34px, 3.6vw, 44px); line-height: 1; color: var(--sky); }
.facts span { display: block; margin-top: 6px; color: var(--on-dark-2); font-size: 15px; }

.note-bar { border-left: 5px solid var(--blue); padding: 6px 0 6px 20px; color: var(--ink); font-size: 18px; font-weight: 500; max-width: 820px; }

.callout-dark { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: clamp(22px, 3.5vw, 32px); background: var(--navy); border-radius: var(--radius); color: var(--on-dark-2); }
.callout-dark h3 { color: var(--white); margin-bottom: 6px; }
.callout-dark .card__ic { background: var(--navy-3); color: var(--sky); }
.callout-dark .eyebrow { margin-bottom: 8px; }

.scope { margin-bottom: 32px; }
.scope table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.scope thead th { background: var(--navy); color: var(--white); text-align: left; padding: 14px 18px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.scope thead th:first-child { border-radius: 14px 0 0 0; } .scope thead th:last-child { border-radius: 0 14px 0 0; }
.scope td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.scope td:nth-child(2) { color: var(--ink); font-weight: 600; width: 28%; }
.scope .scope__area { background: var(--panel); color: var(--ink); font-weight: 700; width: 20%; }
.scope .scope__area span { display: inline-flex; align-items: center; gap: 10px; }
.scope .scope__area .ic { color: var(--blue); }
.scope tr.scope__first td { border-top: 2px solid var(--blue); }
@media (max-width: 760px) {
  .scope table, .scope tbody, .scope tr, .scope td { display: block; width: auto !important; }
  .scope thead { display: none; }
  .scope tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .scope td { border: 0; padding: 4px 16px; }
  .scope .scope__area { border-radius: 8px; margin: 10px 0 4px; padding: 10px 16px; }
  .scope .scope__area:empty { display: none; }
}
.team-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .team-row { grid-template-columns: 1fr; } }

/* ---------- ilustracje z katalogu na jasnych panelach ---------- */
.hero__media { position: relative; background: linear-gradient(160deg, #F6F9FF 0%, #E4EDFB 100%); border-radius: 28px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); }
.hero__media img { display: block; width: 100%; height: auto; }
.hero__media-tag { position: absolute; left: 24px; top: -16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--grad); color: var(--white); font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0, 102, 250, .8); }
.hero__media-tag .ic { width: 16px; height: 16px; }
.card__media { margin: -28px -28px 6px; height: 190px; display: grid; place-items: center; padding: 18px; background: linear-gradient(160deg, #F6F9FF 0%, #E8EFFB 100%); border-radius: var(--radius) var(--radius) 0 0; }
.card__media img { max-width: 100%; max-height: 150px; width: auto; height: auto; }
.card__media .card__ic { width: 96px; height: 96px; border-radius: 24px; background: var(--grad); color: var(--white); box-shadow: 0 18px 30px -14px rgba(0, 102, 250, .7); }
.card__media .card__ic .ic { width: 44px; height: 44px; }
.card--media .card__num { top: 16px; right: 18px; background: var(--white); border-radius: 999px; padding: 2px 10px; }

/* ---------- Asystent wayflow (AI) ---------- */
.asst-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--grad); color: var(--white); font: 600 15px/1.2 var(--font, inherit); box-shadow: 0 14px 30px -12px rgba(0, 102, 250, .65); cursor: pointer; }
.asst-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.asst-fab[aria-expanded="true"] { display: none; }
.asst { position: fixed; right: 20px; bottom: 20px; z-index: 46; display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 40px)); border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 24px 60px -20px rgba(5, 10, 24, .45); border: 1px solid var(--line); overflow: hidden; }
.asst[hidden] { display: none; }
.asst__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); }
.asst__head strong { font-stretch: 125%; font-weight: 600; }
.asst__ai { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--navy-3); color: var(--sky); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.asst__close { border: 0; background: none; color: var(--on-dark-2); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.asst__close:hover { color: var(--white); }
.asst__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F5F7FB; }
.asst__msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.asst__msg p { margin: 0 0 8px; } .asst__msg p:last-child { margin: 0; }
.asst__msg ul { margin: 4px 0 8px; padding-left: 18px; }
.asst__msg--assistant { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--text); }
.asst__msg--user { align-self: flex-end; background: var(--blue); color: var(--white); }
.asst__msg--system { align-self: center; max-width: 100%; background: none; color: var(--muted); font-size: 13px; text-align: center; }
.asst__msg.is-thinking { color: var(--muted); font-style: italic; }
.asst__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.asst__chip { border: 1px solid var(--line); background: var(--white); color: var(--blue); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.asst__chip:hover { border-color: var(--blue); }
.asst__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.asst__form textarea { resize: none; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; min-height: 46px; }
.asst__form .btn { min-height: 46px; padding: 0 16px; }
.asst__note { margin: 0; padding: 0 12px 12px; font-size: 12px; color: var(--muted); }
.asst-cta { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 32px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); }
.asst-cta[hidden] { display: none; }
.asst-cta h1, .asst-cta h2 { color: var(--white); margin: 4px 0 8px; }
.asst-cta p { margin: 0; color: var(--on-dark-2); }
.asst-cta .eyebrow { color: var(--sky); }
.asst-cta__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.asst-cta__form input { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--navy-line); background: var(--navy-2); color: var(--white); min-width: 0; }
.asst-cta__form input::placeholder { color: var(--on-dark-2); }
@media (max-width: 760px) {
  .asst-fab { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; }
  .asst { right: 0; bottom: 0; width: 100vw; height: 100%; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  .asst-open .mobilebar { display: none; }
  .asst-cta { grid-template-columns: 1fr; padding: 24px; }
  .asst-cta__form { grid-template-columns: 1fr; }
}
.asst-cta--main { margin-top: 0; }
.asst-cta h1 { font-size: clamp(26px, 3.2vw, 38px); }
/* Asystent: przyciski w nagłówku okna */
.asst__tools { display: flex; align-items: center; gap: 4px; }

/* ---------- Ekran powitalny (strona główna: samo hasło) ---------- */
.is-bare .site-footer, .is-bare .mobilebar, .is-bare .asst-fab { display: none !important; }
/* Strona główna: na górze same zakładki menu (bez małego logo, telefonu i przycisku — duże logo jest w ekranie powitalnym);
   pod ekranem powitalnym dawna treść strony do przewijania, stopka i asystent jak na innych stronach. */
.is-home .site-header__logo, .is-home .hdr-phone, .is-home .hdr-cta { display: none !important; }
.is-home .site-header { border-bottom-color: transparent; }
.is-home .splash { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.splash { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 48px clamp(24px, 8vw, 120px); background: var(--navy); }
.splash__claim { margin: 0; color: var(--white); font-size: clamp(44px, 8vw, 112px); line-height: 1.02; letter-spacing: -.01em; }
.splash { align-content: center; gap: clamp(40px, 7vh, 80px); }
.splash__logo .logo { display: block; height: clamp(40px, 5.5vw, 72px); width: auto; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
