/* The Clean — sekcja wartości: zwijana sekcja, siatki kafelków, okno z treścią. */
.tc-values {
	--tc-v-gold: #c7a36c;
	--tc-v-gold-light: #d7b97f;
	--tc-v-ink: #121212;
	--tc-v-paper: #f5f4f0;
	position: relative;
	isolation: isolate;
	padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(4.5rem, 9vw, 7.5rem);
	background: radial-gradient(60% 40% at 50% 0%, rgba(201, 160, 97, .13) 0%, rgba(201, 160, 97, 0) 70%), #050505;
	color: #f3eee5;
	scroll-margin-top: 0;
}
.tc-values *,
.tc-values *::before,
.tc-values *::after { box-sizing: border-box; }
.tc-values-inner { width: min(1180px, 100%); margin: 0 auto; }

/* Siatka */
.tc-vg + .tc-vg { margin-top: clamp(4.5rem, 9vw, 8rem); }
.tc-vg-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.tc-vg-head .tc-eyebrow { margin-bottom: 1.4rem; }
.tc-vg-heading {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.05em;
}
.tc-vg-intro {
	margin: 1.2rem auto 0;
	max-width: 36rem;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	line-height: 1.6;
	color: #b9b2a6;
}
.tc-vg-items {
	--tc-v-gap: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--tc-v-gap);
}
.tc-vt { flex: 0 0 calc((100% - 2 * var(--tc-v-gap)) / 3); min-width: 0; }
@media (max-width: 899px) {
	.tc-vg-items { --tc-v-gap: 14px; }
	.tc-vt { flex-basis: calc((100% - var(--tc-v-gap)) / 2); }
}
@media (max-width: 559px) {
	.tc-vt { flex-basis: 100%; }
}

/* Kafelek */
.tc-vt-trigger {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	z-index: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 1.4rem 1.6rem;
	border: 1px solid rgba(215, 185, 127, .2);
	border-radius: 4px;
	background: linear-gradient(180deg, #1b1a18 0%, #0f0f0e 100%);
	color: #ece6da;
	box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease, color .3s ease;
}
.tc-vt-trigger::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(90% 65% at 50% 0%, rgba(215, 185, 127, .24) 0%, rgba(215, 185, 127, 0) 72%);
	opacity: 0;
	transition: opacity .3s ease;
}
.tc-vt-trigger:hover,
.tc-vt-trigger:focus-visible {
	color: #fff;
	border-color: rgba(231, 204, 150, .85);
	box-shadow: 0 0 0 1px rgba(215, 185, 127, .35), 0 0 26px -2px rgba(215, 185, 127, .38), 0 24px 44px -20px rgba(0, 0, 0, .95);
	transform: translateY(-3px);
}
.tc-vt-trigger:hover::before,
.tc-vt-trigger:focus-visible::before { opacity: 1; }
.tc-vt-trigger:focus-visible { outline: 2px solid var(--tc-v-gold-light); outline-offset: 3px; }

.tc-vt-photo {
	position: relative;
	display: block;
	width: calc(100% + 2.8rem);
	margin: 0 -1.4rem 1.3rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	pointer-events: none;
}
.tc-vt-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.94) saturate(.92);
	transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.tc-vt-photo::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 40%;
	background: linear-gradient(180deg, rgba(15, 15, 14, 0) 0%, #121110 100%);
	opacity: .7;
}
.tc-vt-trigger:hover .tc-vt-photo img,
.tc-vt-trigger:focus-visible .tc-vt-photo img { transform: scale(1.05); filter: brightness(1.08) saturate(1); }

/* Miejsce na zdjęcie, dopóki nie zostanie dodane */
.tc-vt-photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(70% 70% at 50% 45%, rgba(215, 185, 127, .1) 0%, rgba(215, 185, 127, 0) 70%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 14px),
		#141312;
}
.tc-vt-placeholder {
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	font-weight: 300;
	letter-spacing: -.04em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(215, 185, 127, .45);
}

.tc-vt-number {
	display: block;
	margin-bottom: .7rem;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .28em;
	color: var(--tc-v-gold);
}
.tc-vt-title {
	display: block;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-wrap: balance;
}
.tc-vt-lead {
	display: block;
	margin-top: .7rem;
	font-size: .92rem;
	line-height: 1.5;
	color: #a9a296;
	text-wrap: balance;
}
.tc-vt-cta {
	margin-top: auto;
	font-size: .6rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #8e877b;
	transition: color .25s ease;
}
.tc-vt-cta::before {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	margin: 1.2rem auto .9rem;
	background: var(--tc-v-gold-light);
	opacity: .5;
}
.tc-vt-trigger:hover .tc-vt-cta,
.tc-vt-trigger:focus-visible .tc-vt-cta { color: var(--tc-v-gold-light); }

/* Okno z treścią */
.tc-vd {
	width: min(780px, calc(100vw - 2rem));
	max-width: none;
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--tc-v-paper, #f5f4f0);
	color: var(--tc-v-ink, #121212);
	box-shadow: 0 0 0 1px rgba(215, 185, 127, .35), 0 40px 90px -30px rgba(0, 0, 0, .9);
	overflow: hidden;
	overscroll-behavior: contain;
}
.tc-vd[open] { display: flex; animation: tc-vd-in .25s ease both; }
.tc-vd::backdrop { background: rgba(8, 7, 5, .78); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@keyframes tc-vd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tc-vd-panel {
	position: relative;
	width: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.tc-vd-close {
	position: sticky;
	top: 10px;
	float: right;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 10px 10px -50px 0;
	padding: 0;
	border: 1px solid rgba(215, 185, 127, .6);
	border-radius: 50%;
	background: rgba(18, 18, 18, .88);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease;
}
.tc-vd-close:hover { background: #000; }
.tc-vd-close:focus-visible { outline: 2px solid var(--tc-v-gold, #c7a36c); outline-offset: 2px; }
.tc-vd-close svg { display: block; }

.tc-vd-head {
	padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.4rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.2rem);
	background: radial-gradient(80% 90% at 50% 0%, rgba(201, 160, 97, .2) 0%, rgba(201, 160, 97, 0) 70%), #0b0b0a;
	color: #fff;
	text-align: center;
}
.tc-vd-head .tc-eyebrow { margin-bottom: 1.1rem; }
.tc-vd-title {
	margin: 0 auto;
	max-width: 24ch;
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.03em;
	text-wrap: balance;
}
.tc-vd-lead { margin: .9rem auto 0; max-width: 36rem; font-size: 1.05rem; line-height: 1.5; color: #cbbfa8; }
.tc-vd-photo { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0b0a; }
.tc-vd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.tc-vd-body {
	padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 5vw, 3.6rem) clamp(2.2rem, 5vw, 3.4rem);
	font-size: 1.02rem;
	line-height: 1.7;
	color: #2c2a27;
}
.tc-vd-body > :first-child { margin-top: 0; }
.tc-vd-body > :last-child { margin-bottom: 0; }
.tc-vd-body p { margin: 0 0 1.05em; }
.tc-vd-body h2,
.tc-vd-body h3,
.tc-vd-body h4 {
	margin: 2em 0 .7em;
	color: var(--tc-v-ink, #121212);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.tc-vd-body strong { color: var(--tc-v-ink, #121212); }
.tc-vd-body ul,
.tc-vd-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.tc-vd-body li { margin: 0 0 .7em; }
.tc-vd-body li::marker { color: var(--tc-v-gold, #c7a36c); }
.tc-vd-body li ul { margin: .7em 0 0; }
.tc-vd-body blockquote {
	margin: 1.4em 0;
	padding: .2em 0 .2em 1.3em;
	border-left: 2px solid var(--tc-v-gold, #c7a36c);
	font-size: 1.1rem;
	font-style: italic;
	color: #3b3833;
}
.tc-vd-body blockquote p { margin: 0 0 .4em; }
.tc-vd-body blockquote cite { display: block; font-size: .78rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #8a7a5f; }
.tc-vd-body .tc-vt-highlight {
	margin: 1.6em 0;
	padding: 1.1em 1.3em;
	border-left: 2px solid var(--tc-v-gold, #c7a36c);
	background: #ece7dc;
	font-weight: 600;
	color: var(--tc-v-ink, #121212);
}
.tc-vd-body .tc-vd-cta { margin-top: 2em; text-align: center; }
.tc-vd-body .tc-vd-cta a {
	display: inline-block;
	padding: 1rem 1.6rem;
	border-radius: 2px;
	background: #121212;
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}
.tc-vd-body .tc-vd-cta a:hover,
.tc-vd-body .tc-vd-cta a:focus-visible { background: var(--tc-v-gold, #c7a36c); color: #121212; }
.tc-vd-body a { color: #7a5c2e; }

html.tc-vd-lock,
html.tc-vd-lock body { overflow: hidden; }

@media (max-width: 559px) {
	.tc-vd { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-vt-trigger,
	.tc-vt-photo img { transition: none; }
	.tc-vt-trigger:hover,
	.tc-vt-trigger:focus-visible { transform: none; }
	.tc-vd[open] { animation: none; }
}

/* Sekcja „03 / Wartości” na stronie głównej: równiejsze łamanie podtytułu */
#wartosci .tc-statement-subtitle { max-width: 22ch; text-wrap: balance; }
