/**
 * Reviews Section Block Styles
 * Loaded automatically when the reviews-section block is present on the page.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.reviews-section {
	background: var(--color-black);
	padding: 204px 0 72px; /* 144px offset diagonal + 60px original */
	position: relative;
	z-index: 2;
	margin-top: -174px;
	clip-path: polygon(0 144px, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 991px) {
	.reviews-section {
		margin-top: -120px;
		clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
		padding-top: 160px;
	}
}

@media (max-width: 767px) {
	.reviews-section {
		margin-top: -80px;
		clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
		padding-top: 108px;
	}
}

.reviews-section__inner {
	display: flex;
	align-items: center;
	gap: 60px;
}

/* ==========================================================================
   LEFT COLUMN
   ========================================================================== */

.reviews-section__left {
	flex: 0 0 auto;
	width: 420px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ---------- Title ---------- */

.reviews-section__title {
	font-family: var(--font-base);
	font-size: 42px;
	font-weight: 900;
	line-height: 1.045;
	color: var(--color-white);
	margin: 0;
}

/* ---------- Benefits ---------- */

.reviews-section__benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.reviews-section__benefit {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--color-white);
}

.reviews-section__benefit-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: var(--color-white);
}

/* ---------- CTA ---------- */

.reviews-section__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 39px;
	padding: 0 40px;
	border-radius: 4px;
	background: var(--color-red);
	color: var(--color-white) !important;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	text-decoration: none !important;
	white-space: nowrap;
	align-self: flex-start;
	transition: opacity 0.2s ease;
}

.reviews-section__cta:hover {
	opacity: 0.88;
}

/* ==========================================================================
   RIGHT — SLIDER WRAPPER
   ========================================================================== */

.reviews-section__slider-wrap {
	flex: 1;
	min-width: 0;
	position: relative;
}

/* ==========================================================================
   SLIDE CARD
   ========================================================================== */

.reviews-section__slide {
	background: linear-gradient(180deg, rgba(211, 0, 0, 0.85) 0%, rgba(109, 0, 0, 0.85) 100%);
	border-radius: 12px;
	padding: 104px 56px 56px;
	position: relative;
	min-height: 400px;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	overflow: hidden;
}

/* Opening quote — top-left SVG */
.reviews-section__quote-open {
	position: absolute;
	top: 20px;
	left: 36px;
	width: 68px;
	height: auto;
	pointer-events: none;
	user-select: none;
	display: block;
	opacity: 0.25;
}

/* Closing quote — bottom-right SVG */
.reviews-section__quote-close {
	position: absolute;
	bottom: 16px;
	right: 28px;
	width: 68px;
	height: auto;
	opacity: 0.25;
	pointer-events: none;
	user-select: none;
	display: block;
}

/* ---------- Review text ---------- */

.reviews-section__review-text {
	font-family: var(--font-base);
	font-size: 19px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--color-white);
	margin: 0;
	position: relative;
	z-index: 1;
}

.reviews-section__review-text p {
	margin: 0;
	color: var(--color-white);
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* ---------- Reviewer name ---------- */

.reviews-section__reviewer {
	font-family: var(--font-base);
	font-size: 19px;
	font-weight: 700;
	color: var(--color-white);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 1;
}

.reviews-section__dash {
	color: var(--color-white);
	font-weight: 400;
}

/* ==========================================================================
   ARROWS
   ========================================================================== */

.reviews-section__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s ease;
	color: var(--color-red);
}

.reviews-section__arrow:hover {
	opacity: 0.8;
}

.reviews-section__prev {
	left: -20px;
}

.reviews-section__next {
	right: -20px;
}

/* ==========================================================================
   SLICK DOTS — custom pill style
   ========================================================================== */

.reviews-section__slider .slick-dots {
	display: flex !important;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.reviews-section__slider .slick-dots li {
	margin: 0;
	width: auto;
	height: auto;
}

.reviews-section__slider .slick-dots li button {
	display: block;
	width: 25px;
	height: 5px;
	border-radius: 23px;
	background: #d9d9d9;
	border: none;
	padding: 0;
	font-size: 0;
	cursor: pointer;
	transition: background 0.2s ease;
}

.reviews-section__slider .slick-dots li button::before {
	display: none; /* disable slick's default dot content */
}

.reviews-section__slider .slick-dots li.slick-active button {
	background: var(--color-red);
	width: 25px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
	.reviews-section__left {
		width: 340px;
	}

	.reviews-section__title {
		font-size: 36px;
	}

	.reviews-section__inner {
		gap: 40px;
	}
}

@media (max-width: 991px) {
	.reviews-section__inner {
		flex-direction: column;
		gap: 48px;
	}

	.reviews-section__left {
		width: 100%;
	}

	.reviews-section__slider-wrap {
		width: 100%;
	}

	.reviews-section__prev {
		left: 8px;
	}

	.reviews-section__next {
		right: 8px;
	}
}

@media (max-width: 767px) {
	.reviews-section {
		padding-bottom: 56px;
	}

	.reviews-section__title {
		font-size: 30px;
	}

	.reviews-section__slide {
		padding: 100px 62px 40px;
		min-height: auto;
	}

	.reviews-section__review-text,
	.reviews-section__reviewer {
		font-size: 16px;
	}
}
