/************************************/
/***     Google Reviews Section   ***/
/************************************/

.google-reviews-section {
	padding: 80px 0 64px;
	background: #f8f9fa;
	overflow-x: hidden;
	overflow-y: visible;
}

.google-reviews-header.section-title {
	text-align: center;
	margin-bottom: 0;
}

.google-reviews-header.section-title h3 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-left: 0;
}

.google-reviews-header.section-title h3::before {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
}

.google-reviews-header.section-title h2 {
	font-size: clamp(30px, 3.2vw, 46px);
}

.google-reviews-header.section-title p {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
	margin-bottom: 0;
	font-size: 17px;
	line-height: 1.65;
	color: #475569;
}

.google-reviews-inner {
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.google-reviews-marquee {
	position: relative;
	overflow-x: hidden;
	overflow-y: visible;
	margin: 0;
	padding: 6px 0;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 10%,
		#000 90%,
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 10%,
		#000 90%,
		transparent 100%
	);
}

.google-reviews-inner > .google-reviews-marquee:first-child {
	padding-top: 0;
}

.google-reviews-inner > .google-reviews-marquee:last-of-type {
	padding-bottom: 6px;
}

.google-review-track {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	width: max-content;
	margin: 0;
	padding: 0;
	will-change: transform;
}

.google-reviews-marquee--left .google-review-track {
	animation: google-reviews-scroll-left 55s linear infinite;
}

.google-reviews-marquee--right .google-review-track {
	animation: google-reviews-scroll-right 58s linear infinite;
}

.google-reviews-marquee--stagger .google-review-track {
	padding-left: 110px;
}

@keyframes google-reviews-scroll-left {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@keyframes google-reviews-scroll-right {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

.google-review-card {
	flex: 0 0 auto;
	width: min(380px, 82vw);
	min-height: 220px;
	box-sizing: border-box;
	margin: 0;
	padding: 22px;
	background: #fff;
	border: 1px solid #dadce0;
	border-radius: 16px;
	box-shadow: none;
	font-family: Roboto, "Google Sans", Arial, sans-serif;
	display: flex;
	flex-direction: column;
}

.google-review-stars {
	display: flex;
	align-items: center;
	gap: 1px;
	margin-bottom: 14px;
}

.google-review-star {
	display: inline-flex;
	color: #dadce0;
	line-height: 0;
}

.google-review-star--filled {
	color: #fbbc04;
}

.google-review-text {
	flex: 1;
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: #3c4043;
}

.google-review-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.google-review-avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.02em;
}

.google-review-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.google-review-author {
	font-size: 14px;
	font-weight: 500;
	color: #202124;
	line-height: 1.3;
}

.google-review-date {
	font-size: 12px;
	color: #70757a;
	line-height: 1.3;
}

.google-reviews-cta {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 20px 0 0;
}

.google-reviews-cta__inner.home-blog-section__cta {
	justify-content: center;
}

.google-reviews-cta .btn-default {
	min-width: 220px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.google-reviews-marquee--left .google-review-track,
	.google-reviews-marquee--right .google-review-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 16px !important;
	}

	.google-reviews-marquee {
		-webkit-mask-image: none;
		mask-image: none;
		overflow: visible;
	}

	.google-reviews-marquee--stagger .google-review-track {
		padding-left: 16px;
	}

	.google-reviews-inner {
		gap: 6px;
	}

	.google-reviews-marquee {
		padding: 6px 0;
	}
}

@media (max-width: 767px) {
	.google-reviews-section {
		padding: 52px 0 44px;
	}

	.google-reviews-header.section-title {
		margin-bottom: 0;
	}

	.google-reviews-header.section-title p {
		font-size: 16px;
	}

	.google-reviews-inner {
		gap: 4px;
	}

	.google-reviews-marquee {
		padding: 4px 0;
	}

	.google-reviews-marquee--stagger .google-review-track {
		padding-left: 48px;
	}

	.google-review-card {
		width: min(272px, 76vw);
		min-height: 190px;
		padding: 16px;
	}
}
