/* S2C Consulting: style motywu (wartości 1:1 z projektu S2C Strona v2). */

:root {
	--ink: #18181B;
	--ink-2: #3F3F46;
	--muted: #52525B;
	--muted-2: #A1A1AA;
	--light: #D4D4D8;
	--line: #E4E4E7;
	--bg-2: #F4F4F5;
	--red: #C8102E;
	--red-dark: #A50D26;
	--white: #FFFFFF;
	--line-dark: rgba(255, 255, 255, 0.16);
	--wrap: 1240px;
	--gut: 28px;
	--head: 72px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--sec: clamp(72px, 10vw, 128px);
	--ff: 'Geist', system-ui, sans-serif;
	--fd: 'Archivo', sans-serif;
}

/* ---------- baza ---------- */

html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--ff);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
body.sc-lock { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.sc-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; }
.sc-skip:focus { left: 8px; color: #fff; }

.sc-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--white); }
.sc-main { flex: 1; }
.sc-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sc-red { color: var(--red); }

.sc-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.sc-eyebrow--muted { color: var(--muted-2); }
.sc-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.sc-label--wide { letter-spacing: 0.12em; }

.sc-h2 {
	font-family: var(--fd);
	font-stretch: 108%;
	font-weight: 600;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.sc-eyebrow + .sc-h2 { margin-top: 16px; }
.sc-h2--tight { line-height: 1.08; }
.sc-h2--20ch { max-width: 20ch; }
.sc-h2--24ch { max-width: 24ch; }
.sc-h3 { font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 24px; }
.sc-lead { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.sc-lead--44 { max-width: 44ch; }
.sc-lead--48 { max-width: 48ch; }
.sc-lead--52 { max-width: 52ch; }
.sc-lead--58 { max-width: 58ch; line-height: 1.6; }

/* ---------- przyciski ---------- */

.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 24px;
	border: 0;
	font-family: var(--ff);
	font-weight: 600;
	font-size: 16px;
	line-height: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.sc-btn:active { transform: translateY(1px); }
.sc-btn--red { background: var(--red); color: var(--white); }
.sc-btn--red:hover { background: var(--red-dark); color: var(--white); }
.sc-btn--dark { background: var(--ink); color: var(--white); }
.sc-btn--dark:hover { background: var(--red); color: var(--white); }
.sc-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white); }
.sc-btn--ghost:hover { border-color: var(--white); color: var(--white); }
.sc-btn--lg { padding: 17px 28px; }
.sc-btn--nav { padding: 11px 20px; }
.sc-btn--block { display: flex; padding: 14px 20px; white-space: normal; }

/* ---------- nagłówek ---------- */

.sc-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .sc-header { top: 32px; }
.sc-header__bar {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px 0 28px;
	height: var(--head);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.sc-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.sc-header__logo img { height: 32px; width: auto; display: block; }

.sc-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.sc-nav__drop { height: var(--head); display: flex; align-items: center; }
.sc-nav__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
}
.sc-nav__toggle:hover, .sc-nav__toggle[aria-expanded="true"] { color: var(--red); }
.sc-nav__toggle svg { transition: transform 0.2s; }
.sc-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.sc-mega {
	position: absolute;
	top: var(--head);
	left: 0;
	right: 0;
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 48px rgba(24, 24, 27, 0.1);
	white-space: normal;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
}
.sc-nav__drop.is-open .sc-mega { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
.sc-mega__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 28px;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
	gap: 28px;
}
.sc-mega__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px; }
.sc-mega__item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; color: var(--ink); transition: background 0.15s; }
.sc-mega__item:hover { background: var(--bg-2); color: var(--ink); }
.sc-mega__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); color: var(--red); }
.sc-mega__text { display: flex; flex-direction: column; gap: 6px; }
.sc-mega__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sc-mega__desc { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.sc-mega__card { background: var(--ink); color: var(--white); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.sc-mega__lead { font-family: var(--fd); font-stretch: 100%; font-weight: 600; font-size: 22px; line-height: 1.25; margin: 14px 0 0; }
.sc-mega__actions { display: flex; flex-direction: column; gap: 12px; }
.sc-mega__phone { font-size: 16px; font-weight: 600; color: var(--white); text-align: center; }
.sc-mega__phone:hover { color: var(--light); }

.sc-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -10px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}
.sc-burger span { display: flex; }
.sc-burger .sc-burger__close { display: none; }
.sc-burger[aria-expanded="true"] .sc-burger__open { display: none; }
.sc-burger[aria-expanded="true"] .sc-burger__close { display: flex; }

.sc-mob {
	position: fixed;
	top: calc(var(--head) + 1px);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 25;
	overscroll-behavior: contain;
	background: var(--white);
	overflow-y: auto;
	padding: 24px 28px 120px;
}
.admin-bar .sc-mob { top: calc(var(--head) + 47px); }
.sc-mob__services { display: flex; flex-direction: column; margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sc-mob__services a { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.sc-mob__services svg { flex-shrink: 0; }
.sc-mob__links { display: flex; flex-direction: column; }
.sc-mob__links a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 24px; color: var(--ink); }
.sc-mob__phone { display: block; margin-top: 28px; font-size: 16px; font-weight: 600; color: var(--ink); }
.sc-mob__mail { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); }

.sc-fab {
	display: none;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 30;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	background: var(--red);
	color: var(--white);
	font-weight: 600;
	font-size: 16px;
	box-shadow: 0 12px 32px rgba(24, 24, 27, 0.28);
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
	transition: opacity 0.3s, transform 0.35s var(--ease);
}
.sc-fab:hover, .sc-fab:active { color: var(--white); }
.sc-fab:active { background: var(--red-dark); }
.sc-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 899px) {
	.sc-nav { display: none; }
	.sc-burger { display: flex; }
	.sc-fab { display: flex; }
	body.sc-lock .sc-fab { opacity: 0; transform: translateY(24px); pointer-events: none; }
}
@media (max-width: 782px) {
	.admin-bar .sc-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .sc-header { top: 0; }
}

/* ---------- animacje wejścia ---------- */

.sc-js [data-rv], .sc-js [data-hv] { opacity: 0; transform: translateY(28px); }
.sc-js [data-hv] { transform: translateY(24px); }
.sc-js [data-rv].is-in, .sc-js [data-hv].is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms);
}
.sc-safe [data-rv], .sc-safe [data-hv] { opacity: 1 !important; transform: none !important; }

/* ---------- sekcja powitalna ---------- */

.sc-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.sc-hero__img {
	position: absolute;
	top: 0;
	right: 0;
	width: 62%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.1);
	opacity: 0.55;
}
.sc-js .sc-hero__img { opacity: 0; transform: scale(1.08); }
.sc-js .sc-hero__img.is-in { opacity: 0.55; transform: scale(1); transition: opacity 1.4s var(--ease), transform 2.2s var(--ease); }
.sc-js .sc-hero__img.is-still { transition: none; }
.sc-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #18181B 38%, rgba(24, 24, 27, 0.55) 70%, rgba(24, 24, 27, 0.2) 100%); }
.sc-hero__inner { position: relative; min-height: calc(100dvh - var(--head)); display: flex; flex-direction: column; }
.admin-bar .sc-hero__inner { min-height: calc(100dvh - var(--head) - 32px); }
.sc-hero__text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 64px; }
.sc-hero__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); }
.sc-hero__eyebrow span { width: 32px; height: 2px; background: var(--red); flex-shrink: 0; }
.sc-hero__title {
	font-family: var(--fd);
	font-stretch: 112%;
	font-weight: 600;
	font-size: clamp(40px, 5.5vw, 76px);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 28px 0 0;
	max-width: 13ch;
	text-wrap: balance;
}
.sc-hero__lead { font-size: 16px; line-height: 1.6; color: var(--light); max-width: 46ch; margin: 32px 0 0; text-wrap: pretty; }
.sc-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.sc-hero__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 64px; }
.sc-hero__stat { font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.sc-hero__stat-label { font-size: 16px; color: var(--muted-2); margin-top: 4px; }
.sc-hero__bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sc-hero__bar a { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); color: var(--white); transition: background 0.2s; }
.sc-hero__bar a:first-child { border-left: 0; }
.sc-hero__bar a:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.sc-hero__bar span { font-size: 16px; font-weight: 600; line-height: 1.3; }

/* ---------- wyzwanie ---------- */

.sc-challenge { padding-top: var(--sec); }
.sc-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px 64px; align-items: end; }
.sc-split > * { min-width: 0; }
.sc-split > p { margin: 0; }
.sc-problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 24px; margin-top: clamp(40px, 5vw, 64px); }
.sc-problem { min-width: 0; padding: 32px 32px 0 0; border-top: 1px solid var(--ink); }
.sc-problem h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 20px 0 0; }
.sc-problem p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 8px 0 0; max-width: 34ch; text-wrap: pretty; }
.sc-answer {
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(28px, 4vw, 48px);
	background: var(--ink);
	color: var(--white);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px 64px;
	align-items: center;
}
.sc-answer__head { display: flex; align-items: center; gap: 16px; }
.sc-answer__head svg { flex-shrink: 0; }
.sc-answer__head h3 { font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 24px; line-height: 1.2; }
.sc-answer p { font-size: 16px; line-height: 1.6; color: var(--light); text-wrap: pretty; }
.sc-answer__link { display: inline-block; margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--white); border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.sc-answer__link:hover { color: var(--light); }

/* ---------- obszary ---------- */

.sc-areas { padding-top: var(--sec); padding-bottom: clamp(48px, 6vw, 72px); gap: 32px 64px; }
.sc-lead--52 { line-height: 1.65; }

/* ---------- usługi ---------- */

.sc-service { background: var(--white); }
.sc-service--bialy { border-top: 1px solid var(--line); }
.sc-service--szary { background: var(--bg-2); }
.sc-service--ciemny { background: var(--ink); color: var(--white); }
.sc-service__main {
	padding-top: clamp(64px, 9vw, 112px);
	padding-bottom: 56px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 40px 56px;
	align-items: center;
}
.sc-service__main > * { min-width: 0; }
.sc-service--img-right .sc-service__media { order: 1; }
.sc-service__media { position: relative; width: 100%; height: clamp(300px, 48vw, 640px); overflow: hidden; background: var(--line); }
.sc-service--ciemny .sc-service__media { background: var(--line-dark); }
.sc-service__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-service--ciemny .sc-service__media img { filter: grayscale(0.4); }
.sc-js .sc-service__media img { position: relative; top: -8%; height: 116%; will-change: transform; }
.sc-service__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); }
.sc-service--ciemny .sc-service__icon { border-color: var(--line-dark); }
.sc-service__title { margin-top: 24px; color: var(--ink); }
.sc-service--ciemny .sc-service__title { color: var(--white); }
.sc-service__lead { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 18px 0 0; max-width: 56ch; text-wrap: pretty; }
.sc-service--ciemny .sc-service__lead { color: var(--light); }
.sc-service__scope { margin-top: 40px; }
.sc-service--ciemny .sc-label { color: var(--muted-2); }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.sc-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.sc-list li > span:first-child { flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; background: var(--red); }
.sc-service--ciemny .sc-list { color: var(--white); }
.sc-service--ciemny .sc-list li { border-bottom-color: var(--line-dark); }
.sc-service__who { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 32px 0 0; max-width: 60ch; text-wrap: pretty; }
.sc-service__who strong { color: var(--ink); font-weight: 600; }
.sc-service--ciemny .sc-service__who { color: var(--light); }
.sc-service--ciemny .sc-service__who strong { color: var(--white); }
.sc-service__body > .sc-btn { margin-top: 32px; }
.sc-service__benefits { padding-bottom: 112px; }
.sc-service__benefits .sc-label { margin: 0 0 20px; }
.sc-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.sc-benefit { padding: 28px 24px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.sc-service--szary .sc-benefit { background: var(--white); }
.sc-service--ciemny .sc-benefit { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.sc-benefit h4 { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.sc-service--ciemny .sc-benefit h4 { color: var(--white); }

/* ---------- podejście ---------- */

.sc-approach { padding-top: var(--sec); }
.sc-approach__lead { margin-top: 16px; }
.sc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px 24px; margin-top: 56px; border-top: 1px solid var(--light); }
.sc-step { position: relative; padding-top: 32px; cursor: default; }
.sc-step__bar { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); transition: background 0.3s, width 0.4s var(--ease); }
.sc-step.is-active .sc-step__bar { width: 48px; background: var(--red); }
.sc-step h3 { font-size: 18px; font-weight: 600; }
.sc-step p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; text-wrap: pretty; }

/* ---------- dla kogo ---------- */

.sc-sectors { padding-top: var(--sec); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; }
.sc-sector { min-width: 0; }
.sc-sector__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.sc-sector__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-sector .sc-h3 { margin: 28px 0 0; }
.sc-sector p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; max-width: 52ch; text-wrap: pretty; }

/* ---------- o mnie ---------- */

.sc-about { padding-top: var(--sec); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 64px; align-items: start; }
.sc-about > * { min-width: 0; }
.sc-about__photo { max-width: 460px; width: 100%; aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.sc-about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-about__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted-2); font-size: 14px; border: 1px dashed var(--light); }
.sc-about__text { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: 28px; max-width: 60ch; }
.sc-about__text p { text-wrap: pretty; }
.sc-about__text p + p { margin-top: 18px; }
.sc-about__sign { margin-top: 28px; font-size: 16px; color: var(--muted); }
.sc-about__sign strong { color: var(--ink); font-weight: 600; }
.sc-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.sc-values h3 { font-size: 18px; font-weight: 600; }
.sc-values p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 6px 0 0; }

/* ---------- kontakt ---------- */

.sc-contact { margin-top: var(--sec); background: var(--bg-2); border-top: 1px solid var(--line); }
.sc-contact__grid { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; }
.sc-contact__grid > * { min-width: 0; }
.sc-contact__lead { margin-top: 16px; }
.sc-contact__items { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.sc-contact__item { display: flex; gap: 18px; align-items: flex-start; }
.sc-contact__item > svg { flex-shrink: 0; margin-top: 3px; }
.sc-contact__item > div { min-width: 0; }
.sc-contact__item .sc-label { margin: 0; color: var(--muted); }
.sc-contact__big { display: inline-block; margin-top: 6px; font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 24px; color: var(--ink); }
.sc-contact__big--break { word-break: break-word; }
.sc-contact__addr { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.sc-contact__form { background: var(--white); border: 1px solid var(--line); padding: 40px; }
.sc-contact__thanks { padding: 24px 0; outline: none; }
.sc-contact__thanks p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }

/* formularz CF7 */
.sc-form { display: flex; flex-direction: column; gap: 20px; }
.sc-form .hidden-fields-container, .sc-form fieldset { display: none; }
.sc-field { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 500; color: var(--ink); }
.sc-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; }
.sc-form .wpcf7-form-control-wrap { display: block; }
.sc-form input[type="text"], .sc-form input[type="email"], .sc-form input[type="tel"], .sc-form select, .sc-form textarea {
	display: block;
	width: 100%;
	font: inherit;
	font-family: var(--ff);
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	padding: 13px 14px;
	border: 1px solid var(--muted-2);
	border-radius: 0;
	background: var(--white);
	color: var(--ink);
	outline-color: var(--red);
}
.sc-form select { -webkit-appearance: none; appearance: none; padding-top: 14px; padding-bottom: 14px; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.sc-form textarea { resize: vertical; min-height: 0; }
.sc-form ::placeholder { color: var(--muted-2); opacity: 1; }
.sc-form__consent { font-size: 16px; line-height: 1.5; color: var(--muted); }
.sc-form__consent .wpcf7-list-item { margin: 0; display: block; }
.sc-form__consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.sc-form__consent input { margin: 3px 0 0; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.sc-form__consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.sc-form__consent a:hover { color: var(--red); }
.sc-form .wpcf7-submit { align-self: flex-start; padding: 16px 28px; }
.sc-form .wpcf7-spinner { display: none; }
.sc-form.submitting .wpcf7-submit { opacity: 0.6; pointer-events: none; }
.sc-form .wpcf7-not-valid { border-color: var(--red) !important; }
.sc-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--red); }
.sc-form .wpcf7-response-output { margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--line) !important; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sc-form.invalid .wpcf7-response-output, .sc-form.failed .wpcf7-response-output, .sc-form.spam .wpcf7-response-output { border-color: var(--red) !important; }
.sc-form.init .wpcf7-response-output, .sc-form.resetting .wpcf7-response-output, .sc-form.submitting .wpcf7-response-output { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.sc-map { position: relative; height: clamp(320px, 40vw, 480px); background: var(--line); border-top: 1px solid var(--line); }
.sc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- stopka ---------- */

.sc-footer { background: var(--white); border-top: 1px solid var(--line); }
.sc-footer__top { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; color: var(--muted); }
.sc-footer__logo { height: 26px; width: auto; display: block; }
.sc-footer__bottom { border-top: 1px solid var(--line); }
.sc-footer__row { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 16px; color: var(--muted); }
.sc-footer__link { color: var(--muted); }
.sc-footer__author { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) {
	.sc-footer { padding-bottom: 88px; }
}

/* ---------- podstrony tekstowe ---------- */

.sc-doc-head { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sc-doc-head__inner { padding-top: 96px; padding-bottom: 72px; }
.sc-doc-head__title {
	font-family: var(--fd);
	font-stretch: 112%;
	font-weight: 600;
	font-size: clamp(40px, 5.5vw, 76px);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 20px 0 0;
	text-wrap: balance;
}
.sc-doc-head__inner > .sc-doc-head__title:first-child { margin-top: 0; }
.sc-doc-head__sub { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 24px 0 0; }
.sc-doc-head--404 .sc-hero__actions { margin-top: 32px; }
.sc-doc { padding-top: 80px; padding-bottom: 128px; }
.sc-prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); display: flex; flex-direction: column; gap: 20px; }
.sc-prose > * { margin: 0; text-wrap: pretty; }
.sc-prose h2, .sc-prose h3 { font-family: var(--fd); font-stretch: 108%; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin-top: 16px; }
.sc-prose h2 { font-size: 24px; }
.sc-prose h3 { font-size: 20px; }
.sc-prose ul, .sc-prose ol { padding-left: 1.3em; }
.sc-prose li + li { margin-top: 6px; }
.sc-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.sc-prose a:hover { color: var(--red); }
.sc-prose strong { color: var(--ink); font-weight: 600; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- blog: lista ---------- */

.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.sc-chip { padding: 9px 16px; border: 1px solid var(--light); background: var(--white); font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.sc-chip:hover { border-color: var(--ink); color: var(--ink); }
.sc-chip.is-current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sc-blog { padding-top: 80px; padding-bottom: var(--sec); }
.sc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 56px 32px; }
.sc-card { min-width: 0; display: flex; flex-direction: column; }
.sc-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.sc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.sc-card:hover .sc-card__img img { transform: scale(1.04); }
.sc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.sc-card__cat { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.sc-card__cat:hover { color: var(--red-dark); }
.sc-card__title { font-family: var(--fd); font-stretch: 108%; font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin-top: 12px; text-wrap: balance; }
.sc-card__title a { color: var(--ink); }
.sc-card__title a:hover { color: var(--red); }
.sc-card__excerpt { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 12px; text-wrap: pretty; }
.sc-card__more { align-self: flex-start; margin-top: 20px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.sc-pager { margin-top: 64px; }
.sc-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sc-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--light); font-weight: 500; color: var(--ink); }
.sc-pager a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.sc-pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sc-pager .dots { border: 0; }

/* ---------- blog: wpis ---------- */

.sc-post-head__back { display: inline-block; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.sc-post-head__meta { margin-top: 0; }
.sc-post-head__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; max-width: 22ch; margin-top: 20px; }
.sc-post-head__lead { max-width: 62ch; font-size: 18px; }
.sc-post { padding-top: 64px; padding-bottom: var(--sec); }
.sc-post__img { margin: 0 0 64px; aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg-2); }
.sc-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-post__body { max-width: 720px; margin: 0 auto; font-size: 17px; }
.sc-post__body h2 { font-size: 26px; margin-top: 24px; }
.sc-post__body img { display: block; }
.sc-post__body blockquote { margin: 8px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); color: var(--ink); font-size: 19px; }
.sc-post__body li::marker { color: var(--red); }
.sc-author { max-width: 720px; margin: 64px auto 0; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.sc-author__photo { width: 72px; height: 72px; flex-shrink: 0; overflow: hidden; background: var(--white); }
.sc-author__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-author__photo--empty { display: flex; align-items: center; justify-content: center; color: var(--muted-2); border: 1px solid var(--line); }
.sc-author__text { flex: 1 1 260px; min-width: 0; }
.sc-author__text strong { font-size: 18px; font-weight: 600; }
.sc-author__text p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 6px; }
.sc-related { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 112px) 0; }
.sc-related__title { margin-bottom: 48px; }
.sc-related .sc-card__img { background: var(--line); }

/* ---------- newsletter ---------- */

.sc-nl { margin-top: var(--sec); background: var(--ink); color: var(--white); }
.sc-blog + .sc-nl, .sc-related + .sc-nl, .sc-post + .sc-nl { margin-top: 0; }
article + .sc-nl { margin-top: 0; }
.sc-nl + .sc-contact { margin-top: 0; }
.sc-nl__grid { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px 64px; align-items: center; }
.sc-nl__grid > * { min-width: 0; }
.sc-nl .sc-h2 { color: var(--white); }
.sc-nl__lead { font-size: 16px; line-height: 1.65; color: var(--light); margin-top: 16px; max-width: 52ch; text-wrap: pretty; }
.sc-nl__row { display: flex; gap: 12px; }
.sc-nl__row .sc-field { flex: 1; min-width: 0; }
.sc-nl .sc-form input[type="email"] { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: var(--white); height: 56px; }
.sc-nl .sc-form input[type="email"]:focus { border-color: var(--white); }
.sc-nl .sc-form ::placeholder { color: var(--muted-2); }
.sc-nl .sc-form .wpcf7-submit { align-self: auto; height: 56px; padding: 0 28px; }
.sc-nl .sc-form__consent { font-size: 15px; color: var(--muted-2); }
.sc-nl .sc-form__consent a { color: var(--white); }
.sc-nl .sc-form .wpcf7-response-output { color: var(--light); border-color: rgba(255, 255, 255, 0.2) !important; }
.sc-nl .sc-form .wpcf7-not-valid-tip { color: #F87171; }
.sc-nl__thanks { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 600; outline: none; }
.sc-nl__thanks svg { flex-shrink: 0; }
@media (max-width: 520px) {
	.sc-nl__row { flex-direction: column; }
	.sc-nl .sc-form .wpcf7-submit { width: 100%; }
}
