.ct-stages {
	margin-top: var(--ct-stages-margin-top, 0);
	margin-bottom: var(--ct-stages-margin-bottom, 0);
}

.ct-stages__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 40px;
}

.ct-stages__header-copy {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.ct-stages__badge {
	flex: 0 0 auto;
}

.ct-stages__header-side {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	gap: 20px;
}

.ct-stages__title span {
	color: var(--color-purple-deep);
}

.ct-stages__title {
	margin-bottom: 18px;
	color: var(--color-bg-deepest);
}

.ct-stages__text {
	margin: 0;
	font-weight: 400;
	font-size: 20px;
	line-height: 140%;
	color: var(--color-bg-deepest);
}

.ct-stages__slider .swiper-slide {
	height: auto;
}

.ct-stages__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 320px;
	padding: 24px;
	background: var(--color-white);
	border: 1px solid var(--color-light-200);
	border-radius: 16px;
	overflow: hidden;
}

.ct-stages__card--bg-image-left:not(.ct-stages__card--with-icon) {
	background-image: none !important;
}

.ct-stages__card--bg-image-left:not(.ct-stages__card--with-icon)::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../../assets/img/vector-bg-7.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: auto 100%;
	transform: scaleX(-1);
	pointer-events: none;
}

.ct-stages__card--with-icon {
	background: radial-gradient(187.23% 178.03% at 121.69% -22.83%, var(--color-purple-pale) 0%, var(--color-purple-deep) 100%);
}

.ct-stages__card-top,
.ct-stages__card-number {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.ct-stages__card-top {
	background: var(--color-white);
}

.ct-stages__card-icon {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.ct-stages__card-number {
	background: var(--color-light-100);
	font-weight: 700;
	font-size: 20px;
	line-height: 100%;
	text-transform: uppercase;
	color: var(--color-purple-deep);
}

.ct-stages__card-title {
	margin: 0 0 12px;
	font-weight: 700;
	font-size: 16px;
	line-height: 100%;
	text-transform: uppercase;
	color: var(--color-bg-deepest);
}

.ct-stages__card-text {
	margin: 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 130%;
	color: var(--color-bg-deepest);
}

.ct-stages__card--with-icon .ct-stages__card-title,
.ct-stages__card--with-icon .ct-stages__card-text {
	color: var(--color-white);
}

.ct-stages__card-body {
	position: relative;
	z-index: 1;
	margin-top: auto;
}

@media (max-width: 768px) {
	.ct-stages {
		margin-top: var(--ct-stages-margin-top-mobile, var(--ct-stages-margin-top, 0));
		margin-bottom: var(--ct-stages-margin-bottom-mobile, var(--ct-stages-margin-bottom, 0));
	}

	.ct-stages__header {
		flex-direction: column;
		margin-bottom: 32px;
	}

	.ct-stages__header-side {
		width: 100%;
		align-items: flex-start;
		gap: 0;
	}

	.ct-stages__badge {
		order: -1;
	}

	.ct-stages__title {
		margin-bottom: 12px;
	}

	.ct-stages__text {
		font-size: 18px;
	}

	.ct-stages__card {
		min-height: 216px;
		padding: 16px;
	}

	.ct-stages__card-top,
	.ct-stages__card-number {
		width: 40px;
		height: 40px;
		border-radius: 8px;
	}

	.ct-stages__card-icon {
		width: 20px;
		height: 20px;
	}

	.ct-stages__card-number {
		font-size: 18px;
	}

	.ct-stages__card-title {
		margin-bottom: 8px;
		font-size: 14px;
	}

	.ct-stages__card-text {
		font-size: 12px;
	}

	.ct-stages__slider-wrap {
		margin-right: calc(var(--container-px-mobile) * -1);
		margin-left: calc(var(--container-px-mobile) * -1);
	}

	.ct-stages__slider-wrap .ct-stages__slider {
		padding-left: var(--container-px-mobile);
		padding-right: 0;
	}
}
