/* Vidas – Titular con enlace
 * Escritorio (captura, contenido 1392): titular Soleil Light ~88/95 (6.32cqw) en 2 líneas;
 *   enlace Regular 22px + cuadrado 30px con flecha a 26px, apoyado en la línea base; 100px entre ambos.
 * Móvil: titular 36/41 en 4 líneas; enlace 15px + cuadrado 25.5px a 19px; 56px entre ambos.
 * Sin fondo ni espacio vertical: los pone el contenedor y los espaciadores de Elementor.
 */

.vtc {
	--vtc-title: #fff;
	--vtc-link: #fff;
	--vtc-sq: #fff;
	--vtc-arrow: #000;
	--vtc-max: 1392px;
	--vtc-pad: 60px;
	--vtc-gap: 100px;
	--vtc-sq-size: 30px;
	--vtc-sq-gap: 26px;

	width: 100%;
	padding: 0 var(--vtc-pad);
	box-sizing: border-box;
	font-family: "Soleil", sans-serif;
}

.vtc__inner {
	max-width: var(--vtc-max);
	margin: 0 auto;
	container-type: inline-size;
}

/* ---------- Titular ---------- */
.vtc__title {
	max-width: 94%;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 300;
	font-size: 6.32cqw;                  /* ~88px a 1392 */
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--vtc-title);
}

/* Líneas (las crea el JS para la animación): máscara con holgura para acentos y descendentes */
.vtc__line {
	display: block;
	overflow: hidden;
	padding: 0.12em 0 0.16em;
	margin: -0.12em 0 -0.16em;
}

.vtc__line-in {
	display: block;
	white-space: nowrap;
	will-change: transform;
}

/* ---------- Enlace con cuadrado y flecha ---------- */
.vtc__cta {
	margin-top: var(--vtc-gap);
}

.vtc .vtc__link,
.vtc .vtc__link:hover,
.vtc .vtc__link:focus,
.vtc .vtc__link:visited {
	color: var(--vtc-link);
	text-decoration: none;
}

.vtc .vtc__link {
	display: inline-flex;
	align-items: baseline;               /* el cuadrado apoya en la línea base del texto, como en el diseño */
	gap: var(--vtc-sq-gap);
	font-family: inherit;
	font-weight: 400;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	transition: color 0.3s ease;
}

.vtc .vtc__link:hover,
.vtc .vtc__link:focus-visible {
	color: var(--vtc-link-h, var(--vtc-link));
}

.vtc .vtc__link:focus-visible {
	outline: 2px solid var(--vtc-sq);
	outline-offset: 4px;
}

.vtc__sq {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: var(--vtc-sq-size);
	height: var(--vtc-sq-size);
	border-radius: 3px;
	overflow: hidden;
	background: var(--vtc-sq);
	transition: transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1), background-color 0.3s ease;
}

/* la flecha es una máscara: su color sale del control "Flecha" */
.vtc__sq::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--vtc-arrow);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8H13.2M9 3.8L13.2 8L9 12.2' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 76% 76% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8H13.2M9 3.8L13.2 8L9 12.2' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / 76% 76% no-repeat;
	transition: background-color 0.3s ease;
}

/* Hover: la flecha sale por la derecha y entra por la izquierda, y el cuadrado crece (como en el formulario) */
@keyframes vtc-arrow {
	0%   { transform: translateX(0); }
	40%  { transform: translateX(110%); }
	41%  { transform: translateX(-110%); }
	100% { transform: translateX(0); }
}

.vtc .vtc__link:hover .vtc__sq,
.vtc .vtc__link:focus-visible .vtc__sq {
	transform: scale(1.12);
	background: var(--vtc-sq-h, var(--vtc-sq));
}

.vtc .vtc__link:hover .vtc__sq::before,
.vtc .vtc__link:focus-visible .vtc__sq::before {
	background: var(--vtc-arrow-h, var(--vtc-arrow));
	animation: vtc-arrow 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vtc .vtc__link {
		font-size: 19px;
	}

	.vtc {
		--vtc-sq-size: 28px;
		--vtc-sq-gap: 22px;
	}
}

/* ---------- Móvil ---------- */
@media (max-width: 767px) {
	.vtc {
		--vtc-pad: 20px;
		--vtc-gap: 56px;
		--vtc-sq-size: 25.5px;
		--vtc-sq-gap: 19px;
	}

	.vtc__title {
		max-width: 88%;
		font-size: 36px;
		line-height: 41px;
	}

	.vtc .vtc__link {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vtc__sq,
	.vtc__sq::before {
		transition: none;
		animation: none !important;
	}
}