.wm-home-testimonials {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: clamp(2.25rem, 4vw, 3rem) 0;
	background: #0f2740;
}

.wm-home-testimonials__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.wm-home-testimonials__bg picture,
.wm-home-testimonials__bg img,
.wm-home-testimonials__bg .wm-responsive-image {
	display: block;
	width: 100%;
	height: 100%;
}

.wm-home-testimonials__bg img {
	object-fit: cover;
	object-position: center;
}

.wm-home-testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(15, 39, 64, 0.85) 0%, rgba(15, 39, 64, 0.66) 50%, rgba(15, 39, 64, 0.85) 100%),
		linear-gradient(90deg, rgba(15, 39, 64, 0.4) 0%, rgba(15, 39, 64, 0.15) 50%, rgba(15, 39, 64, 0.4) 100%);
}

.wm-home-testimonials__inner {
	position: relative;
	z-index: 2;
	max-width: var(--wm-content-max, 1240px);
	margin: 0 auto;
	padding: 0 var(--wm-content-padding, clamp(1.25rem, 3vw, 2rem));
}

.wm-home-testimonials__header {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.wm-home-testimonials__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #7fb3dd;
}

.wm-home-testimonials__eyebrow::before,
.wm-home-testimonials__eyebrow::after {
	content: "";
	display: block;
	width: 30px;
	height: 2px;
	background: #7fb3dd;
}

.wm-home-testimonials__title {
	margin: 0;
	font-family: "Open Sans", "Segoe UI", system-ui, sans-serif;
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	line-height: 1.1;
	font-weight: 800;
	font-style: italic;
	color: #fff;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.wm-home-testimonials__slider {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
}

.wm-home-testimonials__viewport {
	overflow: hidden;
}

.wm-home-testimonials__track {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wm-home-testimonials__slide {
	min-width: 100%;
	display: flex;
	padding: 0.25rem;
}

.wm-home-testimonials__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 100%;
	gap: 0.45rem;
	padding: clamp(0.9rem, 1.5vw, 1.1rem);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	position: relative;
}

.wm-home-testimonials__card::before {
	content: "“";
	position: absolute;
	top: 0.1rem;
	left: 1.1rem;
	font-family: Georgia, serif;
	font-size: 2.4rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.18);
}

.wm-home-testimonials__stars {
	font-size: 0.9rem;
	letter-spacing: 0.15em;
	color: #fbbf24;
	line-height: 1;
}

.wm-home-testimonials__quote {
	margin: 0;
	width: 100%;
	max-width: none;
	font-size: clamp(0.8rem, 1vw, 0.88rem);
	line-height: 1.4;
	font-style: italic;
	color: rgba(255, 255, 255, 0.94);
}

.wm-home-testimonials__author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0;
}

.wm-home-testimonials__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.wm-home-testimonials__author-copy {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.wm-home-testimonials__author-name {
	font-weight: 800;
	font-size: 0.85rem;
	color: #fff;
}

.wm-home-testimonials__author-company {
	font-size: 0.72rem;
	color: #7fb3dd;
	font-weight: 600;
}

.wm-home-testimonials__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wm-home-testimonials__arrow svg {
	display: block;
	width: 20px;
	height: 20px;
}

.wm-home-testimonials__arrow:hover,
.wm-home-testimonials__arrow:focus {
	background: #fff;
	color: #0f2740;
	border-color: #fff;
}

.wm-home-testimonials__arrow--prev {
	left: -1.25rem;
}

.wm-home-testimonials__arrow--next {
	right: -1.25rem;
}

.wm-home-testimonials__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 1.5rem;
}

.wm-home-testimonials__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: background 0.25s ease, width 0.25s ease;
}

.wm-home-testimonials__dot.is-active {
	width: 26px;
	background: #fff;
}

@media (max-width: 900px) {
	.wm-home-testimonials__arrow {
		display: none;
	}

	.wm-home-testimonials__card {
		padding: 1.75rem 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wm-home-testimonials__track {
		transition: none;
	}
}
