/* Vidas – Acordeón
 * Escritorio (captura, contenido 1392): etiqueta común; filas de 135px separadas por línea gris 1px;
 *   círculo 47px a 11px de la columna, título SemiBold 56/61.6 a 90px; al abrir: descripción Light 22/33
 *   alineada con el título y, a la derecha, "Saber más — Nombre" 22px + cuadrado cian 30px; 40px de margen inferior.
 * Móvil (captura, contenido 353): título 24/27, círculo 20px; descripción 15/19 y enlace (14px + cuadrado 20px) debajo.
 * Sin fondo ni espacio vertical: los pone el contenedor y los espaciadores de Elementor.
 */

.vac {
	--vac-label: #fff;
	--vac-title: #fff;
	--vac-circle: #4e20e4;
	--vac-circle-icon: #fff;
	--vac-desc: #fff;
	--vac-link: #fff;
	--vac-link-name: #aaedff;
	--vac-sq: #aaedff;
	--vac-sq-icon: #000;
	--vac-line: rgba(255, 255, 255, 0.5);
	--vac-max: 1392px;
	--vac-pad: 60px;

	/* geometría (escritorio) */
	--vac-title-lh: 61.6px;
	--vac-circle-d: 47px;
	--vac-circle-x: 11px;
	--vac-title-x: 90.5px;              /* sangría del título y del contenido */
	--vac-row-pad-def: 36.7px;          /* (135 - 61.6) / 2 */
	--vac-pull: 4px;                    /* el contenido abierto arranca un poco por encima del final de la cabecera */

	width: 100%;
	padding: 0 var(--vac-pad);
	box-sizing: border-box;
	font-family: "Soleil", sans-serif;
}

.vac__inner {
	max-width: var(--vac-max);
	margin: 0 auto;
}

/* ---------- Etiqueta (igual que Partner) ---------- */
.vac__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 23px;
	padding: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vac-label);
}

.vac__asterisk {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* ---------- Filas ---------- */
.vac__item {
	border-bottom: 1px solid var(--vac-line);
}

.vac__heading {
	margin: 0;
	padding: 0;
	font: inherit;
}

/* Cabecera = botón. Se anulan los estilos de <button> del tema (Hello los pinta de rosa). */
.vac .vac__head,
.vac .vac__head:hover,
.vac .vac__head:focus,
.vac .vac__head:active {
	background: transparent;
	color: var(--vac-title);
	border: 0;
	box-shadow: none;
	outline: none;
	text-decoration: none;
}

.vac .vac__head {
	display: flex;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: var(--vac-row-pad, var(--vac-row-pad-def)) 0;
	border-radius: 0;
	font-family: inherit;
	text-align: left;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.vac .vac__head:focus-visible .vac__circle {
	outline: 2px solid var(--vac-circle-icon);
	outline-offset: 3px;
}

/* .vac__circle: caja y hover (CSS) · .vac__circle-in: el círculo, con su latido al abrir (GSAP) */
.vac__circle {
	display: block;
	flex: 0 0 var(--vac-circle-d);
	width: var(--vac-circle-d);
	height: var(--vac-circle-d);
	margin: calc((var(--vac-title-lh) - var(--vac-circle-d)) / 2) 0 0 var(--vac-circle-x);
	transition: transform 0.35s cubic-bezier(0.34, 1.6, 0.64, 1);
}

.vac__circle-in {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--vac-circle);
	color: var(--vac-circle-icon);
	will-change: transform;
}

/* sin JS: flecha hacia abajo en las abiertas */
.vac:not(.is-ready) .vac__item.is-open .vac__circle-arrow {
	transform: rotate(90deg);
}

.vac__circle-arrow {
	display: block;
	width: 52%;
	height: 52%;
	will-change: transform;
}

.vac__title {
	display: block;
	margin-left: calc(var(--vac-title-x) - var(--vac-circle-x) - var(--vac-circle-d));
	font-family: inherit;
	font-weight: 600;
	font-size: 56px;
	line-height: var(--vac-title-lh);
	letter-spacing: -0.02em;
	color: var(--vac-title);
	transition: transform 0.35s ease;
}

.vac__br {
	display: none;                      /* el corte del título solo actúa en móvil */
}

@media (hover: hover) {
	.vac .vac__head:hover .vac__circle {
		transform: scale(1.1);
	}

	.vac .vac__head:hover .vac__title {
		transform: translateX(6px);
	}
}

/* ---------- Panel ---------- */
.vac__panel {
	overflow: hidden;
}

/* con JS, las cerradas empiezan recogidas (el JS anima la altura); sin JS se ven todas */
.vac.is-ready .vac__item:not(.is-open) .vac__panel {
	height: 0;
}

.vac__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding: 0 14px 40px var(--vac-title-x);
}

.vac__desc {
	max-width: 430px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: 300;
	font-size: 22px;
	line-height: 33px;
	letter-spacing: -0.01em;
	color: var(--vac-desc);
}

/* ---------- Enlace "Saber más — Nombre" + cuadrado ---------- */
.vac .vac__link,
.vac .vac__link:hover,
.vac .vac__link:focus,
.vac .vac__link:visited {
	color: var(--vac-link);
	text-decoration: none;
}

.vac .vac__link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 14px;
	font-family: inherit;
	font-weight: 300;
	font-size: 22px;
	line-height: 33px;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.vac__link-dash {
	font-weight: 300;
}

.vac__link-name {
	font-weight: 600;
	color: var(--vac-link-name);
}

.vac__sq {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	margin-left: 14px;
	border-radius: 3px;
	overflow: hidden;
	background: var(--vac-sq);
	transition: transform 0.45s cubic-bezier(0.34, 1.8, 0.64, 1);
}

.vac__sq::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--vac-sq-icon);
	-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;
}

@keyframes vac-arrow {
	0%   { transform: translateX(0); }
	40%  { transform: translateX(110%); }
	41%  { transform: translateX(-110%); }
	100% { transform: translateX(0); }
}

.vac .vac__link:hover .vac__sq,
.vac .vac__link:focus-visible .vac__sq {
	transform: scale(1.12);
}

.vac .vac__link:hover .vac__sq::before,
.vac .vac__link:focus-visible .vac__sq::before {
	animation: vac-arrow 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.vac {
		--vac-title-lh: 47px;
		--vac-circle-d: 38px;
		--vac-title-x: 74px;
		--vac-row-pad-def: 30px;
	}

	.vac__title {
		font-size: 42px;
	}

	.vac__desc,
	.vac .vac__link {
		font-size: 19px;
		line-height: 28px;
	}
}

/* ---------- Móvil: contenido debajo ---------- */
@media (max-width: 767px) {
	.vac {
		--vac-pad: 20px;
		--vac-title-lh: 27px;
		--vac-circle-d: 20px;
		--vac-circle-x: 7px;
		--vac-title-x: 40px;
		--vac-row-pad-def: 25px;
		--vac-pull: 11px;
	}

	.vac__label {
		gap: 8px;
		margin-bottom: 16px;
		font-size: 11px;
		line-height: 18px;
	}

	.vac__asterisk {
		width: 14px;
		height: 14px;
	}

	.vac__title {
		font-size: 24px;
	}

	.vac__br {
		display: inline;
	}

	.vac__body {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
		padding: 0 0 21px var(--vac-title-x);
	}

	.vac__desc {
		max-width: none;
		font-size: 15px;
		line-height: 19px;
	}

	.vac .vac__link {
		gap: 8px;
		font-size: 14px;
		line-height: 20px;
	}

	.vac__sq {
		width: 20px;
		height: 20px;
		margin-left: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vac__circle,
	.vac__title,
	.vac__sq {
		transition: none;
	}

	.vac .vac__link:hover .vac__sq::before {
		animation: none;
	}
}