/* Reviews Section - Match design: heading, card, progress bar, button */
.reviews-section {
	padding: 50px 0 50px 0;
	background: #fff;
}

.reviews-section__inner {
	text-align: center;
}

.reviews-section__title {
	margin: 0 0 48px;
	font-family: "Playfair Display", Georgia, serif !important;
	text-align: center;
	color: #000;
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
}

/* Mobile: "What Our Customers Say" - one line */
@media (max-width: 767px) {
	.reviews-section__title {
		white-space: nowrap;
		font-size: 22px;
	}
}

/* Slider container - centered on all screens */
.reviews-section__slider {
	margin-bottom: 32px;
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.reviews-section__slider-track {
	width: 100%;
	min-width: 0;
}

/* Small (< 768px): 1 review centered */
@media (max-width: 767px) {
	.reviews-section__slider {
		padding: 0 20px;
		margin-bottom: 32px;
	}

	.reviews-section__slider .reviews-section__slider-track {
		width: 100%;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
		touch-action: pan-x;
	}

	.reviews-section__slider .reviews-section__slider-track::-webkit-scrollbar {
		display: none;
	}

	.reviews-section__slider .reviews-section__slider-slide {
		flex: 0 0 100% !important;
		flex-shrink: 0 !important;
		width: 100% !important;
		min-width: 100% !important;
		scroll-snap-align: center;
		scroll-snap-stop: always;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		padding: 0 10px;
	}

	.reviews-section__slider .reviews-section__slider-slide .reviews-section__card {
		max-width: 350px;
		width: 100%;
	}
}

/* Medium (768px - 1099px): 2 reviews per view, centered */
@media (min-width: 768px) and (max-width: 1099px) {
	.reviews-section__slider {
		padding: 0 24px;
		margin-bottom: 32px;
	}

	.reviews-section__slider .reviews-section__slider-track {
		width: 90%;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
		touch-action: pan-x;
		gap: 24px;
	}

	.reviews-section__slider .reviews-section__slider-track::-webkit-scrollbar {
		display: none;
	}

	.reviews-section__slider .reviews-section__slider-slide {
		flex: 0 0 calc(50% - 12px) !important;
		flex-shrink: 0 !important;
		width: calc(50% - 12px) !important;
		min-width: calc(50% - 12px) !important;
		scroll-snap-align: center;
		scroll-snap-stop: always;
		box-sizing: border-box;
		display: flex;
		justify-content: center;
		padding: 0 6px;
	}

	.reviews-section__slider .reviews-section__slider-slide .reviews-section__card {
		max-width: 100%;
		width: 100%;
	}
}

/* Slider + pagination shared for small and medium - bar 80% width, bullets equal width per page */
@media (max-width: 1099px) {
	.reviews-section__pagination {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 80%;
		margin-top: 24px;
		margin-bottom: 24px;
		min-height: 6px;
		padding: 0;
		gap: 0;
	}

	.reviews-section__pagination .reviews-section__pagination-bullet,
	.reviews-section__pagination span {
		flex: 0 0 auto;
		box-sizing: border-box;
		min-width: 0;
		height: 1px;
		background: #e5e5e5;
		opacity: 1;
		margin: 0;
		padding: 0;
		border: none;
		transition: background 0.2s ease, height 0.2s ease;
		cursor: pointer;
	}

	.reviews-section__pagination .reviews-section__pagination-bullet:first-child,
	.reviews-section__pagination span:first-child {
		border-radius: 14px;
	}

	.reviews-section__pagination .reviews-section__pagination-bullet:last-child,
	.reviews-section__pagination span:last-child {
		border-radius: 14px;
	}

	.reviews-section__pagination .reviews-section__pagination-bullet:hover,
	.reviews-section__pagination span:hover {
		background: #d8d8d8;
	}

	.reviews-section__pagination .reviews-section__pagination-bullet--active,
	.reviews-section__pagination span.reviews-section__pagination-bullet--active {
		background: #8ea9a2;
		height: 4px;
		border-radius: 8px;
	}
}

/* Large (>= 1100px): 4 reviews per view, scrollable when more than 4, same pagination design */
@media (min-width: 1100px) {
	.reviews-section__slider .reviews-section__slider-track {
		width: 90%;
		max-width: 1400px;
		margin: 0 auto;
		display: flex;
		justify-content: flex-start;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 24px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
		touch-action: pan-x;
	}

	.reviews-section__slider .reviews-section__slider-track::-webkit-scrollbar {
		display: none;
	}

	.reviews-section__slider .reviews-section__slider-slide {
		flex: 0 0 calc(25% - 18px);
		width: calc(25% - 18px);
		min-width: calc(25% - 18px);
		display: flex;
		justify-content: center;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
	}

	.reviews-section__slider .reviews-section__slider-slide .reviews-section__card {
		max-width: none;
		width: 100%;
	}

	.reviews-section__slider.reviews-section__slider--pagination-visible .reviews-section__pagination {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.reviews-section__slider .reviews-section__pagination {
		display: none;
		justify-content: center;
		align-items: flex-end;
		width: 80%;
		margin-top: 24px;
		margin-bottom: 24px;
		min-height: 6px;
		padding: 0;
		gap: 0;
	}

	.reviews-section__slider .reviews-section__pagination .reviews-section__pagination-bullet,
	.reviews-section__slider .reviews-section__pagination span {
		flex: 1;
		min-width: 0;
		height: 1px;
		background: #e5e5e5;
		opacity: 1;
		margin: 0;
		padding: 0;
		border: none;
		transition: background 0.2s ease, height 0.2s ease;
		cursor: pointer;
	}

	.reviews-section__slider .reviews-section__pagination .reviews-section__pagination-bullet:first-child,
	.reviews-section__slider .reviews-section__pagination span:first-child {
		border-radius: 12px;
	}

	.reviews-section__slider .reviews-section__pagination .reviews-section__pagination-bullet:last-child,
	.reviews-section__slider .reviews-section__pagination span:last-child {
		border-radius: 12px;
	}

	.reviews-section__slider .reviews-section__pagination .reviews-section__pagination-bullet:hover,
	.reviews-section__slider .reviews-section__pagination span:hover {
		background: #d8d8d8;
	}

	.reviews-section__slider .reviews-section__pagination .reviews-section__pagination-bullet--active,
	.reviews-section__slider .reviews-section__pagination span.reviews-section__pagination-bullet--active {
		background: #8ea9a2;
		height: 6px;
		border-radius: 14px;
	}

	.reviews-section__slider {
		margin-bottom: 40px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

/* Card - white, rounded 8-12px, subtle drop shadow, 300-350px */
.reviews-section__card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #D8D8D8;
	padding: 24px;
	text-align: left;
	transition: box-shadow 0.2s ease;
}

.reviews-section__card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Card header - avatar + name/date left, Google G right */
.reviews-section__card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.reviews-section__card-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.reviews-section__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.reviews-section__avatar--placeholder {
	background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

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

.reviews-section__name {
	font-weight: 700;
	color: #1a1a1a;
	font-size: 15px;
	font-family: "Nunito", Arial, sans-serif;
}

.reviews-section__google-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.reviews-section__google-badge svg {
	width: 100%;
	height: 100%;
}

.reviews-section__date {
	font-size: 12px;
	color: #999;
	font-family: "Nunito", Arial, sans-serif;
}

/* Stars - vibrant yellow/gold */
.reviews-section__stars {
	color: #FFC107;
	font-size: 24px;
	margin-bottom: 16px;
	letter-spacing: 2px;
}

.reviews-section__star {
	display: inline-block;
	color: #f4c430 !important;
}

/* Review text */
.reviews-section__text {
	line-height: 1.65;
	margin: 0;
	color: #1A1A1A;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	/* 125% */
}

/* CTA button - teal/sage green */
.reviews-section__cta {
	padding: 14px 42px;
	background-color: #8ea9a2;
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	font-family: "Nunito", Arial, sans-serif !important;
	border-radius: 8px;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	font-size: 14px;
	font-style: normal;
	line-height: normal;
}

.reviews-section__cta:hover {
	background-color: black;
	text-decoration: none;
	color: #fff;
}