/**
 * Comparison hub (/comparison/) — live-matched layout.
 */

.bz-cmp-hero,
.bz-cmp-compare,
.bz-cmp-quotes,
.bz-cmp-platform,
.bz-cmp-cta {
	--bz-cmp-red: #a31820;
	--bz-cmp-red-hover: #8a141b;
	--bz-cmp-muted: #555;
	--bz-cmp-border: #e5e7eb;
	--bz-cmp-card: #f3f4f6;
}

.bz-cmp-hero,
.bz-cmp-compare,
.bz-cmp-quotes,
.bz-cmp-platform,
.bz-cmp-cta {
	padding-block: var(--bz-section-pad-y, 3.5rem);
	background: #fff;
}

.bz-cmp-hero + .bz-cmp-compare,
.bz-cmp-compare + .bz-cmp-quotes,
.bz-cmp-quotes + .bz-cmp-platform,
.bz-cmp-platform + .bz-cmp-cta {
	padding-top: calc(var(--bz-section-pad-y, 3.5rem) * 0.55);
}

.bz-cmp-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.75rem;
	text-align: center;
}

.bz-cmp-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
}

.bz-cmp-head__rule {
	display: block;
	width: 3.25rem;
	height: 2px;
	background: #cfcfcf;
}

/* Hero */
.bz-cmp-hero__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: center;
}

@media (min-width: 900px) {
	.bz-cmp-hero__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}
}

.bz-cmp-hero__copy h1 {
	margin: 0 0 0.9rem;
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #111;
}

.bz-cmp-hero__copy > p {
	margin: 0 0 1.35rem;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--bz-cmp-muted);
}

.bz-cmp-hero__rating {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.bz-cmp-hero__stars {
	color: var(--bz-cmp-red);
	font-size: 1.15rem;
	letter-spacing: 0.08em;
	line-height: 1;
}

.bz-cmp-hero__rating p {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.98rem;
	color: #333;
}

.bz-cmp-hero__rating img {
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}

.bz-cmp-hero__g2 {
	color: var(--bz-cmp-red) !important;
	font-weight: 700;
	text-decoration: none !important;
}

.bz-cmp-hero__g2:hover {
	color: var(--bz-cmp-red-hover) !important;
	text-decoration: underline !important;
}

.bz-cmp-hero__video {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	background: #111;
	aspect-ratio: 16 / 9;
	width: 100%;
}

.bz-cmp-hero__player {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	background: #111;
}

.bz-cmp-hero__badges {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.bz-cmp-hero__badges img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 7.5rem;
	object-fit: contain;
	margin-inline: auto;
}

@media (max-width: 520px) {
	.bz-cmp-hero__badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Filter tabs + cards */
.bz-cmp-tabs-bar {
	margin: 0 0 1.75rem;
	background: #fff;
}

.bz-cmp-tabs-ph.is-active {
	display: block;
}

.bz-cmp-tabs-bar.is-fixed {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 900;
	margin: 0;
	padding: 0.75rem 0;
	background: #fff;
	box-shadow: 0 1px 0 var(--bz-cmp-border);
}

.bz-cmp-tabs-bar.is-fixed .bz-cmp-tabs {
	max-width: var(--bz-container, 72rem);
	margin-inline: auto;
	padding-inline: var(--bz-gutter, 1.25rem);
}

.bz-cmp-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
}

.bz-cmp-panel {
	display: block;
}

.bz-cmp-panel[hidden] {
	display: none !important;
}

.bz-cmp-tabs__btn {
	appearance: none;
	flex: 1 1 8rem;
	min-width: 0;
	border: 2px solid var(--bz-cmp-red);
	border-radius: 3px;
	background: #fff;
	color: var(--bz-cmp-red);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.35;
	padding: 0.85rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bz-cmp-tabs__btn:hover,
.bz-cmp-tabs__btn:focus-visible {
	background: var(--bz-cmp-red);
	border-color: var(--bz-cmp-red);
	color: #fff;
	outline: none;
}

.bz-cmp-tabs__btn.is-active {
	background: var(--bz-cmp-red);
	border-color: var(--bz-cmp-red);
	color: #fff;
}

@media (max-width: 720px) {
	.bz-cmp-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 0.15rem;
	}

	.bz-cmp-tabs__btn {
		flex: 0 0 auto;
		white-space: nowrap;
		padding: 0.7rem 0.95rem;
	}
}

.bz-cmp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 980px) {
	.bz-cmp-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.bz-cmp-cards {
		grid-template-columns: 1fr;
	}
}

.bz-cmp-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.15rem;
	min-height: 11.5rem;
	padding: 1.35rem 1.25rem 1.15rem;
	background: var(--bz-cmp-card);
	border: 1px solid #ececec;
	border-radius: 8px;
}

.bz-cmp-card__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
	align-items: center;
	gap: 0.65rem;
}

.bz-cmp-card__logo {
	display: block;
	width: 100%;
	max-width: 8.5rem;
	height: auto;
	object-fit: contain;
	justify-self: start;
}

.bz-cmp-card__vs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #333;
}

.bz-cmp-card__name {
	margin: 0;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	font-weight: 800;
	line-height: 1.25;
	color: #111;
	text-align: left;
}

.bz-cmp-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	align-self: flex-start;
	color: var(--bz-cmp-red) !important;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
}

.bz-cmp-card__link:hover {
	color: var(--bz-cmp-red-hover) !important;
	text-decoration: underline !important;
}

/* Testimonials */
.bz-cmp-quotes__wrap {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.65rem;
}

.bz-cmp-quotes__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 1.15rem) / 2);
	gap: 1.15rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-block: 0.25rem;
}

.bz-cmp-quotes__track::-webkit-scrollbar {
	display: none;
}

@media (max-width: 760px) {
	.bz-cmp-quotes__track {
		grid-auto-columns: 100%;
	}
}

.bz-cmp-quote {
	scroll-snap-align: start;
	margin: 0;
	padding: 1.35rem 1.25rem 1.15rem;
	border: 1px solid var(--bz-cmp-border);
	border-radius: 6px;
	background: #fff;
}

.bz-cmp-quote blockquote {
	margin: 0 0 1rem;
}

.bz-cmp-quote p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #333;
}

.bz-cmp-quote figcaption {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.bz-cmp-quote__avatar {
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background:
		radial-gradient(circle at 50% 38%, #93c5fd 0 28%, transparent 29%),
		radial-gradient(circle at 50% 78%, #60a5fa 0 34%, transparent 35%),
		#dbeafe;
}

.bz-cmp-quote__meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	font-size: 0.9rem;
	color: #555;
}

.bz-cmp-quote__meta strong {
	color: #111;
	font-weight: 700;
}

.bz-cmp-quotes__nav {
	appearance: none;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
	color: #222;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.bz-cmp-quotes__nav:hover {
	border-color: var(--bz-cmp-red);
	color: var(--bz-cmp-red);
}

/* Platform accordion */
.bz-cmp-platform__grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.bz-cmp-platform__grid {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}
}

.bz-cmp-platform__acc {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bz-cmp-acc {
	border-radius: 4px;
	background: var(--bz-cmp-red);
	color: #fff;
	overflow: hidden;
}

.bz-cmp-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
	cursor: pointer;
	padding: 0.95rem 1.15rem;
	font-weight: 700;
	font-size: 1rem;
}

.bz-cmp-acc summary::-webkit-details-marker {
	display: none;
}

.bz-cmp-acc__chev {
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex: 0 0 auto;
}

.bz-cmp-acc[open] .bz-cmp-acc__chev {
	transform: rotate(225deg);
	margin-top: 0.25rem;
}

.bz-cmp-acc__body {
	padding: 0 1.15rem 1.1rem;
}

.bz-cmp-acc__body p {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.bz-cmp-acc__body a {
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
}

.bz-cmp-acc__body a:hover {
	text-decoration: underline !important;
}

.bz-cmp-platform__media img {
	display: block;
	width: 100%;
	height: auto;
}

/* CTA */
.bz-cmp-cta {
	padding-bottom: calc(var(--bz-section-pad-y, 3.5rem) * 1.1);
}

.bz-cmp-cta__panel {
	display: grid;
	overflow: hidden;
	border-radius: 0.85rem;
	background: #000;
	min-height: clamp(22rem, 36vw, 28rem);
	box-shadow:
		0 14px 40px rgba(0, 0, 0, 0.18),
		0 0 0 1px rgba(163, 24, 32, 0.16);
}

@media (min-width: 860px) {
	.bz-cmp-cta__panel {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}
}

.bz-cmp-cta__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.15rem;
	padding: clamp(2rem, 4.5vw, 3.25rem);
	background: #000;
	color: #fff;
}

.bz-cmp-cta__copy h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.8vw, 2.15rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.bz-cmp-cta__copy p {
	margin: 0;
	max-width: 32rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.bz-cmp-cta__btn {
	align-self: flex-start;
	background: var(--bz-cmp-red) !important;
	border-color: var(--bz-cmp-red) !important;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	text-transform: none;
	letter-spacing: 0.01em;
	margin-top: 0.35rem;
}

.bz-cmp-cta__btn:hover {
	background: var(--bz-cmp-red-hover) !important;
	border-color: var(--bz-cmp-red-hover) !important;
	color: #fff !important;
}

.bz-cmp-cta__media {
	min-height: 100%;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 45%),
		var(--bz-cmp-cta-bg, #222) center/cover no-repeat;
}

@media (max-width: 859px) {
	.bz-cmp-cta__media {
		min-height: 16rem;
		order: -1;
	}
}
