/* ==========================================================================
   Axiora – Customer Reviews & Testimonials Section
   Architecture matching reference image:
   - Clean off-white canvas (#f7f8fa) with pure white speech bubble cards.
   - Centered headline in clean geometric sans: "Read reviews, ride with confidence."
   - Trustpilot 4.2/5 verification row with official green star logo.
   - Left sidebar: Large quote icon, "What our customers are saying", arrow navigation + progress line.
   - Right carousel: Speech bubble cards with 5 Trustpilot green stars and author info below.
   ========================================================================== */

.reviews-confidence-section {
	position: relative;
	background-color: #f7f8fa !important;
	color: #111111;
	padding-top: clamp(64px, 7vw, 96px);
	padding-bottom: clamp(72px, 8vw, 112px);
	overflow: hidden;
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reviews-confidence-container {
	width: 100%;
	max-width: 1340px;
	margin-inline: auto;
	padding-inline: clamp(20px, 3.5vw, 44px);
	box-sizing: border-box;
}

/* ==========================================================================
   1. CENTERED TOP HEADER & TRUSTPILOT BANNER
   ========================================================================== */

.reviews-header-center {
	text-align: center;
	margin-bottom: clamp(48px, 5.5vw, 72px);
}

.reviews-header-title {
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: clamp(34px, 3.8vw, 46px) !important;
	font-weight: 700 !important;
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: #111111;
	margin: 0 0 16px;
	text-transform: none;
}

.reviews-header-title span {
	display: inline-block;
}

/* Trustpilot Verification Row */
.reviews-trustpilot-banner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 14.5px;
	color: #111111;
}

.trustpilot-score {
	font-family: "DM Sans", "Inter", sans-serif !important;
	font-weight: 700;
	font-size: 15px;
	color: #111111;
}

.trustpilot-brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
}

.trustpilot-star {
	display: block;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

.trustpilot-name {
	font-family: "DM Sans", "Inter", sans-serif !important;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #111111;
	font-size: 16px;
}

.trustpilot-count {
	font-family: "DM Sans", "Inter", sans-serif !important;
	color: rgba(0, 0, 0, 0.58);
	font-weight: 400;
	font-size: 14px;
	margin-left: 4px;
}

/* ==========================================================================
   2. TWO-COLUMN SPLIT: LEFT SIDEBAR CONTROLS + RIGHT SLIDER
   ========================================================================== */

.reviews-content-grid {
	display: grid;
	grid-template-columns: clamp(280px, 25vw, 340px) 1fr;
	gap: clamp(36px, 4vw, 56px);
	align-items: start;
}

/* Left Sidebar */
.reviews-sidebar-col {
	display: flex;
	flex-direction: column;
	padding-top: 4px;
}

.reviews-quote-mark {
	margin-bottom: 24px;
}

.reviews-quote-mark svg {
	display: block;
	width: 58px;
	height: auto;
}

.reviews-sidebar-heading {
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: clamp(32px, 3.2vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: #111111;
	margin: 0 0 36px;
	text-transform: none;
}

.reviews-sidebar-heading span {
	display: inline-block;
}

/* Navigation Controls: Arrows + Track */
.reviews-slider-nav {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.reviews-arrow {
	background: transparent;
	border: none;
	padding: 6px 4px;
	cursor: pointer;
	color: #111111;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.reviews-arrow:hover {
	transform: scale(1.12);
}

.reviews-arrow--prev:hover {
	transform: translateX(-3px);
}

.reviews-arrow--next:hover {
	transform: translateX(3px);
}

.reviews-arrow svg {
	display: block;
}

.reviews-track-line {
	width: 104px;
	height: 2.5px;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	position: relative;
	overflow: hidden;
}

.reviews-track-thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 100%;
	background: #111111;
	border-radius: 999px;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

/* ==========================================================================
   3. RIGHT CAROUSEL TRACK & SPEECH BUBBLE CARDS
   ========================================================================== */

.reviews-carousel-wrapper {
	overflow: hidden;
	position: relative;
	width: 100%;
	padding-bottom: 24px;
}

.reviews-cards-track {
	display: flex;
	gap: 24px;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

.review-card-item {
	width: clamp(310px, 30vw, 360px);
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* Speech Bubble Card Box */
.review-speech-bubble {
	background-color: #ffffff;
	border-radius: 20px;
	padding: 32px 28px 24px;
	box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
	border: 1px solid rgba(0, 0, 0, 0.04);
	position: relative;
	min-height: 230px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.review-speech-bubble:hover {
	box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* Speech Bubble Tail Pointing Down to Avatar */
.review-bubble-tail {
	position: absolute;
	bottom: -11px;
	left: 34px;
	width: 18px;
	height: 12px;
	overflow: hidden;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.03));
}

.review-bubble-tail svg {
	display: block;
	width: 100%;
	height: 100%;
}

.review-body-text {
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.58;
	color: #374151;
	margin: 0;
	letter-spacing: -0.01em;
}

/* Green Stars Row */
.review-stars-row {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-top: 20px;
	user-select: none;
}

.review-star-svg {
	display: block;
	width: 17px;
	height: 17px;
}

/* Author Meta Block Below Bubble */
.review-author-meta {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding-left: 12px;
}

.review-avatar-wrap {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	background: #e5e7eb;
}

.review-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.review-author-details {
	display: flex;
	flex-direction: column;
}

.review-author-details .author-name {
	font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 15px;
	font-weight: 700;
	color: #111111;
	line-height: 1.2;
}

.review-author-details .author-date {
	font-family: "DM Sans", "Inter", sans-serif !important;
	font-size: 12px;
	color: #888888;
	margin-top: 2px;
}

/* ==========================================================================
   4. RESPONSIVE ADAPTATIONS
   ========================================================================== */

@media (max-width: 1024px) {
	.reviews-content-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.reviews-sidebar-col {
		padding-top: 0;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.reviews-quote-mark {
		margin-bottom: 0;
	}

	.reviews-sidebar-heading {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.reviews-sidebar-col {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.review-card-item {
		width: 300px;
	}
}

@media (max-width: 480px) {
	.reviews-trustpilot-banner {
		flex-direction: column;
		gap: 6px;
	}

	.trustpilot-count {
		margin-left: 0;
	}

	.review-card-item {
		width: 280px;
	}
}
