@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Poppins:wght@400;500;600;700&display=swap');

/* ─────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────────────────── */
:root {
	--bg:           #F7F8F4;
	--bg-subtle:    #ECEEE7;
	--bg-card:      #FFFFFF;
	--text:         #111111;
	--text-muted:   #595959;
	--accent:       #1C4A0A;
	--accent-mid:   #3A7A28;
	--accent-light: rgba(28, 74, 10, 0.08);
	--border:       #D5DFD0;
	--white:        #FFFFFF;
	--shadow-sm:    0 1px 4px rgba(0,0,0,0.05);
	--shadow-md:    0 4px 20px rgba(0,0,0,0.07);
	--shadow-lg:    0 16px 48px rgba(0,0,0,0.10);
	--shadow-hover: 0 12px 36px rgba(0,0,0,0.13);
	--font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
	--font-body:    'Poppins', system-ui, -apple-system, sans-serif;
	--sb-width:     260px;
	--tb-height:    56px;
	--content-max:  1280px;
	--pad-x:        clamp(28px, 5.5vw, 96px);
	--pad-section:  clamp(72px, 9vw, 128px);
	--r-sm:  2px;
	--r:     4px;
	--r-lg:  4px;
	--r-xl:  4px;
	--ease:  cubic-bezier(0.25, 0.8, 0.25, 1);
	--t:     0.25s var(--ease);
	--t-slow: 0.55s var(--ease);
	color-scheme: light;
}

/* ─────────────────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	background-color: var(--bg);
	color: var(--text);
	transition: background-color 0.35s ease, color 0.35s ease;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-mid); }

/* ─────────────────────────────────────────────────────────────────────────
   TYPOGRAFIA
   ───────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4rem);  font-weight: 700; }
h2 { font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.625rem); font-weight: 600; }
h4 { font-size: clamp(1rem,    1.2vw + 0.2rem, 1.25rem);  font-weight: 600; }
p { max-width: 64ch; }

/* ─────────────────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 400;
	background: rgba(247,248,244,0.94);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: background-color 0.35s ease, border-color 0.35s ease;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: var(--pad-x);
	gap: 24px;
}
.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	color: var(--text);
	text-decoration: none;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}
.site-logo-dot,
.sb-logo-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent-mid);
	flex-shrink: 0;
}

/* ── Nawigacja pozioma (desktop) ── */
.nav-links {
	display: flex;
	align-items: center;
	list-style: none;
	gap: 2px;
	flex: 1;
	justify-content: center;
}
.nav-links a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--r-sm);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--t), background-color var(--t);
}
.nav-links a:hover, .nav-links a.active {
	color: var(--text);
	background: var(--accent-light);
}
.header-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.header-cta { white-space: nowrap; }

/* ── Overlay ── */
.sb-overlay {
	position: fixed;
	inset: 0;
	z-index: 490;
	background: rgba(0,0,0,0.40);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}
body.menu-open .sb-overlay { opacity: 1; pointer-events: auto; }

/* ── Mobile nav ── */
.mobile-nav {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: 300px;
	z-index: 500;
	background: var(--bg-card);
	border-left: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	padding: 24px 28px;
	transform: translateX(100%);
	transition: transform 0.35s var(--ease), background-color 0.35s ease, border-color 0.35s ease;
	overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}
.mobile-nav-close {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	background: none;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	cursor: pointer;
	color: var(--text-muted);
	transition: color var(--t), border-color var(--t);
}
.mobile-nav-close:hover { color: var(--text); border-color: var(--text); }
.mobile-nav-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.mobile-nav-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}
.mobile-nav-links a {
	display: block;
	padding: 12px 14px;
	border-radius: var(--r-sm);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	transition: color var(--t), background-color var(--t);
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
	color: var(--text);
	background: var(--accent-light);
}
.mobile-nav-footer {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

/* ── Hamburger ── */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	padding: 8px;
	border-radius: var(--r-sm);
	background: none;
	border: 1px solid var(--border);
	cursor: pointer;
}
.hamburger span {
	display: block;
	width: 20px; height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform var(--t), opacity var(--t);
	transform-origin: center;
}
body.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-links { display: none; }
	.header-cta { display: none; }
	.hamburger { display: flex; }
}

/* ─────────────────────────────────────────────────────────────────────────
   SITE WRAP
   ───────────────────────────────────────────────────────────────────────── */
.site-wrap { display: flex; flex-direction: column; min-height: 100dvh; }

/* ─────────────────────────────────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-section); }
.section--subtle   { background-color: var(--bg-subtle); }
.section--tinted   { background-color: var(--accent-light); }
.section--bordered { border-top: 1px solid var(--border); }

/* ─────────────────────────────────────────────────────────────────────────
   HERO (strona glowna)
   ───────────────────────────────────────────────────────────────────────── */
.hero {
	height: calc(100svh - 68px);
	display: flex;
	align-items: center;
	padding-block: clamp(80px, 10vw, 140px);
	position: relative;
	overflow: clip;
}
.hero-content { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); max-width: 720px; position: relative; z-index: 1; }
.hero h1 { letter-spacing: -0.02em; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 52ch; }
.hero-bg-img {
	position: absolute;
	inset: 0 0 0 42%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.hero-bg-img::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: clamp(80px, 14vw, 200px);
	background: linear-gradient(to right, var(--bg), transparent);
	z-index: 1;
	pointer-events: none;
	transition: background 0.35s ease;
}
.hero-bg-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.80;
	transition: opacity 0.35s ease;
}
@media (max-width: 860px) {
	.hero-bg-img { inset: 0; }
	.hero-bg-img::after { display: none; }
	.hero-bg-img img { opacity: 0.08; }
}
#dlaczego-co2, #technologia, #proces { position: relative; overflow: clip; }
#dlaczego-co2::before {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 42% 62% at 6% 55%, var(--accent-light), transparent 68%),
		radial-gradient(ellipse 32% 44% at 94% 15%, var(--accent-light), transparent 64%);
	pointer-events: none;
}
#technologia::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse 48% 58% at 3% 32%, var(--accent-light), transparent 66%);
	pointer-events: none;
}
#proces::before {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 58% 48% at 50% -18%, var(--accent-light), transparent 68%),
		radial-gradient(ellipse 28% 38% at 88% 92%, var(--accent-light), transparent 64%);
	pointer-events: none;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ─────────────────────────────────────────────────────────────────────────
   PAGE HERO (podstrony)
   ───────────────────────────────────────────────────────────────────────── */
.page-hero {
	padding-block: clamp(52px, 8vw, 96px);
	border-bottom: 1px solid var(--border);
	position: relative;
	overflow: clip;
}
.page-hero::before {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 50% 80% at 90% 50%, var(--accent-light), transparent 60%),
		radial-gradient(ellipse 30% 50% at 5% 20%, var(--accent-light), transparent 60%);
	pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 14px;
}
.page-hero h1 { letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero-lead {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: var(--text-muted);
	max-width: 54ch;
}

/* ─────────────────────────────────────────────────────────────────────────
   BREADCRUMB
   ───────────────────────────────────────────────────────────────────────── */
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: clamp(32px, 4vw, 48px);
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--border); user-select: none; }
.breadcrumb li:last-child { color: var(--text); }

/* ─────────────────────────────────────────────────────────────────────────
   PRZYCISKI
   ───────────────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 32px;
	border-radius: var(--r-sm);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: transform var(--t), box-shadow var(--t), background-color var(--t), color var(--t), border-color var(--t);
	position: relative;
	overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); }
.btn--primary { background-color: var(--accent); color: #fff; }
.btn--primary:hover { background-color: var(--accent-mid); color: #fff; }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────────────────────
   SECTION HEADER
   ───────────────────────────────────────────────────────────────────────── */
.section-header { margin-bottom: clamp(40px,5vw,64px); }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 56ch; margin-top: 12px; }

/* ─────────────────────────────────────────────────────────────────────────
   FILTER TABS
   ───────────────────────────────────────────────────────────────────────── */
.filter-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.filter-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	border-radius: var(--r);
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text-muted);
	background: var(--bg-card);
	border: 1.5px solid var(--border);
	cursor: pointer;
	transition: color var(--t), border-color var(--t), background-color var(--t);
	user-select: none;
}
.filter-tab:hover { color: var(--text); border-color: var(--accent-mid); }
.filter-tab.is-active {
	color: var(--white);
	background: var(--accent);
	border-color: var(--accent);
}
.filter-tab-count {
	font-size: 0.72rem;
	font-weight: 600;
	background: rgba(255,255,255,0.2);
	padding: 1px 6px;
	border-radius: var(--r);
}
.filter-tab:not(.is-active) .filter-tab-count {
	background: var(--accent-light);
	color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   GRIDY KART
   ───────────────────────────────────────────────────────────────────────── */
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2.5vw,28px); }
@media (max-width: 1100px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards-grid-4 { grid-template-columns: 1fr; } }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.5vw,28px); }
@media (max-width: 900px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-grid-3 { grid-template-columns: 1fr; } }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px,2.5vw,28px); }
@media (max-width: 640px) { .cards-grid-2 { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────────────────
   KARTA BASE
   ───────────────────────────────────────────────────────────────────────── */
.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: clamp(24px,3vw,36px) clamp(20px,2.5vw,32px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-light); border-radius: var(--r); color: var(--accent); margin-bottom: 4px; }
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: clamp(1rem,1.5vw,1.15rem); }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────────────────
   OFFER CARD (kafelki oferty)
   ───────────────────────────────────────────────────────────────────────── */
.offer-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--text);
}
.offer-card-img {
	height: clamp(140px, 15vw, 200px);
	background: var(--bg-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-style: italic;
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}
.offer-card-img svg { width: 40px; height: 40px; stroke: var(--border); fill: none; stroke-width: 1.25; }
.offer-card-type {
	position: absolute;
	top: 12px; left: 12px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--bg-card);
	color: var(--text-muted);
	padding: 4px 10px;
	border-radius: 100px;
	border: 1px solid var(--border);
}
.offer-card-body {
	padding: clamp(20px, 2.5vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.offer-card-title { font-family: var(--font-heading); font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 700; }
.offer-card-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.offer-card-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.offer-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	margin-top: auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   SPLIT LAYOUT
   ───────────────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px,7vw,96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--top { align-items: start; }
.split-text { display: flex; flex-direction: column; gap: clamp(16px,2.5vw,24px); }
.img-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--bg-subtle);
	border-radius: var(--r-xl);
	border: 1.5px dashed var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	color: var(--text-muted);
	font-size: 0.85rem;
}
.img-placeholder svg { width: 40px; height: 40px; stroke: var(--border); fill: none; stroke-width: 1.25; }
.split-media { position: relative; overflow: hidden; }

/* ─────────────────────────────────────────────────────────────────────────
   SINGLE POST LAYOUT (content + sidebar)
   ───────────────────────────────────────────────────────────────────────── */
.single-wrap {
	display: grid;
	grid-template-columns: 1fr 360px; /* main + sidebar */
	gap: clamp(48px, 6vw, 80px);
	align-items: start;
}
@media (max-width: 1060px) {
	.single-wrap { grid-template-columns: 1fr; }
}

/* ── Single Header ── */
.single-header {
	padding-block: clamp(52px, 8vw, 96px);
	border-bottom: 1px solid var(--border);
	background: var(--bg);
}
.single-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.single-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-light);
	padding: 4px 12px;
	border-radius: 100px;
	border: 1px solid var(--border);
}
.single-date {
	font-size: 0.8rem;
	color: var(--text-muted);
}
.single-header h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.single-intro { font-size: clamp(1rem, 1.6vw, 1.175rem); color: var(--text-muted); max-width: 60ch; line-height: 1.7; }

.single-main    { min-width: 0; }
.single-sidebar { min-width: 0; }

/* ── Article content (rich text) ── */
.article-content { display: flex; flex-direction: column; gap: 24px; }
.article-content h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-top: 16px; }
.article-content h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); margin-top: 8px; }
.article-content p { color: var(--text-muted); line-height: 1.8; font-size: 0.975rem; max-width: 68ch; }
.article-content ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.article-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-muted); }
.article-content ul li::before {
	content: '';
	display: block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
	margin-top: 8px;
}
.article-content blockquote {
	border-left: 3px solid var(--accent);
	padding: 16px 24px;
	background: var(--accent-light);
	border-radius: 0 var(--r) var(--r) 0;
}
.article-content blockquote p { font-size: 1.05rem; color: var(--text); font-style: italic; }
.article-divider { border: none; border-top: 1px solid var(--border); margin-block: 8px; }

/* ── Sidebar ── */
.sidebar-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: clamp(20px, 2.5vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sidebar-card + .sidebar-card { margin-top: 20px; }
.sidebar-card-title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}
.sidebar-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
}
.sidebar-row-label { color: var(--text-muted); }
.sidebar-row-value { font-weight: 600; color: var(--text); }

/* ─────────────────────────────────────────────────────────────────────────
   CHECKLIST
   ───────────────────────────────────────────────────────────────────────── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; line-height: 1.6; }
.checklist-icon { width: 22px; height: 22px; display: grid; place-items: center; background: var(--accent-light); border-radius: 50%; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.checklist-icon svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.5; }

/* ─────────────────────────────────────────────────────────────────────────
   BENEFITS GRID
   ───────────────────────────────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px,2vw,20px); margin-top: clamp(40px,5vw,64px); }
.benefit-item {
	padding: clamp(24px,3vw,32px);
	border-radius: var(--r-lg);
	background: var(--bg-card);
	border: 1px solid var(--border);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px,3vw,32px);
}
.benefit-item__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.benefit-item__body h4 { font-size: 1rem; }
.benefit-item__body p  { font-size: 0.875rem; color: var(--text-muted); }
.benefit-item__icon {
	flex-shrink: 0;
	width: 56px; height: 56px;
	background: var(--accent-light);
	border-radius: var(--r);
	display: flex;
	align-items: center;
	justify-content: center;
}
.benefit-item__icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.75; }
@media (max-width: 600px) {
	.benefit-item { flex-direction: column-reverse; }
	.benefit-item__icon { width: 48px; height: 48px; align-self: flex-start; }
}

/* ─────────────────────────────────────────────────────────────────────────
   PROCESS
   ───────────────────────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px,1.5vw,20px); position: relative; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
	display: flex; flex-direction: column; gap: 16px; position: relative;
	overflow: hidden;
	border: 2px solid var(--border);
	padding: clamp(20px, 2.5vw, 28px);
	background: var(--bg-card);
	border-radius: var(--r);
	transition: border-color var(--t);
}
.process-step:hover { border-color: var(--accent); }
.process-step-num {
	position: absolute;
	top: 8px; right: 14px;
	font-family: var(--font-heading);
	font-size: clamp(4rem, 5vw, 5.5rem);
	font-weight: 800;
	line-height: 1;
	color: rgba(0, 0, 0, 0.07);
	user-select: none;
	pointer-events: none;
	transition: color var(--t);
}
.process-step:hover .process-step-num { color: rgba(0, 0, 0, 0.12); }
.process-step h4,
.process-step p { position: relative; z-index: 1; }
.process-step h4 { font-size: 1rem; margin-top: 0; }
.process-step p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────────────────
   CERTYFIKATY
   ───────────────────────────────────────────────────────────────────────── */
.cert-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: clamp(28px,3.5vw,40px) clamp(24px,3vw,36px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cert-card h3 { font-size: clamp(1rem,1.5vw,1.2rem); color: var(--accent); }
.cert-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────────────────────────────────
   ABOUT TEXT
   ───────────────────────────────────────────────────────────────────────── */
.about-text { display: flex; flex-direction: column; gap: clamp(14px,2vw,20px); }
.about-text p { max-width: 58ch; color: var(--text-muted); font-size: 0.975rem; line-height: 1.75; }

/* ─────────────────────────────────────────────────────────────────────────
   FEATURE CARDS (artykuly)
   ───────────────────────────────────────────────────────────────────────── */
.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--text);
}
.feature-card-img {
	height: clamp(160px,18vw,220px);
	background: var(--bg-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-style: italic;
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
}
.feature-card-body { padding: clamp(20px,2.5vw,28px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feature-card-date { font-size: 0.75rem; color: var(--text-muted); display: block; }
.feature-card-tag { font-size: 0.72rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.feature-card h3 { font-size: clamp(1rem,1.5vw,1.1rem); }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: 8px; transition: gap var(--t), color var(--t); }
.link-arrow:hover { gap: 8px; color: var(--accent-mid); }
.link-arrow svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; }

/* ─────────────────────────────────────────────────────────────────────────
   SPECS
   ───────────────────────────────────────────────────────────────────────── */
.specs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
}
@media (max-width: 900px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
.spec-item {
	padding: clamp(20px,2.5vw,32px) clamp(16px,2vw,24px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-right: 1px solid var(--border);
	transition: background-color var(--t);
}
.spec-item:last-child { border-right: none; }
@media (max-width: 900px) {
	.spec-item:nth-child(2) { border-right: none; }
	.spec-item:nth-child(3) { border-right: 1px solid var(--border); }
	.spec-item:nth-child(1), .spec-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
	.spec-item:nth-child(odd)  { border-right: 1px solid var(--border); }
	.spec-item:nth-child(even) { border-right: none; }
	.spec-item:nth-child(1), .spec-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.spec-item:hover { background-color: var(--bg-subtle); }
.spec-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.spec-value { font-family: var(--font-heading); font-size: clamp(1.5rem,2.5vw,2.25rem); font-weight: 700; color: var(--accent); line-height: 1.1; }

/* ─────────────────────────────────────────────────────────────────────────
   INDUSTRIES ROW
   ───────────────────────────────────────────────────────────────────────── */
.industries-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2.5vw, 28px);
	margin-bottom: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(32px, 4vw, 48px);
	border-bottom: 1px solid var(--border);
}
@media (max-width: 1100px) { .industries-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .industries-row { grid-template-columns: 1fr 1fr; } }
.industry-tag {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	padding: clamp(20px, 2.5vw, 28px) clamp(16px, 2vw, 24px);
	border-radius: var(--r-lg);
	background: var(--bg-card);
	border: 1px solid var(--border);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
}
.industry-tag:hover { color: var(--text); }
.industry-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-light); border-radius: var(--r); color: var(--accent); }
.industry-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ─────────────────────────────────────────────────────────────────────────
   PRODUCT CARDS
   ───────────────────────────────────────────────────────────────────────── */
.product-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.product-card-img {
	height: clamp(140px, 16vw, 200px);
	background: var(--bg-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-style: italic;
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
}
.product-card-body { padding: clamp(20px, 2.5vw, 28px); display: flex; flex-direction: column; gap: 0; flex: 1; }
.product-name { font-family: var(--font-heading); font-size: clamp(1rem, 1.5vw, 1.1rem); font-weight: 700; color: var(--text); margin-bottom: 4px; }
.product-latin { font-size: 0.8rem; font-style: italic; color: var(--text-muted); }
.product-separator { border: none; border-top: 1px solid var(--border); margin-block: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tag, .tag-chip {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 100px;
	font-size: 0.72rem;
	font-weight: 500;
	background: var(--accent-light);
	color: var(--accent);
	border: 1px solid var(--border);
}
.product-meta { display: flex; flex-direction: column; gap: 6px; }
.product-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.product-meta-label { color: var(--text-muted); }
.product-meta-value { font-weight: 600; color: var(--text); }
.product-cta { margin-top: auto; padding-top: 16px; }

/* ─────────────────────────────────────────────────────────────────────────
   CTA SEKCJA
   ───────────────────────────────────────────────────────────────────────── */
.cta-section-inner {
	max-width: 640px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(16px, 2.5vw, 24px);
	text-align: center;
}
.cta-section-inner h2 { max-width: 18ch; }
.cta-section-inner p { font-size: 1.05rem; color: var(--text-muted); max-width: 48ch; }

/* ─────────────────────────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────────────────────────── */
.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.5vw, 28px);
	margin-bottom: clamp(56px, 7vw, 96px);
}
@media (max-width: 900px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .contact-info-grid { grid-template-columns: 1fr; } }
.contact-info-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: clamp(24px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.contact-info-icon {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	background: var(--accent-light);
	border-radius: var(--r);
	color: var(--accent);
	flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-info-value { font-size: 0.975rem; font-weight: 500; color: var(--text); line-height: 1.6; }
.contact-info-value a { color: var(--text); text-decoration: none; transition: color var(--t); }
.contact-info-value a:hover { color: var(--accent-mid); }

/* ── Mapa ── */
.map-section {
	margin-bottom: clamp(56px, 7vw, 96px);
}
.map-placeholder-wrap {
	width: 100%;
	height: clamp(280px, 40vw, 480px);
	background: var(--bg-subtle);
	border: 1.5px dashed var(--border);
	border-radius: var(--r-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
	text-align: center;
	color: var(--text-muted);
	position: relative;
	overflow: hidden;
}
.map-placeholder-wrap::before {
	content: '';
	position: absolute; inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0,0,0,0.03) 40px, rgba(0,0,0,0.03) 41px),
		repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,0,0,0.03) 40px, rgba(0,0,0,0.03) 41px);
}
.map-placeholder-wrap > * { position: relative; z-index: 1; }
.map-placeholder-wrap svg { width: 40px; height: 40px; stroke: var(--border); fill: none; stroke-width: 1.25; }
.map-pin-badge {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 260px;
	box-shadow: var(--shadow-md);
}
.map-pin-badge strong { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.map-pin-badge span { font-size: 0.8rem; color: var(--text-muted); }

/* ── Formularz kontaktowy ── */
.contact-form-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}
@media (max-width: 860px) { .contact-form-wrap { grid-template-columns: 1fr; } }
.contact-form-intro { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.contact-form-intro h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.contact-form-intro p { font-size: 0.975rem; color: var(--text-muted); max-width: 44ch; }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-field label .req { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 10px 14px;
	background: var(--bg-card);
	border: 1.5px solid var(--border);
	border-radius: var(--r);
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: var(--text);
	transition: border-color var(--t), box-shadow var(--t);
	outline: none;
	-webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #ABABAB; }
.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(28, 74, 10, 0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; }
.form-consent input[type="checkbox"] {
	width: 18px; height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: var(--accent);
	cursor: pointer;
}
.form-consent label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; cursor: pointer; }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.78rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────────────────── */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: clamp(40px, 5vw, 64px);
}
.page-link {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--r-sm);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
	background: var(--bg-card);
	border: 1.5px solid var(--border);
	text-decoration: none;
	transition: color var(--t), border-color var(--t), background-color var(--t);
}
.page-link:hover { color: var(--text); border-color: var(--accent-mid); }
.page-link.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─────────────────────────────────────────────────────────────────────────
   CARD LIFT
   ───────────────────────────────────────────────────────────────────────── */
.card-lift {
	transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}
.card-lift:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
	border-color: var(--accent-mid);
}

/* ─────────────────────────────────────────────────────────────────────────
   STOPKA
   ───────────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding-block: clamp(56px,7vw,96px) clamp(32px,4vw,48px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(32px,5vw,80px); margin-bottom: clamp(40px,5vw,64px); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); max-width: 34ch; line-height: 1.65; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--t), padding-left var(--t); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.9; }
.footer-bar { border-top: 1px solid var(--border); padding-top: clamp(20px,3vw,32px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bar p, .footer-bar a { font-size: 0.8rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────────────────────────────────── */
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-sm { margin-top: clamp(12px,1.5vw,16px); }
.mt-md { margin-top: clamp(20px,2.5vw,28px); }
.mt-lg { margin-top: clamp(32px,4vw,48px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─────────────────────────────────────────────────────────────────────────
   ANIMACJE WEJSCIA
   ───────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	@keyframes fade-up {
		from { opacity: 0; transform: translateY(28px); }
		to   { opacity: 1; transform: none; }
	}
	[data-animate] { opacity: 0; }
	[data-animate].is-visible { opacity: 1; animation: fade-up 0.7s var(--ease) backwards; }
	.stagger > * { opacity: 0; }
	.stagger.is-visible > * { opacity: 1; }
	.stagger.is-visible > *:nth-child(1)   { animation: fade-up 0.6s var(--ease) 0.05s backwards; }
	.stagger.is-visible > *:nth-child(2)   { animation: fade-up 0.6s var(--ease) 0.15s backwards; }
	.stagger.is-visible > *:nth-child(3)   { animation: fade-up 0.6s var(--ease) 0.25s backwards; }
	.stagger.is-visible > *:nth-child(4)   { animation: fade-up 0.6s var(--ease) 0.35s backwards; }
	.stagger.is-visible > *:nth-child(5)   { animation: fade-up 0.6s var(--ease) 0.45s backwards; }
	.stagger.is-visible > *:nth-child(6)   { animation: fade-up 0.6s var(--ease) 0.55s backwards; }
	.stagger.is-visible > *:nth-child(n+7) { animation: fade-up 0.6s var(--ease) 0.65s backwards; }
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE TAP
   ───────────────────────────────────────────────────────────────────────── */
@media (hover: none) {
	* { -webkit-tap-highlight-color: transparent; }
	.btn:active,
	.filter-tab:active,
	.card-lift:active,
	.industry-tag:active,
	.mobile-nav-links a:active { transform: scale(0.96); opacity: 0.85; transition: transform 0.1s ease, opacity 0.1s ease; }
}
