/* Reviews block — Figma 579:434 / 579:488 / 560:407 */

.bz-reviews {
	position: relative;
	overflow: hidden;
	padding: 0;
}

.bz-reviews__head-wrap {
	margin-bottom: 56px;
}

.bz-reviews__head {
	display: grid;
	grid-template-columns: 1fr 682px;
	align-items: start;
	gap: 12px;
}

.bz-reviews__title {
	margin: 0;
	font-family: var(--bz-font-manrope);
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--bz-black);
}

.bz-reviews__subtitle {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bz-black);
}

.bz-reviews__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	align-items: stretch;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.bz-reviews__carousel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 464px;
	padding: 56px var(--bz-gutter) 36px max(var(--bz-gutter), calc(50vw - (var(--bz-container) / 2)));
	overflow: hidden;
	background: radial-gradient(77% 141.42% at 0% 100%, #067756 0%, #000 88.94%), rgba(0, 0, 0, 0.05);
}

.bz-reviews__carousel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("/wp-content/uploads/2026/08/bg-otziv.png") center / cover no-repeat;
}

.bz-reviews__carousel > * {
	position: relative;
	z-index: 1;
}

.bz-reviews-swiper {
	width: 100%;
	overflow: visible;
}

.bz-reviews-swiper .swiper-wrapper,
.bz-reviews-swiper .swiper-slide {
	overflow: visible;
}

.bz-review {
	position: relative;
	background: var(--bz-white);
	padding: 36px;
	padding-bottom: 36px;
	margin-bottom: 36px;
	display: flex;
	flex-direction: column;
	gap: 36px;
	min-height: 249px;
}

.bz-review__pointer {
	position: absolute;
	left: 50%;
	bottom: -36px;
	width: 36.89%;
	height: 36px;
	transform: translateX(-50%);
	pointer-events: none;
}

.bz-review__pointer img {
	display: block;
	width: 100%;
	height: 36px;
}

.bz-review__rating {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bz-review__stars {
	display: flex;
	align-items: center;
}

.bz-review__star {
	width: 24px;
	height: 24px;
}

.bz-review__source-logo {
	display: block;
	object-fit: contain;
}

.bz-review__rating img {
	width: auto;
	height: auto;
}

.bz-review__text {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bz-black);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
	height: calc(16px * 1.2 * 5);
}

.bz-reviews__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.bz-reviews__arrow {
	flex: 0 0 33px;
	width: 33px;
	height: 36px;
	padding: 0 6px 0 3px;
	border: none;
	border-radius: var(--bz-radius);
	background: var(--bz-white);
	color: var(--bz-black);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bz-reviews__arrow svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.bz-reviews__arrow--right svg {
	transform: scaleX(-1);
}

.bz-reviews__name {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	line-height: 1.2;
	text-align: center;
	flex: 1 1 0;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bz-reviews__name--muted {
	color: var(--bz-white-50);
}

.bz-reviews__active {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.bz-reviews__name--active {
	color: var(--bz-white);
	font-size: 18px;
	font-weight: 600;
	flex: 0 0 auto;
	white-space: nowrap;
}

.bz-reviews__origin {
	color: var(--bz-white);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
}

.bz-reviews__origin:hover,
.bz-reviews__origin:focus-visible {
	text-decoration: underline;
}

.bz-reviews__aside {
	display: flex;
	align-items: stretch;
	min-height: 464px;
	background: #000;
	overflow: hidden;
}

.bz-reviews__cta {
	position: relative;
	z-index: 1;
	flex: 0 1 400px;
	width: 400px;
	max-width: 48%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 56px var(--bz-gutter);
	overflow: hidden;
}

.bz-reviews__cta-mark {
	position: absolute;
	left: -77px;
	top: 50%;
	width: 343px;
	height: 420px;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 0;
}

.bz-reviews__cta-mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bz-reviews__cta-title,
.bz-reviews__cta-subtitle,
.bz-reviews__cta-buttons {
	position: relative;
	z-index: 1;
}

.bz-reviews__cta-title {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bz-white);
}

.bz-reviews__cta-subtitle {
	margin: 0;
	font-family: var(--bz-font-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bz-white);
}

.bz-reviews__cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.bz-reviews__cta-logo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 36px;
	border-radius: var(--bz-radius);
	background: var(--bz-white);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.bz-reviews__cta-logo-button:hover,
.bz-reviews__cta-logo-button:focus-visible {
	transform: translateY(-4px);
}

.bz-reviews__cta-logo-button img {
	display: block;
	height: 18px;
	width: auto;
	max-width: 100%;
}

.bz-reviews__fence {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.bz-reviews__fence img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	display: block;
}

@media (max-width: 1400px) {
	.bz-reviews__head {
		grid-template-columns: 1fr 1fr;
	}

	.bz-reviews__cta {
		width: auto;
		max-width: 52%;
	}
}

@media (max-width: 1200px) {
	.bz-reviews__head {
		grid-template-columns: 1fr;
	}

	.bz-reviews__layout {
		grid-template-columns: 1fr;
	}

	.bz-reviews__carousel,
	.bz-reviews__aside {
		min-height: 0;
	}

	.bz-reviews__cta {
		max-width: none;
		width: 50%;
	}

	.bz-reviews__aside {
		min-height: 360px;
	}
}

@media (max-width: 768px) {
	.bz-reviews__head-wrap {
		margin-bottom: 32px;
	}

	.bz-reviews__carousel {
		padding: 32px var(--bz-gutter) 24px max(var(--bz-gutter), calc(50vw - (var(--bz-container) / 2)));
	}

	.bz-review {
		padding: 20px;
	}

	.bz-reviews__aside {
		flex-direction: column;
		min-height: 0;
	}

	.bz-review__pointer {
		bottom: -15px;
	}

	.bz-reviews__cta {
		flex: 0 1 280px;
		width: auto;
		max-width: none;
		padding: 32px var(--bz-gutter);
		gap: 20px;
	}

	.bz-reviews__fence {
		display: none;
	}

	.bz-reviews__name--muted {
		display: none;
	}

	.block_reviews_sait .wpb_text_column {
		margin-bottom: 0;
	}
}
