.tq-values,
.tq-values * {
	box-sizing: border-box;
}

.tq-values {
	--tq-values-blue: #0964b9;
	--tq-values-blue-deep: #064f9d;
	--tq-values-ink: #131c29;
	--tq-values-muted: #5f6977;
	--tq-values-line: #d9e3ee;
	--tq-values-soft: #f5f8fb;
	width: min(100%, 1380px);
	margin-inline: auto;
	/*creo que el padding es innecesario */
	/*padding: clamp(18px, 3vw, 42px) clamp(10px, 2.5vw, 36px);*/
	color: var(--tq-values-ink);
	font-family: Arial, Helvetica, sans-serif;
}

.tq-values button {
	font: inherit;
}

.tq-values__heading {
	max-width: 650px;
	margin: 0 0 clamp(20px, 2.5vw, 38px);
}

.tq-values__eyebrow {
	margin: 0 0 8px;
	color: var(--tq-values-blue);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.tq-values__heading h2 {
	margin: 0;
	color: #101c2a;
	font-size: clamp(2rem, 4vw, 3.65rem);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1;
}

.tq-values__heading > p:last-child {
	margin: 14px 0 0;
	color: var(--tq-values-muted);
	font-size: clamp(.98rem, 1.5vw, 1.13rem);
	line-height: 1.55;
}

.tq-values__experience {
	display: grid;
	grid-template-columns: minmax(480px, 850px) minmax(285px, 360px);
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 58px);
}

.tq-values__wheel {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	isolation: isolate;
}

.tq-values__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

.tq-values__controls {
	position: absolute;
	z-index: 2;
	inset: 0;
}

.tq-value {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.tq-value::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tq-active-image) center / 100% 100% no-repeat;
	opacity: 0;
	transition: opacity 180ms ease;
}

.tq-value:is(:focus-visible, .is-active)::before {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.tq-value:hover::before {
		opacity: 1;
	}
}

.tq-value:focus-visible::before {
	filter: drop-shadow(0 0 4px rgb(9 100 185 / 40%));
}

.tq-value--engineering {
	--tq-active-image: url("../images/valores/activo_engineering.png");
	clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 34%);
}

.tq-value--innovation {
	--tq-active-image: url("../images/valores/activo_innovation.png");
	clip-path: polygon(50% 50%, 100% 34%, 100% 100%, 96% 100%);
}

.tq-value--custom {
	--tq-active-image: url("../images/valores/activo_custom.png");
	clip-path: polygon(50% 50%, 96% 100%, 4% 100%);
}

.tq-value--coverage {
	--tq-active-image: url("../images/valores/activo_coverage.png");
	clip-path: polygon(50% 50%, 4% 100%, 0 100%, 0 34%);
}

.tq-value--access {
	--tq-active-image: url("../images/valores/activo_access.png");
	clip-path: polygon(50% 50%, 0 34%, 0 0, 50% 0);
}

.tq-values__card {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--tq-values-line);
	border-radius: 22px;
	background: rgb(255 255 255 / 96%);
	box-shadow: 0 24px 70px rgb(22 61 98 / 16%);
	opacity: 0;
	transform: translateX(16px) scale(.98);
	visibility: hidden;
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.tq-values__card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 6px;
	background: var(--tq-values-blue);
}

.tq-values__card.is-visible {
	opacity: 1;
	transform: translateX(0) scale(1);
	visibility: visible;
}

.tq-values__number {
	margin: 0 0 26px;
	color: #dceaf7;
	font-size: 3.8rem;
	font-weight: 800;
	letter-spacing: -.08em;
	line-height: .75;
}

.tq-values__card h3 {
	margin: 0 0 20px;
	color: var(--tq-values-blue-deep);
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.tq-values__copy {
	color: #4e5966;
	font-size: .98rem;
	line-height: 1.58;
}

.tq-values__copy p {
	margin: 0 0 14px;
}

.tq-values__copy p:last-child {
	margin-bottom: 0;
}

.tq-values__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: none;
	place-items: center;
	width: 38px;
	height: 38px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tq-values-soft);
	color: var(--tq-values-muted);
	box-shadow: none;
	cursor: pointer;
	font-size: 1.5rem;
	line-height: 1;
}

.tq-values__hint {
	display: none;
	margin: 16px 0 0;
	color: #7b8590;
	font-size: .82rem;
	text-align: center;
}

@media (max-width: 900px), (hover: none), (pointer: coarse), (pointer: none) {
	.tq-values__experience {
		grid-template-columns: minmax(0, 1fr);
		max-width: 720px;
		margin-inline: auto;
		gap: 16px;
	}

	.tq-values__card {
		display: none;
		position: relative;
		min-width: 0;
		width: 100%;
		overflow-wrap: anywhere;
		transform: none;
	}

	.tq-values__card.is-visible {
		display: block;
		transform: none;
	}

	.tq-values__hint {
		display: block;
		margin: 0;
	}

	.tq-values__close {
		display: grid;
	}
}

@media (max-width: 560px) {
	.tq-values {
		padding-inline: 0;
	}

	.tq-values__heading {
		padding-inline: 8px;
	}

	.tq-values__wheel {
		width: 100%;
		margin-inline: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tq-value::before,
	.tq-values__card {
		transition: none;
	}
}
