/* Vidas – Testimonios
 * Escritorio (captura, contenido 1392; las medidas escalan con --vts-u = 1px de diseño):
 *   tarjeta 1155×410 (82.95% de la columna) centrada, radio 20; foto 83 a 50/47 del borde;
 *   testimonio Light 37/47 a 183 del borde izquierdo; "Nombre — Empresa" 24px abajo (Light + SemiBold);
 *   flechas finas 37.5×75 en los bordes de la columna, centradas con la tarjeta; 122px de la etiqueta a la tarjeta.
 * Móvil (captura, contenido 353): tarjeta 285 centrada, radio 12; foto 82 centrada; texto 18/22.6; nombre 14px;
 *   flechas 18×35 a 11px del borde de la pantalla, un poco por encima del centro.
 * Fondo degradado y espacios superior/inferior como en Blog (controles "Fondo").
 */

.vts {
	--vts-label: #000;
	--vts-quote: #000;
	--vts-name: #000;
	--vts-company: #000;
	--vts-arrows: #000;
	--vts-card-bg: #fff;
	--vts-max: 1392px;
	--vts-pad: 60px;

	position: relative;
	width: 100%;
	padding: 0 var(--vts-pad);
	box-sizing: border-box;
	container-type: inline-size;
	font-family: "Soleil", sans-serif;
}

.vts__inner {
	--vts-cw: min(var(--vts-max), 100cqw);     /* 100cqw ya es el ancho sin el margen lateral */
	--vts-u: calc(var(--vts-cw) / 1392);

	max-width: var(--vts-max);
	margin: 0 auto;
}

/* ---------- Etiqueta (igual que Partner) ---------- */
.vts__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 var(--vts-label-gap, 122px);
	padding: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vts-label);
}

.vts__asterisk {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* ---------- Carrusel ---------- */
.vts__slider {
	position: relative;
}

/* todas las tarjetas en el mismo hueco: la sección no cambia de alto al pasar */
.vts__stack {
	display: grid;
	width: 82.95%;
	margin: 0 auto;
}

.vts__card {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: calc(83 * var(--vts-u)) minmax(0, 1fr);
	column-gap: calc(49.6 * var(--vts-u));
	min-height: calc(410 * var(--vts-u));
	margin: 0;
	padding: calc(47 * var(--vts-u)) calc(70 * var(--vts-u)) calc(47 * var(--vts-u)) calc(50 * var(--vts-u));
	border-radius: calc(20 * var(--vts-u));
	background: var(--vts-card-bg);
	box-sizing: border-box;
	will-change: transform, opacity;
}

.vts__card:not(.is-active) {
	visibility: hidden;
	opacity: 0;
}

.vts__photo {
	width: calc(83 * var(--vts-u));
	height: calc(83 * var(--vts-u));
	border-radius: 50%;
	overflow: hidden;
	background: #d8d8d8;
}

.vts__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vts__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* se anulan los estilos de <blockquote> del tema */
.vts .vts__quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-style: normal;
	font-weight: 300;
	font-size: calc(37 * var(--vts-u));
	line-height: calc(47 * var(--vts-u));
	letter-spacing: -0.01em;
	color: var(--vts-quote);
	quotes: none;
}

.vts .vts__quote::before,
.vts .vts__quote::after {
	content: none;
}

.vts__author {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.5em;
	margin-top: auto;
	padding-top: calc(40 * var(--vts-u));
	font-family: inherit;
	font-size: calc(24 * var(--vts-u));
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.vts__name,
.vts__dash {
	font-weight: 300;
	color: var(--vts-name);
}

.vts__company {
	font-weight: 600;
	color: var(--vts-company);
}

/* ---------- Flechas (se anulan los estilos de <button> del tema) ---------- */
.vts .vts__arrow,
.vts .vts__arrow:hover,
.vts .vts__arrow:focus,
.vts .vts__arrow:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--vts-arrows);
	outline: none;
}

.vts .vts__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: block;
	width: calc(37.5 * var(--vts-u));
	height: calc(75 * var(--vts-u));
	margin: calc(-37.5 * var(--vts-u)) 0 0;
	padding: 0;
	border-radius: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.35s cubic-bezier(0.34, 1.6, 0.64, 1);
}

.vts .vts__arrow--prev { left: 0; }
.vts .vts__arrow--next { right: 0; }

.vts .vts__arrow:focus-visible {
	outline: 2px solid var(--vts-arrows);
	outline-offset: 4px;
}

@media (hover: hover) {
	.vts .vts__arrow--prev:hover { transform: translateX(-6px); }
	.vts .vts__arrow--next:hover { transform: translateX(6px); }
}

.vts__chev {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vts__label {
		margin-bottom: var(--vts-label-gap, 90px);
	}
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
	.vts {
		--vts-pad: 20px;
	}

	.vts__label {
		gap: 8px;
		margin-bottom: var(--vts-label-gap, 112px);
		font-size: 11px;
		line-height: 18px;
	}

	.vts__asterisk {
		width: 14px;
		height: 14px;
	}

	.vts__stack {
		width: calc(100% - 68px);     /* 285 a 393 */
	}

	.vts__card {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 31px;
		min-height: 413px;
		padding: 36px 30px 21px 25px;
		border-radius: 12px;
	}

	.vts__photo {
		justify-self: center;
		width: 82px;
		height: 82px;
	}

	.vts .vts__quote {
		font-size: 18px;
		line-height: 22.6px;
	}

	.vts__author {
		padding-top: 52px;
		font-size: 14px;
	}

	.vts .vts__arrow {
		width: 18px;
		height: 35px;
		margin-top: calc(-17.5px - 12px);
	}

	.vts .vts__arrow--prev { left: -9px; }
	.vts .vts__arrow--next { right: -9px; }
}

@media (prefers-reduced-motion: reduce) {
	.vts .vts__arrow {
		transition: none;
	}
}