/* =====================================================
   Google Reviews Block
   ===================================================== */

.s-google-reviews {
	background: linear-gradient(128deg, #000 6.654%, #030712 50%, #000 93.337%);
	padding: 80px 0;
	direction: rtl;
}

/* --- Header --- */
.google-reviews__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	margin-bottom: 50px;
}

.google-reviews__verified {
	display: flex;
	align-items: center;
	gap: 12px;
}

.google-reviews__google-logo {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.google-reviews__verified span {
	font-family: 'Rubik', sans-serif;
	font-weight: 300;
	font-size: 20px;
	color: #fff;
	line-height: 30px;
}

.google-reviews__title {
	font-family: 'Rubik', sans-serif;
	font-weight: 800;
	font-size: 63px;
	line-height: 1.25;
	background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.975%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
}

.google-reviews__stats {
	display: flex;
	align-items: center;
	gap: 20px;
}

.google-reviews__stat {
	display: flex;
	align-items: center;
	gap: 8px;
}

.google-reviews__stat-label {
	font-family: 'Rubik', sans-serif;
	font-weight: 300;
	font-size: 20px;
	color: #fff;
	line-height: 30px;
}

.google-reviews__stat-value {
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: 19px;
	color: #fff;
	line-height: 28.5px;
}

.google-reviews__stat-value--bold {
	font-weight: 700;
}

.google-reviews__stars-row {
	display: flex;
	align-items: center;
	gap: 2px;
}

.google-reviews__star {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

.google-reviews__stat-divider {
	width: 1px;
	height: 28px;
	background: rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
}

/* --- Carousel wrapper --- */
.google-reviews__carousel-wrapper {
	position: relative;
	max-width: 1148px;
	margin: 0 auto 30px;
}

.google-reviews__overflow {
	overflow: hidden;
	direction: ltr;
}

.google-reviews__track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s ease;
	will-change: transform;
}

/* --- Review card --- */
.google-reviews__card {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
	background: rgba(30, 41, 57, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 21px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	direction: rtl;
}

.google-reviews__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	direction: ltr;
}

.google-reviews__card-google {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.google-reviews__card-user {
	display: flex;
	align-items: center;
	gap: 12px;
}

.google-reviews__card-user-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: right;
}

.google-reviews__card-name {
	font-family: 'Rubik', sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #fff;
	line-height: 21.25px;
}

.google-reviews__card-date {
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #99A1AF;
	line-height: 16.25px;
}

.google-reviews__card-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.google-reviews__card-avatar span {
	font-family: 'Rubik', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	line-height: 27px;
}

.google-reviews__card-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	justify-content: flex-end;
}

.google-reviews__card-text {
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #D1D5DC;
	line-height: 25.6px;
	text-align: right;
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

/* --- Arrows --- */
.google-reviews__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.2s;
	padding: 0;
}

.google-reviews__arrow--next {
	left: -60px;
	background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.975%);
}

.google-reviews__arrow--prev {
	right: -60px;
	background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.975%);
}

.google-reviews__arrow.is-hidden {
	visibility: hidden;
	pointer-events: none;
}

.google-reviews__arrow img {
	width: 20px;
	height: 20px;
	display: block;
}

/* --- Dots --- */
.google-reviews__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 50px;
}

.google-reviews__dot {
	width: 8px;
	height: 8px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.25s;
}

.google-reviews__dot--active {
	width: 28px;
	background: linear-gradient(270deg, #E3B407 0%, #FFEECB 100%);
}

/* --- CTA --- */
.google-reviews__cta {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.975%);
	border-radius: 10px;
	text-decoration: none;
	color: #101828;
	font-family: 'Rubik', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	margin: 0 auto;
	width: fit-content;
}

.google-reviews__cta:hover {
	opacity: 0.9;
}

/* =====================================================
   Tablet (≤1024px)
   ===================================================== */
@media (max-width: 1024px) {
	.s-google-reviews {
		padding: 60px 0;
	}

	.google-reviews__header {
		margin-bottom: 40px;
	}

	.google-reviews__title {
		font-size: 48px;
	}

	.google-reviews__carousel-wrapper {
		max-width: 100%;
		padding: 0 60px;
	}

	.google-reviews__arrow--next {
		left: 0;
	}

	.google-reviews__arrow--prev {
		right: 0;
	}

	.google-reviews__card {
		flex: 0 0 calc((100% - 40px) / 3);
	}
}

/* =====================================================
   Mobile (≤767px)
   ===================================================== */
@media (max-width: 767px) {
	.s-google-reviews {
		padding: 40px 0;
	}

	.google-reviews__header {
		gap: 12px;
		margin-bottom: 30px;
	}

	.google-reviews__verified span {
		font-size: 16px;
		line-height: 24px;
	}

	.google-reviews__title {
		font-size: 32px;
		line-height: 40px;
	}

	.google-reviews__stats {
		flex-direction: column;
		gap: 12px;
	}

	.google-reviews__stat-divider {
		display: none;
	}

	.google-reviews__stat-label {
		font-size: 16px;
		line-height: 24px;
	}

	.google-reviews__stat-value {
		font-size: 16px;
		line-height: 24px;
	}

	.google-reviews__carousel-wrapper {
		max-width: 100%;
		padding: 0 20px;
	}

	.google-reviews__track {
		gap: 16px;
	}

	.google-reviews__card {
		flex: 0 0 100%;
	}

	.google-reviews__arrow {
		display: none;
	}

	.google-reviews__dots {
		margin-bottom: 30px;
	}

	.google-reviews__cta {
		font-size: 16px;
		padding: 12px 20px;
		gap: 8px;
	}
}
