/* ============================================================
   PARENDI - Team About
   Zdjecie zespolu + O nas (przed siatka uslug)
   ============================================================ */

.team-about {
	background: var(--c-bg-rose, #F5ECD8);
	padding: var(--section-pad-y) 0;
	overflow: hidden;
	position: relative;
}

/* ── Layout: tekst lewo, foto prawo (landscape) ────────────── */

.team-about__wrap {
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

/* ── Media / photo ─────────────────────────────────────────── */

.team-about__media {
	position: relative;
}

.team-about__photo,
.team-about__photo-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
	position: relative;
	z-index: 1;
}

.team-about__photo-placeholder {
	background: linear-gradient(135deg, #EDE0C8 0%, rgba(201, 169, 110, 0.25) 100%);
}

/* Dekoracyjna zlota ramka pod zdjeciem */
.team-about__media-accent {
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1.5px solid rgba(201, 169, 110, 0.4);
	border-radius: 4px;
	z-index: 0;
	pointer-events: none;
}

/* ── Content ───────────────────────────────────────────────── */

.team-about__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.team-about__eyebrow {
	display: inline-block;
	font-family: var(--font-sans, 'Outfit', sans-serif);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-accent, #C9A96E);
	margin-bottom: 18px;
}

.team-about__title {
	font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(32px, 3.8vw, 56px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--c-text, #1A1714);
	margin: 0 0 clamp(20px, 2.5vh, 28px);
}

.team-about__lead,
.team-about__lead p {
	font-family: var(--font-sans, 'Outfit', sans-serif);
	font-size: clamp(14px, 1.05vw, 16px);
	line-height: 1.75;
	color: rgba(26, 23, 20, 0.7);
	max-width: 460px;
}

.team-about__lead {
	margin: 0 0 clamp(28px, 3.5vh, 40px);
}

.team-about__lead p + p {
	margin-top: 14px;
}

/* ── Stats strip ───────────────────────────────────────────── */

.team-about__stats {
	display: flex;
	gap: clamp(24px, 3.5vw, 48px);
	margin-bottom: clamp(32px, 4vh, 48px);
	padding-top: clamp(20px, 2.5vh, 28px);
	border-top: 1px solid rgba(201, 169, 110, 0.4);
	width: 100%;
}

.team-about__stat {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.team-about__stat-num {
	font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
	font-size: clamp(28px, 2.8vw, 42px);
	font-weight: 300;
	font-style: italic;
	line-height: 1;
	color: var(--c-text, #1A1714);
}

.team-about__stat-lab {
	font-family: var(--font-sans, 'Outfit', sans-serif);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(26, 23, 20, 0.5);
}

/* ── CTA button ────────────────────────────────────────────── */

.team-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 32px;
	background: var(--c-text, #1A1714);
	color: #fff;
	border-radius: 999px;
	font-family: var(--font-sans, 'Outfit', sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background var(--dur-fast, 0.18s) var(--ease, ease),
		transform var(--dur-fast, 0.18s) var(--ease, ease);
}

.team-about__cta:hover {
	background: var(--c-accent, #C9A96E);
	color: #fff;
	transform: translateY(-1px);
}

.team-about__cta:active {
	transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1023px) {
	.team-about__wrap {
		grid-template-columns: 1fr 1.2fr;
		gap: clamp(32px, 4vw, 56px);
	}
}

@media (max-width: 767px) {
	.team-about__wrap {
		grid-template-columns: 1fr;
		gap: clamp(28px, 5vw, 40px);
	}

	/* Na mobile foto idzie najpierw (order) */
	.team-about__content {
		order: 2;
		align-items: center;
		text-align: center;
	}

	.team-about__media {
		order: 1;
	}

	.team-about__media-accent {
		display: none;
	}

	.team-about__lead,
	.team-about__lead p {
		max-width: 540px;
	}

	.team-about__stats {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.team-about__stats {
		gap: 20px;
	}

	.team-about__stat-num {
		font-size: 26px;
	}
}
