.oes-testimonials {
	--oes-testi-bg: #071217;
	--oes-testi-text: #fff;
	--oes-testi-accent: #54a5d0;
	--oes-testi-muted: rgba(255, 255, 255, 0.55);
	--oes-testi-line: rgba(255, 255, 255, 0.18);
	--oes-testi-watermark: rgba(84, 165, 208, 0.09);
	--oes-testi-pad: clamp(22px, 5vw, 82px);
	--oes-testi-watermark-size: 40vw;
	--oes-testi-transition: 600ms;
	--oes-testi-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: clamp(80px, 11vw, 160px) var(--oes-testi-pad);
	background: var(--oes-testi-bg);
	color: var(--oes-testi-text);
	font-family: "General Sans", Arial, sans-serif;
	isolation: isolate;
}

.oes-testimonials,
.oes-testimonials * {
	box-sizing: border-box;
}

.oes-testimonials__quote-mark {
	position: absolute;
	z-index: 0;
	top: -0.15em;
	left: calc(var(--oes-testi-pad) - 0.05em);
	color: var(--oes-testi-watermark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: min(var(--oes-testi-watermark-size), 40rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.oes-testimonials__quote-mark--image {
	top: 0;
	width: min(34vw, 34rem);
	opacity: 0.1;
}

.oes-testimonials__quote-mark--image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.oes-testimonials__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1100px;
}

.oes-testimonials__stars {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 36px;
	color: var(--oes-testi-accent);
}

.oes-testimonials__stars svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

.oes-testimonials__slide[hidden] {
	display: none;
}

.oes-testimonials__slide.is-active {
	display: block;
	animation: oes-testimonial-fade var(--oes-testi-transition) var(--oes-testi-ease) both;
}

@keyframes oes-testimonial-fade {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.oes-testimonials__quote {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--oes-testi-text);
	font-family: "Clash Display", "General Sans", Arial, sans-serif;
	font-size: clamp(1.7rem, 4.6vw, 3.6rem);
	font-style: normal;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

.oes-testimonials__highlight {
	color: var(--oes-testi-accent);
	font-style: italic;
}

.oes-testimonials__citation {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 34px;
}

.oes-testimonials__bar {
	display: block;
	width: 34px;
	height: 1px;
	background: var(--oes-testi-accent);
	flex: 0 0 auto;
}

.oes-testimonials__name {
	color: var(--oes-testi-text);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
}

.oes-testimonials__role {
	margin-top: 2px;
	color: var(--oes-testi-muted);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.45;
}

.oes-testimonials__nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 52px;
}

.oes-testimonials__nav-button {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--oes-testi-line);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--oes-testi-text);
	line-height: 1;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.35s var(--oes-testi-ease), border-color 0.35s var(--oes-testi-ease), color 0.35s var(--oes-testi-ease), transform 0.35s var(--oes-testi-ease);
}

.oes-testimonials__nav-button:hover,
.oes-testimonials__nav-button:focus {
	border-color: var(--oes-testi-accent);
	background: var(--oes-testi-accent);
	color: var(--oes-testi-bg);
	transform: translateY(-2px);
}

.oes-testimonials__nav-button:focus-visible {
	outline: 2px solid var(--oes-testi-text);
	outline-offset: 3px;
}

.oes-testimonials__nav-button svg {
	display: block;
	width: 20px;
	height: 20px;
}

@media (max-width: 767px) {
	.oes-testimonials {
		--oes-testi-pad: 22px;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.oes-testimonials__stars {
		margin-bottom: 28px;
	}

	.oes-testimonials__quote {
		font-size: clamp(1.65rem, 8vw, 2.65rem);
		line-height: 1.1;
	}

	.oes-testimonials__citation {
		margin-top: 28px;
	}

	.oes-testimonials__nav {
		margin-top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oes-testimonials__slide.is-active {
		animation: none;
	}

	.oes-testimonials__nav-button {
		transition-duration: 0.01ms !important;
	}
}
