/* ==========================================================================
   PLARA Defense & Security Consulting – style motywu
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var.woff") format("woff");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-medium.woff") format("woff");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-semibold.woff") format("woff");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-bold.woff") format("woff");
	font-weight: 700;
	font-display: swap;
}

:root {
	--navy-950: #050E1C;
	--navy-900: #0A1A30;
	--navy-800: #0F2541;
	--navy-700: #173556;
	--steel-500: #6E829C;
	--steel-300: #A9B8CB;
	--steel-100: #E3E9F1;
	--paper: #F3F5F8;
	--white: #FFFFFF;
	--ink: #0B1626;
	--ink-2: #3D4C60;
	--accent: #2B86DB;
	--accent-600: #1D6EBF;
	--accent-300: #86BFF2;
	--line: #DCE3EC;
	--line-dark: rgba(150, 182, 220, 0.16);

	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 4px;
	--shadow: 0 1px 2px rgba(10, 26, 48, .05), 0 12px 32px -12px rgba(10, 26, 48, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--white); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--accent); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografia sekcji ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-display); font-weight: 600; font-size: 15px;
	letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600);
	margin: 0 0 18px;
}
.eyebrow--light { color: var(--accent-300); }
.eyebrow__index {
	display: inline-flex; align-items: center; gap: 12px; color: var(--steel-500);
}
.eyebrow__index::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light .eyebrow__index { color: var(--steel-300); }

.section-title {
	font-family: var(--font-display); font-weight: 600;
	font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.005em;
	max-width: 22ch; text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 62ch; margin-top: 18px; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-title, .section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row .link-arrow { margin-bottom: clamp(36px, 4.4vw, 60px); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none;
	border-bottom: 1px solid var(--line); padding-bottom: 6px;
	transition: gap .25s var(--ease), border-color .25s;
}
.link-arrow:hover { gap: 14px; color: var(--accent-600); border-color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
	--btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border-radius: var(--radius);
	background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
	font: 700 15px/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-600); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.32); }
.btn--outline-light:hover { --btn-bd: var(--white); background: rgba(255,255,255,.06); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-fg: var(--accent-600); --btn-bd: var(--accent); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nagłówek ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 26, 48, .92);
	backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line-dark);
	color: var(--white);
	transition: background .3s;
}
.is-front .site-header:not(.is-scrolled) { background: rgba(5, 14, 28, .35); border-bottom-color: transparent; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand .logo-mark { width: 38px; height: 38px; color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .12em; }
.brand__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); margin-top: 5px; }
.custom-logo-link img { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 10px 12px; color: rgba(255,255,255,.82); text-decoration: none;
	font-size: 15px; font-weight: 600; border-radius: var(--radius); transition: color .2s, background .2s;
}
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a, .site-nav .menu .current-menu-ancestor > a, .site-nav .menu .current_page_parent > a { color: var(--white); background: rgba(255,255,255,.07); }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; padding: 8px;
	background: var(--navy-900); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.site-nav .menu li:hover > .sub-menu, .site-nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--white); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

@media (max-width: 1040px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
		background: var(--navy-950); padding: 20px var(--gutter) 32px; border-bottom: 1px solid var(--line-dark);
		max-height: calc(100vh - 76px); overflow-y: auto;
		opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: .25s var(--ease);
	}
	.admin-bar .site-nav { top: 108px; }
	.site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
	/* Podmenu dziedziczy widoczność z panelu – inaczej niewidoczne linki przechwytują dotknięcia na zamkniętym menu. */
	.site-nav .sub-menu,
	.site-nav .menu li:hover > .sub-menu,
	.site-nav .menu li:focus-within > .sub-menu { position: static; opacity: 1; visibility: inherit; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
	.is-front .site-header:not(.is-scrolled) { background: rgba(5, 14, 28, .85); }
}

/* ---------- Tła sekcji ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: 48px 0 0; }
.section--tight-top { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); }
.section--tight-y { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--white); overflow: hidden; }
.section--dark .section-lead { color: var(--steel-300); }
.section--dark .eyebrow { color: var(--accent-300); }
.section--dark .eyebrow__index { color: var(--steel-300); }
.section-grid-bg, .hero__grid, .page-hero__grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(var(--line-dark) 1px, transparent 1px),
		linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.section--dark > .container { position: relative; }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: var(--white); background: var(--navy-950);
	margin-top: -77px; padding-top: 77px; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .8; filter: saturate(.85) contrast(1.05); }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, var(--navy-950) 0%, rgba(5,14,28,.9) 36%, rgba(5,14,28,.35) 72%, rgba(5,14,28,.45) 100%),
		linear-gradient(0deg, var(--navy-950) 0%, transparent 35%);
}
.hero__grid { z-index: -1; mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%); }
.hero__coords {
	position: absolute; right: var(--gutter); top: 110px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
	font: 600 12px/1.3 var(--font-display); letter-spacing: .2em; color: var(--steel-300); opacity: .7;
}
.hero__inner {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center;
	padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__title {
	font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
	font-size: clamp(38px, 5.2vw, 68px); line-height: 1; margin-bottom: 20px; max-width: 18ch; text-wrap: balance;
}
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.82); max-width: 60ch; margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0; list-style: none; font: 600 14px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--steel-300); }
.hero__tags li { padding: 0 16px; border-left: 1px solid var(--line-dark); }
.hero__tags li:first-child { padding-left: 0; border-left: 0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(43,134,219,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,134,219,.6); } 70% { box-shadow: 0 0 0 10px rgba(43,134,219,0); } 100% { box-shadow: 0 0 0 0 rgba(43,134,219,0); } }

.hero__panel {
	border: 1px solid var(--line-dark); background: rgba(10, 26, 48, .55);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	padding: 24px 26px; border-radius: var(--radius); position: relative;
}
.hero__panel::before, .hero__panel::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); }
.hero__panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero__panel-label { font: 600 12px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-300); margin-bottom: 18px; }
.hero__stat { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 14px; line-height: 1.45; color: var(--steel-300); }
.hero__stat strong { display: block; font: 600 20px/1.15 var(--font-display); color: var(--white); margin-bottom: 2px; }
.hero__stat-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--accent-300); }
.hero__stat-icon .icon { width: 20px; height: 20px; }
.hero__stat-num { font: 600 40px/1 var(--font-display); color: var(--white); }
.hero__stat-txt { font-size: 14px; line-height: 1.4; color: var(--steel-300); }

.creds { border-top: 1px solid var(--line-dark); background: rgba(5, 14, 28, .7); }
.creds .container { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.creds__intro { margin: 0; font: 600 13px/1.35 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); max-width: 210px; flex: none; }
.creds__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; flex: 1; }
.creds__item { display: flex; align-items: center; gap: 12px; padding: 4px 20px; border-left: 1px solid var(--line-dark); }
.creds__item .icon { color: var(--accent); width: 26px; height: 26px; }
.creds__item strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.creds__item small { display: block; font-size: 12.5px; color: var(--steel-300); letter-spacing: .02em; }

@media (max-width: 1040px) {
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__panel { max-width: 520px; }
	.creds .container { flex-direction: column; align-items: flex-start; gap: 16px; }
	.creds__intro { max-width: none; }
	.creds__list { grid-template-columns: repeat(2, 1fr); width: 100%; row-gap: 14px; }
	.creds__item:nth-child(odd) { border-left: 0; padding-left: 0; }
	.hero__coords { display: none; }
}
@media (max-width: 560px) {
	.creds__list { grid-template-columns: 1fr; }
	.creds__item { border-left: 0; padding-left: 0; }
	.hero__tags li { padding: 4px 10px; }
	.hero__actions .btn { width: 100%; }
}

/* ---------- Wyzwanie ---------- */
.challenge__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.challenge__text > p { color: var(--ink-2); font-size: 18px; max-width: 56ch; }
.challenge__text strong { color: var(--ink); }
.readiness-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 28px; }
.readiness-tags li { font: 600 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-700); background: var(--white); }
.challenge__figure { position: relative; margin: 0; }
.challenge__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); isolation: isolate; }
.challenge__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; opacity: .75; filter: saturate(.8); }
.challenge__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
	background-size: 40px 40px;
}
.challenge__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(200deg, rgba(10,26,48,.15) 30%, rgba(10,26,48,.85) 100%); }
.challenge__scan {
	position: absolute; top: 22px; right: 22px; z-index: 2; list-style: none; width: 220px; padding: 16px 18px;
	background: rgba(5,14,28,.72); border: 1px solid var(--line-dark); border-radius: var(--radius);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; gap: 10px;
}
.challenge__scan li { display: grid; gap: 5px; }
.challenge__scan span { font: 600 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--steel-300); }
.challenge__scan i { display: block; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; position: relative; overflow: hidden; }
.challenge__scan i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--accent-600), var(--accent-300)); }
.challenge__figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.challenge__quote {
	position: absolute; left: -32px; bottom: 32px; max-width: 360px;
	background: var(--navy-900); color: var(--white); padding: 24px 26px; border-radius: var(--radius);
	font: 500 22px/1.25 var(--font-display); box-shadow: var(--shadow);
}
.challenge__quote strong { color: var(--accent-300); font-weight: 600; }
@media (max-width: 900px) {
	.challenge__inner { grid-template-columns: 1fr; }
	.challenge__scan { width: 180px; top: 14px; right: 14px; }
	.challenge__quote { position: relative; left: auto; bottom: auto; margin: -48px 16px 0; }
	.challenge__figure::before { display: none; }
}

/* ---------- Kafelki usług ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--white); padding: 32px 30px 28px; transition: background .25s; }
.service-card:hover { background: #FBFCFE; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.service-card:hover::before { width: 100%; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--navy-900); color: var(--accent-300); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__code { font: 600 44px/1 var(--font-display); color: var(--steel-100); transition: color .25s; }
.service-card:hover .service-card__code { color: var(--accent-300); }
.service-card__title { font: 600 25px/1.1 var(--font-display); margin-bottom: 10px; }
.service-card__title a { color: var(--ink); text-decoration: none; }
.service-card__lead { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.service-card__points { list-style: none; margin: 4px 0 22px; display: grid; gap: 7px; }
.service-card__points li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.service-card__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: var(--accent); }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent-600); }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }
.service-card__more .icon { transition: transform .25s var(--ease); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1040px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } .service-card { padding: 26px 22px; } }

/* ---------- Ścieżka transformacji ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.path__step { position: relative; padding: 30px 28px 32px 0; border-bottom: 1px solid var(--line-dark); }
.path__step:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.path__num { display: inline-block; font: 600 15px/1 var(--font-display); letter-spacing: .14em; color: var(--accent-300); margin-bottom: 14px; }
.path__num::after { content: ""; display: inline-block; width: 24px; height: 1px; background: currentColor; margin-left: 10px; vertical-align: middle; opacity: .6; }
.path__title { font: 600 24px/1.15 var(--font-display); margin-bottom: 8px; }
.path__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--steel-300); }
.path__step:hover .path__title { color: var(--accent-300); }
.transform__pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.transform__pillars > div { padding: 22px; background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.transform__pillars span { display: block; font: 600 12px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-300); margin-bottom: 10px; }
.transform__pillars strong { display: block; font: 600 20px/1.15 var(--font-display); margin-bottom: 8px; }
.transform__pillars p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--steel-300); }
@media (max-width: 1040px) {
	.path { grid-template-columns: repeat(2, 1fr); }
	.path__step:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.path__step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-dark); }
	.transform__pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.path { grid-template-columns: 1fr; }
	.path__step:nth-child(even) { padding-left: 0; border-left: 0; }
	.transform__pillars { grid-template-columns: 1fr; }
}

/* ---------- Szkolenia ---------- */
.academy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card {
	position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.course-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.course-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; min-height: 26px; }
.course-card__level { font: 600 13px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); padding: 6px 10px; background: rgba(43,134,219,.08); border-radius: var(--radius); }
.course-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.course-card__date .icon { width: 16px; height: 16px; }
.course-card__title { font: 600 24px/1.12 var(--font-display); margin-bottom: 10px; }
.course-card__title a { color: var(--ink); text-decoration: none; }
.course-card__excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.course-card__meta { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.course-card__meta div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.course-card__meta dt { color: var(--accent-600); flex: none; }
.course-card__meta dt .icon { width: 18px; height: 18px; margin-top: 2px; }
.course-card__meta dd { margin: 0; }
.funnel { display: flex; flex-wrap: wrap; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.funnel span {
	flex: 1 1 auto; position: relative; text-align: center; padding: 16px 14px 16px 26px;
	font: 600 14px/1.1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-700); background: var(--paper);
}
.funnel span:first-child { padding-left: 16px; background: var(--navy-900); color: var(--white); }
.funnel span:not(:last-child)::after {
	content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; z-index: 1;
	background: inherit; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
	transform: translateY(-50%) rotate(45deg);
}
.funnel span:first-child::after { border-color: var(--navy-900); }
@media (max-width: 1040px) { .academy__grid { grid-template-columns: repeat(2, 1fr); } .funnel span { flex-basis: 33%; } .funnel span::after { display: none; } }
@media (max-width: 640px) { .academy__grid { grid-template-columns: 1fr; } .funnel span { flex-basis: 50%; padding: 12px; } }

.academy-info { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.academy-info__box { background: var(--navy-900); color: var(--white); padding: 36px; border-radius: var(--radius); }
.academy-info__box .eyebrow { color: var(--accent-300); }
.academy-info__big { font: 600 32px/1.08 var(--font-display); }
.academy-info__box p:not(.eyebrow):not(.academy-info__big) { color: var(--steel-300); }
@media (max-width: 900px) { .academy-info { grid-template-columns: 1fr; } }

/* ---------- Dla kogo ---------- */
.audience__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.audience__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.audience__list li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; line-height: 1.4; display: flex; gap: 12px; }
.audience__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; background: var(--accent); transform: rotate(45deg); }
.audience__why { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); align-self: start; }
.audience__why-title { font: 600 30px/1.1 var(--font-display); margin-bottom: 22px; }
.audience__note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel-500); }
@media (max-width: 900px) { .audience__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .audience__list { grid-template-columns: 1fr; } }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.checklist strong { color: var(--ink); }
.checklist .icon { color: var(--white); background: var(--accent); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; stroke-width: 2.4; }

/* ---------- Dokumenty ---------- */
.docs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card { display: grid; grid-template-columns: 128px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.doc-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.doc-card__cover { position: relative; background: var(--navy-900); display: flex; align-items: center; justify-content: center; min-height: 160px; overflow: hidden; }
.doc-card__img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; object-position: center; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); transition: transform .35s var(--ease); }
.doc-card:hover .doc-card__img { transform: scale(1.04) rotate(-1deg); }
.doc-card__ext { font: 700 22px/1 var(--font-display); letter-spacing: .1em; color: var(--white); padding: 18px 10px; border: 1px solid var(--line-dark); }
.doc-card__lock { position: absolute; top: 8px; right: 8px; background: var(--accent); color: var(--white); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.doc-card__lock .icon { width: 15px; height: 15px; }
.doc-card__body { padding: 20px 20px 18px; display: flex; flex-direction: column; min-width: 0; }
.doc-card__cat { font: 600 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 8px; }
.doc-card__title { font: 600 21px/1.15 var(--font-display); margin-bottom: 8px; }
.doc-card__title a { color: var(--ink); text-decoration: none; }
.doc-card__title a:hover { color: var(--accent-600); }
.doc-card__excerpt { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.doc-card__info { font-size: 13px; font-weight: 700; color: var(--steel-500); letter-spacing: .04em; }
@media (max-width: 1100px) { .docs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .docs__grid { grid-template-columns: 1fr; } .doc-card { grid-template-columns: 104px 1fr; } }

.doc-toolbar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--spaced { margin-bottom: 36px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
	transition: border-color .2s, background .2s, color .2s;
}
.chip span { font-size: 12px; color: var(--steel-500); }
.chip:hover { border-color: var(--accent); color: var(--accent-600); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip.is-active span { color: var(--steel-300); }
.doc-search { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); }
.doc-search .icon { position: absolute; left: 14px; color: var(--steel-500); width: 18px; height: 18px; }
.doc-search input { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 15px; background: var(--white); }
.doc-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,134,219,.15); }
.doc-search--wide { max-width: 560px; margin-bottom: 32px; }
.pdf-frame { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.pdf-frame iframe { display: block; width: 100%; height: 78vh; min-height: 520px; border: 0; }

/* ---------- Artykuły ---------- */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--navy-900); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder {
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: rgba(134,191,242,.35);
	background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
	background-size: 32px 32px;
}
.post-card__placeholder .logo-mark { width: 64px; height: 64px; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--steel-500); font-weight: 600; margin-bottom: 10px; flex-wrap: wrap; }
.post-card__cat { color: var(--accent-600); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.post-card__title { font: 600 24px/1.12 var(--font-display); margin-bottom: 10px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--accent-600); }
.post-card__excerpt { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0; }
@media (max-width: 1040px) { .posts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts__grid { grid-template-columns: 1fr; } }

.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; padding: 0 12px; }
.page-numbers.current { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ---------- Kontakt ---------- */
.contact-section__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-steps { list-style: none; counter-reset: c; margin: 32px 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-steps li { counter-increment: c; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--steel-300); font-size: 15.5px; }
.contact-steps li::before { content: "0" counter(c); font: 600 15px/1.6 var(--font-display); letter-spacing: .1em; color: var(--accent-300); }
.contact-steps strong { color: var(--white); font-weight: 700; }
.contact-direct { list-style: none; display: grid; gap: 12px; }
.contact-direct li { display: flex; gap: 12px; align-items: center; color: var(--steel-300); }
.contact-direct .icon { color: var(--accent-300); }
.contact-direct a { color: var(--white); text-decoration: none; font-weight: 700; }
.contact-direct a:hover { color: var(--accent-300); }
.contact-section__form { background: var(--white); color: var(--ink); padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
@media (max-width: 960px) { .contact-section__inner { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span:first-child { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field > span:first-child em { font-style: normal; font-weight: 500; color: var(--steel-500); }
.field__hint { font-size: 12.5px; line-height: 1.45; color: var(--steel-500); }
.field__error { font-size: 13px; font-weight: 700; color: #A12626; }
.field [aria-invalid="true"] { border-color: #C23B3B; background: #FFF7F7; }
.form-status:focus { outline: none; }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
	font: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(43,134,219,.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-bottom: 22px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-note { font-size: 13px; color: var(--steel-500); margin: 16px 0 0; }
.form-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; font-weight: 600; }
.form-notice--ok { background: #E8F4EC; color: #1C6B3A; }
.form-notice--err { background: #FCEDED; color: #A12626; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

/* ---------- Podstrony ---------- */
.page-hero { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .35; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-900) 25%, rgba(10,26,48,.55) 100%); }
.page-hero__grid { z-index: -1; }
.page-hero__inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.6vw, 72px); line-height: 1; max-width: 20ch; text-wrap: balance; margin-bottom: 20px; }
.page-hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.78); max-width: 64ch; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--steel-300); align-items: center; }
.page-hero--compact .page-hero__inner { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(28px, 3vw, 40px); }
.page-hero--compact .page-hero__title { font-size: clamp(34px, 4vw, 52px); margin-bottom: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--steel-500); }
.breadcrumbs a { color: var(--steel-300); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.layout-article { max-width: 820px; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.aside-card--accent { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.aside-card--accent p { color: var(--steel-300); font-size: 15px; }
.aside-card__icon { display: inline-flex; color: var(--accent-300); margin-bottom: 12px; }
.aside-card__icon .icon { width: 32px; height: 32px; }
.aside-card__title { font: 600 26px/1.1 var(--font-display); }
.aside-card__label { font: 600 13px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 16px; }
.aside-list { list-style: none; }
.aside-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a .icon { width: 16px; height: 16px; color: var(--steel-500); transition: transform .2s, color .2s; }
.aside-list a:hover { color: var(--accent-600); }
.aside-list a:hover .icon { transform: translateX(3px); color: var(--accent); }
.facts { display: grid; gap: 0; margin: 0 0 22px; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); margin-bottom: 4px; }
.facts dt .icon { width: 16px; height: 16px; color: var(--accent); }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.facts--inline { display: flex; gap: 40px; flex-wrap: wrap; margin: 0; }
.facts--inline div { border: 0; padding: 0; }
.cred-list { list-style: none; display: grid; gap: 14px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; }
.cred-list .icon { color: var(--accent); margin-top: 2px; }
.cred-list strong { display: block; font-size: 15px; }
.cred-list small { color: var(--steel-500); font-size: 13px; }
.company-data { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; }
.company-data__name { font: 600 28px/1.1 var(--font-display); margin-bottom: 6px; }
@media (max-width: 1040px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--navy-900); padding-top: 20px; }
.steps span { font: 600 15px/1 var(--font-display); letter-spacing: .14em; color: var(--accent-600); }
.steps h3 { font: 600 22px/1.15 var(--font-display); margin: 10px 0 8px; }
.steps p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.empty-state { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.search-results { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.search-results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.search-results__type { display: block; font: 600 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 6px; }
.search-results a { font: 600 24px/1.2 var(--font-display); color: var(--ink); text-decoration: none; }
.search-results p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Treść (prose) ---------- */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font: 600 clamp(28px, 3vw, 36px)/1.1 var(--font-display); color: var(--ink); margin-top: 1.8em; margin-bottom: .1em; }
.prose h3 { font: 600 24px/1.15 var(--font-display); color: var(--ink); margin-top: 1.6em; margin-bottom: 0; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .45em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 10px; height: 1.5px; background: var(--accent); }
.prose ol { counter-reset: o; }
.prose ol li { counter-increment: o; position: relative; padding-left: 40px; }
.prose ol li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 600 16px/1.75 var(--font-display); color: var(--accent-600); letter-spacing: .06em; }
.prose blockquote { margin: 1.6em 0; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--paper); font: 500 24px/1.3 var(--font-display); color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper); color: var(--ink); }
.prose .lead, .prose .has-large-font-size { font-size: 20px; color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose .flow { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px; background: var(--navy-900); border-radius: var(--radius); }
.prose .flow span { font: 600 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--white); padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.prose .callout { padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--white); }
.prose--article { font-size: 18px; }
.entry-thumb { margin: 0 0 2em; }
.entry-thumb img { border-radius: var(--radius); }
.article-cta { margin-top: 3em !important; padding: 32px; background: var(--navy-900); border-radius: var(--radius); color: var(--white); }
.article-cta .eyebrow { color: var(--accent-300); margin-bottom: 10px; }
.article-cta__title { font: 600 28px/1.12 var(--font-display); color: var(--white); margin-bottom: 20px !important; }
.entry-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; background: var(--paper); border-radius: 999px; font-size: 13px; text-decoration: none; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding: 72px 0 28px; font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__claim { margin: 20px 0; font: 500 20px/1.3 var(--font-display); color: var(--white); }
.site-footer__title { font: 600 13px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer__list { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact { list-style: none; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.site-footer__contact .icon { color: var(--accent); margin-top: 2px; }
.social-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.site-footer__creds { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.site-footer__creds li { font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; }
.site-footer__creds span { color: var(--white); font-weight: 700; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- Widgety / komentarze ---------- */
.widget { margin-bottom: 32px; }
.comment-list { list-style: none; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Druk ---------- */
@media print {
	.site-header, .site-footer, .contact-section, .article-cta, .aside { display: none !important; }
	.page-hero { background: none; color: #000; }
}

/* Tabele z edytora blokowego */
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-table table { border-collapse: collapse; min-width: 520px; }
.prose .wp-block-table th, .prose .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .wp-block-table thead { border-bottom: 2px solid var(--navy-900); }
.prose .wp-block-table thead th { background: transparent; font: 600 14px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); }
.prose .wp-block-table tbody td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }


/* ==========================================================================
   Wersja 2 – bloki po audycie
   ========================================================================== */
.hero__benefits { list-style: none; display: grid; gap: 8px; margin: 0 0 28px; }
.hero__benefits li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--white); font-size: 15.5px; }
.hero__benefits .icon { color: var(--accent-300); width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.2; }
.hero__note { margin: 0; font-size: 14px; color: var(--steel-300); max-width: 60ch; }
.hero__panel-label { margin-bottom: 6px; }

/* Wiarygodność */
.proof__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.proof__title { font: 600 24px/1.1 var(--font-display); margin: 0; }
.proof__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); }
.proof__item { display: flex; gap: 12px; padding: 18px 20px; border-left: 1px solid var(--line); min-width: 0; }
.proof__item:first-child { border-left: 0; }
.proof__item .icon { color: var(--accent); width: 24px; height: 24px; margin-top: 2px; }
.proof__item strong { display: block; font-size: 15px; line-height: 1.3; }
.proof__item span { display: block; font-size: 13px; color: var(--steel-500); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 1040px) { .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof__item:nth-child(3) { border-left: 0; } .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .proof__list { grid-template-columns: 1fr; } .proof__item { border-left: 0; } .proof__item + .proof__item { border-top: 1px solid var(--line); } }

/* Wybór sytuacji */
.situations__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.situation, .knowledge__article { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.situation:hover, .knowledge__article:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.situation__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--navy-900); color: var(--accent-300); }
.situation__title, .knowledge__article h3 { font: 600 24px/1.12 var(--font-display); margin: 6px 0 0; }
.situation__title a, .knowledge__article h3 a { color: var(--ink); text-decoration: none; }
.situation p, .knowledge__article p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.situation__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent-600); }
.situations__for { margin: 28px 0 0; font-size: 15px; color: var(--ink-2); max-width: 80ch; }
@media (max-width: 900px) { .situations__grid { grid-template-columns: 1fr; } }

/* Karta usługi – rezultat */
.service-card__result { margin: 0 0 22px; padding: 12px 14px; background: var(--paper); border-radius: var(--radius); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.service-card__result span { display: block; font: 600 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 6px; }
.service-card__code { font-size: 32px; }

/* Jak pracujemy */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.flow-steps li { padding: 26px 24px 28px 0; position: relative; }
.flow-steps li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.flow-steps__num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-300); font: 600 16px/1 var(--font-display); margin-bottom: 14px; }
.flow-steps h3 { font: 600 24px/1.1 var(--font-display); margin-bottom: 8px; }
.flow-steps p { margin: 0; font-size: 15px; color: var(--steel-300); }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.mode { padding: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; flex-direction: column; }
.mode h3 { font: 600 22px/1.15 var(--font-display); margin-bottom: 10px; }
.mode p { font-size: 15px; color: var(--steel-300); }
.mode__result { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--white) !important; font-size: 14px !important; }
.mode__result span { display: block; font: 600 12px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-300); margin-bottom: 6px; }
.areas { margin-top: 36px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.areas > summary { cursor: pointer; padding: 18px 22px; font: 600 19px/1.2 var(--font-display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.areas > summary::-webkit-details-marker { display: none; }
.areas > summary::after { content: "+"; font-size: 26px; color: var(--accent-300); line-height: 1; }
.areas[open] > summary::after { content: "−"; }
.areas > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.areas__intro { padding: 0 22px; color: var(--steel-300); font-size: 15px; }
.areas .path { margin: 0 22px 22px; }
@media (max-width: 1040px) { .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-steps li:nth-child(3) { padding-left: 0; border-left: 0; } .modes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } .flow-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); } }

/* Wiedza na stronie głównej */
.knowledge { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.knowledge .eyebrow { margin: 0; }
.knowledge__all { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 900px) { .knowledge { grid-template-columns: 1fr; } }

/* Zespół */
.experts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.experts--compact { margin: 24px 0 0; }
.expert { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.expert__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--navy-900); color: var(--accent-300); display: flex; align-items: center; justify-content: center; font: 600 28px/1 var(--font-display); }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.expert__name { font: 600 21px/1.15 var(--font-display); margin: 0 0 2px; }
.expert__role { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-600); }
.expert__bio { margin: 0 0 8px; font-size: 14.5px; color: var(--ink-2); }
.expert__areas { list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.expert__areas li::before { content: "– "; color: var(--accent); }
@media (max-width: 900px) { .experts { grid-template-columns: 1fr; } }

/* Podstrona usługi */
.service-body { display: grid; gap: 40px; min-width: 0; }
.service-block h2 { font: 600 clamp(26px, 2.6vw, 32px)/1.1 var(--font-display); margin-bottom: 12px; }
.service-block p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0 0 10px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; font-size: 16.5px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--accent); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding-right: 36px; }
.disclaimer { border-left: 3px solid var(--steel-300); background: var(--paper); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.disclaimer p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.terms { display: grid; gap: 0; margin: 0; }
.terms div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; font-size: 14.5px; }
.terms dd { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .terms div { grid-template-columns: 1fr; gap: 4px; } }
.aside-card__text { font-size: 14.5px; color: var(--ink-2); }
.cred-list + .link-arrow { margin-top: 16px; }

/* Formularz i kontakt */
.contact-steps__title { font: 600 18px/1.2 var(--font-display); color: var(--white); margin: 28px 0 0; letter-spacing: .02em; }
.contact-section--compact { padding-top: clamp(32px, 4vw, 48px); }
.contact-section--compact .contact-steps__title { margin-top: 0; }
.contact-form [disabled] { opacity: .7; cursor: progress; }

/* O firmie – tabela uprawnień */
.creds-table__title { font: 600 24px/1.15 var(--font-display); margin: 8px 0 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.creds-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.creds-table th, .creds-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.creds-table thead th { font: 600 13px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); background: var(--paper); }
.creds-table tbody tr:last-child > * { border-bottom: 0; }
.creds-table__note { margin: 12px 0 0; font-size: 13.5px; color: var(--steel-500); }

/* Artykuł: źródła i kolejny krok */
.sources { margin-top: 2.4em !important; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 15px; }
.sources h2 { font-size: 24px !important; margin-top: 0 !important; }
.sources ol li::before { font-size: 14px; }
.sources__note { font-size: 13.5px; color: var(--steel-500); }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stopka */
.site-footer__legal { max-width: 90ch; line-height: 1.6; }
.site-footer__links { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; }
.service-block .checklist + p { margin-top: 14px; }
