/*
Theme Name: Pracownia Klucz
Theme URI: https://pracowniaklucz.waw.pl/
Author: Pracownia Klucz
Description: Aktywny motyw WordPress dla pracowni ceramicznej Pracownia Klucz.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 8.3
Text Domain: pracownia-klucz
*/

/* ============================================================
   Pracownia Klucz - mockup strony głównej
   Paleta: leśna zieleń + chłodna kość + terakota (glina)
   Fonty: Fraunces (display) + Outfit (body)
   Wersja do wdrożenia: przenieść do motywu (style.css)
   ============================================================ */

/* ===== TOKENS ===== */
:root {
	--ink: #1e2a24;
	--pine: #2e4a3a;
	--pine-deep: #22382c;
	--bone: #f6f3ec;
	--bone-2: #efeae0;
	--clay: #c4673d;
	--clay-text: #a0522d; /* clay dla małego tekstu: 5.07:1 na --bone (WCAG AA 4.5) */
	--clay-btn: #b0562f; /* tło przycisku z białym tekstem: 4.98:1 */
	--clay-btn-hover: #9a4c29; /* hover: ciemniejszy, wciąż >= 4.5 */
	--clay-soft: #e8c9b4;
	--line: #e2dcd0;
	--muted: #606860; /* bylo #6B736C = 4.41:1 na --bone, ponizej progu AA */
	--danger: #a63a2a;
	--ring: rgba(196, 103, 61, 0.18);
	--white: #ffffff;
	--font-display: Georgia, "Times New Roman", serif;
	--font-body:
		system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-soft: 0 10px 30px rgba(30, 42, 36, 0.08);
	--shadow-lift: 0 18px 44px rgba(30, 42, 36, 0.14);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-body);
	background: var(--bone);
	color: var(--ink);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img {
	max-width: 100%;
	display: block;
}
a {
	text-decoration: none;
	color: inherit;
}
ul {
	list-style: none;
}
button {
	font-family: inherit;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
	font-weight: 550;
	letter-spacing: -0.015em;
	line-height: 1.08;
}

:focus-visible {
	outline: 2px solid var(--clay);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ===== UTILITIES ===== */
.section {
	padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 64px);
}
.section-heading {
	margin-bottom: clamp(40px, 5vw, 64px);
}
.section-heading h2 {
	font-size: clamp(30px, 4.5vw, 48px);
	color: var(--ink);
	max-width: 20ch;
}
.section-heading p {
	color: var(--muted);
	margin-top: 12px;
	max-width: 52ch;
}

.eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--clay-text);
}

/* ===== PRZYCISKI ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease),
		background 0.25s,
		color 0.25s;
}
.btn:hover {
	transform: translateY(-2px);
}
.btn:active {
	transform: translateY(0) scale(0.98);
}

.btn-primary {
	background: var(--clay-btn);
	color: var(--white);
}
.btn-primary:hover {
	background: var(--clay-btn-hover);
	box-shadow: var(--shadow-lift);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.btn-ghost:hover {
	background: var(--ink);
	color: var(--bone);
}

.btn-ghost-dark {
	background: transparent;
	color: var(--bone);
	border-color: rgba(246, 243, 236, 0.5);
}
.btn-ghost-dark:hover {
	background: var(--bone);
	color: var(--ink);
	border-color: var(--bone);
}

.btn-light {
	background: var(--bone);
	color: var(--ink);
}
.btn-light:hover {
	background: var(--white);
}

/* ===== NAWIGACJA ===== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(246, 243, 236, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition:
		background 0.3s,
		box-shadow 0.3s,
		border-color 0.3s;
}
.site-header.scrolled {
	background: rgba(246, 243, 236, 0.97);
	border-color: var(--line);
	box-shadow: 0 8px 26px rgba(30, 42, 36, 0.07);
}
.nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.nav-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.nav-logo-mark {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
	background: transparent;
}
.nav-logo-text {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	color: var(--ink);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 26px;
}
.nav-links a {
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
	transition:
		color 0.25s,
		border-color 0.25s;
}
.nav-links a:hover {
	color: var(--clay-text);
}
.nav-links a.active {
	color: var(--clay-text);
	border-bottom-color: var(--clay-text);
}

.nav-phone-group {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.nav-phone-sep {
	color: rgba(30, 42, 36, 0.3);
	font-weight: 400;
}
.nav-phone {
	font-weight: 700;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.nav-phone:hover {
	color: var(--clay-text);
}

.nav-burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	min-width: 44px;
	min-height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.nav-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	margin-bottom: 6px;
	transform-origin: center;
	transition:
		transform 0.3s var(--ease),
		opacity 0.2s,
		background 0.3s;
}
.nav-burger span:last-child {
	margin-bottom: 0;
}
/* otwarte menu: trzy kreski skladaja sie w X */
.nav-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
	min-height: 100dvh;
	display: flex;
	align-items: center;
	padding: 120px clamp(20px, 5vw, 64px) 80px;
	background: var(--bone);
}
.hero-grid {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.hero-copy .eyebrow {
	margin-bottom: 20px;
}
.hero-copy h1 {
	font-size: clamp(48px, 7vw, 84px);
	color: var(--ink);
	line-height: 1.02;
	max-width: 12ch;
}
.hero-sub {
	margin-top: 22px;
	font-size: clamp(16px, 1.6vw, 18px);
	color: var(--muted);
	max-width: 44ch;
	line-height: 1.7;
}
.hero-actions {
	display: flex;
	gap: 14px;
	margin-top: 34px;
	flex-wrap: wrap;
}

.hero-media {
	position: relative;
	isolation: isolate;
}
.hero-media img {
	width: 100%;
	height: auto;
	max-height: 72vh;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: var(--shadow-lift);
}
.hero-media::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1.5px solid var(--line);
	border-radius: 24px;
	z-index: -1;
}
/* Film w hero: materiał jest pionowy (9:16). Kadr jest zwężony i wyśrodkowany, żeby przycinać
   jak najmniej wysokości; object-position przesuwa widoczny pas w dół — na górze kadru jest
   tylko tło, a produkty siedzą niżej. Bez dźwięku, z własnym przyciskiem pauzy (bez pełnego ekranu). */
/* Jawna szerokość jest konieczna: przy samym margin-inline:auto figura jako element siatki
   przestaje się rozciągać i zwęża się do zawartości (wtedy film wychodzi 365 px, za mały). */
.hero-media-video {
	width: min(100%, 480px);
	margin-inline: auto;
}
/* Kontener wiąże przycisk pauzy z kadrem filmu, a nie z całą figurą (figura obejmuje też podpis). */
.hero-media-frame {
	position: relative;
}
.hero-media video {
	display: block;
	width: 100%;
	/* jawna wysokość: bez niej przeglądarka zwężała kadr, żeby nie ciąć, i film robił się za mały */
	height: 72vh;
	object-fit: cover;
	object-position: center 58%;
	border-radius: 24px;
	box-shadow: var(--shadow-lift);
	background: var(--bone-2);
}
.hero-video-toggle {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(30, 42, 36, 0.55);
	color: var(--white);
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition:
		background 0.2s var(--ease),
		transform 0.2s var(--ease);
}
.hero-video-toggle:hover {
	background: rgba(30, 42, 36, 0.78);
}
.hero-video-toggle:active {
	transform: scale(0.94);
}
.hero-video-toggle:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 3px;
}
.hero-video-toggle svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.hero-video-toggle[data-state="playing"] .icon-play,
.hero-video-toggle[data-state="paused"] .icon-pause {
	display: none;
}
.hero-media figcaption {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.04em;
	text-align: right;
}

/* ===== MANIFESTO ===== */
.manifesto {
	padding: clamp(88px, 10vw, 140px) clamp(20px, 5vw, 64px);
	background: var(--pine-deep);
	color: var(--bone);
	position: relative;
	overflow: hidden;
}
.manifesto::before {
	content: "";
	position: absolute;
	width: 720px;
	height: 720px;
	right: -240px;
	top: -280px;
	background: radial-gradient(
		circle,
		rgba(196, 103, 61, 0.18) 0%,
		rgba(196, 103, 61, 0) 62%
	);
	pointer-events: none;
}
.manifesto::after {
	content: "";
	position: absolute;
	width: 560px;
	height: 560px;
	left: -200px;
	bottom: -280px;
	background: radial-gradient(
		circle,
		rgba(246, 243, 236, 0.07) 0%,
		rgba(246, 243, 236, 0) 60%
	);
	pointer-events: none;
}
.manifesto-inner {
	position: relative;
	max-width: 1060px;
	margin: 0 auto;
}
.manifesto .eyebrow {
	display: block;
	margin-bottom: 22px;
	color: var(--clay-soft);
}
.manifesto h2 {
	font-size: clamp(34px, 5.2vw, 60px);
	line-height: 1.12;
	max-width: 22ch;
}
.manifesto-lead {
	margin: 26px 0 0;
	max-width: 60ch;
	font-size: 17px;
	color: rgba(246, 243, 236, 0.78);
}
.manifesto-lead em {
	font-style: italic;
	color: var(--clay-soft);
}
.manifesto-facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 48px;
	border-top: 1px solid rgba(246, 243, 236, 0.16);
	padding-top: 30px;
}
.manifesto-facts li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 28px;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: rgba(246, 243, 236, 0.68);
}
.manifesto-facts li:first-child {
	padding-left: 0;
}
.manifesto-facts li + li {
	border-left: 1px solid rgba(246, 243, 236, 0.16);
}
.manifesto-facts .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--clay);
	flex: none;
}

/* ===== OFERTA ===== */
.offer {
	background: var(--bone);
}
/* Ta sama kolumna 1200 px co galeria, „O nas" i stopka.
   Wcześniej .offer-grid nie miał ograniczenia szerokości, więc sekcja „Co tworzymy"
   rozciągała się na całą szerokość treści sekcji: przy 1440 px viewportu to 1312 px,
   przy 1920 px aż 1792 px, gdy galeria i „O nas" stały w kolumnie 1200 px (120 px,
   odpowiednio 360 px wolnego z każdej strony). Efekt: sekcja była jedyną bez
   negative space po bokach i wyglądała na szerszą niż reszta strony. */
.offer .section-heading,
.offer-grid {
	max-width: 1200px;
	margin-inline: auto;
}
.offer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}
.offer-card {
	background: var(--bone-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition:
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease);
}
.offer-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lift);
}
.offer-media {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
.offer-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.offer-card:hover .offer-media img {
	transform: scale(1.05);
}
.offer-body {
	padding: 30px 30px 34px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.offer-body h3 {
	font-size: 24px;
	margin-bottom: 12px;
}
.offer-body h3 a:hover {
	color: var(--clay-text);
}
.offer-body p {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.7;
}
.offer-more {
	margin-top: auto;
	padding-top: 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	transition: color 0.25s;
}
.offer-more:hover {
	color: var(--clay-text);
}
.offer-more .arrow {
	transition: transform 0.25s var(--ease);
}
.offer-more:hover .arrow {
	transform: translateX(4px);
}

/* ===== GALERIA (grid 3×2) ===== */
.gallery {
	background: var(--bone-2);
}
/* Tresc sekcji w tej samej kolumnie co oferta/o nas (1200px). Koniec
   „sekcji za szerokiej, bez negative-space” na dużych ekranach. */
.gallery .section-heading,
.bento-grid {
	max-width: 1200px;
	margin-inline: auto;
}
.bento-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(8, 92px);
	gap: 18px;
}
/* Stały, 9-kaflowy rytm galerii: wąskie piony, szerokie kadry i trzy większe
   pola na dole. Każdy kafel nadal pozostaje pojedynczym elementem lightboxa. */
.bento-grid .bento-item:nth-child(1) {
	grid-area: 1 / 1 / span 5 / span 2;
}
.bento-grid .bento-item:nth-child(2) {
	grid-area: 1 / 3 / span 3 / span 5;
}
.bento-grid .bento-item:nth-child(3) {
	grid-area: 1 / 8 / span 3 / span 5;
}
.bento-grid .bento-item:nth-child(4) {
	grid-area: 4 / 3 / span 2 / span 3;
}
.bento-grid .bento-item:nth-child(5) {
	grid-area: 4 / 6 / span 2 / span 3;
}
.bento-grid .bento-item:nth-child(6) {
	grid-area: 4 / 9 / span 2 / span 4;
}
.bento-grid .bento-item:nth-child(7) {
	grid-area: 6 / 1 / span 3 / span 4;
}
.bento-grid .bento-item:nth-child(8) {
	grid-area: 6 / 5 / span 3 / span 4;
}
.bento-grid .bento-item:nth-child(9) {
	grid-area: 6 / 9 / span 3 / span 4;
}
.bento-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	cursor: pointer;
}
.bento-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s var(--ease);
}
.bento-item:hover img {
	transform: scale(1.04);
}
.bento-item:focus-visible {
	outline-offset: 0;
}

.bento-caption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(30, 42, 36, 0.55);
	color: var(--bone);
	font-size: 12px;
	letter-spacing: 0.02em;
	backdrop-filter: blur(6px);
	opacity: 0;
	transform: translateY(6px);
	transition:
		opacity 0.3s var(--ease),
		transform 0.3s var(--ease);
}
.bento-item:hover .bento-caption,
.bento-item:focus-visible .bento-caption {
	opacity: 1;
	transform: none;
}
.gallery-more {
	text-align: center;
	margin-top: 44px;
	max-width: 1200px;
	margin-inline: auto;
}

/* ===== O NAS ===== */
.about {
	background: var(--bone);
}
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}
.about-media {
	position: relative;
}
.about-media img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: var(--shadow-lift);
}
.about-badge {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	background: var(--clay-btn);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
	box-shadow: var(--shadow-soft);
}
.about-copy h2 {
	font-size: clamp(30px, 4vw, 46px);
	color: var(--ink);
	max-width: 16ch;
}
.about-copy p {
	margin-top: 20px;
	font-size: 16px;
	color: var(--muted);
	line-height: 1.8;
	max-width: 52ch;
}
/* link do strony lokalizacyjnej — wcześniej osobna sekcja, teraz jedno zdanie w treści */
.about-more {
	margin-top: 22px;
}
.about-more a {
	color: var(--clay-text);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1.5px solid var(--clay-text);
	padding-bottom: 2px;
	transition:
		color 0.25s var(--ease),
		border-color 0.25s var(--ease);
}
.about-more a:hover {
	color: var(--ink);
	border-bottom-color: var(--ink);
}
.about-more .arrow {
	margin-left: 4px;
	transition: transform 0.25s var(--ease);
	display: inline-block;
}
.about-more a:hover .arrow {
	transform: translateX(4px);
}
.about-copy .btn {
	margin-top: 28px;
}

/* ===== FAQ ===== */
/* tło bone-2 zachowuje naprzemienność po scaleniu sekcji lokalizacyjnych (13-09-2026):
   wcześniej rytm dawała sekcja .section-alt, która została usunięta */
.faq {
	background: var(--bone-2);
}
.faq .section-heading {
	text-align: center;
}
.faq .section-heading h2,
.faq .section-heading p {
	margin-inline: auto;
}
.faq-list {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid var(--line);
}
.faq-item {
	border-bottom: 1px solid var(--line);
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	transition: color 0.25s var(--ease);
}
.faq-item summary:hover {
	color: var(--clay-text);
}
.faq-item summary::-webkit-details-marker {
	display: none;
}
.faq-item summary:focus-visible {
	outline-offset: 4px;
}
.faq-toggle {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: var(--clay-text);
	transition:
		transform 0.25s var(--ease),
		background 0.25s,
		color 0.25s;
}
.faq-item[open] .faq-toggle {
	transform: rotate(45deg);
	background: var(--clay-btn);
	color: var(--white);
	border-color: var(--clay-btn);
}
.faq-a {
	padding: 0 48px 24px 0;
	overflow: hidden;
	transform-origin: top;
	transition:
		height 0.48s var(--ease),
		padding-bottom 0.48s var(--ease),
		opacity 0.28s ease,
		transform 0.48s var(--ease);
}
.faq-a.faq-closing {
	transition-duration: 0.36s, 0.36s, 0.24s, 0.36s;
}
.faq-a p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.75;
}
.faq-more {
	text-align: center;
	margin-top: 40px;
}

.faq-list .faq-item:nth-child(2) {
	transition-delay: 60ms;
}
.faq-list .faq-item:nth-child(3) {
	transition-delay: 120ms;
}
.faq-list .faq-item:nth-child(4) {
	transition-delay: 180ms;
}
.faq-list .faq-item:nth-child(5) {
	transition-delay: 240ms;
}
.faq-list .faq-item:nth-child(6) {
	transition-delay: 300ms;
}

/* ===== CTA ===== */
/* Technika 1:1 z oryginalnej strony: background-attachment: fixed BEZPOŚREDNIO na sekcji.
   Bez pseudo-elementów, isolation i overflow - te dodatki psuły fixed w Chromium/Vivaldi. */
.cta {
	padding: clamp(80px, 9vw, 120px) clamp(20px, 5vw, 64px);
	background-color: var(--pine-deep);
	background-image:
		linear-gradient(rgba(34, 56, 44, 0.78), rgba(34, 56, 44, 0.86)),
		url("img/06-pracownia-i-otoczenie/IMG_20240702_171132-scaled.webp");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: var(--bone);
	text-align: center;
}
.cta h2 {
	font-size: clamp(30px, 4.5vw, 48px);
	max-width: 18ch;
	margin: 0 auto;
}
.cta p {
	margin: 20px auto 0;
	max-width: 48ch;
	font-size: 17px;
	color: rgba(246, 243, 236, 0.75);
}
.cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-top: 34px;
	flex-wrap: wrap;
}
.cta-phones {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.cta-phone {
	font-weight: 700;
	font-size: 17px;
	color: var(--bone);
	border-bottom: 1.5px solid rgba(246, 243, 236, 0.4);
	padding-bottom: 3px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	transition:
		color 0.25s,
		border-color 0.25s;
}
.cta-phone:hover {
	color: var(--clay-soft);
	border-color: var(--clay-soft);
}

/* ===== STOPKA ===== */
.site-footer {
	background: var(--ink);
	color: rgba(246, 243, 236, 0.8);
	padding: 64px clamp(20px, 5vw, 64px) 32px;
}
.footer-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}
.footer-brand {
	font-family: var(--font-display);
	font-size: 26px;
	color: var(--bone);
	margin-bottom: 12px;
}
.footer-desc {
	font-size: 14px;
	line-height: 1.7;
	max-width: 34ch;
}
.footer-heading {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay-soft);
	margin-bottom: 18px;
}
.footer-nav ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.footer-nav a {
	font-size: 15px;
	transition: color 0.25s;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.footer-nav a:hover {
	color: var(--clay-soft);
}
.footer-contact address {
	font-style: normal;
	font-size: 15px;
	line-height: 1.9;
}
.footer-contact a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.footer-contact a:hover {
	color: var(--clay-soft);
}
.footer-bottom {
	max-width: 1200px;
	margin: 48px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(246, 243, 236, 0.14);
	text-align: center;
	font-size: 13px;
	color: rgba(246, 243, 236, 0.5);
}

/* ===== LIGHTBOX ===== */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(20, 26, 22, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	cursor: zoom-out;
}
.lightbox[hidden] {
	display: none;
}
.lightbox-stage {
	position: relative;
	display: flex;
	max-width: 92%;
	max-height: 88vh;
}
.lightbox-stage img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	border-radius: 12px;
	object-fit: contain;
}
.lightbox-close {
	position: absolute;
	top: 22px;
	right: 22px;
	background: none;
	border: 1.5px solid rgba(246, 243, 236, 0.4);
	color: var(--bone);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 22px;
	cursor: pointer;
	transition:
		background 0.25s,
		color 0.25s;
}
.lightbox-close:hover {
	background: var(--bone);
	color: var(--ink);
}

/* --- Lupa: maly przycisk w prawym gornym rogu zdjecia --- */
.lightbox-zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(246, 243, 236, 0.5);
	background: rgba(20, 26, 22, 0.52);
	color: var(--bone);
	cursor: pointer;
	z-index: 2;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition:
		background 0.25s,
		color 0.25s,
		border-color 0.25s;
}
.lightbox-zoom:hover {
	background: var(--bone);
	color: var(--ink);
	border-color: var(--bone);
}
.lightbox-zoom[aria-pressed="true"] {
	background: var(--clay-btn);
	border-color: var(--clay-btn);
	color: var(--white);
}
.lightbox-zoom svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* Lupa aktywna: kursor celowniczy na zdjeciu, tlo nie udaje juz "zoom-out" */
.lightbox.is-zooming {
	cursor: default;
}
.lightbox.is-zooming .lightbox-stage {
	cursor: crosshair;
}

/* --- Soczewka: powiekszony skrawek, ktory wedruje za kursorem --- */
.lens {
	position: fixed;
	left: 0;
	top: 0;
	width: 260px;
	height: 260px;
	border-radius: 12px;
	border: 2px solid rgba(246, 243, 236, 0.9);
	background-color: var(--bone-2);
	background-repeat: no-repeat;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	/* Pozycja idzie przez transform (kompozytor), nie przez left/top.
     transition celowo NIE obejmuje transform — ruch animuje requestAnimationFrame
     w script.js; CSS transition tylko na pojawianiu/ukrywaniu. */
	transition:
		opacity 0.14s ease,
		visibility 0.14s;
	will-change: transform, background-position;
	contain: paint;
	z-index: 1001;
}
.lens.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Na urzadzeniach dotykowych lupa nie ma zastosowania (brak kursora) */

/* ===== Strona geo: tabela odległości i notki ===== */
.dist-table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0 10px;
	font-size: 15px;
}
.dist-table caption {
	text-align: left;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	padding-bottom: 10px;
}
.dist-table th,
.dist-table td {
	text-align: left;
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
}
.dist-table thead th {
	font-weight: 600;
	color: var(--pine);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.dist-table tbody th[scope="row"] {
	font-weight: 500;
}
.dist-table tbody tr:last-child th,
.dist-table tbody tr:last-child td {
	border-bottom: 0;
}
.about-note {
	font-size: 14px;
	color: var(--muted);
	margin-top: 10px;
}

/* ===== Strona geo: siatka faktów lokalizacyjnych ===== */
.geo-facts {
	list-style: none;
	margin: 0 0 clamp(32px, 4vw, 52px);
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(14px, 1.6vw, 22px);
}
.geo-fact {
	background: var(--bone-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.geo-fact-label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.geo-fact-value {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.3;
	color: var(--pine);
}
.geo-table-wrap {
	border-top: 1px solid var(--line);
	padding-top: clamp(24px, 3vw, 36px);
}
.geo-table-wrap h3 {
	font-family: var(--font-display);
	font-size: clamp(20px, 2vw, 26px);
	margin: 0 0 4px;
}

/* ===== Blok faktów (semantyczne trójki dla AI i szybki przegląd dla ludzi) ===== */
.key-facts {
	margin-top: 30px;
	border-top: 1px solid var(--line);
	max-width: 52ch;
}
.key-facts dt {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 16px;
}
.key-facts dd {
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}
.key-facts dd:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

@media (max-width: 900px) {
	.geo-facts {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.geo-facts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.dist-table th,
	.dist-table td {
		padding: 9px 8px;
		font-size: 14px;
	}
}

@media (hover: none) {
	.lightbox-zoom {
		display: none;
	}
}

/* ===== REVEAL ===== */
.reveal,
.reveal-left,
.reveal-right {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s var(--ease),
		transform 0.7s var(--ease);
}
.reveal-left {
	transform: translateX(-32px);
}
.reveal-right {
	transform: translateX(32px);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
	opacity: 1;
	transform: none;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 1024px) {
	.bento-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
		grid-auto-rows: 340px;
	}
	.bento-grid .bento-item {
		grid-area: auto !important;
	}
}

@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.hero-media {
		max-width: 560px;
		margin: 0 auto;
	}
	.hero {
		padding-top: 130px;
	}
	.offer-grid {
		grid-template-columns: 1fr;
	}
	.about-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	/* Reveal bez przesunięcia POZIOMEGO na wąskich ekranach.
     Domyślnie .reveal-left/.reveal-right startują z translateX(±32px); element
     jeszcze nieodsłonięty siedzi poza kontenerem i tworzy poziomy przewlew
     (~12 px na index/about/contact) mimo opacity: 0. Pionowy wariant zachowuje
     efekt, a nie rozpycha strony. */
	.reveal-left,
	.reveal-right {
		transform: translateY(24px);
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		background: var(--bone);
		padding: 16px 32px 24px;
		border-bottom: 1px solid var(--line);
	}
	.nav-links.open {
		display: flex;
	}
	.nav-links a {
		color: var(--ink);
		width: 100%;
		padding: 10px 0;
		border-bottom: 1px solid var(--line);
	}
	.nav-links a.active {
		color: var(--clay-text);
		border-bottom-color: var(--line);
	}
	.nav-phone-group {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
	/* separator "|" jest sensowny tylko w poziomym pasku; w kolumnie zostaje
     samotna pionowa kreska miedzy "Kontakt" a telefonami */
	.nav-phone-sep {
		display: none;
	}
	.nav-burger {
		display: inline-flex;
	}
	.bento-grid {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 300px;
	}
	.manifesto-facts {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.manifesto-facts li {
		padding: 0;
	}
	.manifesto-facts li + li {
		border-left: none;
	}
	.section {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 480px) {
	.bento-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 420px;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.cta-actions {
		flex-direction: column;
	}
	.cta-phones {
		justify-content: center;
		flex-direction: column;
		gap: 12px;
	}
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal,
	.reveal-left,
	.reveal-right {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.btn,
	.offer-card,
	.bento-item img,
	.nav-logo-text,
	.site-header,
	.faq-item summary,
	.faq-toggle {
		transition: none;
	}
	.faq-a {
		transition: none;
	}
}

/* ============================================================
   PODSTRONY: about, services, faq, contact, 404
   Ten sam język wizualny co strona główna (tokens + fonty wspólne).
   ============================================================ */

/* ===== Kontenery ===== */
.wrap {
	max-width: 1200px;
	margin-inline: auto;
}
.wrap-narrow {
	max-width: 900px;
	margin-inline: auto;
}
.section-alt {
	background: var(--bone-2);
}

/* ===== Breadcrumb (widoczny + JSON-LD BreadcrumbList) ===== */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 26px;
	font-size: 13px;
	color: var(--muted);
}
.breadcrumb a {
	color: var(--muted);
	transition: color 0.25s;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 3px 0;
}
.breadcrumb a:hover {
	color: var(--clay-text);
}
.breadcrumb .crumb-sep {
	color: var(--muted);
	font-weight: 600;
}
.breadcrumb .crumb-current {
	color: var(--ink);
	font-weight: 600;
}

/* ===== Hero podstron (split: tekst + oprawione zdjęcie) ===== */
.page-hero {
	padding: calc(72px + clamp(16px, 2.5vw, 32px)) clamp(20px, 5vw, 64px)
		clamp(28px, 3vw, 44px);
	background: var(--bone);
}
.page-hero .eyebrow {
	display: block;
	margin-bottom: 18px;
}
.page-hero h1 {
	font-size: clamp(36px, 4.6vw, 60px);
	line-height: 1.06;
	max-width: 18ch;
}
.page-hero-sub {
	margin-top: 20px;
	font-size: clamp(16px, 1.6vw, 18px);
	color: var(--muted);
	max-width: 52ch;
	line-height: 1.7;
}
.page-hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.hero-fact-card {
	justify-self: end;
	width: 100%;
	max-width: 400px;
	background: var(--bone-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 30px;
}
.hero-fact-row {
	padding: 14px 0;
	border-bottom: 1px solid rgba(30, 42, 36, 0.14);
}
.hero-fact-row:first-child {
	padding-top: 0;
}
.hero-fact-row:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.hero-fact-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay-text);
}
.hero-fact-value {
	display: block;
	margin-top: 4px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--ink);
}
.page-hero-media {
	position: relative;
	isolation: isolate;
	max-width: 400px;
	justify-self: end;
}
.page-hero-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: var(--shadow-soft);
	filter: brightness(1.06) contrast(1.02);
}
.page-hero-media.portrait img {
	aspect-ratio: 3 / 4;
	max-height: 620px;
}
.page-hero-media::before {
	content: "";
	position: absolute;
	inset: 20px -20px -20px 20px;
	border: 1.5px solid rgba(30, 42, 36, 0.3);
	border-radius: 20px;
	z-index: -1;
}
.page-hero-media figcaption {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0.04em;
	text-align: right;
}

/* ===== Hero podstron: kategorie (services) ===== */
.cat-hero .breadcrumb {
	margin-bottom: clamp(24px, 3vw, 32px);
}
.cat-hero-head {
	max-width: 640px;
}
.cat-hero-head .page-hero-sub {
	max-width: 56ch;
}
.cat-hero-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.4vw, 28px);
	margin-top: clamp(28px, 4vw, 40px);
}
.cat-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	isolation: isolate;
}
.cat-tile img {
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 6;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s var(--ease);
	filter: brightness(0.92) saturate(1.02);
}
.cat-tile:hover img {
	transform: scale(1.045);
}
.cat-tile-caption {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 4px;
	padding: 20px 22px;
	background: linear-gradient(
		180deg,
		transparent 38%,
		rgba(30, 42, 36, 0.68) 100%
	);
	color: var(--bone);
	transition: background 0.3s var(--ease);
}
.cat-tile-title {
	font-family: var(--font-display);
	font-size: clamp(18px, 1.9vw, 22px);
	font-weight: 550;
	letter-spacing: -0.01em;
}
.cat-tile-link {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--clay-soft);
	opacity: 0.85;
	transform: translateY(4px);
	transition:
		opacity 0.3s var(--ease),
		transform 0.3s var(--ease);
}
.cat-tile:hover .cat-tile-link {
	opacity: 1;
	transform: none;
}
.cat-tile:focus-visible {
	outline-offset: 3px;
}

/* ===== O NAS: historia ===== */
.story-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: stretch;
}
.story-grid .about-media {
	display: flex;
	align-self: stretch;
	margin-bottom: 18px;
}
.story-grid .about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	box-shadow: var(--shadow-soft);
	filter: brightness(1.08) contrast(1.02);
}
.story-grid .about-media.portrait img {
	aspect-ratio: 4 / 5;
	max-height: 640px;
}
.story-badge {
	position: absolute;
	left: 18px;
	bottom: -12px;
	background: var(--clay-btn);
	color: var(--white);
	padding: 9px 16px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	box-shadow: var(--shadow-soft);
}

/* ===== O NAS: pasek zdjęć ===== */
.about-strip {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 18px;
	align-items: start;
}
.about-strip figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
}
.about-strip figure:first-child {
	aspect-ratio: 3 / 4;
}
.about-strip figure:last-child {
	aspect-ratio: 4 / 3;
	margin-top: 56px;
}
.about-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.about-strip figure:hover img {
	transform: scale(1.04);
}
.about-strip figcaption {
	margin-top: 12px;
	font-size: 13px;
	color: var(--muted);
}

/* ===== O NAS: wartości (edytorialne wiersze, nie karty) ===== */
.values-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}
.values-head {
	position: sticky;
	top: 110px;
}
.values-head h2 {
	font-size: clamp(30px, 4vw, 46px);
	max-width: 14ch;
}
.values-head p {
	color: var(--muted);
	margin-top: 14px;
	max-width: 44ch;
	font-size: 16px;
	line-height: 1.75;
}
.values-list {
	border-top: 1px solid rgba(30, 42, 36, 0.16);
}
.value-row {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	padding: 30px 0;
	border-bottom: 1px solid rgba(30, 42, 36, 0.16);
}
.value-row h3 {
	font-size: 25px;
}
.value-row p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.75;
	max-width: 52ch;
}

/* ===== Cytat (ciemny pas, jak manifesto na stronie głównej) ===== */
.quote-band {
	padding: clamp(88px, 10vw, 136px) clamp(20px, 5vw, 64px);
	background: var(--pine-deep);
	color: var(--bone);
	position: relative;
	overflow: hidden;
}
.quote-band::before {
	content: "";
	position: absolute;
	width: 640px;
	height: 640px;
	left: -220px;
	bottom: -300px;
	background: radial-gradient(
		circle,
		rgba(196, 103, 61, 0.16) 0%,
		rgba(196, 103, 61, 0) 62%
	);
	pointer-events: none;
}
.quote-band blockquote {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
}
.quote-band blockquote p {
	font-family: var(--font-display);
	font-size: clamp(24px, 3.6vw, 40px);
	line-height: 1.28;
	font-weight: 500;
}
.quote-band blockquote p em {
	font-style: italic;
	color: var(--clay-soft);
}
.quote-band cite {
	display: block;
	margin-top: 26px;
	font-style: normal;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(246, 243, 236, 0.55);
}

/* ===== PROJEKTY: mozaika bento jako pozioma karuzela (max 3 wiersze, przeciagananie myszka) ===== */
.bento-wrap {
	position: relative;
}
.bento-mosaic {
	position: relative;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 240px;
	/* kolumny o zroznicowanych szerokosciach (16 kolumn = dwie petle po 8) */
	grid-template-columns: repeat(4, 270px 190px 250px 200px);
	/* wiersze o zroznicowanych wysokosciach = kafle o roznej wielkosci */
	grid-template-rows: 280px 160px 240px;
	gap: 14px;
	width: 100%;
	max-width: none;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	cursor: grab;
	touch-action: pan-x pan-y; /* dotykowe przewijanie poziome i pionowy scroll strony */
	-webkit-overflow-scrolling: touch;
	user-select: none;
	--mosaic-tail-left: 0px;
	--mosaic-tail-width: 0px;
}
.bento-mosaic::after {
	content: "";
	position: absolute;
	top: 0;
	left: var(--mosaic-tail-left);
	width: var(--mosaic-tail-width);
	height: 1px;
	visibility: hidden;
	pointer-events: none;
}
.bento-mosaic.mosaic-rows-2 {
	grid-template-rows: 230px 250px;
}
.bento-mosaic.mosaic-rows-2b {
	grid-template-rows: 270px 210px;
}
.bento-mosaic.mosaic-rows-3a {
	grid-template-rows: 250px 170px 220px;
}
.bento-mosaic.mosaic-rows-3b {
	grid-template-rows: 190px 250px 210px;
}
.bento-mosaic.mosaic-rows-3c {
	grid-template-rows: 220px 210px 260px;
}
.bento-mosaic::-webkit-scrollbar {
	display: none;
}
.bento-mosaic.grabbing {
	cursor: grabbing;
}
.bento-mosaic figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bone-2);
	cursor: pointer;
}
.bento-mosaic .bt-1x1 {
	grid-column: span 1;
	grid-row: span 1;
}
.bento-mosaic .bt-1x2 {
	grid-column: span 1;
	grid-row: span 2;
}
.bento-mosaic .bt-2x1 {
	grid-column: span 2;
	grid-row: span 1;
}
.bento-mosaic .bt-2x2 {
	grid-column: span 2;
	grid-row: span 2;
}
.bento-mosaic .bt-3x1 {
	grid-column: span 3;
	grid-row: span 1;
}
.bento-mosaic .bt-3x2 {
	grid-column: span 3;
	grid-row: span 2;
}
.bento-mosaic .bt-4x1 {
	grid-column: span 4;
	grid-row: span 1;
}
.bento-mosaic .bt-4x2 {
	grid-column: span 4;
	grid-row: span 2;
}
.bento-mosaic .bt-1x3 {
	grid-column: span 1;
	grid-row: span 3;
}
.bento-mosaic .bt-2x3 {
	grid-column: span 2;
	grid-row: span 3;
}
.bento-mosaic .bt-3x3 {
	grid-column: span 3;
	grid-row: span 3;
}
.bento-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none; /* drag zamiast natywnego przeciagania obrazka */
	transition: transform 0.7s var(--ease);
}
.bento-mosaic figure:hover img {
	transform: scale(1.05);
}
.bento-mosaic figure:focus-visible {
	outline-offset: 0;
}
.bento-mosaic .cat-caption {
	background: rgba(30, 42, 36, 0.72);
}

/* strzalki karuzeli */
.bento-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: rgba(246, 243, 236, 0.92);
	color: var(--ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-soft);
	transition:
		background 0.25s,
		color 0.25s,
		border-color 0.25s,
		opacity 0.25s;
}
.bento-btn:hover {
	background: var(--clay-btn);
	border-color: var(--clay-btn);
	color: var(--white);
}
.bento-prev {
	left: -58px;
}
.bento-next {
	right: -58px;
}
.bento-wrap.has-arrows .bento-btn {
	display: flex;
}
@media (max-width: 1400px) {
	.bento-prev {
		left: -14px;
	}
	.bento-next {
		right: -14px;
	}
}

/* delikatna wskazowka przeciagnij (widoczna tylko gdy jest overflow) */
.bento-drag-hint {
	display: none;
	margin-top: 14px;
	font-size: 13px;
	letter-spacing: 0.05em;
	color: var(--muted);
}
.bento-mosaic.has-overflow ~ .bento-drag-hint {
	display: block;
}

/* ===== Responsywność mozaiki ===== */
@media (max-width: 900px) {
	.bento-mosaic,
	.bento-mosaic.mosaic-rows-2,
	.bento-mosaic.mosaic-rows-2b,
	.bento-mosaic.mosaic-rows-3a,
	.bento-mosaic.mosaic-rows-3b,
	.bento-mosaic.mosaic-rows-3c {
		grid-auto-columns: 190px;
		grid-template-columns: repeat(4, 230px 170px 210px 180px);
		grid-template-rows: 240px 140px 210px;
	}
	.bento-mosaic.mosaic-rows-2 {
		grid-template-rows: 205px 235px;
	}
	.bento-mosaic.mosaic-rows-2b {
		grid-template-rows: 245px 205px;
	}
	.bento-mosaic.mosaic-rows-3a {
		grid-template-rows: 205px 145px 195px;
	}
	.bento-mosaic.mosaic-rows-3b {
		grid-template-rows: 165px 215px 185px;
	}
	.bento-mosaic.mosaic-rows-3c {
		grid-template-rows: 185px 175px 225px;
	}
}
@media (max-width: 600px) {
	/* mobile: mozaika jako POZIOMA KARUZELA — zdjecia mniejsze, przewijane palcem w bok.
     UWAGA: klasy .mosaic-rows-2b, .mosaic-rows-3a, .mosaic-rows-3b i .mosaic-rows-3c MUSZĄ być na liście — reguła z @media 900px ma
     specificity 0,2,0 i bez tego wygrywa, zostawiając jawne kolumny
     => poziomy przelew na /services/ (znaleziony w audycie 10-09). */
	.bento-mosaic,
	.bento-mosaic.mosaic-rows-2,
	.bento-mosaic.mosaic-rows-2b,
	.bento-mosaic.mosaic-rows-3a,
	.bento-mosaic.mosaic-rows-3b,
	.bento-mosaic.mosaic-rows-3c {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 68vw; /* kafel = 68% szerokosci ekranu */
		grid-template-columns: none; /* zerwij jawne kolumny z @media 900px */
		grid-template-rows: none;
		grid-auto-rows: auto;
		align-items: start;
		gap: 12px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		touch-action: pan-x pan-y; /* natywne przesuwanie w bok palcem */
		cursor: default;
		padding-bottom: 4px;
	}
	/* Rozpietosci kafli musza zniknac — w karuzeli tworzylyby dodatkowe
     kolumny i rozjezdzona siatke o nierownych wysokosciach. */
	.bento-mosaic .bt-1x1,
	.bento-mosaic .bt-1x2,
	.bento-mosaic .bt-2x1,
	.bento-mosaic .bt-2x2,
	.bento-mosaic .bt-3x1,
	.bento-mosaic .bt-3x2,
	.bento-mosaic .bt-4x1,
	.bento-mosaic .bt-4x2,
	.bento-mosaic .bt-1x3,
	.bento-mosaic .bt-2x3,
	.bento-mosaic .bt-3x3 {
		grid-column: span 1;
		grid-row: span 1;
	}
	.bento-mosaic figure {
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
	}
	.bento-mosaic img {
		pointer-events: auto;
	}
	.bento-btn {
		display: none !important;
	}
	/* wskazowka "przeciagnij myszka" nie ma sensu na dotyku */
	.bento-drag-hint {
		display: none !important;
	}
}
.cat-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.cat-item:hover img {
	transform: scale(1.05);
}
.cat-item:focus-visible {
	outline-offset: 0;
}

/* ===== PROJEKTY: jak zamówić ===== */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}
.step {
	border-top: 1px solid var(--line);
	padding-top: 22px;
}
.step-num {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--clay-text);
}
.step h3 {
	font-size: 22px;
	margin: 10px 0 8px;
}
.step p {
	font-size: 14.5px;
	color: var(--muted);
	line-height: 1.7;
}

/* ===== FAQ: strona ===== */
.faq-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 52px;
}
.faq-jump a {
	padding: 10px 18px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	transition:
		border-color 0.25s,
		color 0.25s,
		background 0.25s;
}
.faq-jump a:hover {
	border-color: var(--clay-text);
	color: var(--clay-text);
}
.faq-group {
	margin-bottom: 56px;
}
.faq-group:last-of-type {
	margin-bottom: 0;
}
.faq-group-title {
	font-size: clamp(24px, 3vw, 32px);
	margin-bottom: 6px;
}
.faq-group-desc {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 22px;
}

/* ===== KONTAKT ===== */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}
.contact-info h2 {
	font-size: clamp(26px, 3.4vw, 36px);
	margin-bottom: 10px;
}
.contact-info > p {
	color: var(--muted);
	font-size: 15.5px;
	max-width: 46ch;
	margin-bottom: 30px;
}
.contact-rows {
	border-top: 1px solid var(--line);
}
.contact-row {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}
.contact-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--clay-text);
	margin-bottom: 6px;
}
.contact-value {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
}
.contact-value a {
	transition: color 0.25s;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.contact-value a:hover {
	color: var(--clay-text);
}
.contact-social {
	margin-top: 24px;
}
.contact-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--clay-text);
}
.contact-social a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.map-frame {
	margin-top: 30px;
}
.map-frame iframe {
	width: 100%;
	height: 300px;
	border: 0;
	border-radius: var(--radius);
	filter: saturate(0.85) contrast(0.96);
	display: block;
}

/* ===== Formularz ===== */
.contact-form-card {
	background: var(--bone-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(28px, 4vw, 40px);
}
.contact-form-card h3 {
	font-size: 26px;
	margin-bottom: 8px;
}
.contact-form-card .form-note {
	color: var(--muted);
	font-size: 14.5px;
	margin-bottom: 26px;
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
	width: 100%;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
	transition:
		border-color 0.25s,
		box-shadow 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--muted);
	opacity: 0.75;
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
	outline: none;
	border-color: var(--clay);
	box-shadow: 0 0 0 3px var(--ring);
}
.form-group.invalid input,
.form-group.invalid textarea {
	border-color: var(--danger);
}
.form-error {
	display: none;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--danger);
}
.form-group.invalid .form-error {
	display: block;
}
.form-status {
	margin-top: 18px;
}
.form-status[hidden] {
	display: none;
}
.form-success {
	background: var(--clay-soft);
	color: var(--ink);
	border-radius: var(--radius-sm);
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.6;
}
.btn .spinner {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: var(--white);
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}
.btn[disabled] {
	opacity: 0.75;
	cursor: not-allowed;
	transform: none;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ===== Pasek „zanim napiszesz" (kontakt → FAQ) ===== */
.faq-teaser {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.faq-teaser h2 {
	font-size: clamp(24px, 3.2vw, 34px);
	max-width: 20ch;
}
.faq-teaser p {
	color: var(--muted);
	margin-top: 10px;
	max-width: 46ch;
	font-size: 15.5px;
}

/* ===== 404 ===== */
.notfound {
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 140px clamp(20px, 5vw, 64px) 80px;
	background: var(--bone);
	position: relative;
	overflow: hidden;
}
.notfound-code {
	position: relative;
	isolation: isolate;
	font-family: var(--font-display);
	font-size: clamp(110px, 19vw, 210px);
	font-weight: 550;
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.notfound-code::before {
	content: "";
	position: absolute;
	inset: 6% -7% -7% 7%;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	z-index: -1;
}
.notfound h1 {
	font-size: clamp(26px, 3.6vw, 40px);
	margin-top: 20px;
}
.notfound-sub {
	color: var(--muted);
	max-width: 44ch;
	margin: 14px auto 0;
	font-size: 16px;
}
.notfound-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 32px;
	flex-wrap: wrap;
}
.notfound-actions .btn {
	min-width: 200px;
}
.notfound-links {
	margin-top: 44px;
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 14px;
	font-weight: 600;
}
.notfound-links a {
	color: var(--ink);
	transition: color 0.25s;
}
.notfound-links a:hover {
	color: var(--clay-text);
}
.notfound-links .link-sep {
	color: var(--line);
	font-weight: 500;
}
.notfound-phones {
	margin-top: 22px;
	font-size: 14px;
	color: var(--muted);
}
.notfound-phones a {
	color: var(--muted);
	transition: color 0.25s;
}
.notfound-phones a:hover {
	color: var(--clay-text);
}

/* ===== Kotwice pod fixed header ===== */
section[id],
.cat-tile {
	scroll-margin-top: 96px;
}

/* ===== Responsywność podstron ===== */
@media (max-width: 900px) {
	.story-grid,
	.values-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.page-hero-grid {
		grid-template-columns: 1fr;
	}
	.page-hero-media {
		justify-self: start;
		max-width: 360px;
	}
	.cat-hero-tiles {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.values-head {
		position: static;
	}
	.about-strip {
		grid-template-columns: 1fr;
	}
	.about-strip figure:last-child {
		margin-top: 0;
	}
	.about-strip figure:first-child,
	.about-strip figure:last-child {
		aspect-ratio: 4 / 3;
	}
	.steps-grid {
		grid-template-columns: 1fr 1fr;
	}
	.value-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

@media (max-width: 768px) {
	.cat-grid {
		grid-template-columns: 1fr;
	}
	.steps-grid {
		grid-template-columns: 1fr;
	}
	.cat-hero-tiles {
		grid-template-columns: 1fr;
	}
	.cat-tile img {
		aspect-ratio: 4 / 3;
	}
	.faq-jump {
		margin-bottom: 40px;
	}
	.story-badge {
		left: 14px;
		bottom: -10px;
		padding: 8px 14px;
		font-size: 12px;
	}
	.faq-teaser {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.notfound-links {
		flex-direction: column;
		gap: 12px;
	}
	.notfound-links .link-sep {
		display: none;
	}
}

/* ===== Polityka prywatności ===== */
.policy-body h2 { margin: 38px 0 12px; }
.policy-body p { margin: 0 0 16px; line-height: 1.65; }
.policy-body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.policy-body li { margin-bottom: 6px; line-height: 1.6; }
.policy-body a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.policy-body p:last-child { margin-bottom: 0; }
.contact-form-card .form-clause { margin: 22px 0 0; }
