.df-cards {
	overflow-x: hidden;
	background: #fff;
	font-family: "Montserrat", sans-serif;
	color: #000;
}

.df-cards *,
.df-cards *::before,
.df-cards *::after {
	box-sizing: border-box;
}

.df-cards__inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: var(--df-section-y, 72px) var(--df-section-x, 24px);
}

.df-cards__title {
	margin: 0 0 48px;
	color: #000;
	font-family: "Montserrat", sans-serif;
	font-size: var(--df-title-size, 50px);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
}

.df-cards__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}

.df-cards__list--3,
.df-cards__list--6 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.df-cards__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	min-height: 160px;
	padding: 28px 28px 32px;
	border: none;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 28px rgba(19, 19, 19, 0.06);
	opacity: 0;
}

.df-cards__item--left {
	transform: translateX(-72px);
}

.df-cards__item--right {
	transform: translateX(72px);
}

.df-cards__item:not(.is-visible) {
	transition:
		opacity 0.7s ease var(--df-cards-delay, 0s),
		transform 0.7s ease var(--df-cards-delay, 0s);
}

.df-cards__item.is-visible {
	opacity: 1;
	transform: translateX(0);
	transition:
		opacity 0.7s ease,
		transform 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.df-cards__item.is-visible:hover {
	background: #fff;
	box-shadow: 0 16px 36px rgba(19, 19, 19, 0.1);
	transform: translateX(0) translateY(-4px);
}

.df-cards__index {
	margin: 0 0 18px;
	color: #131313;
	font-family: "Montserrat", sans-serif;
	font-size: 42px;
	font-weight: 300;
	letter-spacing: 0.06em;
	line-height: 1;
	opacity: 0.22;
}

.df-cards__icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0 0 18px;
	color: #131313;
}

.df-cards__icon svg {
	display: block;
	width: auto;
	height: 48px;
	max-width: 56px;
	transition: transform 0.35s ease, color 0.35s ease;
	transform-origin: center;
}

.df-cards__item.is-visible:hover .df-cards__icon svg {
	color: #000;
	transform: scale(1.08);
}

.df-cards__body {
	min-width: 0;
	margin-top: auto;
}

.df-cards__caption {
	margin: 0;
	color: #000;
	font-family: "Montserrat", sans-serif;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.3;
}

.df-cards__caption:last-child {
	margin-bottom: 0;
}

.df-cards__text {
	margin: 10px 0 0;
	color: #131313;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

@media (max-width: 1024px) {
	.df-cards__list--3,
	.df-cards__list--6 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.df-cards__item {
		min-height: 140px;
		padding: 24px;
	}
}

@media (max-width: 767px) {
	.df-cards__title {
		margin-bottom: 32px;
	}

	.df-cards__list,
	.df-cards__list--3,
	.df-cards__list--6 {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.df-cards__item--left,
	.df-cards__item--right {
		transform: translateY(28px);
	}

	.df-cards__item.is-visible {
		transform: translateY(0);
	}

	.df-cards__item.is-visible:hover {
		transform: translateY(-4px);
	}

	.df-cards__index {
		font-size: 32px;
		margin-bottom: 12px;
	}

	.df-cards__icon {
		margin-bottom: 12px;
	}

	.df-cards__icon svg {
		height: 40px;
		max-width: 48px;
	}

	.df-cards__caption {
		font-size: 20px;
	}

	.df-cards__text {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.df-cards__item,
	.df-cards__item--left,
	.df-cards__item--right,
	.df-cards__item.is-visible,
	.df-cards__item.is-visible:hover {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.df-cards__icon svg,
	.df-cards__item.is-visible:hover .df-cards__icon svg {
		transform: none;
		transition: none;
	}
}
