.bgw-proof-section {
	box-sizing: border-box;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;

	overflow-x: hidden;
	overflow-y: visible;

	padding: clamp(70px, 8vw, 120px) 0;
	background: transparent;
}

.bgw-proof-heading {
	--bgw-heading-glow: rgba(167, 56, 224, 0.45);
	position: relative;
	z-index: 2;
	margin: 0 0 38px;
	text-align: center;
	font-weight: 700;
	line-height: 110%;
	text-shadow:
		0 0 32px var(--bgw-heading-glow),
		0 0 70px rgba(214, 37, 126, 0.18);
}

.bgw-proof-marquee {
	--bgw-glow-color: rgba(167, 56, 224, 0.34);
	--bgw-fade-color: #1f123f;
	--bgw-fade-width: 100px;

	width: 100vw;
	overflow: hidden;
	position: relative;

	background:
		radial-gradient(
			ellipse at center,
			var(--bgw-glow-color) 0%,
			rgba(0, 0, 0, 0) 76%
		) center center / 1000px 360px no-repeat;
}

.bgw-proof-track {
	display: flex;
	align-items: stretch;
	gap: 16px;
	width: max-content;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

/* ─ Testimonial cards ─ */
.bgw-proof-card {
	--bgw-card-bg: #ffffff;
	--bgw-card-text: #1f123f;
	--bgw-avatar-bg: #eadff3;
	--bgw-accent: #8D0BC6;

	flex: 0 0 300px;
	min-height: 145px;
	padding: 20px 22px;
	border-radius: 6px;
	background: var(--bgw-card-bg);
	color: var(--bgw-card-text);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.bgw-proof-person {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.bgw-proof-avatar {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bgw-avatar-bg);
	color: var(--bgw-accent);
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.bgw-proof-person strong {
	display: block;
	color: var(--bgw-card-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.bgw-proof-person small {
	display: block;
	margin-top: 3px;
	color: var(--bgw-card-text);
	opacity: 0.65;
	font-size: 10px;
}

.bgw-proof-stars {
	margin-bottom: 10px;
	color: var(--bgw-accent);
	font-size: 16px;
	letter-spacing: 1px;
}

.bgw-proof-card p {
	margin: 0;
	color: var(--bgw-card-text);
	font-size: 12px;
	font-weight: 400;
	line-height: 145%;
}

/* ─ Media cards (images + Vimeo) ─ */
.bgw-proof-track-bottom {
	margin-top: 18px;
}

.bgw-proof-media-card {
	position: relative;
	flex: 0 0 280px;
	height: 160px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(250, 250, 249, 0.08);
	cursor: default;
}

.bgw-proof-media-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: grayscale(1);
}

.bgw-proof-media-card.has-play {
	cursor: pointer;
}

.bgw-proof-media-card.has-play::after {
	content: "▶";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.86);
	color: #1f123f;
	font-size: 13px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	transition: transform 0.15s ease;
}

.bgw-proof-media-card.has-play:hover::after {
	transform: translate(-50%, -50%) scale(1.08);
}

/* ─ Side fades ─ */
.bgw-proof-marquee::before,
.bgw-proof-marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--bgw-fade-width);
	z-index: 5;
	pointer-events: none;
}

.bgw-proof-marquee::before {
	left: 0;
	background: linear-gradient(90deg, var(--bgw-fade-color) 0%, rgba(0, 0, 0, 0) 100%);
}

.bgw-proof-marquee::after {
	right: 0;
	background: linear-gradient(270deg, var(--bgw-fade-color) 0%, rgba(0, 0, 0, 0) 100%);
}

/* ─ Vimeo lightbox ─ */
.bgw-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.bgw-video-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.bgw-video-lightbox-inner {
	position: relative;
	width: min(90vw, 960px);
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.bgw-video-lightbox-inner iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bgw-video-lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: #1f123f;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

/* ─ Tablet ─ */
@media (max-width: 1024px) {
	.bgw-proof-heading { margin-bottom: 32px; }
	.bgw-proof-card    { flex-basis: 270px; }
	.bgw-proof-media-card { flex-basis: 210px; height: 112px; }
}

/* ─ Mobile ─ */
@media (max-width: 767px) {
	.bgw-proof-section { padding: 64px 0; }

	.bgw-proof-heading {
		width: min(100%, 260px);
		margin: 0 auto 28px;
		font-size: 28px;
		line-height: 105%;
	}

	.bgw-proof-track { gap: 12px; }

	.bgw-proof-card {
		flex-basis: 230px;
		min-height: 190px;
		padding: 18px;
	}

	.bgw-proof-media-card {
		flex-basis: 160px;
		height: 100px;
	}

	.bgw-proof-marquee {
		background-size: 420px 260px;
	}

	.bgw-proof-marquee::before,
	.bgw-proof-marquee::after {
		width: 18vw;
	}

	.bgw-video-lightbox-close {
		top: -40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bgw-proof-track {
		transform: none !important;
	}
}
