/* ==========================================================================
   MODULOR - style motywu
   --------------------------------------------------------------------------
   1. Tokeny
   2. Baza i typografia
   3. Układ i elementy wspólne (przyciski, nagłówki sekcji, zdjęcia)
   4. Topbar, nagłówek, menu, menu mobilne
   5. Strona główna (hero, liczby, o firmie, usługi, proces)
   6. Realizacje (karty, lista, pojedyncza)
   7. Referencje i opinia
   8. CTA i stopka
   9. Podstrony (nagłówek, treść z edytora, kontakt, paginacja)
   10. Responsywność
   ========================================================================== */

/* 1. Tokeny ------------------------------------------------------------- */
:root {
	--a1: #EF9A39;      /* pomarańcz z logo */
	--a2: #D9822A;      /* pomarańcz - hover */
	--a3: #034974;      /* niebieski z logo - linki */
	--k1: #0B2D45;      /* granat - nagłówki, ciemne sekcje */
	--k2: #2A3B48;      /* tekst */
	--k3: #5B6776;      /* tekst pomocniczy */
	--k4: #8A94A3;      /* metadane */
	--p1: #E6EAF0;      /* linie */
	--p2: #F4F6F8;      /* jasne sekcje */
	--p3: #FFFFFF;      /* tło */
	--dark2: #082336;   /* dolny pasek stopki */

	--font-head: "Montserrat", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: 24px;
	--radius: 6px;
	--skew: -20deg;
	--shadow: 0 24px 48px -20px rgba(11, 45, 69, .28);
	--shadow-sm: 0 12px 28px -16px rgba(11, 45, 69, .22);
	--header-h: 88px;
}

/* 2. Baza i typografia -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--k2);
	background: var(--p3);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-head);
	color: var(--k1);
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--a1); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; overflow: visible; }

.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: -100px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--a1);
	color: var(--k1);
	font-weight: 600;
	border-radius: 4px;
}
.skip-link:focus { top: 16px; }

/* 3. Układ i elementy wspólne ------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { position: relative; padding: clamp(72px, 8vw, 120px) 0; }
.bg-light { background: var(--p2); }
.bg-dark { background: var(--k1); color: rgba(255, 255, 255, .78); }
.bg-dark h2, .bg-dark h3 { color: #fff; }

/* nadtytuł */
.eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--a2);
}
.eyebrow::before {
	content: "";
	flex: none;
	width: 26px;
	height: 3px;
	background: var(--a1);
	transform: skewX(var(--skew));
}
.bg-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--a1); }

/* nagłówek sekcji */
.sec-head {
	display: grid;
	grid-template-columns: 1fr minmax(0, 420px);
	gap: 24px 64px;
	align-items: end;
	margin-bottom: 56px;
}
.sec-aside { display: grid; gap: 14px; justify-items: start; }
.sec-aside p { color: var(--k3); }
.bg-dark .sec-aside p { color: rgba(255, 255, 255, .7); }
.sec-aside:only-child, .sec-head > div + .sec-aside:not(:has(p)) { justify-items: end; }

/* przyciski */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--a1); color: var(--k1); }
.btn-primary:hover { background: var(--a2); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--k1); }
.btn-dark { background: var(--k1); color: #fff; }
.btn-dark:hover { background: var(--dark2); }
.btn-outline { border-color: var(--k1); color: var(--k1); }
.btn-outline:hover { background: var(--k1); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	color: var(--a3);
	white-space: nowrap;
}
.link .icon { width: 16px; height: 16px; }
.link:hover { color: var(--a2); }
.bg-dark .link { color: var(--a1); }

/* zdjęcia wypełniające kontener */
.photo { position: relative; overflow: hidden; background: #6b7785; }
.photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	color: transparent; /* ukrywa alt, gdy obrazek się nie wczyta */
}

/* 4. Topbar, nagłówek, menu --------------------------------------------- */
.topbar { background: var(--k1); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; gap: 28px; }
.topbar a:hover { color: var(--a1); }
.topbar-notice { margin-left: auto; color: #fff; font-weight: 500; }
.topbar-notice span { color: var(--a1); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--p1);
}
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand .logo-img { width: auto; height: 52px; }

.nav-menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 32px 0 30px;
	border-bottom: 2px solid transparent;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--k1);
}
.nav-menu > li > a .icon { width: 12px; height: 12px; stroke-width: 3; }
.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a,
.nav-menu > .current-menu-parent > a { border-color: var(--a1); }
.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -24px;
	min-width: 230px;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--p1);
	border-top: 3px solid var(--a1);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-sm);
	display: none;
}
/* Gdy podmenu jest otwarte, kreskę pod pozycją zastępuje górna krawędź podmenu. */
.nav-menu > .menu-item-has-children:hover > a,
.nav-menu > .menu-item-has-children:focus-within > a { border-color: transparent; }
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display: block; }
.nav-menu .sub-menu a {
	display: block;
	padding: 10px 24px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--k1);
}
.nav-menu .sub-menu a { position: relative; }
.nav-menu .sub-menu a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--a1); opacity: 0; transition: opacity .2s; }
.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu .current-menu-item > a { background: var(--p2); color: var(--a3); }
.nav-menu .sub-menu a:hover::before,
.nav-menu .sub-menu .current-menu-item > a::before { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header-tel small { font-size: 12px; color: var(--k3); }
.header-tel strong { font-family: var(--font-head); font-size: 17px; color: var(--k1); white-space: nowrap; }
.header-tel:hover strong { color: var(--a3); }
.icon-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--call { background: var(--a1); color: var(--k1); }
.icon-btn--menu { background: var(--k1); color: #fff; }

/* menu mobilne */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	padding: 20px 24px 32px;
	overflow-y: auto;
	background: var(--k1);
}
.drawer[hidden] { display: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-top .logo-img { width: auto; height: 44px; }
.drawer-close {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background: none;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
}
.drawer-close .icon { width: 22px; height: 22px; }
.drawer-menu { list-style: none; }
.drawer-menu a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}
.drawer-menu .sub-menu { list-style: none; }
.drawer-menu .sub-menu a { padding-left: 20px; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.drawer-menu .current-menu-item > a { color: var(--a1); }
.drawer > .btn { margin-top: 32px; }
.drawer-info { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .65); }
body.drawer-open { overflow: hidden; }

/* 5. Strona główna ------------------------------------------------------ */

/* hero */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(86vh, 820px);
	padding: 120px 0 176px;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}
.hero > .photo { position: absolute; inset: 0; z-index: -2; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 35, 54, .95) 0%, rgba(11, 45, 69, .82) 34%, rgba(11, 45, 69, .35) 68%, rgba(11, 45, 69, .12) 100%),
		linear-gradient(0deg, rgba(8, 35, 54, .55) 0%, rgba(8, 35, 54, 0) 40%);
}
.hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 9%;
	z-index: -1;
	width: 14%;
	background: linear-gradient(180deg, rgba(239, 154, 57, .22), rgba(239, 154, 57, 0) 80%);
	transform: skewX(var(--skew));
}
.hero-content { max-width: 860px; }
.hero h1 { margin-bottom: 24px; color: #fff; text-wrap: initial; }
.hero h1 span { color: var(--a1); }
.hero .lead { max-width: 590px; margin-bottom: 40px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .85); }
.hero-caption {
	position: absolute;
	right: var(--gutter);
	bottom: 124px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, .72);
}
.hero-caption::before { content: ""; width: 8px; height: 8px; background: var(--a1); transform: rotate(45deg); }

/* liczby */
.stats { position: relative; z-index: 5; margin-top: -88px; }
.stats-card {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.stats-card::before { content: ""; position: absolute; top: 0; left: 0; width: 25%; height: 4px; background: var(--a1); }
.stat { padding: 38px 32px 34px; }
.stat + .stat { border-left: 1px solid var(--p1); }
.stat strong {
	display: block;
	margin-bottom: 10px;
	font-family: var(--font-head);
	font-size: clamp(30px, 2.9vw, 40px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--k1);
	white-space: nowrap;
}
.stat strong em { font-style: normal; color: var(--a1); }
.stat strong small { font-size: .55em; letter-spacing: -.01em; }
.stat p { font-size: 14.5px; line-height: 1.5; color: var(--k3); }

/* o firmie */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 18px; }
.checklist { display: grid; gap: 14px; margin: 30px 0 38px; list-style: none; }
.checklist li { display: flex; gap: 14px; font-weight: 500; color: var(--k1); }
.checklist li::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-top: 8px;
	background: var(--a1);
	transform: skewX(var(--skew));
}
.about-visual { position: relative; padding: 0 0 48px 56px; }
.about-visual .photo--main { aspect-ratio: 4 / 5; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); }
.about-visual .photo--second {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44%;
	aspect-ratio: 1;
	clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.about-visual .photo--second::after { content: ""; position: absolute; inset: 0; background: rgba(3, 73, 116, .4); }
.year-badge {
	position: absolute;
	top: 9%;
	right: 2%;
	max-width: 190px;
	padding: 22px 26px;
	background: var(--k1);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .8);
}
.year-badge strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-head);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	color: var(--a1);
}
.about-bar {
	position: absolute;
	right: 8%;
	bottom: 18px;
	width: 36%;
	height: 16px;
	background: var(--a1);
	transform: skewX(var(--skew));
}

/* usługi */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 30px 34px;
	background: #fff;
	border: 1px solid var(--p1);
	border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s;
}
.service:hover { border-color: var(--a1); box-shadow: var(--shadow-sm); }
.service-no { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--k4); }
.service-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; }
.service-icon::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 3px;
	background: rgba(239, 154, 57, .16);
	transform: skewX(-12deg);
}
.service-icon .icon { position: relative; width: 28px; height: 28px; stroke-width: 1.8; color: var(--a3); }
.service h3 { margin-bottom: 12px; }
.service p { font-size: 15.5px; color: var(--k3); }

/* proces */
.process { overflow: hidden; }
.process::before {
	content: "";
	position: absolute;
	top: -10%;
	right: -6%;
	width: 34%;
	height: 120%;
	background: rgba(255, 255, 255, .035);
	transform: skewX(var(--skew));
}
.process .wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; }
.steps::before {
	content: "";
	position: absolute;
	top: 33px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--a1), rgba(239, 154, 57, .12));
}
.step-num { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 28px; background: var(--k1); }
.step-num::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--a1); transform: skewX(-14deg); }
.step-num b { position: relative; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--a1); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15.5px; }

/* 6. Realizacje --------------------------------------------------------- */
.projects { display: grid; gap: 24px; }
.projects--home { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(300px, auto)); }
.projects--grid { grid-template-columns: repeat(3, 1fr); }

.project {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 300px;
	border-radius: var(--radius);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}
.projects--grid .project { min-height: 420px; }
.project.is-featured { grid-row: span 2; min-height: 624px; }
.project > .photo { position: absolute; inset: 0; z-index: -2; }
.project::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(8, 35, 54, .94) 0%, rgba(8, 35, 54, .45) 50%, rgba(8, 35, 54, .05) 100%);
	transition: background-color .2s;
}
.project:hover::before { background-color: rgba(8, 35, 54, .2); }
.project::after {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;
	width: 72px;
	height: 6px;
	background: var(--a1);
	transform: skewX(var(--skew));
}
.project-body { width: 100%; padding: 32px; }
.project-type {
	display: block;
	margin-bottom: 10px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--a1);
}
.project-title { margin-bottom: 8px; font-size: 21px; font-weight: 700; color: #fff; }
.project.is-featured .project-title { font-size: clamp(24px, 2.3vw, 30px); }
.project p { max-width: 460px; margin-bottom: 20px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.project-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
}
.project-meta strong { font-family: var(--font-head); font-weight: 700; color: #fff; }
.project-go { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--font-head); font-weight: 700; color: var(--a1); }
.project-go .icon { width: 16px; height: 16px; }

/* inwestycja w toku */
.current {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.current > .photo { min-height: 460px; }
.status-badge {
	position: absolute;
	top: 24px;
	left: 24px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 3px;
	background: var(--a1);
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--k1);
}
.status-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--k1); }
.status-badge--inline { position: static; margin-left: 8px; }
.current-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4.5vw, 56px); }
.current-body h3 { margin-bottom: 14px; font-size: clamp(22px, 2vw, 27px); }
.current-body > p { color: var(--k3); }
.current-body .btn { align-self: flex-start; }
.facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 28px 0 32px;
	background: var(--p1);
	border: 1px solid var(--p1);
	border-radius: var(--radius);
	overflow: hidden;
}
.facts div { padding: 16px 18px; background: #fff; }
.facts dt, .facts-card dt {
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--k4);
}
.facts dd, .facts-card dd { margin: 0; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--k1); }

/* lista realizacji: zakładki */
.section--list { padding-top: 56px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tabs a {
	padding: 10px 20px;
	border: 1px solid var(--p1);
	border-radius: 4px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--k1);
	transition: border-color .2s, background-color .2s, color .2s;
}
.tabs a:hover { border-color: var(--k1); }
.tabs a.is-active { background: var(--k1); border-color: var(--k1); color: #fff; }
.empty { color: var(--k3); }

/* pojedyncza realizacja */
.project-hero { min-height: min(70vh, 640px); }
.breadcrumbs { margin-bottom: 22px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); }
.breadcrumbs a:hover { color: var(--a1); }
.breadcrumbs .separator { margin: 0 6px; color: var(--a1); }
.breadcrumbs .last { color: rgba(255, 255, 255, .6); }
.back-link { display: inline-block; margin-bottom: 24px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.back-link:hover { color: var(--a1); }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.project-layout--bare { grid-template-columns: minmax(0, 560px); }
.project-layout--bare .project-main { display: none; }
.project-layout > *, .contact-layout > *, .about-page > * { min-width: 0; }
.project-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.facts-card { padding: 28px; background: var(--p2); border-radius: var(--radius); border-top: 4px solid var(--a1); }
.facts-card h2 { margin-bottom: 18px; font-size: 18px; }
.facts-card dl { display: grid; gap: 14px; margin: 0; }
.facts-card dl div + div { padding-top: 14px; border-top: 1px solid var(--p1); }
.aside-cta { padding: 28px; background: var(--k1); border-radius: var(--radius); color: #fff; }
.aside-cta p { margin-bottom: 16px; font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.aside-cta .btn { width: 100%; }

/* 7. Referencje, opinie, galeria, modal ------------------------------ */
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.refs--grid { row-gap: 44px; }
.ref { display: block; min-width: 0; }
.ref-doc {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1.38;
	background: #fff;
	border: 1px solid var(--p1);
	border-radius: 4px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}
.ref:hover .ref-doc { border-color: var(--a1); box-shadow: var(--shadow); }
.ref-doc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ref-zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 12px;
	background: rgba(11, 45, 69, 0);
	transition: background-color .2s;
}
.ref-zoom > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 11px;
	border-radius: 19px;
	background: var(--k1);
	color: #fff;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
.ref-zoom .icon { width: 16px; height: 16px; flex: none; }
.ref-zoom > span { max-width: 38px; overflow: hidden; transition: max-width .25s, background-color .2s; }
.ref:hover .ref-zoom { background: rgba(11, 45, 69, .18); }
.ref:hover .ref-zoom > span, .ref:focus-visible .ref-zoom > span { max-width: 140px; background: var(--a1); color: var(--k1); }
.ref-title { display: block; margin-top: 16px; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--k1); }
.ref-meta { display: block; margin-top: 3px; font-size: 13px; color: var(--k4); }

/* przyciski karuzel (wspólne) */
.slider-btn {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--p1);
	border-radius: 50%;
	background: #fff;
	color: var(--k1);
	cursor: pointer;
	transition: border-color .2s, background-color .2s, color .2s, opacity .2s;
}
.slider-btn:hover { border-color: var(--k1); background: var(--k1); color: #fff; }
.slider-btn .icon { width: 18px; height: 18px; }
.slider-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.slider-nav { display: flex; gap: 10px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dots button {
	width: 26px;
	height: 6px;
	padding: 0;
	border: 0;
	background: var(--p1);
	transform: skewX(var(--skew));
	cursor: pointer;
	transition: background-color .2s, width .2s;
}
.slider-dots button[aria-current="true"] { width: 40px; background: var(--a1); }

/* opinie - karty w karuzeli */
.testimonials { margin-top: 88px; }
.testimonials-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.testimonials-title { font-size: 22px; }
.testimonials-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 24px) / 2);
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials.is-single .testimonials-track { grid-auto-columns: 100%; }
.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 32px 34px 30px;
	background: var(--p2);
	border-radius: var(--radius);
	border-top: 4px solid var(--a1);
	scroll-snap-align: start;
}
.testimonial-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.testimonial-mark { font-family: var(--font-head); font-size: 76px; font-weight: 800; line-height: .7; color: var(--a1); height: 38px; }
.testimonial blockquote {
	flex: 1;
	margin: 0 0 26px;
	font-family: var(--font-head);
	font-size: clamp(17px, 1.5vw, 19px);
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: -.005em;
	color: var(--k1);
}
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--p1); }
.testimonial-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--k1);
	color: #fff;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 800;
}
.testimonial-avatar.has-photo { overflow: hidden; background: var(--p1); }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--k1); }
.testimonial figcaption small { display: block; font-size: 13.5px; color: var(--k3); }
.stars { display: flex; gap: 3px; color: var(--a1); }
.stars .icon { width: 16px; height: 16px; }

/* film realizacji */
.pvideo { margin-bottom: 28px; }
.pvideo video, .pvideo iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.pvideo-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--k1); cursor: pointer; }
.pvideo-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pvideo-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 35, 54, .75), rgba(8, 35, 54, .2)); }
.pvideo-btn { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--a1); color: var(--k1); box-shadow: var(--shadow); transition: background-color .2s; }
.pvideo-btn .icon { width: 34px; height: 34px; margin-left: 4px; }
.pvideo-play:hover .pvideo-btn { background: #fff; }
.pvideo-label { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; }
.pvideo-note { margin-top: 8px; font-size: 12.5px; color: var(--k4); }

/* galeria realizacji - karuzela z miniaturami */
.pgallery { margin-bottom: 48px; }
.pgallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--k1); }
.pgallery-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.pgallery-track::-webkit-scrollbar { display: none; }
.pgallery-slide { position: relative; display: block; aspect-ratio: 3 / 2; scroll-snap-align: start; cursor: zoom-in; }
.pgallery-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pgallery-zoom {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(11, 45, 69, .75);
	color: #fff;
	pointer-events: none;
}
.pgallery-zoom .icon { width: 18px; height: 18px; }
.pgallery-stage .slider-btn { position: absolute; top: 50%; margin-top: -24px; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.pgallery-stage .slider-btn:hover { background: var(--a1); color: var(--k1); }
.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }
.pgallery-count {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 5px 12px;
	border-radius: 14px;
	background: rgba(11, 45, 69, .8);
	color: #fff;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	pointer-events: none;
}
.pgallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pgallery-thumbs button {
	flex: none;
	width: 92px;
	height: 68px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	background: var(--p2);
	opacity: .6;
	cursor: pointer;
	transition: opacity .2s, border-color .2s;
}
.pgallery-thumbs button:hover { opacity: 1; }
.pgallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--a1); }
.pgallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.project-desc { max-width: 720px; font-size: 18px; }
.project-desc h2 { margin-bottom: 16px; font-size: 24px; }
.project-desc p + p { margin-top: 1em; }

/* modal ze zdjęciem (lightbox) */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: rgba(6, 26, 41, .96);
	color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.lightbox-count { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 84px; }
.lightbox-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; background: #fff; box-shadow: 0 24px 64px rgba(0, 0, 0, .45); user-select: none; }
.lightbox-caption { min-height: 64px; margin: 0; padding: 16px 20px 24px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lightbox button {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.lightbox button:hover { background: var(--a1); border-color: var(--a1); color: var(--k1); }
.lightbox button .icon { width: 20px; height: 20px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; margin-top: -25px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }

/* 8. CTA i stopka ------------------------------------------------------- */
.cta { position: relative; padding: clamp(64px, 7vw, 96px) 0; background: var(--a1); overflow: hidden; }
.cta::before, .cta::after {
	content: "";
	position: absolute;
	top: -10%;
	height: 120%;
	background: rgba(255, 255, 255, .14);
	transform: skewX(var(--skew));
}
.cta::before { right: 3%; width: 13%; }
.cta::after { right: 19%; width: 3%; }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta h2 { margin-bottom: 10px; }
.cta p { max-width: 560px; font-size: 18px; color: var(--k1); }
.cta .actions { flex: none; }

.site-footer { background: var(--k1); font-size: 15px; color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: var(--a1); }
.footer-cols { display: grid; grid-template-columns: 1.35fr .75fr 1fr 1.1fr; gap: 48px; padding-top: 88px; padding-bottom: 64px; }
.footer-brand .logo-img { width: auto; height: 56px; margin-bottom: 26px; }
.footer-brand p { max-width: 300px; margin-bottom: 26px; }
.footer-brand p strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer-title { margin-bottom: 24px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-title::after {
	content: "";
	display: block;
	width: 26px;
	height: 3px;
	margin-top: 12px;
	background: var(--a1);
	transform: skewX(var(--skew));
}
.footer-menu, .contact-list { display: grid; gap: 10px; list-style: none; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--a1); }
.company-data { font-size: 14px; line-height: 1.6; }
.company-name { margin-bottom: 16px; }
.company-name strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 15px; color: #fff; }
.company-data dl { display: grid; gap: 9px; margin: 0; }
.company-data dl div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.company-data dl div:nth-child(n+4) { grid-template-columns: minmax(0, 1fr); gap: 1px; }
.company-data dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.company-data dd { margin: 0; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.social {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 4px;
	transition: background-color .2s, border-color .2s, color .2s;
}
.site-footer .social:hover { background: var(--a1); border-color: var(--a1); color: var(--k1); }
.social .icon { width: 19px; height: 19px; }
.footer-bottom { background: var(--dark2); font-size: 13px; color: var(--k4); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.credit a { color: rgba(255, 255, 255, .8); }

/* 9. Podstrony ---------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(64px, 8vw, 112px) 0; background: var(--k1); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero::after {
	content: "";
	position: absolute;
	top: -10%;
	right: 6%;
	z-index: -1;
	width: 18%;
	height: 120%;
	background: linear-gradient(180deg, rgba(239, 154, 57, .18), rgba(239, 154, 57, 0) 85%);
	transform: skewX(var(--skew));
}
.page-hero.has-image { display: flex; align-items: flex-end; min-height: 460px; }
.page-hero > .photo { position: absolute; inset: 0; z-index: -2; }
.page-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(8, 35, 54, .94) 0%, rgba(11, 45, 69, .75) 45%, rgba(11, 45, 69, .25) 100%);
}
.page-hero h1 { max-width: 880px; color: #fff; }
.page-hero .lead { max-width: 640px; margin-top: 20px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .82); }

/* treść z edytora blokowego */
.section--content { padding-top: clamp(56px, 6vw, 88px); }
.entry-content { max-width: 780px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(24px, 2.4vw, 32px); }
.entry-content h3 { margin-top: 1.6em; font-size: 21px; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: .7em; }
.entry-content a:not(.wp-block-button__link):not(.wp-block-file__button) { color: var(--a3); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):hover { color: var(--a2); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content ul li::marker { color: var(--a1); }
.entry-content strong { color: var(--k1); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--a1);
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--k1);
}
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--k3); }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { max-width: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--p1); text-align: left; }
.entry-content th { font-family: var(--font-head); color: var(--k1); }
.entry-content hr { border: 0; height: 1px; background: var(--p1); margin: 2.4em 0; }
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 28px;
	border-radius: 4px;
	background: var(--a1);
	color: var(--k1);
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
}
.entry-content .wp-block-button__link:hover { background: var(--a2); }
.entry-content .is-style-outline .wp-block-button__link { background: none; border: 2px solid var(--k1); color: var(--k1); }
.entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 18px 22px;
	background: var(--p2);
	border-radius: var(--radius);
	border-left: 4px solid var(--a1);
	font-weight: 600;
	color: var(--k1);
}
.entry-content .wp-block-file__button {
	padding: 10px 18px;
	border-radius: 4px;
	background: var(--k1);
	color: #fff;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
}
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 4px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }

/* kontakt */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-card { padding: 32px; background: var(--k1); border-radius: var(--radius); color: rgba(255, 255, 255, .8); }
.contact-card h2 { margin-bottom: 22px; font-size: 20px; color: #fff; }
.contact-card h3 { margin-bottom: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.contact-card a:hover { color: var(--a1); }
.contact-card .btn { width: 100%; margin: 26px 0; }
.contact-card .btn:hover { color: var(--k1); }
.contact-privacy { display: inline-block; margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.contact-card .contact-big { font-size: clamp(16px, 1.5vw, 19px); overflow-wrap: anywhere; }
.contact-company { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* O nas */
.about-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(48px, 6vw, 96px); align-items: start; }
.about-intro { padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); }
.about-page { align-items: center; }
.about-visual--compact { padding: 0 0 40px 48px; }
.about-visual--compact .photo--main { aspect-ratio: 5 / 4; }
.about-visual--compact .photo--second { width: 40%; }
.about-visual--compact.no-second { padding-left: 0; }
.about-visual--compact .year-badge { top: auto; bottom: 64px; right: -12px; }
/* O nas: co zyskuje inwestor */
.why-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.why-head h2 { margin-bottom: 18px; }
.why-head p:not(.eyebrow) { margin-bottom: 30px; color: var(--k3); }
.why-list { list-style: none; border-top: 1px solid var(--p1); }
.why-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--p1); }
.why-num { font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--a1); }
.why-list h3 { margin-bottom: 8px; font-size: 22px; }
.why-list p { color: var(--k3); }

/* O nas: inwestorzy */
.clients-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; }
.clients-list li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 84px;
	padding: 18px 22px 18px 30px;
	background: #fff;
	border: 1px solid var(--p1);
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--k1);
	overflow: hidden;
}
.clients-list li::before { content: ""; position: absolute; left: -6px; top: 0; bottom: 0; width: 16px; background: var(--a1); transform: skewX(-14deg); }
.clients-actions { margin-top: 40px; }
.contact-company .company-name { display: none; }

/* oś czasu (O nas) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 29px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--a1), rgba(239, 154, 57, .12)); }
.timeline-item { position: relative; }
.timeline-year {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 60px;
	margin-bottom: 26px;
	padding: 0 20px;
	background: var(--k1);
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 800;
	color: var(--a1);
	white-space: nowrap;
}
.timeline-year::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--a1); transform: skewX(-14deg); }
.timeline-item h3 { margin-bottom: 10px; }
.timeline-item p { font-size: 15.5px; }

/* kontakt */
.contact-card .contact-big { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.contact-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--a1); color: var(--k1); }
.contact-ico .icon { width: 20px; height: 20px; overflow: visible; }
.contact-card .contact-big small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact-card .contact-list { margin: 26px 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-main h2 { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 34px); }
.contact-intro, .contact-main > .entry-content { margin-bottom: 28px; color: var(--k3); }

.contact-form { display: grid; gap: 18px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--k1); }
.field label span, .field--check label > span { color: var(--a2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #cfd6df;
	border-radius: 4px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--k2);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--a3); box-shadow: 0 0 0 3px rgba(3, 73, 116, .15); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--a3); }
.field--check label { margin: 0; font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--k3); }
.field--check a { color: var(--a3); text-decoration: underline; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-required { font-size: 13px; color: var(--k4); }
.form-notice { padding: 14px 18px; border-radius: 4px; font-weight: 500; }
.form-notice--success { background: #e7f4ec; border-left: 4px solid #2f8a4f; color: #1d5a33; }
.form-notice--error { background: #fdecea; border-left: 4px solid #c9372c; color: #8a241c; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-section { border-top: 1px solid var(--p1); }
.map { position: relative; height: 440px; background: var(--p2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 100%;
	padding: 24px;
	text-align: center;
	background:
		linear-gradient(0deg, rgba(244, 246, 248, .9), rgba(244, 246, 248, .9)),
		repeating-linear-gradient(0deg, transparent 0 39px, var(--p1) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, var(--p1) 39px 40px);
}
.map-placeholder > .icon { width: 40px; height: 40px; margin-bottom: 6px; color: var(--a2); }
.map-placeholder strong { font-family: var(--font-head); font-size: 18px; color: var(--k1); }
.map-note { max-width: 420px; margin-bottom: 14px; font-size: 13px; color: var(--k3); }

.aside-link { display: inline-block; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.aside-link:hover { color: var(--a1); }
.entry-content--intro { margin-bottom: 40px; }

/* paginacja i lista wpisów */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--p1);
	border-radius: 4px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--k1);
}
.pagination .page-numbers.current { background: var(--k1); border-color: var(--k1); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--k1); }
.post-list { display: grid; gap: 40px; }
.post-item h2 { font-size: 24px; }
.post-item h2 a:hover { color: var(--a3); }
.post-date { margin: 6px 0 12px; font-size: 14px; color: var(--k4); }

/* 10. Responsywność ----------------------------------------------------- */
@media (max-width: 1100px) {
	.main-nav, .header-tel { display: none; }
	.icon-btn--menu { display: inline-flex; }
	.services { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
	.steps::before, .timeline::before { display: none; }
	.timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
	.projects--grid { grid-template-columns: 1fr 1fr; }
	.refs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.project-layout, .contact-layout, .about-page, .why-layout { grid-template-columns: minmax(0, 1fr); }
	.why-head { position: static; }
	.about-page .about-visual { max-width: 520px; }

	.project-aside { position: static; }
}

@media (max-width: 860px) {
	:root { --header-h: 74px; }
	.topbar-info { display: none; }
	.topbar .wrap { justify-content: center; }
	.topbar-notice { margin-left: 0; }
	.brand .logo-img { height: 42px; }
	.header-btn { display: none; }
	.icon-btn--call { display: inline-flex; }
	.header-cta { gap: 10px; }

	.hero { min-height: 0; padding: 96px 0 136px; }
	.hero .actions .btn { flex: 1 1 100%; }
	.hero-caption { display: none; }

	.stats { margin-top: -64px; }
	.stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat { padding: 26px 22px; }
	.stat + .stat { border-left: 0; }
	.stat:nth-child(even) { border-left: 1px solid var(--p1); }
	.stat:nth-child(n+3) { border-top: 1px solid var(--p1); }

	.about, .current { grid-template-columns: 1fr; }
	.about-visual { order: -1; max-width: 520px; padding: 0 0 32px 32px; }

	.sec-head { grid-template-columns: 1fr; margin-bottom: 40px; }
	.sec-aside, .sec-head > div + .sec-aside:not(:has(p)) { justify-items: start; }

	.projects--home, .projects--grid { grid-template-columns: 1fr; grid-template-rows: none; }
	.project.is-featured { grid-row: auto; min-height: 460px; }
	.project, .projects--grid .project { min-height: 380px; }
	.current > .photo { min-height: 280px; }

	.refs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
	.testimonials { margin-top: 64px; }
	.testimonials-track { grid-auto-columns: 88%; gap: 14px; }
	.testimonials.is-single .testimonials-track { grid-auto-columns: 100%; }
	.testimonial { padding: 26px 24px 24px; }
	.pgallery-thumbs button { width: 72px; height: 54px; }
	.pgallery-stage .slider-btn { width: 40px; height: 40px; margin-top: -20px; }
	.slider-btn--prev { left: 10px; }
	.slider-btn--next { right: 10px; }
	.lightbox-stage { padding: 0 8px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: -58px; margin-top: 0; }
	.lightbox-prev { left: calc(50% - 60px); }
	.lightbox-next { right: calc(50% - 60px); }
	.lightbox-caption { padding-top: 76px; }
	.form-row--2 { grid-template-columns: 1fr; }
	.map { height: 360px; }


	.cta .wrap { flex-direction: column; align-items: flex-start; gap: 32px; }
	.cta .actions { width: 100%; }
	.cta .actions .btn { flex: 1 1 auto; }

	.page-hero.has-image { min-height: 360px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.services, .steps, .timeline { grid-template-columns: 1fr; }
	.stat { padding: 22px 18px; }
	.stat strong { font-size: 26px; }
	.stat p { font-size: 13.5px; }
	.year-badge { padding: 14px 16px; }
	.year-badge strong { font-size: 28px; }
	.facts { grid-template-columns: 1fr; }
	.project-go { margin-left: 0; }
	.footer-cols { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
	.contact-card { padding: 26px 22px; }
	.why-list li { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 24px 0; }
	.why-num { font-size: 32px; }
}

@media print {
	.topbar, .site-header, .drawer, .cta, .site-footer { display: none; }
}
