/* Aztaria — remonty i wykończenia wnętrz
   Motyw: rysunek wykonawczy. Linie wymiarowe to jedyny ozdobnik;
   reszta to zdjęcia realizacji i spokojna typografia. */

:root {
	--tynk: #F1F2EF;        /* tło strony, kolor gładzi */
	--bialy: #FFFFFF;
	--grafit: #1D2226;      /* tekst, ciemne sekcje */
	--szary: #56616A;       /* tekst pomocniczy */
	--linia: #CDD3D0;       /* podziały */
	--kreska: #1F4E79;      /* niebieski rysunku technicznego: akcent, CTA */
	--kreska-ciemna: #163A5B;
	--kreska-jasna: #E3EAF1;
	--kreska-na-ciemnym: #A9C6E2; /* akcent na grafitowym tle */

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wide: 112%;
	--narrow: 80%;

	--max: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
	margin: 0;
	background: var(--tynk);
	color: var(--grafit);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-variation-settings: normal;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--kreska); text-underline-offset: 3px; }
a:hover { color: var(--kreska-ciemna); }

:focus-visible {
	outline: 3px solid var(--kreska);
	outline-offset: 3px;
}

h1, h2, h3 {
	font-stretch: var(--wide);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 64ch; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--szary); line-height: 1.55; }

.wrap {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.skip {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--grafit); color: var(--bialy); padding: 10px 16px;
}
.skip:focus { top: 8px; }

/* ---------- Przyciski ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px;
	font: inherit; font-weight: 600; font-size: 1rem;
	text-decoration: none; border-radius: var(--radius);
	border: 2px solid transparent; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--kreska); color: var(--bialy); }
.btn-primary:hover { background: var(--kreska-ciemna); color: var(--bialy); }
.btn-ghost { border-color: var(--grafit); color: var(--grafit); }
.btn-ghost:hover { background: var(--grafit); color: var(--bialy); }
.btn-light { background: var(--bialy); color: var(--grafit); }
.btn-light:hover { background: var(--kreska-jasna); color: var(--grafit); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--bialy); }
.btn-outline-light:hover { border-color: var(--bialy); background: rgba(255,255,255,.08); color: var(--bialy); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nagłówek ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(241, 242, 239, .94);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--linia);
}
.site-header .wrap {
	display: flex; align-items: center; gap: 32px;
	min-height: 76px;
}
.brand { flex: none; display: block; }
.brand img { width: 156px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
	display: block; padding: 10px 14px;
	color: var(--grafit); text-decoration: none; font-weight: 500;
	box-shadow: inset 0 -2px 0 transparent;
	transition: color .15s, box-shadow .15s;
}
.nav a:hover { color: var(--kreska); box-shadow: inset 0 -2px 0 var(--linia); }
.nav a[aria-current="page"] {
	color: var(--kreska);
	box-shadow: inset 0 -2px 0 var(--kreska);
}

.header-phone {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 650; font-stretch: var(--wide); font-variant-numeric: tabular-nums;
	color: var(--bialy); background: var(--kreska);
	padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
	white-space: nowrap;
}
.header-phone:hover { background: var(--kreska-ciemna); color: var(--bialy); }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
	display: none; margin-left: auto;
	width: 48px; height: 48px; padding: 0;
	background: none; border: 1px solid var(--linia); border-radius: var(--radius);
	color: var(--grafit); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 900px) {
	.site-header .wrap { gap: 12px; min-height: 64px; }
	.brand img { width: 128px; }
	.nav-toggle { display: grid; }
	.header-phone { display: none; }
	.nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--tynk); border-bottom: 1px solid var(--linia);
		padding: 8px var(--gutter) 20px;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--linia); }
	.nav a:hover, .nav a[aria-current="page"] { box-shadow: none; }
}

/* ---------- Linia wymiarowa (motyw przewodni) ---------- */

.dim {
	--c: var(--kreska);
	position: relative;
	display: flex; align-items: center; justify-content: center;
	min-height: 1.5em;
}
.dim::before {
	/* linia z kreskami końcowymi po obu stronach */
	content: ""; position: absolute; left: 0; right: 0; top: 50%;
	height: 13px; transform: translateY(-50%);
	background:
		linear-gradient(var(--c), var(--c)) left center / 1px 100% no-repeat,
		linear-gradient(var(--c), var(--c)) right center / 1px 100% no-repeat,
		linear-gradient(var(--c), var(--c)) center / 100% 1px no-repeat;
}
.dim > span {
	position: relative; padding: 0 10px;
	background: var(--dim-bg, var(--tynk));
	color: var(--c);
	font-stretch: var(--narrow); font-weight: 500; font-size: .9rem;
	font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
	padding: clamp(40px, 6vw, 88px) 0 var(--section);
	background: var(--grafit); color: #E7EAE8; --dim-bg: var(--grafit);
}
.hero h1 { color: var(--bialy); }
.hero .lead { color: #B9C0C4; }
.hero :focus-visible { outline-color: var(--kreska-na-ciemnym); }
.hero .dim { --c: var(--kreska-na-ciemnym); }
.hero .dim > .stat-value { color: var(--bialy); }
.hero .stat-label { color: #B9C0C4; }
.hero-grid {
	display: grid; gap: clamp(32px, 5vw, 72px);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 2rem; }

.hero-figure { margin: 0; }
.hero-figure img {
	width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
	border-radius: var(--radius);
}
.hero-figure .dim { margin-top: 14px; }
.hero-figure figcaption { font-size: .9rem; color: var(--szary); margin-top: 6px; }

/* Łańcuch wymiarowy: trzy liczby siedzą na jednej linii jak wymiary na rysunku */
.stats {
	list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.stats li + li .dim::before { background-position: -1px center, right center, center; }
.stats .dim { width: 100%; min-height: 3.2rem; }
.stats .dim > span { padding: 0 14px; }
.dim > .stat-value {
	font-stretch: var(--wide); font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1;
	color: var(--grafit);
}
.stat-value small { font-size: .55em; font-weight: 600; margin-left: .15em; }
.stat-label { font-size: .95rem; color: var(--szary); line-height: 1.35; margin: 0; padding: 0 12px; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-figure { order: -1; }
}
@media (max-width: 600px) {
	.stats { grid-template-columns: 1fr; gap: 24px; }
	.actions .btn { flex: 1 1 100%; }
}

/* ---------- Sekcje ---------- */

.section { padding: var(--section) 0; }
.section-white { background: var(--bialy); --dim-bg: var(--bialy); }
.section-dark { background: var(--grafit); color: #E7EAE8; --dim-bg: var(--grafit); }
.section-dark h2, .section-dark h3 { color: var(--bialy); }
.section-dark .lead { color: #B9C0C4; }

.section-head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; color: var(--szary); max-width: 46ch; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Zakres prac — jak zestawienie w kosztorysie */
.scope {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px);
	border-top: 1px solid var(--grafit);
}
.scope li { border-bottom: 1px solid var(--linia); }
.scope a {
	display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline;
	padding: 22px 0; text-decoration: none; color: var(--grafit);
}
.scope a:hover .scope-title { color: var(--kreska); }
.scope-title { font-weight: 600; font-size: 1.15rem; font-stretch: var(--wide); }
.scope-desc { grid-column: 1; color: var(--szary); font-size: .95rem; }
.scope-go { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--kreska); }
.scope-go svg { width: 22px; height: 22px; display: block; }
@media (max-width: 720px) { .scope { grid-template-columns: 1fr; } }

/* Realizacje na stronie głównej */
.projects {
	display: grid; gap: 32px 24px;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.project { display: flex; flex-direction: column; text-decoration: none; color: var(--grafit); }
.project img { width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--linia); }
.project:first-child { grid-row: 1 / span 2; }
/* duże zdjęcie wypełnia całą wysokość, więc jego podpis wyrównuje się z ostatnim podpisem po prawej */
.project:first-child img { flex: 1 1 0; min-height: 0; height: 100%; }
.project:not(:first-child) img { aspect-ratio: 16 / 9; }
.project h3 { margin: 14px 0 2px; }
.project p { margin: 0; color: var(--szary); font-size: .95rem; }
.project:hover h3 { color: var(--kreska); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
	.projects { grid-template-columns: 1fr; }
	.project:first-child { grid-row: auto; }
	.project:first-child img { flex: none; height: auto; aspect-ratio: 4 / 3; }
}

/* Etapy współpracy — prawdziwa sekwencja, więc numeracja ma sens */
.steps {
	list-style: none; margin: 0; padding: 0; counter-reset: krok;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.steps li { counter-increment: krok; position: relative; padding-top: 44px; }
.steps li::before {
	content: counter(krok);
	position: absolute; top: 0; left: 0;
	width: 32px; height: 32px; display: grid; place-items: center;
	border: 1px solid currentColor; border-radius: 50%;
	font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums;
	color: var(--kreska);
}
.steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 16px; left: 44px; right: -20px;
	border-top: 1px dashed var(--linia);
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--szary); font-size: .97rem; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; gap: 28px; }
	.steps li { padding: 0 0 0 52px; }
	.steps li::after { display: none; }
}

/* Dlaczego my */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.reasons h3 { padding-top: 16px; border-top: 2px solid var(--grafit); }
.reasons p { color: var(--szary); margin: 0; }
@media (max-width: 800px) { .reasons { grid-template-columns: 1fr; } }

.brands {
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px;
	margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--linia);
}
.brands p { margin: 0; color: var(--szary); font-size: .95rem; flex: 1 1 220px; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.brands img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* Pas kontaktowy */
.cta-band .wrap {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 64px; align-items: end;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .actions { justify-content: flex-end; }
@media (max-width: 800px) {
	.cta-band .wrap { grid-template-columns: 1fr; }
	.cta-band .actions { justify-content: flex-start; }
}

/* ---------- Podstrony ---------- */

/* Menu i pierwsza sekcja (hero, nagłówek podstrony) tworzą jedną ciemną płaszczyznę, a sekcje pod nią idą na zmianę: tynk, biały, tynk... */
.ciemne-menu .site-header {
	background: var(--grafit); backdrop-filter: none;
	border-bottom-color: transparent; transition: border-color .2s;
}
.ciemne-menu .site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .12); }
.ciemne-menu .site-header :focus-visible,
.page-head :focus-visible { outline-color: var(--kreska-na-ciemnym); }
.ciemne-menu .brand img { filter: brightness(0) invert(1); }
.ciemne-menu .nav a { color: #E7EAE8; }
.ciemne-menu .nav a:hover { color: var(--bialy); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .35); }
.ciemne-menu .nav a[aria-current="page"] { color: var(--kreska-na-ciemnym); box-shadow: inset 0 -1px 0 var(--kreska-na-ciemnym); }
.ciemne-menu .header-phone {
	background: none; padding: 10px 0 10px 24px; border-radius: 0;
	border-left: 1px solid rgba(255, 255, 255, .15);
	color: var(--bialy); font-size: 1.2rem;
}
.ciemne-menu .header-phone svg { color: var(--kreska-na-ciemnym); }
.ciemne-menu .header-phone:hover { background: none; color: var(--kreska-na-ciemnym); }
.ciemne-menu .nav-toggle { color: var(--bialy); border-color: rgba(255, 255, 255, .25); }
@media (max-width: 900px) {
	.ciemne-menu .nav { background: var(--grafit); border-bottom-color: rgba(255, 255, 255, .12); box-shadow: 0 16px 24px rgba(0, 0, 0, .35); }
	.ciemne-menu .nav a { border-bottom-color: rgba(255, 255, 255, .1); }
	.ciemne-menu .nav a:hover, .ciemne-menu .nav a[aria-current="page"] { box-shadow: none; }
}

.page-head {
	background: var(--grafit); color: #E7EAE8; --dim-bg: var(--grafit);
	padding: clamp(28px, 4vw, 48px) 0 8px;
}
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--bialy); }
.page-head .lead, .page-head .gallery-hint { color: #B9C0C4; }
.page-head .lead { margin: 0; }
.page-head a { color: var(--kreska-na-ciemnym); }
.page-head a:hover { color: var(--bialy); }
.page-head .dim { --c: var(--kreska-na-ciemnym); }
.page-head-dim { margin-top: clamp(32px, 4vw, 56px); }
.page-head .wrap > :last-child:not(.dim) { margin-bottom: clamp(32px, 4vw, 56px); }

.crumbs { margin-bottom: clamp(20px, 3vw, 32px); font-size: .9rem; color: #B9C0C4; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .3); }
.page-head .crumbs a { color: #B9C0C4; text-decoration: none; }
.page-head .crumbs a:hover { color: var(--bialy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--bialy); }

/* Oferta: dwie główne usługi na białym pasie, pod nimi szczegółowy zakres w dwóch kolumnach */
.section.offer-main { padding: clamp(40px, 5vw, 72px) 0; }
.offer-intro { display: grid; grid-template-columns: 1fr 1fr; }
.offer-intro > section { padding: 0 clamp(24px, 4vw, 56px); }
.offer-intro > section:first-child { padding-left: 0; }
.offer-intro > section + section { border-left: 1px solid var(--linia); }
.offer-intro h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.offer-intro p { color: var(--szary); font-size: 1.1rem; margin: 0; max-width: 46ch; }

#zakres-prac { margin-bottom: clamp(28px, 4vw, 48px); }
.offer-groups {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(36px, 4vw, 56px) clamp(32px, 6vw, 88px); align-items: start;
}
.offer-group { border-top: 2px solid var(--grafit); padding-top: 20px; }
.offer-group h3 { font-size: 1.2rem; margin: 0 0 10px; }
.offer-group ul { margin: 0; padding: 0; list-style: none; }
.offer-group li { padding: 4px 0 4px 22px; position: relative; line-height: 1.45; }
.offer-group li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; border-top: 1px solid var(--kreska); }

@media (max-width: 760px) {
	.offer-intro, .offer-groups { grid-template-columns: 1fr; }
	.offer-intro > section { padding: 0; }
	.offer-intro > section + section { border-left: 0; border-top: 1px solid var(--linia); margin-top: 28px; padding-top: 28px; }
}

/* O nas */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid figure { margin: 0; }
.about-grid img { width: 100%; border-radius: var(--radius); }
.about-photos { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.about-photos figure:first-child { grid-column: 1 / -1; }
.about-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-text h2 { font-size: 1.5rem; margin-top: 1.6em; }
.about-text h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* Galeria */
.gallery-project { padding: clamp(48px, 6vw, 80px) 0; }
.gallery-project header { margin-bottom: 28px; }
.gallery-project h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 10px; }
.gallery-project header p { margin: 0; color: var(--szary); max-width: 70ch; }
.gallery-hint { margin: 16px 0 0; font-size: .95rem; color: var(--szary); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: dense; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.thumbs li:first-child { grid-column: span 2; grid-row: span 2; }
.thumbs button {
	display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--linia);
	cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
}
.thumbs img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.thumbs button:hover img { opacity: .85; }
@media (max-width: 520px) {
	.thumbs { grid-template-columns: 1fr 1fr; gap: 6px; }
}

.lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
	border: 0; background: rgba(17, 20, 22, .96); color: var(--bialy);
}
.lightbox::backdrop { background: rgba(17, 20, 22, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lb-count { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; color: #B9C0C4; font-size: .95rem; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px 24px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain; }
.lb-btn {
	width: 48px; height: 48px; display: grid; place-items: center;
	background: rgba(255,255,255,.08); color: var(--bialy);
	border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 640px) {
	.lb-stage { padding: 0 0 80px; }
	.lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
	.lb-prev { left: calc(50% - 60px); }
	.lb-next { right: calc(50% - 60px); }
}

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--grafit); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--linia); display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; align-items: baseline; }
.contact-list .k { color: var(--szary); font-size: .95rem; }
.contact-list .v { font-size: 1.2rem; font-weight: 600; font-stretch: var(--wide); }
.contact-list .v a { color: var(--grafit); text-decoration: none; }
.contact-list .v a:hover { color: var(--kreska); text-decoration: underline; }
.contact-list .v small { display: block; font-size: .9rem; font-weight: 400; font-stretch: 100%; color: var(--szary); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--linia); display: block; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before {
	content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px;
	border-left: 2px solid var(--kreska); border-bottom: 2px solid var(--kreska); transform: rotate(-45deg);
}
@media (max-width: 860px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-list li { grid-template-columns: 1fr; }
}

/* ---------- Stopka ---------- */

.site-footer { background: var(--grafit); color: #B9C0C4; padding: 56px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 160px; margin-bottom: 16px; }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; color: var(--bialy); margin-bottom: 10px; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #E7EAE8; text-decoration: none; }
.site-footer a:hover { color: var(--bialy); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; max-width: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Dolny pasek na telefonie: najważniejsza akcja zawsze pod kciukiem */
.call-bar { display: none; }
@media (max-width: 900px) {
	body { padding-bottom: 72px; }
	.call-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--bialy); border-top: 1px solid var(--linia);
	}
	.call-bar .btn { min-height: 50px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}

/* Poprawki po testach w Playwright */
.page-head + .section { padding-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) {
	.site-footer li a { display: inline-block; padding: 8px 0; }
}
/* Pas kontaktowy jest krótki, więc nie potrzebuje pełnego odstępu sekcji */
.cta-band { padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(40px, 4vw, 56px); }

/* Telefon: ciaśniejsze odstępy w menu, pierwszej sekcji, między sekcjami i w stopce */
@media (max-width: 900px) {
	/* Miejsce na dolny pasek daje stopka, żeby pod nią nie było jasnego paska */
	body { padding-bottom: 0; }
	.site-footer { padding-bottom: calc(24px + 72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
	:root { --section: 48px; }
	.section-head { margin-bottom: 24px; }

	.site-header .wrap { min-height: 56px; }
	.brand img { width: 116px; }
	.nav-toggle { width: 44px; height: 44px; }

	.hero { padding: 16px 0 40px; }
	.hero-grid { gap: 24px; }
	.hero h1 { margin-bottom: .3em; }
	.hero .lead { margin-bottom: 1.5rem; }
	.stats { margin-top: 32px; gap: 12px; }
	.stats .dim { min-height: 2.6rem; }

	.page-head { padding-top: 20px; }
	.crumbs { margin-bottom: 14px; }
	.page-head-dim { margin-top: 24px; }
	.page-head .wrap > :last-child:not(.dim) { margin-bottom: 28px; }
	.page-head + .section { padding-top: 36px; }

	.cta-band { padding-top: 32px; padding-bottom: 32px; }
	.cta-band .wrap { gap: 20px; }

	.site-footer { padding-top: 36px; }
	.site-footer .wrap { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.site-footer .wrap > :first-child,
	.site-footer nav { grid-column: 1 / -1; }
	.site-footer img { width: 128px; margin-bottom: 10px; }
	.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
	.site-footer li { padding: 0; }
	.site-footer li a { padding: 6px 0; }
	.footer-bottom { margin-top: 0; }

	.contact-list { margin-bottom: 28px; }
	.contact-list li { padding: 14px 0; gap: 2px; }
	.contact-grid { gap: 28px; }
}
