/* Blok: Proces od A do Z (ks-process-steps). */
.ks-process-steps {
	max-width: 1450px;
	margin: clamp(72px, 9vw, 130px) auto;
	color: #fff;
}

.ks-process-steps h2 {
	width: 100%;
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.08;
}

.ks-process-steps__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 52px;
	margin: 54px 0 0;
	padding: 0;
	list-style: none;
}

.ks-process-steps__item {
	position: relative;
	min-width: 0;
}

.ks-process-steps__card {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 116px;
	padding: 23px;
	border: 1px solid #2a2a39;
	border-radius: 34px;
	background: #fff;
	box-shadow: none;
}

.ks-process-steps.has-outline-cards .ks-process-steps__card {
	border: 1px solid #2a2a39;
	background: transparent;
}

.ks-process-steps.has-outline-cards .ks-process-steps__title {
	color: #fff;
}

.ks-process-steps.is-animated .ks-process-steps__card {
	opacity: 0;
	transform: translateY(28px);
	will-change: opacity, transform;
}

.ks-process-steps.is-animated.is-visible .ks-process-steps__item:nth-child(1) .ks-process-steps__card {
	animation: ks-process-steps-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) 0ms forwards;
}

.ks-process-steps.is-animated.is-visible .ks-process-steps__item:nth-child(2) .ks-process-steps__card {
	animation: ks-process-steps-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.ks-process-steps.is-animated.is-visible .ks-process-steps__item:nth-child(3) .ks-process-steps__card {
	animation: ks-process-steps-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) 240ms forwards;
}

.ks-process-steps.is-animated.is-visible .ks-process-steps__item:nth-child(4) .ks-process-steps__card {
	animation: ks-process-steps-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) 360ms forwards;
}

@keyframes ks-process-steps-reveal {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ks-process-steps__number {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #58b2f4 0%, #691ab4 100%);
	box-shadow: 0 12px 26px -12px rgba(105, 26, 180, 0.9);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
}

.ks-process-steps__title {
	color: #02021e;
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.ks-process-steps__connector {
	position: absolute;
	z-index: 2;
	top: 44px;
	left: calc(100% + 10px);
	display: block;
	width: 32px;
	height: 24px;
}

.ks-process-steps__connector-arrow {
	display: block;
	width: 100%;
	height: 100%;
	background-color: #fff;
	-webkit-mask: url(../theme-assets/images/arrow-small-right-2.svg) center / contain no-repeat;
	mask: url(../theme-assets/images/arrow-small-right-2.svg) center / contain no-repeat;
}

@media screen and (max-width: 1280px) {
	.ks-process-steps__list {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ks-process-steps__card {
		min-height: 110px;
		padding: 19px 21px;
		border-radius: 28px;
	}

	.ks-process-steps__connector {
		top: calc(100% + 3px);
		left: 38px;
		width: 24px;
		height: 24px;
	}

	.ks-process-steps__connector-arrow {
		transform: rotate(90deg);
	}
}

@media screen and (max-width: 760px) {
	.ks-process-steps {
		margin-block: 72px;
	}

	.ks-process-steps h2 {
		font-size: clamp(32px, 9vw, 40px);
	}


	.ks-process-steps__list {
		margin-top: 38px;
	}

	.ks-process-steps__card {
		min-height: 110px;
		padding: 19px 21px;
	}

	.ks-process-steps__title {
		font-size: 19px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.ks-process-steps.is-animated .ks-process-steps__card {
		opacity: 1;
		transform: none;
		will-change: auto;
	}

	.ks-process-steps.is-animated.is-visible .ks-process-steps__card {
		animation: none;
	}
}
