/* ==========================================================================
   Blok 07: Testymoniale
   ========================================================================== */

.tests {
	background: var(--cream-100);
	padding: var(--section-y) 0;
	position: relative;
}

/* Header */
.tests-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: flex-end;
	gap: var(--space-4);
	margin-bottom: clamp(48px, 6vw, 88px);
}

.tests-title {
	font-family: var(--display);
	font-weight: 350;
	font-variation-settings: "opsz" 144;
	font-size: clamp(40px, 5.4vw, 80px);
	line-height: 1;
	margin: 0;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.tests-title em {
	font-style: italic;
	color: var(--karmel);
	font-weight: 300;
}

/* Chapter */
.tests .chapter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 var(--space-2);
}

.tests .chapter__num {
	font-family: var(--display);
	font-style: italic;
	font-size: var(--text-eyebrow);
	color: var(--karmel);
	letter-spacing: 0.1em;
}

.tests .chapter__label {
	font-family: var(--body);
	font-size: var(--text-eyebrow);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--espresso);
}

/* Grid */
.tests-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}

.tests-grid .col-right {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 72px);
	padding-top: clamp(40px, 5vw, 80px);
}

.tests-grid .col-left {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 72px);
}

/* Individual testimonial */
.test {
	position: relative;
}

.test .quote-mark {
	font-family: var(--display);
	font-style: italic;
	font-size: 96px;
	line-height: 0.6;
	color: var(--burgund);
	display: block;
	margin-bottom: -16px;
}

.test blockquote {
	font-family: var(--display);
	font-style: italic;
	font-weight: 350;
	font-variation-settings: "opsz" 60;
	font-size: clamp(22px, 2.2vw, 32px);
	line-height: 1.3;
	margin: 0 0 24px;
	color: var(--ink);
	letter-spacing: -0.005em;
	padding: 0;
	border: 0;
}

.test .who {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: var(--text-caption);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--espresso);
}

.test .who .line {
	width: 28px;
	height: 1px;
	background: var(--karmel);
	flex-shrink: 0;
}

.test .who b {
	color: var(--ink);
	font-weight: 600;
}

/* Responsive */
@media (max-width: 1080px) {
	.tests-grid {
		grid-template-columns: 1fr;
		gap: clamp(40px, 5vw, 64px);
	}

	.tests-grid .col-right {
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	.tests-head {
		grid-template-columns: 1fr;
	}
}

/* Reveal animation — globalne `.reveal`/`.reveal.in` z dl-system.css.
 * Wcześniej tu była klasa `.is-visible` której JS nie dodaje. Usunięte.
 */

.tests .col-right .reveal:nth-child(2) {
	transition-delay: 0.12s;
}

.tests .col-right .reveal:nth-child(3) {
	transition-delay: 0.24s;
}
