/* Flotado — strona produktowa. Płasko i geometrycznie, jak znak. */
:root {
  --ink: #12284C;
  --ink-2: #1B3765;
  --ink-3: #24457A;
  --accent: #2F7BFF;
  --mist: #F1F4F9;
  --white: #FFFFFF;
  --line: #E3E8F0;
  --link: #1F5FD6;
  --muted: #4A5B78;
  --tint: #E4EEFF;
  --r: 8px;
  --r-lg: 12px;
  --container: 1180px;
  --gutter: 16px;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem); }
h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: var(--r); border: 2px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 18px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Nawigacja */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.nav-logo { display: inline-flex; align-items: center; flex: none; }
.nav-logo img { width: 172px; height: 28px; }
@media (min-width: 720px) { .nav-logo img { width: 209px; height: 34px; } }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; border: 0; background: transparent; border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 8px 0 16px; }
.nav-open .nav-mobile { display: block; }
.nav-mobile a { display: block; padding: 12px var(--gutter); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.nav-mobile a:hover { background: var(--mist); }
.nav-mobile .btn { margin: 12px var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); }
@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* Sekcje */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink .lead, .section-ink .muted { color: #C9D4E8; }
.section-ink a { color: #BFD6FF; }
.section-ink a:hover { color: var(--white); }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section-head { max-width: 42em; margin-bottom: 40px; }
.section-head .lead { margin-top: 16px; }
@media (min-width: 720px) { .section-head { margin-bottom: 56px; } }

/* Hero */
.hero { padding: 48px 0 56px; }
@media (min-width: 720px) { .hero { padding: 80px 0 80px; } }
.hero-copy { max-width: 44em; }
.hero-copy h1 { max-width: 15em; }
.hero-copy .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { margin-top: 48px; }
@media (min-width: 720px) { .hero-media { margin-top: 64px; } }
.hero-facts { display: grid; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; } }
.fact { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.fact strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-bottom: 2px; }
.fact svg { width: 40px; height: 40px; flex: none; }

/* Ramka zrzutu ekranu: płaski blok zamiast cienia */
.frame { position: relative; margin: 0 18px 18px 0; }
.frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--ink); border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.frame-accent::before { background: var(--accent); }
.frame img, .frame .frame-body {
  position: relative; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white);
}
.frame-body { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); background: var(--mist); }
.frame-caption { margin-top: 30px; font-size: 0.9375rem; color: var(--muted); }

/* Infografiki */
.info { width: 100%; height: auto; }
.info text { font-family: var(--font); }

/* Moduły: zygzak */
.modules { display: grid; gap: 64px; }
@media (min-width: 720px) { .modules { gap: 96px; } }
.module { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .module { grid-template-columns: 1fr 1fr; gap: 64px; }
  .module:nth-child(even) .module-copy { order: 2; }
}
.module-copy h2 { margin-top: 18px; font-size: clamp(1.5rem, 1.15rem + 1.1vw, 1.9375rem); }
.module-copy p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.features { margin-top: 22px; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 30px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 12px;
  background: var(--accent); border-radius: 2px;
  clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
}
.picto { width: 56px; height: 56px; }

/* Siatka person / kafle */
.personas { display: grid; gap: 16px; }
@media (min-width: 640px) { .personas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .personas { grid-template-columns: repeat(5, 1fr); } }
.persona {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.persona h3 { font-size: 1.125rem; }
.persona p { font-size: 0.9375rem; color: var(--muted); flex: 1; }
.persona form { margin: 0; }
.persona .btn { width: 100%; font-size: 0.9375rem; padding-left: 10px; padding-right: 10px; }
.persona-mark { width: 48px; height: 48px; }

/* Pas 2 → 200 */
.scale-wrap { margin-top: 40px; }
.scale-caption { display: grid; gap: 8px; margin-top: 18px; font-weight: 500; }
@media (min-width: 720px) { .scale-caption { grid-template-columns: 1fr 1fr 1fr; } .scale-caption > :nth-child(2) { text-align: center; } .scale-caption > :nth-child(3) { text-align: right; } }

/* Dwukolumnowe bloki tekstowe */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split p + p { margin-top: 16px; }

/* Oś czasu-droga */
.road { margin-top: 48px; }

/* Formularz */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #C7D0DE; border-radius: var(--r);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.alert-success { border-color: #9CC9A8; background: #EAF6EE; }
.alert-error { border-color: #E4A2A2; background: #FBEDED; }
.contact-aside h2 { margin-bottom: 16px; }
.contact-aside .big-mail { display: inline-block; margin-top: 20px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.contact-aside .by { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }

/* Stopka */
.site-footer { background: var(--ink); color: #C9D4E8; padding: 56px 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #DCE6F7; }
.site-footer a:hover { color: var(--white); }
.footer-logo img { width: 172px; height: 28px; }
.footer-grid p { margin-top: 16px; max-width: 30em; }
.footer-links { display: grid; gap: 10px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Jedna animacja: ciężarówka na drodze zlecenia */
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(var(--drive, 900px)); } }
.is-visible .truck-driving { animation: drive 6s cubic-bezier(.4,0,.2,1) 1 forwards; }
@media (prefers-reduced-motion: reduce) { .is-visible .truck-driving { animation: none; transform: translateX(var(--drive, 900px)); } }

/* „Zamiast pięciu miejsc” */
.swap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .swap { grid-template-columns: 1.3fr 64px 1fr; gap: 32px; } }
.swap-before { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .swap-before { grid-template-columns: repeat(3, 1fr); } }
.swap-before li {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  font-weight: 500; line-height: 1.3;
}
.swap-before li svg { width: 40px; height: 40px; }
.swap-arrow { display: flex; justify-content: center; }
.swap-arrow svg { width: 56px; height: 56px; transform: rotate(90deg); }
@media (min-width: 900px) { .swap-arrow svg { transform: none; } }
.swap-after {
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 36px; background: var(--ink); border-radius: var(--r-lg); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.swap-after img { width: 221px; height: 36px; }
.swap-after ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.swap-after li { padding: 10px 16px; background: var(--ink-3); border-radius: 6px; font-weight: 500; }

/* Wspólne dla całego systemu */
.underneath { display: grid; gap: 16px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .underneath { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .underneath { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.underneath li { display: flex; gap: 14px; align-items: flex-start; }
.underneath svg { width: 40px; height: 40px; flex: none; }
.underneath strong { display: block; font-weight: 600; }
.underneath span { font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }

/* Droga zlecenia (sekcja granatowa) */
.road-wrap { margin-top: 8px; }
.road-svg { display: none; width: 100%; height: auto; }
@media (min-width: 900px) { .road-svg { display: block; } }
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(7, 1fr); gap: 16px; margin-top: 16px; } }
.steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; background: var(--ink-2); border-radius: var(--r-lg); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 14px; right: 14px; font-size: 0.875rem; font-weight: 600; color: #8FB4FF; }
.steps li svg { width: 40px; height: 40px; margin-bottom: 8px; }
.steps strong { font-weight: 600; line-height: 1.25; }
.steps span { font-size: 0.9375rem; color: #C9D4E8; line-height: 1.4; }

/* Oś czasu jako droga */
.road { display: grid; gap: 24px; margin-top: 56px; position: relative; }
@media (min-width: 720px) { .road { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.road li { position: relative; padding-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.road li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--line); border-radius: 2px; }
.road li::after { content: ""; position: absolute; left: 0; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.road li:last-child::after { background: var(--ink); }
.road-year { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.road strong { font-weight: 600; }
.road li > span:last-child { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.makers { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }

/* Drobiazgi responsywne */
@media (max-width: 559px) { .swap-before li:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 560px) and (max-width: 899px) { .swap-before { grid-template-columns: repeat(5, 1fr); } .swap-before li { padding: 14px 12px; font-size: 0.9375rem; } }

/* Podstrony tekstowe */
.prose { max-width: 42em; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 1.375rem; margin-top: 40px; margin-bottom: 10px; }
.prose p + p { margin-top: 14px; }

/* Skutki pod „zamiast pięciu arkuszy” */
.consequences { display: grid; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .consequences { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.consequences li { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.consequences strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }

/* Mini-przepływy (awaria, KSeF) */
.miniflow-wrap { padding: 32px 28px; background: var(--mist); border-radius: var(--r-lg); }
.miniflow-wrap h3 { margin-bottom: 20px; }
.miniflow { display: grid; gap: 16px; counter-reset: mf; }
@media (min-width: 720px) { .miniflow { grid-template-columns: repeat(3, 1fr); gap: 24px; } .miniflow-4 { grid-template-columns: repeat(4, 1fr); } }
.miniflow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); counter-increment: mf; }
.miniflow li::before { content: counter(mf); position: absolute; top: 12px; right: 14px; font-weight: 600; font-size: 0.875rem; color: var(--link); }
.miniflow li svg { width: 36px; height: 36px; margin-bottom: 8px; }
.miniflow strong { font-weight: 600; line-height: 1.3; }
.miniflow span { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }

/* Persony: lista „Spróbuj” */
.try { display: grid; gap: 4px; font-size: 0.9375rem; color: var(--muted); }
.try li:first-child { color: var(--ink); font-weight: 500; }
.try li:not(:first-child) { position: relative; padding-left: 16px; }
.try li:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.persona p { flex: 0; }
.persona .try { flex: 1; }

/* Macierz „kto co widzi” */
.matrix-wrap { margin-top: 56px; }
.matrix-wrap h3 { margin-bottom: 8px; }
.matrix-wrap .muted { font-size: 0.9375rem; }
.matrix { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 0.9375rem; }
.matrix th, .matrix td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th[scope=row], .matrix thead th:first-child { text-align: left; }
.matrix thead th { font-weight: 600; color: var(--muted); font-size: 0.875rem; }
.matrix th[scope=row] { font-weight: 600; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); vertical-align: middle; }
.dot-part { background: transparent; border: 3px solid var(--accent); box-sizing: border-box; }
@media (max-width: 719px) { .matrix { display: block; overflow-x: auto; } .matrix th, .matrix td { padding: 10px 8px; white-space: nowrap; } }

/* Profile floty */
.profiles { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 900px) { .profiles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.profiles li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.profiles h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.profiles p { color: var(--muted); font-size: 0.9375rem; flex: 1; }
.profiles a { margin-top: 8px; font-weight: 500; }
.price-note { margin-top: 28px; max-width: 46em; color: var(--muted); }

/* Twórcy */
.h3 { font-size: 1.5rem; }
.makers { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.makers .h3 { margin-bottom: 16px; }
.two-lists { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 560px) { .two-lists { grid-template-columns: 1fr 1fr; } }
.two-lists h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.two-lists .features { margin-top: 0; }
.recent { padding: 28px 28px 24px; background: var(--mist); border-radius: var(--r-lg); }
.recent h3 { margin-bottom: 16px; }
.recent ul { display: grid; gap: 14px; }
.recent li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--accent); }
.recent time { font-size: 0.875rem; font-weight: 600; color: var(--link); }
.recent span { font-size: 0.9375rem; line-height: 1.45; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 60ch; }
.faq summary:hover { background: var(--mist); border-radius: var(--r); }
.demo-hint { margin-top: 28px; }
.demo-hint + .form-note { margin-top: 10px; }

/* Mini-przepływ z telefonem obok */
.miniflow-with-phone { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .miniflow-with-phone { grid-template-columns: 1fr 260px; gap: 40px; } }
.miniflow-stack { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .miniflow-stack li { flex-direction: row; align-items: flex-start; gap: 16px; padding-right: 48px; } .miniflow-stack li svg { margin: 2px 0 0; } .miniflow-stack li > span { display: block; } .miniflow-stack li strong { display: block; } .miniflow-stack .step-text { display: flex; flex-direction: column; gap: 4px; } }
.phone { position: relative; width: 240px; margin: 0 auto; padding: 14px 12px; background: var(--ink); border-radius: 28px; }
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: var(--ink-3); }
.phone img { width: 100%; height: auto; border-radius: 16px; display: block; }
.frame-link { display: block; position: relative; }
.frame-link:hover img { border-color: var(--accent); }
.frame-link:focus-visible { outline-offset: 6px; }

/* Karty infografik (odróżnione od zrzutów ekranu) */
.infocard { padding: 20px; background: var(--mist); border-radius: var(--r-lg); }
.section-mist .infocard { background: var(--white); border: 1px solid var(--line); }
.infocard .info { width: 100%; height: auto; }

/* Modal ze zrzutem ekranu */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); width: auto; }
.lightbox::backdrop { background: rgba(18, 40, 76, 0.88); }
.lightbox img { display: block; max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: var(--r-lg); background: var(--white); }
.lightbox-caption { margin: 12px 0 0; color: #DCE6F7; font-size: 0.9375rem; text-align: center; }
.lightbox-close { position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--mist); }
.lightbox[open] { animation: lb-in .18s ease-out; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }
.frame-link::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 8px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 10V4h6M20 14v6h-6M4 4l6 6M20 20l-6-6'/%3E%3C/svg%3E") center/18px no-repeat; opacity: .9; }

/* ===== Menu „Funkcje” ===== */
.nav-links { gap: 2px; }
.nav-has-menu { display: inline-flex; }
.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: var(--r);
  background: transparent; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer;
}
.nav-menu-btn:hover, .nav-has-menu.open .nav-menu-btn { background: var(--mist); }
.nav-menu-btn .chev { width: 12px; height: 8px; transition: transform .15s ease; }
.nav-has-menu.open .chev { transform: rotate(180deg); }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(18, 40, 76, .35);
}
.nav-has-menu.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 20px; }
.mega-title { margin: 0 0 10px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.mega-group ul { display: grid; gap: 4px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; margin: 0 -10px; border-radius: var(--r); color: var(--ink); text-decoration: none; }
.mega-link:hover, .mega-link:focus-visible { background: var(--mist); color: var(--ink); }
.mega-link svg { width: 32px; height: 32px; flex: none; }
.mega-link strong { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.mega-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.mega-foot { display: flex; gap: 24px; justify-content: space-between; padding-top: 14px; padding-bottom: 16px; border-top: 1px solid var(--line); font-weight: 500; }
.badge { display: inline-block; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 0.6875rem; font-weight: 600; line-height: 1.6; vertical-align: 2px; letter-spacing: .01em; }

/* menu na telefonie */
.nav-mobile-group { border-bottom: 1px solid var(--line); }
.nav-mobile-group summary { padding: 12px var(--gutter); font-weight: 500; font-size: 1.125rem; cursor: pointer; list-style: none; position: relative; }
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group summary::after { content: ""; position: absolute; right: calc(var(--gutter) + 4px); top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.nav-mobile-group[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.nav-mobile-title { margin: 8px 0 2px; padding: 0 var(--gutter); color: var(--muted); font-size: 0.875rem; }
.nav-mobile .nav-mobile-sub { padding: 9px var(--gutter) 9px calc(var(--gutter) + 12px); font-size: 1rem; }
.nav-mobile .nav-mobile-all { margin-bottom: 8px; color: var(--link); }
.nav-mobile { max-height: calc(100vh - 72px); overflow-y: auto; }

/* ===== Kafelki obszarów ===== */
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; height: 100%;
  padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease;
}
.section-mist .tile { border-color: transparent; }
.tile:hover { border-color: var(--accent); color: var(--ink); }
.tile-icon { grid-row: span 2; width: 48px; height: 48px; }
.tile-title { font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.tile-text { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.tiles-more { margin-top: 28px; }

/* ===== Podstrona funkcji ===== */
.feature-hero { padding: 40px 0 64px; }
@media (min-width: 720px) { .feature-hero { padding: 56px 0 88px; } }
.feature-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .feature-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.feature-hero-copy h1 { margin-top: 14px; font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem); }
.feature-hero-copy .lead { margin-top: 18px; }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; color: var(--muted); font-size: 0.9375rem; }
.crumbs a { color: var(--link); }
.feature-cols-head { margin-bottom: 28px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.feature-cols { display: grid; gap: 20px; }
@media (min-width: 900px) { .feature-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature-col { padding: 26px 24px; background: var(--white); border-radius: var(--r-lg); }
.feature-col h3 { margin-bottom: 4px; }
.feature-col .features { margin-top: 14px; }
.feature-note { margin-top: 28px; max-width: 52em; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); }
.feature-note strong { color: var(--ink); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { font-weight: 600; text-decoration: none; }
.pager small { display: block; color: var(--muted); font-weight: 400; font-size: 0.875rem; }
.pager-next { text-align: right; }
.pager-all { text-align: center; }
@media (max-width: 639px) { .pager { grid-template-columns: 1fr 1fr; } .pager-all { grid-column: 1 / -1; grid-row: 2; } }

/* pasek CTA */
.cta-band-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band-grid { grid-template-columns: 1.4fr 1fr; } }
.cta-band .lead { margin-top: 12px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band-actions { justify-content: flex-end; } }
.btn-ghost-light { background: transparent; border-color: #8FA3C4; color: var(--white); }
.btn-ghost-light:hover { background: var(--ink-2); border-color: var(--white); color: var(--white); }

/* telefony na podstronie kierowcy */
.phone-stage { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phone-stage .phone { margin: 0; display: block; }
.phone-stage .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 559px) { .phone-stage .phone:nth-child(n+2) { display: none; } }

.footer-grid { gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Blok „Kierowca ma Flotado w telefonie” */
.driver-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .driver-band { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.driver-band-copy h2 { margin-top: 12px; }
.driver-band-copy .lead { margin-top: 16px; }
.driver-band-copy .features { margin: 22px 0 28px; }
.driver-band-visual { display: flex; justify-content: center; }
.badge-lg { display: inline-block; margin: 0; padding: 3px 12px; font-size: 0.8125rem; }
.makers-short { max-width: 46em; }
.makers-short p { margin-top: 12px; }
.section-ink .btn-light, .section-ink .btn-light:hover { color: var(--ink); }
.section-ink .btn-ghost-light, .section-ink .btn-ghost-light:hover { color: var(--white); }
/* linki w panelu menu nie dziedziczą wyglądu linków paska nawigacji */
.nav-links .mega-link { display: flex; padding: 10px; border-radius: var(--r); font-weight: 400; }
.nav-links .mega-foot a { display: inline; padding: 0; font-weight: 500; color: var(--link); }
.nav-links .mega-foot a:hover { background: none; text-decoration: underline; color: var(--ink); }
.tile { align-content: start; }

/* Blok „biuro decyduje” na podstronie funkcji */
.feature-office { margin-top: 24px; padding: 26px 24px; background: var(--ink); color: var(--white); border-radius: var(--r-lg); }
.feature-office h3 { color: var(--white); margin-bottom: 14px; }
.feature-office .features { display: grid; gap: 10px 32px; }
@media (min-width: 900px) { .feature-office .features { grid-template-columns: 1fr 1fr; } }
.feature-office .features li { color: #DCE6F7; }
