/* Vidas – Cifras Growth
 * Escritorio (Figma, contenido 1392 → 1cqw = 13.92px): etiqueta común (16/26, icono 18) y pastillas a 64px;
 *   pastillas Soleil SemiBold 47.9/41.7, alto 131.4, relleno lateral ~86, borde 1px, totalmente redondas,
 *   21px entre ellas; la activa en morado y su descripción a 46px a la derecha (Light 23/30, mayúsculas).
 * Móvil (captura, contenido 353): pastillas 20/23, alto 58.5, relleno 38, 12px entre ellas;
 *   la descripción se despliega debajo (Light 27/33), alineada con el texto de la pastilla.
 * Sin fondo ni espacio arriba/abajo: los pone el contenedor y los espaciadores de Elementor.
 */

.vcg {
	--vcg-label: #000;
	--vcg-desc: #000;
	--vcg-pill-text: #000;
	--vcg-pill-bg: transparent;
	--vcg-pill-border: #000;
	--vcg-pill-text-on: #fff;
	--vcg-pill-bg-on: #4e20e4;
	--vcg-pill-border-on: #4e20e4;
	--vcg-pill-bw: 1px;
	--vcg-pill-radius: 999px;
	--vcg-dur: 0.4s;
	--vcg-max: 1392px;
	--vcg-pad: 60px;

	width: 100%;
	padding: 0 var(--vcg-pad);
	box-sizing: border-box;
	font-family: "Soleil", sans-serif;
}

.vcg__inner {
	max-width: var(--vcg-max);
	margin: 0 auto;
	container-type: inline-size;
}

/* ---------- Etiqueta (igual que Partner) ---------- */
.vcg__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vcg-label);
}

.vcg__asterisk {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* ---------- Lista de pastillas ---------- */
.vcg__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.509cqw;                       /* 21 */
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
}

.vcg__item {
	display: flex;
	align-items: center;
	gap: 3.3cqw;                         /* 46: pastilla → descripción */
	margin: 0 0 0 -0.49cqw;              /* en Figma las pastillas arrancan 7px antes que la etiqueta */
	padding: 0;
	max-width: 100%;
}

/* Pastilla. Se anulan los estilos de <button> del tema (Hello pinta hover/foco en rosa). */
.vcg .vcg__pill,
.vcg .vcg__pill:hover,
.vcg .vcg__pill:focus,
.vcg .vcg__pill:active {
	background-color: var(--vcg-pill-bg);
	color: var(--vcg-pill-text);
	border-color: var(--vcg-pill-border);
	text-decoration: none;
	outline: none;
	box-shadow: none;
}

.vcg .vcg__pill {
	flex: 0 0 auto;
	display: block;
	max-width: 100%;
	margin: 0;
	padding: 3.15cqw 6.18cqw;            /* alto 131.4 con el borde · lateral ~86 */
	border-style: solid;
	border-width: var(--vcg-pill-bw);
	border-radius: var(--vcg-pill-radius);
	font-family: inherit;
	font-weight: 600;
	font-size: 3.439cqw;                 /* 47.9 */
	line-height: 2.995cqw;               /* 41.7 */
	letter-spacing: -0.02em;
	text-align: center;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--vcg-dur) ease, color var(--vcg-dur) ease, border-color var(--vcg-dur) ease;
}

/* Activa */
.vcg .vcg__item.is-active .vcg__pill,
.vcg .vcg__item.is-active .vcg__pill:hover,
.vcg .vcg__item.is-active .vcg__pill:focus,
.vcg .vcg__item.is-active .vcg__pill:active {
	background-color: var(--vcg-pill-bg-on);
	color: var(--vcg-pill-text-on);
	border-color: var(--vcg-pill-border-on);
}

.vcg .vcg__pill:focus-visible {
	outline: 2px solid var(--vcg-pill-bg-on);
	outline-offset: 3px;
}

.vcg__br {
	display: none;                       /* el salto de línea de la pastilla solo actúa en móvil */
}

/* ---------- Descripción (escritorio/tablet: a la derecha) ---------- */
.vcg__desc-wrap {
	flex: 0 1 auto;
	min-width: 0;
}

.vcg__desc {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 300;
	font-size: 23px;
	line-height: 30px;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--vcg-desc);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-14px);
	transition: opacity var(--vcg-dur) ease, transform calc(var(--vcg-dur) * 1.2) cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear var(--vcg-dur);
}

.vcg__item.is-active .vcg__desc {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity var(--vcg-dur) ease, transform calc(var(--vcg-dur) * 1.2) cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vcg__desc {
		font-size: 18px;
		line-height: 24px;
	}
}

/* ---------- Móvil: toque y la descripción se despliega debajo ---------- */
@media (max-width: 767px) {
	.vcg {
		--vcg-pad: 20px;
	}

	.vcg__label {
		gap: 8px;
		font-size: 11px;
		line-height: 18px;
	}

	.vcg__asterisk {
		width: 14px;
		height: 14px;
	}

	.vcg__list {
		gap: 12px;
		margin-top: 39px;
	}

	.vcg__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		margin-left: 3px;
	}

	.vcg .vcg__pill {
		padding: 16.75px 38px;           /* alto 58.5 con el borde */
		font-size: 20px;
		line-height: 23px;
		text-align: left;
		white-space: normal;
	}

	.vcg__br {
		display: inline;
	}

	/* acordeón: la fila pasa de 0 a su alto real */
	.vcg__desc-wrap {
		display: grid;
		grid-template-rows: 0fr;
		width: 100%;
		transition: grid-template-rows var(--vcg-dur) cubic-bezier(0.4, 0, 0.2, 1);
	}

	.vcg__item.is-active .vcg__desc-wrap {
		grid-template-rows: 1fr;
	}

	.vcg__desc-clip {
		min-height: 0;
		overflow: hidden;
	}

	.vcg__desc {
		padding: 33px 0 23px 38px;       /* alineada con el texto de la pastilla */
		font-size: 27px;
		line-height: 33px;
		text-transform: none;
		transform: translateY(-8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vcg .vcg__pill,
	.vcg__desc,
	.vcg__desc-wrap {
		transition: none !important;
	}
}