/*------------------------------------------------------------------
[ AB Home v2 — Testimonials ]
Figma: 976:10337 · approved export (dots, start position)
Card 648 × 342, 30px gaps, white section.
*/

.ab-hv2-section.ab-hv2-tst {
	--tst-card: 648px;
	padding: 66px 0 80px;
	background: #fff;
	color: #232323;
}

.ab-hv2-tst__viewport {
	overflow: hidden;
	padding: 0 0 12px;
	cursor: grab;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.ab-hv2-tst.is-dragging .ab-hv2-tst__viewport { cursor: grabbing; }

.ab-hv2-section .ab-hv2-tst__track {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
	will-change: transform;
}

.ab-hv2-tst.is-ready .ab-hv2-tst__track { justify-content: flex-start; }
.ab-hv2-tst.is-animating .ab-hv2-tst__track { transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.ab-hv2-tst:not(.is-ready) .ab-hv2-tst__viewport { overflow-x: auto; }

.ab-hv2-tst__col {
	flex: 0 0 var(--tst-card);
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.ab-hv2-section .ab-hv2-tst__card {
	position: relative;
	min-height: 342px;
	margin: 0;
	padding: 30px 30px 26px;
	border: 1px solid rgba(159, 19, 231, 0.42);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(23, 15, 51, 0.04);
}

.ab-hv2-section .ab-hv2-tst__quote {
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 160px;
	font-family: var(--hv2-font-ui);
	font-weight: 300;
	font-size: 14.93px;
	line-height: 1.548;
	font-style: normal;
	color: #232323;
}

.ab-hv2-section .ab-hv2-tst__quote::before,
.ab-hv2-section .ab-hv2-tst__quote::after { content: none; }

.ab-hv2-section .ab-hv2-tst__quote strong,
.ab-hv2-section .ab-hv2-tst__quote b { font-weight: 800; }

.ab-hv2-tst__author {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin-top: 29px;
}

.ab-hv2-section .ab-hv2-tst__avatar {
	flex: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
	background: #b5afaf;
}

.ab-hv2-tst__who { display: flex; flex-direction: column; }

.ab-hv2-tst__name {
	font-family: 'ClashGrotesk-Semibold', 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 18.66px;
	line-height: 1.081;
	color: #232323;
}

.ab-hv2-tst__role {
	margin-top: 6px;
	font-family: var(--hv2-font-ui);
	font-weight: 300;
	font-size: 14.93px;
	line-height: 1.2;
	color: #232323;
}

.ab-hv2-section .ab-hv2-tst__logo {
	position: absolute;
	right: 30px;
	bottom: 26px;
	width: auto;
	height: 30px;
	max-width: 160px;
	object-fit: contain;
}

/* Dots */
.ab-hv2-tst__dots {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 54px;
}

.ab-hv2-section .hv2-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #3b3b3f;
	cursor: pointer;
	transition: background-color .25s ease, transform .25s ease;
}

.ab-hv2-section .hv2-slider__dot:hover { transform: scale(1.2); }
.ab-hv2-section .hv2-slider__dot.is-active { background: #6f6cf0; }
.ab-hv2-section .hv2-slider__dot:focus-visible { outline: 2px solid #653bf3; outline-offset: 3px; }

@media (max-width: 767px) {
	.ab-hv2-section.ab-hv2-tst { --tst-card: calc(100vw - 40px); padding: 40px 0 60px; }
	.ab-hv2-section .ab-hv2-tst__card { padding: 22px 20px 70px; min-height: 0; }
	.ab-hv2-section .ab-hv2-tst__quote { min-height: 0; font-size: 14px; }
	.ab-hv2-section .ab-hv2-tst__logo { left: 20px; right: auto; bottom: 22px; height: 24px; }
	.ab-hv2-tst__col { gap: 16px; }
	.ab-hv2-section .ab-hv2-tst__track { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.ab-hv2-tst.is-animating .ab-hv2-tst__track { transition: none; }
}
