/* ==========================================================================
   PIT Projekt – style motywu (kierunek „Jasny produktowy”, prototyp A)
   Sekcje strony to bloki core/group z klasami poniżej; treść edytuje się w edytorze bloków.
   ========================================================================== */

:root {
	--ink: #0B2540; --navy: #0E3A5E; --blue: #0A5991; --text: #2A3B50; --muted: #5A6B80; --faint: #8A99AB;
	--line: #E2E9F1; --line-2: #D3DDE8; --surface: #F5F8FC; --surface-2: #EDF2F8; --white: #fff;
	--orange: #F76308; --orange-2: #FE881E; --orange-ink: #C94A00; --orange-bg: #FFF3EA; --yellow: #FFA10A;
	--green: #12804A; --green-bg: #E8F6EE; --red: #C8331B; --red-bg: #FDECE8; --amber: #A35D00; --amber-bg: #FFF4DB; --blue-bg: #E8F1FA;
	--r-sm: 10px; --r: 14px; --r-lg: 20px;
	--sh-sm: 0 1px 2px rgba(14,58,94,.06), 0 1px 3px rgba(14,58,94,.07);
	--sh: 0 12px 32px -14px rgba(14,58,94,.22), 0 2px 6px rgba(14,58,94,.05);
	--sh-lg: 0 40px 80px -30px rgba(14,58,94,.38), 0 14px 28px -16px rgba(14,58,94,.18);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1280px;
	--header-h: 76px;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; font-family: var(--font); }
p { margin: 0; }
:focus-visible { outline: 3px solid #2B7BD0; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--container); margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; width: 100%; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
.site-main, .wp-block-post-content { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font: 700 15.5px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #F86D10 0%, #E85804 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px -8px rgba(232,88,4,.7), 0 1px 2px rgba(150,50,0,.3); }
.btn-primary:hover { color: #fff; background: linear-gradient(180deg, #F26408 0%, #D94F00 100%); transform: translateY(-1px); }
.btn-secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--sh-sm); }
.btn-secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--navy), var(--sh-sm); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-block + .btn-block { margin-top: 10px; }
.link-arrow, p.link-arrow a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow:hover, p.link-arrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
p.link-arrow a::after { content: "→"; font-weight: 700; transition: transform .15s; }
p.link-arrow a:hover::after { transform: translateX(3px); }

/* Przycisk core/button (np. w treści stron) */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; font: 700 15.5px/1 var(--font); text-decoration: none; color: #fff; background: linear-gradient(180deg, #F86D10 0%, #E85804 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px -8px rgba(232,88,4,.7); }
.is-style-secondary .wp-block-button__link { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--sh-sm); }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
/* Do 600 px pasek administratora WordPressa przewija się ze stroną, więc nagłówek przykleja się do samej góry. */
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.scrolled { box-shadow: 0 6px 20px -16px rgba(14,58,94,.4); }
/* Strona główna: przyciski Rozlicz/Pobierz w nagłówku (desktop) i pasek na dole (mobile) dublują
   te z hero — chowamy je, dopóki hero jest widoczne (ciało strony dostaje .past-hero po minięciu hero, main.js). */
.has-hero:not(.past-hero) .header-actions a.btn, .has-hero:not(.past-hero) .mbar { display: none; }
/* Strona główna: nagłówek przezroczysty nad hero, po przewinięciu półprzezroczysty biały */
.has-hero .site-header:not(.scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header .container { padding-left: 12px; }
.logo { display: flex; align-items: center; flex: none; align-self: flex-start; margin-top: 16px; }
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--surface); }
.main-nav a[aria-current] { color: var(--orange-ink); background: var(--orange-bg); }
.has-hero .main-nav a[aria-current] { background: transparent; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.login-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.login-link:hover { color: var(--ink); }
.login-link .icon { width: 17px; height: 17px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, #F76308, #FFA10A); }

/* ---------- Sekcje ---------- */
.section { padding: 104px 0; scroll-margin-top: 90px; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center, .section-head.has-text-align-center { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.section-head.no-margin { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #F76308, #FFA10A); }
.section-head h2 { font-size: 42px; font-weight: 800; letter-spacing: -.025em; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 18px; color: var(--muted); }
h1 em, h2 em, .grad-text { font-style: normal; background: linear-gradient(92deg, #F76308 0%, #FC7113 45%, #FFA10A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; background: radial-gradient(900px 500px at 88% 8%, rgba(254,136,30,.13), transparent 60%), radial-gradient(800px 600px at -5% -10%, rgba(10,89,145,.10), transparent 60%), linear-gradient(180deg, #F7FAFD 0%, #F2F6FB 100%); }
.has-hero .hero { margin-top: calc(-1 * var(--header-h) - 1px); padding-top: calc(56px + var(--header-h)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,58,94,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,58,94,.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.eyebrow-pill a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
/* Twój e-PIT: litera „e” na czerwono, tak jak w materiałach Ministerstwa Finansów. */
.epit-e { color: var(--red); }
.eyebrow-pill strong { background: linear-gradient(90deg, #F76308, #FE881E); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: .02em; font-weight: 800; }
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -.028em; line-height: 1.1; margin: 20px 0 18px; }
.hero-lead { font-size: 18.5px; color: var(--muted); max-width: 520px; }
.start-card { margin-top: 28px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(14,58,94,.06); padding: 36px 56px; }
.start-actions { display: flex; gap: 10px; margin-top: 18px; }
.start-actions > .btn-primary { flex: 1.25; }
.start-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.start-hint .icon { width: 16px; height: 16px; color: var(--green); }
.start-hint strong { color: var(--ink); }

/* Przycisk pobierania z menu systemów */
.dl { position: relative; display: flex; flex: 1; }
.dl .btn-main { flex: 1; border-radius: 12px 0 0 12px; padding: 0 16px; }
.dl .btn-caret { width: 44px; padding: 0; border-radius: 0 12px 12px 0; margin-left: -1.5px; }
.dl-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); padding: 8px; z-index: 30; display: none; }
.dl-menu.open { display: block; }
.dl-menu p { font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px 4px; }
.dl-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.dl-menu a:hover, .dl-menu a:focus-visible { background: var(--surface); }
.dl-menu a small { margin-left: auto; color: var(--faint); font-weight: 600; font-size: 12.5px; }
.dl-menu a .icon { color: var(--navy); }
.dl-menu a.current { background: var(--orange-bg); }

/* Listy z ptaszkami (core/list z klasą) */
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312804A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.stats-bar-section { padding: 32px 0 0; }
.stats-bar { margin-top: 0; }
.years-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.years-note::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5991' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8M3 3v5h5M12 7v5l4 2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Zdjęcie w hero: prawa część sekcji; miękkie, przezroczyste krawędzie są zapisane w samym pliku WebP */
.hero .hero-grid { position: static; }
.hero-copy { position: relative; z-index: 1; }
/* Zawsze pełna wysokość sekcji (styka się z górą strony). W węższym oknie zdjęcie nie maleje, tylko wysuwa się
   w prawo poza krawędź, żeby twarz nie wchodziła pod kartę z przyciskami. */
.mockup-hero { position: absolute; top: 0; bottom: 0; right: clamp(-260px, calc((100vw - 1440px) * .55), 0px); pointer-events: none; }
.hero-photo { height: 100%; }
.hero-photo img { display: block; height: 100%; width: auto; max-width: none; }
.mockup-hero-app { min-width: 0; }
.hero-visual { position: relative; width: 980px; max-width: none; }
.window { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-lg), 0 0 0 1px rgba(14,58,94,.10); }
.window img { width: 100%; height: auto; }
.hero-visual .window { border-radius: 14px 0 0 14px; }
.badge-float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); z-index: 2; }
.badge-float .bi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.badge-float small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.badge-float strong { display: block; font-size: 20px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.badge-refund { left: -40px; bottom: 120px; }
.badge-refund .bi { background: var(--green-bg); color: var(--green); }
.badge-refund strong { color: var(--green); }
.badge-sent { left: 330px; top: -28px; }
.badge-sent .bi { background: var(--blue-bg); color: var(--blue); }
.badge-sent strong { font-size: 15px; }
.badge-steps { left: 380px; bottom: -24px; padding: 10px 14px; }
.badge-steps .bar { display: block; width: 120px; height: 6px; border-radius: 9px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.badge-steps .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #F76308, #FE881E); }

/* ---------- Korzyści (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); padding: 28px; overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-bg); color: var(--orange); margin-bottom: 18px; flex: none; }
.ti .icon { width: 22px; height: 22px; }
.t-free { grid-column: span 2; background: linear-gradient(160deg, #0E3A5E 0%, #0A5991 100%); color: #fff; box-shadow: var(--sh); }
.t-free h3 { color: #fff; }
.t-free p { color: rgba(255,255,255,.78); }
.t-free .mockup-zero { margin: auto 0 0; order: 5; }
.zero { font-size: 92px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 0; background: linear-gradient(180deg, #fff, #BFD6EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero span { font-size: 38px; letter-spacing: -.02em; }
.t-free .ti { background: rgba(255,255,255,.12); color: #FFBC40; }
.t-asystent { grid-column: span 4; padding-right: 0; padding-bottom: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px; }
.t-asystent .copy { padding-bottom: 28px; }
.mockup-asystent-shot { align-self: end; }
.mockup-asystent-shot .shot { border-radius: 12px 0 0 0; overflow: hidden; box-shadow: var(--sh), 0 0 0 1px var(--line); height: 270px; }
.mockup-asystent-shot .shot img { width: 190%; max-width: none; margin-left: -22.5%; margin-top: -1%; }
.steps-mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.steps-mini li { display: flex; align-items: center; gap: 10px; }
.steps-mini li i { width: 20px; height: 20px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; }
.steps-mini li i .icon { width: 12px; height: 12px; stroke-width: 3; }
.steps-mini li.now i { background: #fff; box-shadow: inset 0 0 0 2px var(--orange); }
.steps-mini li.now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.steps-mini li.todo { color: var(--faint); }
.steps-mini li.todo i { background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); }
.t-ulgi, .t-edekl { grid-column: span 3; }
.mini-ui { margin-top: 22px; background: var(--surface); border-radius: 14px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.ulgi-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ulga { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 9px; padding: 7px 11px; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ulga.on { box-shadow: inset 0 0 0 1.5px #FDBA8C; background: #FFF8F3; }
.ulga .cb { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; }
.ulga.on .cb { background: var(--orange); box-shadow: none; color: #fff; }
.ulga .cb .icon { width: 11px; height: 11px; stroke-width: 3.5; }
.refund-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.refund-row small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.refund-row strong { font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: -.03em; line-height: 1; }
.refund-row .live { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.refund-row .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22B566; box-shadow: 0 0 0 4px rgba(34,181,102,.18); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 14px; font-weight: 600; color: var(--ink); position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: -6px; width: 2px; background: var(--line-2); }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--green); position: relative; z-index: 1; }
.timeline .dot .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.timeline small { color: var(--faint); font-weight: 600; font-size: 12.5px; }
.timeline .upo { background: var(--blue-bg); color: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill .icon { width: 13px; height: 13px; }
.p-draft { background: #EEF1F5; color: #4A5A6E; }
.p-todo { background: var(--amber-bg); color: var(--amber); }
.p-sent { background: var(--blue-bg); color: var(--blue); }
.p-ok { background: var(--green-bg); color: var(--green); }
.p-bad { background: var(--red-bg); color: var(--red); }
.t-platforms { grid-column: span 4; }
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.platform { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: all .15s; }
.platform:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), var(--sh-sm); }
.platform .icon { width: 26px; height: 26px; color: var(--navy); }
.platform b { font-size: 15px; }
.platform small { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: -8px; }
.platform.web { background: var(--orange-bg); box-shadow: inset 0 0 0 1.5px #FDC9A3; }
.platform.web .icon { color: var(--orange); }
.t-xml { grid-column: span 2; }
.t-xml .mockup-xml { margin-top: auto; }
.xml-viz { display: flex; align-items: center; gap: 12px; padding-top: 22px; }
.file { width: 62px; height: 76px; border-radius: 8px 18px 8px 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--sh-sm); display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; font-size: 10.5px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.file span { display: block; background: var(--blue-bg); border-radius: 4px; padding: 2px 4px; text-align: center; }
.xml-viz .arrow { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); position: relative; }
.xml-viz .arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--line-2); }
.xml-viz .form { flex: none; width: 96px; padding: 10px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 700; color: var(--ink); }
.xml-viz .form i { display: block; height: 6px; border-radius: 4px; background: var(--line); margin-top: 6px; }
.xml-viz .form i.f { background: #BFE3CD; }

/* ---------- Jak to działa ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-cta { display: flex; justify-content: center; margin-top: 40px; }
.step { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.step-body { padding: 26px 26px 22px; }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.step-num strong { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #F76308, #FE881E); color: #fff; font-size: 15px; letter-spacing: 0; box-shadow: 0 6px 14px -6px rgba(247,99,8,.7); }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p:not(.step-num) { color: var(--muted); font-size: 15.5px; }
.step > .mockup { margin-top: auto; }
.step-shot { margin: 0 0 0 26px; height: 200px; border-radius: 12px 0 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.step-shot img { width: 230%; max-width: none; }
.step-shot.s1 img { margin-left: -55%; margin-top: -8%; }
.step-shot.s2 img { margin-left: -58%; margin-top: -6%; }
.step-shot.s3 img { margin-left: -27%; margin-top: -8%; }

/* ---------- Program: zakładki ze zrzutami ---------- */
.tabs { display: flex; justify-content: center; margin-bottom: 36px; }
.tablist { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: #fff; box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); flex-wrap: wrap; justify-content: center; }
.tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 0; background: transparent; font: 700 14.5px/1 var(--font); color: var(--muted); padding: 11px 16px; border-radius: 10px; cursor: pointer; transition: all .15s; }
.tab .icon { width: 17px; height: 17px; }
.tab:hover { color: var(--ink); background: var(--surface); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(11,37,64,.6); }
.viewer { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; }
.viewer[hidden] { display: none; }
.viewer-copy h3 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.viewer-copy p { color: var(--muted); font-size: 16.5px; }
.viewer-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.viewer-copy li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.viewer-copy li .icon { width: 20px; height: 20px; color: var(--orange); margin-top: 2px; stroke-width: 2.4; }
.viewer-copy .statuses, .wn .statuses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.viewer-shot { position: relative; z-index: 0; }
.viewer-shot::before { content: ""; position: absolute; inset: -28px -28px -28px 40px; border-radius: 28px; background: linear-gradient(135deg, #FFE7D4 0%, #E3EEF9 100%); z-index: -1; }
.whatsnew { margin-top: 88px; }
.whatsnew-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.whatsnew-head h3 { font-size: 26px; font-weight: 800; }
.whatsnew-head p { color: var(--muted); font-size: 15.5px; max-width: 420px; text-align: right; }
.wn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wn { background: #fff; border-radius: 16px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.wn:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--sh); transform: translateY(-2px); }
.wn .ti { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); margin-bottom: 14px; }
.wn .ti .icon { width: 19px; height: 19px; }
.wn h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.wn.is-new h4::after { content: "Nowość"; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); background: var(--orange-bg); padding: 3px 7px; border-radius: 6px; }
.wn p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.wn .statuses .pill { font-size: 11.5px; padding: 3px 8px; }
.wn .statuses { margin-top: 10px; gap: 5px; }
.wn.dark { background: linear-gradient(160deg, #0E3A5E, #0A5991); box-shadow: none; }
.wn.dark h4 { color: #fff; }
.wn.dark p { color: rgba(255,255,255,.78); }
.wn.dark .ti { background: rgba(255,255,255,.12); color: #FFBC40; }
.os-row { display: flex; gap: 8px; margin-top: 12px; color: #fff; }
.os-row .icon { width: 20px; height: 20px; opacity: .9; }

/* ---------- Konto PIT Projekt ---------- */
.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 42px; font-size: 14.5px; color: var(--muted); min-height: 28px; }
.check-list li strong { display: block; font-size: 16px; color: var(--ink); font-weight: 600; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--orange-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F76308' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.account-note { margin-top: 26px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--blue-bg); color: var(--navy); font-size: 15px; font-weight: 600; }
.account-note::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5991' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.account-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.account-cta small { color: var(--muted); font-size: 14px; }
.acc-mock { position: relative; padding: 24px; }
.acc-card { background: #fff; border-radius: 20px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); overflow: hidden; }
.acc-top { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.acc-top b { display: block; color: var(--ink); font-size: 15.5px; }
.acc-top small { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 600; }
.acc-top small .icon { width: 15px; height: 15px; }
.acc-top .cloud { margin-left: auto; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); display: grid; place-items: center; }
.acc-list { list-style: none; margin: 0; padding: 8px 10px; }
.acc-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; }
.acc-list .fi { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.acc-list b { display: block; font-size: 15px; color: var(--ink); }
.acc-list small { font-size: 13px; color: var(--muted); }
.acc-devices { display: flex; gap: 10px; padding: 16px 22px; background: var(--surface); border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.acc-devices span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; padding: 6px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.acc-devices .icon { width: 15px; height: 15px; color: var(--navy); }
.acc-devices i { width: 7px; height: 7px; border-radius: 50%; background: #22B566; }
.acc-toast { position: absolute; left: -8px; bottom: -6px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--sh-lg); }
.acc-toast .icon { color: #5BD08F; }

/* ---------- Bezpieczeństwo ---------- */
.security { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.security .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.shield-art { margin-top: 32px; width: 100%; max-width: 340px; aspect-ratio: 1.5; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #fff 0%, #EAF2FA 70%); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.shield-art::before, .shield-art::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed #C5D6E7; }
.shield-art::before { width: 180px; height: 180px; }
.shield-art::after { width: 280px; height: 280px; }
.shield-art .core { width: 92px; height: 92px; border-radius: 26px; background: linear-gradient(150deg, #0E3A5E, #0A5991); display: grid; place-items: center; color: #fff; box-shadow: 0 20px 40px -14px rgba(10,89,145,.7); position: relative; z-index: 1; }
.shield-art .core .icon { width: 44px; height: 44px; stroke-width: 1.7; }
.shield-art .tag { position: absolute; z-index: 1; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; color: var(--ink); box-shadow: var(--sh); }
.shield-art .tag.t1 { left: 16px; top: 22px; } .shield-art .tag.t2 { right: 16px; top: 40px; } .shield-art .tag.t3 { left: 36px; bottom: 22px; } .shield-art .tag.t4 { right: 28px; bottom: 30px; }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sec { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sec .ti { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.sec h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.sec p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 1,5% dla Stowarzyszenia „Poranek” ---------- */
.opp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.opp-quote, .wp-block-quote.opp-quote { margin: 24px 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--yellow); color: var(--text); font-size: 16.5px; line-height: 1.7; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.krs { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 8px 8px 14px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--muted); font-weight: 600; }
.krs b { color: var(--ink); font-size: 16px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.krs button { border: 0; background: var(--surface); border-radius: 8px; padding: 7px 10px; font: 700 13px var(--font); color: var(--navy); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.krs button:hover { background: var(--surface-2); }
.krs button .icon { width: 15px; height: 15px; }
.opp-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 250px 170px; gap: 14px; position: relative; }
.opp-photos figure, .opp-photos > img { margin: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--sh-sm); }
.opp-photos > img.big { grid-column: 1 / -1; object-position: center 8%; }
.opp-photos .ph.big { grid-row: span 2; }
.opp-logo { position: absolute; right: -22px; bottom: -26px; display: block; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.opp-logo img { display: block; width: 92px; height: auto; }
.ph { border-radius: 18px; background: repeating-linear-gradient(135deg, #E6EBF1 0 14px, #EDF1F5 14px 28px); box-shadow: inset 0 0 0 1px #D8E0E9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px; color: #6B7A8C; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.ph .icon { width: 30px; height: 30px; color: #94A3B5; stroke-width: 1.6; }
.ph.big { grid-row: span 2; }
.logo-ph { position: absolute; left: -26px; bottom: -26px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.logo-ph i { width: 46px; height: 46px; border-radius: 12px; border: 2px dashed #C5D0DC; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #94A3B5; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.stat { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat p:first-child { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat p:first-child em { font-style: normal; background: linear-gradient(90deg, #F76308, #FFA10A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p + p { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.opp-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(90deg, #FFF6EE, #FFF); box-shadow: inset 0 0 0 1px #FBDCC4; flex-wrap: wrap; }
.opp-link p { font-weight: 600; color: var(--ink); }

/* ---------- Karty Artykułów ---------- */
.articles-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.articles-head .section-head { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--sh); transform: translateY(-3px); }
.card:hover h3 { color: var(--blue); }
.card-img { position: relative; height: 170px; overflow: hidden; background: var(--surface); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-cat { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); font-size: 12.5px; font-weight: 800; color: var(--ink); background: rgba(255,255,255,.94); padding: 5px 11px; border-radius: 999px; box-shadow: var(--sh-sm); }
.card .bar { height: 6px; background: linear-gradient(90deg, #F76308, #FFA10A); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--faint); font-weight: 600; margin-bottom: 12px; }
.cat { display: inline-flex; font-size: 12.5px; font-weight: 800; color: var(--blue); background: var(--blue-bg); padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; transition: color .15s; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.card .more .icon { width: 16px; height: 16px; }

/* ---------- FAQ (bloki „Szczegóły”) ---------- */
.container.faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: start; }
.help-card { margin-top: 32px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.help-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.help-card p { font-size: 14.5px; color: var(--muted); }
.help-card .tel a { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 17px; }
.help-card .tel a::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F76308' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.acc, .faq-list { display: grid; gap: 12px; }
.acc .wp-block-details, .prose .faq .wp-block-details { margin: 0; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.acc .wp-block-details[open], .prose .faq .wp-block-details[open] { box-shadow: inset 0 0 0 1.5px var(--line-2), var(--sh); }
.acc summary, .prose .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; color: var(--ink); border-radius: 16px; line-height: 1.4; }
.acc summary::-webkit-details-marker, .prose .faq summary::-webkit-details-marker { display: none; }
.acc summary::after, .prose .faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3A5E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s, background-color .2s; }
.acc details[open] summary::after, .prose .faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-bg); }
.acc details > :not(summary), .prose .faq details > :not(summary) { padding: 0 22px; color: var(--muted); font-size: 15.5px; max-width: 680px; margin: 0; }
.acc details > :last-child:not(summary), .prose .faq details > :last-child:not(summary) { padding-bottom: 22px; }
.acc details > * + :not(summary) { margin-top: .6em; }

/* ---------- Końcowe CTA ---------- */
.final { padding: 0 0 104px; }
.final-card { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; background: linear-gradient(140deg, #0B2540 0%, #0E3A5E 55%, #0A5991 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.final-card::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(254,136,30,.45), transparent 65%); }
.final-card::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.final-card > * { position: relative; z-index: 1; }
.final-card h2 { color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.final-card p { color: rgba(255,255,255,.78); font-size: 17.5px; margin-top: 14px; max-width: 560px; }
.final-actions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }
.final-actions .btn { width: 100%; }
.final-actions .btn-secondary { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.final-actions .btn-secondary:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.final-actions p { text-align: center; color: rgba(255,255,255,.65); font-size: 13px; margin: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 40px; }
.foot-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 800; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-grid a:hover { color: var(--blue); text-decoration: underline; }
.foot-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 300px; font-size: 14.5px; }
.foot-brand img { height: 44px; width: auto; }
.foot-address { color: var(--text); }
.foot-nip { margin-top: 12px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--navy); }
.contact-list li { display: grid; }
.contact-list small { color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-list a { font-size: 16px; font-weight: 800; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom a { color: var(--muted); }

/* ---------- Popup i pasek mobilny ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11,37,64,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal.open { display: flex; animation: pp-fade .2s ease; }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-box { position: relative; width: min(640px, 100%); background: #fff; border-radius: 24px; box-shadow: 0 50px 100px -30px rgba(11,37,64,.55); overflow: hidden; display: grid; grid-template-columns: 200px 1fr; animation: pp-pop .25s ease; }
.modal-box-simple { grid-template-columns: 1fr; width: min(460px, 100%); }
.modal-side { background: linear-gradient(160deg, #F76308 0%, #FC7113 45%, #FFA10A 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px; color: #fff; }
.modal-side .big { font-size: 58px; font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.modal-side .big small { display: block; font-size: 15px; letter-spacing: 0; font-weight: 700; margin-top: 10px; opacity: .95; }
.modal-side .mini { background: rgba(255,255,255,.18); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.modal-main { padding: 34px 32px 30px; }
.modal-main h2 { font-size: 26px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; padding-right: 24px; }
.modal-main p { color: var(--muted); font-size: 15.5px; }
.modal-main ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.modal-main li { display: flex; gap: 9px; align-items: center; }
.modal-main li .icon { width: 17px; height: 17px; color: var(--green); stroke-width: 2.6; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--surface-2); }
.mbar { display: none; }

/* ---------- Baza wiedzy i podstrony ---------- */
.kb-hero { background: radial-gradient(700px 300px at 85% 0%, rgba(254,136,30,.10), transparent 60%), linear-gradient(180deg, #F7FAFD, #F2F6FB); border-bottom: 1px solid var(--line); padding: 22px 0 44px; }
.kb-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "›"; color: var(--faint); font-weight: 700; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.kb-search { position: relative; width: 340px; max-width: 100%; }
.kb-search input { width: 100%; height: 44px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2), var(--sh-sm); padding: 0 44px 0 42px; font: 500 14.5px var(--font); color: var(--ink); }
.kb-search input::placeholder { color: var(--faint); }
.kb-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(10,89,145,.12); }
.kb-search > .icon { position: absolute; left: 14px; top: 12px; color: var(--faint); }
.kb-search kbd { position: absolute; right: 10px; top: 10px; font: 700 11.5px var(--font); color: var(--faint); background: var(--surface); border-radius: 6px; padding: 3px 7px; box-shadow: inset 0 0 0 1px var(--line); }
.kb-title { max-width: 860px; margin-top: 40px; }
/* Nagłówek Kategorii z Grafiką Kategorii wtopioną w tło (lewa krawędź zdjęcia przechodzi w tło). */
.kb-hero.has-media { position: relative; overflow: hidden; min-height: 300px; }
.kb-hero.has-media > .container { position: relative; z-index: 1; }
.kb-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 960px); pointer-events: none; }
.kb-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 25%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 25%, #000 60%); }.kb-title .eyebrow { margin-bottom: 0; }
.chip-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--blue); background: var(--blue-bg); padding: 5px 12px; border-radius: 999px; text-decoration: none; }
.chip-cat:hover { background: #DCEAF7; }
.chip-cat small { font-weight: 700; color: var(--muted); }
.kb-title h1 { font-size: 50px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 16px 0 18px; }
.page-lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta .icon { width: 16px; height: 16px; color: var(--faint); }
.meta time { color: var(--ink); }

.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 48px; padding-top: 48px; padding-bottom: 40px; align-items: start; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 4px; }
.toc h2, .toc-m summary { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; position: relative; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--orange-ink); border-left-color: var(--orange); }
.toc-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.toc-meta a { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.toc-meta a:hover { color: var(--ink); }
.toc-meta .icon { width: 16px; height: 16px; }
.toc-m { display: none; }

/* Treść (Artykuły, podstrony) */
.prose { max-width: 720px; font-size: 17.5px; line-height: 1.75; color: var(--text); }
.prose > * + *, .prose .wp-block-post-content > * + * { margin-top: 1.1em; }
.prose > p:first-child, .prose .is-style-lead { font-size: 20px; line-height: 1.65; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h2 + * { margin-top: .8em; }
.prose h3 { font-size: 20px; font-weight: 800; margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h4 { font-size: 17.5px; font-weight: 800; margin-top: 1.6em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10,89,145,.35); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: #fff; }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, #F76308, #FFA10A); transform: rotate(45deg); }
.prose ol { padding-left: 1.4em; }
.prose ol li + li { margin-top: .5em; }
.prose ol li::marker { color: var(--orange-ink); font-weight: 800; }
.prose ol ol { list-style-type: lower-alpha; margin-top: .5em; }
.prose .wp-block-table { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: auto; margin: 1.6em 0 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose thead th, .prose tbody tr:first-child th { background: var(--surface); text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); }
.prose td { padding: 13px 18px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table td, .prose .wp-block-table th { border-left: 0; border-right: 0; }
.prose td strong { display: inline-block; font-size: 13.5px; font-weight: 800; padding: 3px 9px; border-radius: 7px; background: var(--orange-bg); color: var(--orange-ink); letter-spacing: .01em; line-height: 1.4; }
.kb-intro { padding-top: 40px; }
.kb-intro .prose { font-size: 18px; color: var(--muted); }
.kb-intro + .kb-index { padding-top: 32px; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: #FAFCFE; }
.prose .wp-block-image img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.prose .wp-block-image figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--yellow); }
.is-style-callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--amber-bg); box-shadow: inset 0 0 0 1px #F6DFA8; font-size: 16px; line-height: 1.65; }
.is-style-callout::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B26B00' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.prose .faq { margin-top: 2.2em; display: grid; gap: 10px; }
.prose .faq > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
.prose .faq > h2 { margin-top: 0; margin-bottom: 10px; }
.prose .faq summary { font-size: 17px; padding: 16px 18px; }
.prose .faq details > :not(summary) { padding-left: 18px; padding-right: 18px; font-size: 16px; line-height: 1.7; }

.cta-inline { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, #0E3A5E, #0A5991); color: #fff; margin-top: 2.2em !important; font-size: 16px; line-height: 1.5; }
.cta-inline::after { content: ""; position: absolute; right: -80px; top: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(254,136,30,.45), transparent 65%); }
.cta-inline > * { position: relative; z-index: 1; }
.cta-inline .ci { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #FFBC40; }
.cta-inline .ci .icon { width: 26px; height: 26px; }
.cta-inline p { margin: 0; }
.cta-inline b { display: block; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.cta-inline span { color: rgba(255,255,255,.8); }
.cta-inline .btn { grid-column: 2; justify-self: start; margin-top: 4px; text-decoration: none; color: #fff; }

.article-foot { max-width: 720px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.article-foot .tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.side-cta { position: sticky; top: 100px; }
.cta-card { border-radius: 20px; background: #fff; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); overflow: hidden; }
.cta-top { position: relative; height: 118px; background: linear-gradient(180deg, #FFF3EA, #FFE6D2); overflow: hidden; }
.cta-top img { position: absolute; left: 22px; top: 22px; width: 420px; max-width: none; border-radius: 10px; box-shadow: var(--sh), 0 0 0 1px rgba(14,58,94,.08); }
.cta-top .refund { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 10px; padding: 7px 10px; box-shadow: var(--sh); font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.cta-top .refund b { display: block; color: var(--green); font-size: 16px; }
.cta-body { padding: 20px 22px 22px; }
.cta-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.cta-body ul { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cta-body li { display: flex; gap: 8px; align-items: center; }
.cta-body li .icon { width: 16px; height: 16px; color: var(--green); stroke-width: 2.8; }
.cta-note { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; font-weight: 600; }

.related { padding: 72px 0 96px; background: var(--surface); border-top: 1px solid var(--line); }
.related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.related-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -.025em; }
.related-search { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.related-search b { font-size: 18px; color: var(--ink); }
.related-search p { color: var(--muted); font-size: 14.5px; }
.related-search .kb-search { width: 420px; }

/* Strona Bazy wiedzy, Kategorie, wyszukiwanie */
.kb-index { padding: 56px 0 96px; }
.kb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-cat { display: flex; flex-direction: column; padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.kb-cat-img { display: block; height: 140px; margin: -24px -24px 20px; overflow: hidden; background: var(--surface); }
.kb-cat-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.kb-cat:hover .kb-cat-img img { transform: scale(1.03); }
.kb-cat h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.kb-cat h2 a { color: var(--ink); text-decoration: none; }
.kb-cat h2 a:hover { color: var(--blue); }
.kb-cat ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.kb-cat li a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.kb-cat li a:hover { color: var(--blue); text-decoration: underline; }
.kb-cat .link-arrow { margin-top: auto; font-size: 14.5px; }
.kb-list { padding-top: 56px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }
.empty-state { max-width: 560px; margin: 0 auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty-state h2 { font-size: 28px; font-weight: 800; }
.empty-state p { color: var(--muted); }
.page-body { padding-top: 48px; padding-bottom: 96px; }
.page-body .prose, .page-body .wp-block-post-content { max-width: 760px; }

/* Strona urzędu skarbowego */
.us-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.us { padding-top: 56px; }
.us-card { padding: 32px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.us-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.us-card h2 + * { margin-top: 0; }
.us-card * + h2 { margin-top: 32px; }
.us-data { margin: 0; display: grid; gap: 14px; }
.us-data div { display: flex; gap: 14px; align-items: flex-start; }
.us-data dt { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--orange-bg); color: var(--orange); }
.us-data dd { margin: 8px 0 0; font-size: 16.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.us-data dd a { color: var(--blue); }
.us-hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.us-hours th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); text-transform: capitalize; }
.us-hours td { text-align: right; font-weight: 700; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.us-hours tr:last-child th, .us-hours tr:last-child td { border-bottom: 0; }
.us-content { margin-top: 32px; }
.us-cta { position: sticky; top: 100px; padding: 32px; border-radius: 20px; background: linear-gradient(140deg, #0B2540 0%, #0E3A5E 55%, #0A5991 100%); color: rgba(255,255,255,.8); }
.us-cta h2 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.us-cta .eyebrow { color: #FFBC40; }
.us-actions { display: grid; gap: 10px; margin-top: 24px; }
.us-actions .btn-secondary { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }

/* ---------- Podstrony: hero, wymagania, Pomoc, Kontakt, formularze ---------- */
.page-hero-wide { padding: 72px 0 80px; }
.page-hero-inner { max-width: 880px; text-align: center; }
.page-hero-inner .eyebrow { justify-content: center; }
.page-hero-inner h1 { font-size: 50px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 4px 0 18px; }
.page-hero-inner .hero-lead { max-width: 680px; margin: 0 auto; }
.page-hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.page-hero-actions .wp-block-pitprojekt-download-button { min-width: 280px; }
.req-grid { grid-template-columns: repeat(4, 1fr); }

.page-body .guide { margin-top: 56px; scroll-margin-top: 100px; }
.page-body .guide h2 { margin-top: 0; }
.page-body .guide ol { counter-reset: g; list-style: none; padding: 0; }
.page-body .guide ol li { counter-increment: g; position: relative; padding-left: 44px; min-height: 30px; }
.page-body .guide ol li + li { margin-top: .7em; }
.page-body .guide ol li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--orange-bg); color: var(--orange-ink); font-weight: 800; font-size: 14px; }
.page-body .guide ol li::marker { content: none; }
.is-screenshot img { border-radius: 14px; box-shadow: var(--sh), 0 0 0 1px var(--line); }
.page-body .faq { margin-top: 64px; }
.page-body .help-card { margin-top: 48px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.page-body .contact-layout { max-width: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.contact-card { padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.contact-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.contact-card p + p { margin-top: 4px; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }
.contact-card .muted, .form-note { color: var(--muted); font-weight: 500; font-size: 14px; }
.form-card { padding: 32px; border-radius: 20px; background: #fff; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); scroll-margin-top: 100px; }
.form-card h2, .form-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-note { margin-top: 16px; }
.page-body .prose .contact-layout, .page-body .wp-block-post-content > .contact-layout { margin-top: 0; }
.page-body:has(.contact-layout) .wp-block-post-content { max-width: none; }

.wpcf7 form { display: grid; gap: 14px; margin-top: 20px; }
.wpcf7 form p { margin: 0; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 15.5px/1.4 var(--font); color: var(--ink); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(10,89,145,.12); }
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-consent { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.form-consent label { font-weight: 500; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { margin-top: 3px; accent-color: var(--orange); }
.wpcf7 .wpcf7-submit { height: 52px; padding: 0 26px; }
.wpcf7-not-valid-tip { font-size: 13px; color: var(--red); margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; }
.pp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
	.main-nav a { padding: 8px 9px; font-size: 14.5px; }
	.kb-hero-photo { width: 50%; }
	.login-link span { display: none; }
	.hero h1 { font-size: 46px; }
	.layout { grid-template-columns: 200px minmax(0, 1fr) 250px; gap: 36px; }
}
/* Wąskie ekrany: tekst nagłówka Kategorii wchodzi na zdjęcie, więc rozjaśniamy je kolorem tła nagłówka. */
@media (max-width: 900px) {
	.kb-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,248,252,.85), rgba(244,248,252,.55)); }
}
@media (max-width: 1040px) {
	.main-nav, .header-actions .btn, .header-actions .login-link { display: none; }
	.burger { display: inline-flex; margin-left: auto; }
	/* Tuż pod nagłówkiem: liczone od nagłówka (ma backdrop-filter, więc i tak jest blokiem odniesienia), także z paskiem administratora. */
	.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); padding: 12px 24px 24px; z-index: 49; }
	.mobile-menu.open { display: block; }
	.mobile-menu a.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 17px; }
	.mobile-menu .mm-actions { display: grid; gap: 10px; margin-top: 18px; }
	.hero-grid { grid-template-columns: 1fr; gap: 72px; }
	.mockup-hero { display: none; }
	.hero-visual { width: auto; }
	.hero-visual .window { border-radius: 14px; }
	.badge-sent { left: auto; right: 24px; }
	.badge-refund { left: -8px; bottom: 40px; }
	.badge-steps { left: auto; right: 40px; }
	.t-free, .t-xml { grid-column: span 3; }
	.t-asystent, .t-platforms { grid-column: span 6; }
	.viewer { grid-template-columns: 1fr; }
	.viewer-shot::before { inset: -16px; }
	.wn-grid { grid-template-columns: repeat(2, 1fr); }
	.account, .security, .opp, .container.faq { grid-template-columns: 1fr; gap: 48px; }
	.security .section-head { position: static; }
	.steps { grid-template-columns: 1fr; }
	.step { display: grid; grid-template-columns: 1fr 1fr; }
	.step-shot { margin: 26px 0 0 0; }
	.cards, .kb-grid { grid-template-columns: 1fr 1fr; }
	.final-card { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
	.toc, .side-cta { display: none; }
	.toc-m { display: block; margin-bottom: 28px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
	.toc-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; margin: 0; color: var(--ink); }
	.toc-m summary::-webkit-details-marker { display: none; }
	.toc-m summary .icon { transition: transform .2s; color: var(--navy); }
	.toc-m[open] summary .icon { transform: rotate(180deg); }
	.toc-m ol { margin: 0; padding: 0 18px 16px 38px; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
	.toc-m a { color: var(--ink); text-decoration: none; }
	.toc-m li::marker { color: var(--orange); font-weight: 800; }
	.prose, .article-foot { max-width: none; }
	.us-grid { grid-template-columns: 1fr; }
	.us-cta { position: static; }
	.req-grid { grid-template-columns: 1fr 1fr; }
	.contact-layout { grid-template-columns: 1fr; }
	body { padding-bottom: 84px; }
	.mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14,58,94,.45); }
	.mbar .btn { height: 50px; }
	.mbar .btn-primary { flex: 1; }
	.mbar .btn-secondary { padding: 0 16px; }
}
@media (max-width: 768px) {
	:root { --header-h: 64px; }
	.container { padding-left: 20px; padding-right: 20px; }
	.kb-hero-photo { display: none; }
	.kb-hero.has-media { min-height: 0; }
	.logo img { height: 36px; }
	.hero { padding: 32px 0 64px; }
	.has-hero .hero { padding-top: calc(32px + var(--header-h)); }
	.hero h1 { font-size: 36px; margin: 16px 0 14px; }
	.hero-lead { font-size: 16.5px; }
	.start-card { padding: 22px 26px; margin-top: 22px; border-radius: 18px; }
	.start-actions { flex-direction: column; }
	.start-actions > .btn-primary { flex: none; }
	.dl { width: 100%; flex: none; }
	.trust { gap: 8px 14px; font-size: 13.5px; }
	.stats-bar-section { padding: 16px 0 0; }
	.badge-float { transform: scale(.82); }
	.badge-refund { left: -14px; bottom: -30px; transform-origin: left bottom; }
	.badge-sent { left: auto; right: -10px; top: -34px; transform-origin: right top; }
	.badge-steps { display: none; }
	.section { padding: 72px 0; }
	.section-head { margin-bottom: 36px; }
	.section-head h2 { font-size: 30px; }
	.section-head p:not(.eyebrow) { font-size: 16.5px; }
	.bento { grid-template-columns: 1fr; gap: 14px; }
	.tile { grid-column: auto !important; padding: 22px; }
	.t-asystent { grid-template-columns: 1fr; padding-right: 0; gap: 0; }
	.t-asystent .copy { padding-right: 22px; padding-bottom: 20px; }
	.mockup-asystent-shot .shot { height: 200px; }
	.platforms { grid-template-columns: 1fr 1fr; }
	.step { display: flex; }
	.step-shot { margin: 0 0 0 22px; height: 170px; }
	.tabs { justify-content: flex-start; margin: 0 -20px 24px; overflow-x: auto; padding: 4px 20px 8px; scrollbar-width: none; }
	.tablist { flex-wrap: nowrap; }
	.tab { padding: 10px 12px; font-size: 14px; }
	.viewer-copy h3 { font-size: 23px; }
	.whatsnew { margin-top: 64px; }
	.whatsnew-head { flex-direction: column; align-items: flex-start; }
	.whatsnew-head p { text-align: left; }
	.wn-grid { grid-template-columns: 1fr; }
	.acc-mock { padding: 16px 6px; }
	.logo-ph, .opp-logo { position: static; grid-column: 1 / -1; justify-self: start; }
	.opp-photos { grid-template-rows: 190px 130px auto; }
	.stats { grid-template-columns: 1fr 1fr; margin-top: 64px; }
	.stat { padding: 20px; border-bottom: 1px solid var(--line); }
	.stat:nth-child(2n) { border-right: 0; }
	.stat p:first-child { font-size: 26px; }
	.sec-grid { grid-template-columns: 1fr; }
	.sec { padding: 20px; }
	.articles-head { flex-direction: column; align-items: flex-start; }
	.cards, .kb-grid { grid-template-columns: 1fr; }
	.final { padding-bottom: 72px; }
	.final-card { padding: 36px 24px; border-radius: 22px; }
	.final-card h2 { font-size: 28px; }
	.foot-grid { grid-template-columns: 1fr; }
	.modal { display: none !important; }
	.kb-hero { padding: 16px 0 30px; }
	.kb-bar { flex-direction: column; align-items: stretch; gap: 14px; }
	.kb-search { width: 100%; }
	.kb-search kbd { display: none; }
	.kb-title { margin-top: 22px; }
	.kb-title h1 { font-size: 32px; }
	.prose { font-size: 16.5px; }
	.prose > p:first-child, .prose .is-style-lead { font-size: 18px; }
	.prose h2 { font-size: 24px; }
	.prose td, .prose thead th { padding: 11px 12px; }
	.cta-inline { grid-template-columns: 1fr; padding: 22px; }
	.cta-inline .btn { grid-column: 1; }
	.related { padding: 56px 0 72px; }
	.related-head h2 { font-size: 26px; }
	.related-search { padding: 20px; }
	.related-search .kb-search { width: 100%; }
	.us-card, .us-cta { padding: 22px; }
	.page-hero-wide { padding: 40px 0 56px; }
	.page-hero-inner h1 { font-size: 32px; }
	.req-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
	.form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .toc, .toc-m, .side-cta, .related, .mbar, .modal, .kb-bar, .cta-inline { display: none !important; }
	.layout { display: block; }
	.prose { max-width: none; font-size: 12pt; }
}

/* Karty i formularze wewnątrz treści strony nie dziedziczą odstępów tekstu artykułowego */
.prose .contact-layout h2, .prose .contact-layout h3, .prose .help-card h3 { margin-top: 0; }
.prose .contact-card > * + *, .prose .form-card > * + * { margin-top: 6px; }
.prose .contact-card .ti { margin-bottom: 14px; }
.wpcf7 .screen-reader-response { position: absolute; }
