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

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

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

.df-cards__title {
	margin: 0 0 48px;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: var(--df-title-size, 2.5rem);
	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;
	border-top: 3px solid #0b457f;
	background: #f5f7fa;
	box-shadow: none;
	opacity: 0;
	transform: translateY(2.5rem);
}

.df-cards__item--left,
.df-cards__item--right {
	transform: translateY(2.5rem);
}

.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: #e8eef5;
	box-shadow: none;
	transform: translateY(-4px);
}

.df-cards__index {
	margin: 0 0 18px;
	color: #111111;
	font-family: "ChangAnunitype", 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: #111111;
}

.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: #111111;
	transform: scale(1.08);
}

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

.df-cards--demand .df-cards__body,
.df-cards--plain .df-cards__body {
	margin-top: 0;
}

.df-cards--plain .df-cards__caption {
	min-height: calc(1.3em * 2);
}

@supports (grid-template-rows: subgrid) {
	.df-cards--plain .df-cards__item {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 2;
		align-items: start;
		align-content: start;
	}

	.df-cards--plain .df-cards__body {
		display: contents;
	}

	.df-cards--plain .df-cards__caption {
		min-height: 0;
	}

	.df-cards--plain .df-cards__text {
		margin-top: 10px;
	}
}

.df-cards__caption {
	margin: 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: var(--df-fs-sub, 2rem);
	font-weight: 500;
	line-height: 1.3;
}

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

.df-cards__text {
	margin: 10px 0 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: var(--df-fs-body, 1rem);
	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: 22px;
	}

	.df-cards--plain .df-cards__caption {
		min-height: 0;
	}

	.df-cards--plain .df-cards__item,
	#content .df-cards--plain .df-cards__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 0;
		padding: 18px 16px;
		text-align: center;
	}

	.df-cards--plain .df-cards__body {
		display: block;
		margin-top: 0;
	}

	.df-cards--plain .df-cards__caption,
	#content .df-cards--plain .df-cards__caption {
		margin: 0;
	}

	.df-cards__text {
		font-size: var(--df-fs-body, 1rem);
	}
}

@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;
	}
}

.df-cards--split {
	min-height: 100vh;
}

.df-cards--split .df-cards__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: stretch;
	gap: 28px 36px;
	max-width: 1400px;
	min-height: 100vh;
	height: 100vh;
	padding: 100px var(--df-section-x, 24px);
	box-sizing: border-box;
}

.df-cards--split .df-cards__aside {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

#content .df-cards--split .df-cards__title,
.df-cards--split .df-cards__title {
	margin: 0 0 16px;
	font-size: var(--df-fs-sub, 2rem);
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	text-transform: uppercase;
}

.df-cards--split .df-cards__photo {
	position: relative;
	flex: 1 1 auto;
	min-height: 280px;
	overflow: hidden;
	background: #e6e6e6;
}

.df-cards--split .df-cards__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.df-cards--split .df-cards__list,
.df-cards--split .df-cards__list--split {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	align-content: start;
	align-self: start;
	height: auto;
}

.df-cards--split .df-cards__item,
.df-cards--split .df-cards__item--left,
.df-cards--split .df-cards__item--right,
.df-cards--split .df-cards__item:not(.is-visible),
.df-cards--split .df-cards__item.is-visible {
	opacity: 1;
	transform: none;
}

.df-cards--split .df-cards__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 0;
	height: auto;
	padding: 20px 22px;
	border-radius: 0;
	background: #fff;
	color: #111111;
	border-top: 3px solid #0b457f;
	box-shadow: none;
	transition:
		background-color 0.35s ease,
		color 0.35s ease,
		box-shadow 0.35s ease;
}

.df-cards--split .df-cards__item:hover,
.df-cards--split .df-cards__item.is-visible:hover {
	background: #111111;
	color: #fff;
	box-shadow: 0 10px 28px rgba(19, 19, 19, 0.18);
	transform: none;
}

.df-cards--split .df-cards__caption,
.df-cards--split .df-cards__text,
.df-cards--split .df-cards__icon {
	transition: color 0.35s ease;
}

.df-cards--split .df-cards__item:hover .df-cards__caption,
.df-cards--split .df-cards__item:hover .df-cards__text,
.df-cards--split .df-cards__item:hover .df-cards__icon,
.df-cards--split .df-cards__item.is-visible:hover .df-cards__caption,
.df-cards--split .df-cards__item.is-visible:hover .df-cards__text,
.df-cards--split .df-cards__item.is-visible:hover .df-cards__icon {
	color: #fff;
}

.df-cards--split .df-cards__item:hover .df-cards__icon svg,
.df-cards--split .df-cards__item.is-visible:hover .df-cards__icon svg {
	color: #fff;
	transform: none;
}

.df-cards--split .df-cards__body {
	display: block;
	flex: none;
	width: 100%;
	min-height: 0;
	margin-top: 0;
}

.df-cards--split .df-cards__icon {
	margin: 0 0 12px;
}

.df-cards--split .df-cards__caption {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}

.df-cards--split .df-cards__text {
	margin-top: 8px;
	padding-top: 0;
}

@media (max-width: 1024px) {
	.df-cards--split .df-cards__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		height: auto;
		min-height: 0;
		padding: 40px var(--df-section-x, 20px);
	}

	.df-cards--split .df-cards__photo {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.df-cards--split .df-cards__list,
	.df-cards--split .df-cards__list--split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.df-cards--split {
		min-height: 0;
	}

	.df-cards--split .df-cards__inner {
		padding: 32px var(--df-section-x, 16px);
	}

	.df-cards--split .df-cards__list,
	.df-cards--split .df-cards__list--split {
		grid-template-columns: 1fr;
	}

	.df-cards--split .df-cards__item {
		min-height: 0;
		padding: 18px 16px;
	}

	#content .df-cards--split .df-cards__title,
	.df-cards--split .df-cards__title {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.df-cards--split .df-cards__item,
	.df-cards--split .df-cards__caption,
	.df-cards--split .df-cards__text,
	.df-cards--split .df-cards__icon,
	.df-cards--split .df-cards__icon svg {
		transition: none;
	}
}

.df-cards--split .df-cards__item:has(.df-cards__text) .df-cards__body {
	margin-top: 0;
}

.df-cards--split .df-cards__item:has(.df-cards__text) .df-cards__text {
	margin-top: 8px;
	padding-top: 0;
}

body.df-detailing-page--cleaning .df-cards--split {
	min-height: 0;
}

body.df-detailing-page--cleaning .df-cards--split .df-cards__inner {
	height: auto;
	min-height: 0;
}

body.df-detailing-page--polishing .df-cards__item,
body.df-detailing-page--antichrome .df-cards__item,
body.df-detailing-page--cleaning .df-cards__item {
	border-radius: var(--df-radius, 10px);
}

body.df-detailing-page--polishing .df-cards--matrix .df-cards__item {
	border-radius: 0;
}

/* ——— Матрица 2×N (иконки + линии) ——— */
.df-cards--matrix {
	background: #fff;
}

.df-cards__list--matrix {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	border-top: 1px solid #1c2b3a;
	border-left: 1px solid #1c2b3a;
	overflow: hidden;
}

.df-cards--matrix .df-cards__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 0;
	margin: 0;
	padding: 2.5rem 2.25rem;
	border: none;
	border-right: 1px solid #1c2b3a;
	border-bottom: 1px solid #1c2b3a;
	border-radius: 0;
	background: #eef3f8;
	box-shadow: none;
	opacity: 0;
	transform: translateY(2.5rem);
}

.df-cards--matrix .df-cards__item.is-visible {
	opacity: 1;
	transform: none;
}

.df-cards--matrix .df-cards__item.is-visible:hover {
	background: #e4ecf4;
	transform: none;
	box-shadow: none;
}

.df-cards--matrix .df-cards__icon {
	margin: 0 0 1.25rem;
	color: #111111;
}

.df-cards--matrix .df-cards__icon svg {
	height: 44px;
	max-width: 52px;
}

.df-cards--matrix .df-cards__body {
	margin-top: 0;
}

.df-cards--matrix .df-cards__caption {
	margin: 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
}

.df-cards--matrix .df-cards__text {
	margin: 0.75rem 0 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: var(--df-fs-body, 1rem);
	font-weight: 400;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.df-cards__list--matrix {
		grid-template-columns: 1fr;
	}

	.df-cards--matrix .df-cards__item {
		padding: 1.75rem 1.25rem;
	}

	.df-cards--matrix .df-cards__caption {
		font-size: 1.25rem;
	}
}

/* ——— Шахматка (cases / check layout) ——— */
.df-cards--check {
	background-color: #fff;
	background-image: linear-gradient(
		180deg,
		#ffffff 0%,
		#e8f0f7 42%,
		#dfeaf4 55%,
		#ffffff 100%
	);
}

.df-cards__inner--check {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--df-section-y, 4rem) var(--df-section-x, 1.5rem);
}

.df-cards--check .df-cards__title {
	margin: 0 0 2rem;
	padding: 0;
	max-width: none;
	color: #111111 !important;
	font-size: var(--df-title-size, 2.5rem);
	text-align: center;
}

.df-cards__check {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	overflow: hidden;
}

.df-cards__pair {
	grid-column: span 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	min-width: 0;
}

.df-cards__pair--rev .df-cards__cell--media {
	order: 2;
}

.df-cards__pair--rev .df-cards__cell--text {
	order: 1;
}

.df-cards__cell {
	min-width: 0;
	min-height: 16rem;
	margin: 0;
}

.df-cards__cell--media {
	position: relative;
	overflow: hidden;
	background: #111111;
	aspect-ratio: 1 / 1;
	min-height: 0;
	height: 100%;
	align-self: stretch;
}

.df-cards__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.df-cards__cell--media:hover .df-cards__image {
	transform: scale(1.05);
}

.df-cards__cell--text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.65rem;
	padding: 1.75rem 1.5rem;
	background-color: #fff;
	background-image: linear-gradient(
		165deg,
		#ffffff 0%,
		#eef5fb 45%,
		#dfeaf4 100%
	);
	border: none;
}

.df-cards--check .df-cards__caption {
	margin: 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.25;
}

.df-cards--check .df-cards__text {
	margin: 0;
	color: #111111;
	font-family: "ChangAnunitype", sans-serif;
	font-size: var(--df-fs-body, 1rem);
	font-weight: 400;
	line-height: 1.5;
}

body.df-detailing-page--antichrome .df-cards--pros.df-cards--check {
	background: #fff !important;
	background-image: none !important;
}

body.df-detailing-page--antichrome .df-cards--pros .df-cards__inner--check {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--df-section-y, 4rem) var(--df-section-x, 1.5rem);
	box-sizing: border-box;
}

body.df-detailing-page--polishing .df-cards--types {
	background-color: #fff;
	background-image: linear-gradient(
		180deg,
		#ffffff 0%,
		#e8f0f7 42%,
		#dfeaf4 55%,
		#ffffff 100%
	);
	background-repeat: no-repeat;
	background-size: cover;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__item {
	min-height: 0;
	padding: 24px 22px;
	background: #fff;
	border-top-color: #1174D0;
	border-radius: var(--df-radius, 10px);
}

body.df-detailing-page--polishing .df-cards--types .df-cards__body {
	margin-top: 0;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__icon {
	margin: 0 0 14px;
	color: #111111;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__icon svg {
	color: #111111;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__caption {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.35;
	color: #111111;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__text {
	margin-top: 8px;
	color: #111111;
	font-size: var(--df-fs-body, 1rem);
	line-height: 1.45;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover {
	background: #f5f9fc;
	box-shadow: none;
	transform: translateY(-4px);
	color: #111111;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover .df-cards__caption,
body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover .df-cards__text,
body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover .df-cards__icon,
body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover .df-cards__icon svg {
	color: #111111;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__item.is-visible:hover .df-cards__icon svg {
	transform: scale(1.08);
}

body.df-detailing-page--polishing .df-cards--pros.df-cards--check {
	background: #fff;
	background-image: none;
}

body.df-detailing-page--polishing .df-cards--types .df-cards__inner {
	padding-bottom: calc(var(--df-section-y, 4rem) / 2);
}

body.df-detailing-page--polishing .df-cards--pros .df-cards__inner--check {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: calc(var(--df-section-y, 4rem) / 2) var(--df-section-x, 1.5rem) var(--df-section-y, 4rem);
	box-sizing: border-box;
}

@media (max-width: 767px) {
	body.df-detailing-page--antichrome .df-cards--pros .df-cards__inner--check,
	body.df-detailing-page--polishing .df-cards--pros .df-cards__inner--check {
		padding: var(--df-section-y, 2rem) var(--df-section-x, 1rem);
	}
}

@media (max-width: 1100px) {
	.df-cards__check {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.df-cards__pair {
		grid-column: span 2;
	}

	.df-cards__cell--media {
		aspect-ratio: auto;
		min-height: 14rem;
	}

	.df-cards__cell--text {
		padding: 1.5rem 1.25rem;
	}
}

@media (max-width: 767px) {
	.df-cards__inner--check {
		padding: var(--df-section-y, 2rem) var(--df-section-x, 1rem);
	}

	.df-cards--check .df-cards__title {
		margin-bottom: 1.25rem;
		color: #111111;
	}

	.df-cards__check {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.df-cards__pair {
		display: flex;
		flex-direction: column;
		grid-column: auto;
	}

	/* Мобилка: всегда фото → текст */
	.df-cards__pair .df-cards__cell--media {
		order: 1 !important;
	}

	.df-cards__pair .df-cards__cell--text {
		order: 2 !important;
	}

	.df-cards__cell {
		min-height: 0;
	}

	.df-cards__cell--media {
		aspect-ratio: 16 / 9;
		min-height: 0;
		height: auto;
	}

	.df-cards__cell--text {
		padding: 1.5rem 1.25rem;
	}

	.df-cards--check .df-cards__caption {
		font-size: 1.25rem;
	}

	.df-cards--check .df-cards__text {
		font-size: calc(1rem - 2px);
	}

	.df-cards__cell--media:hover .df-cards__image {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.df-cards__image,
	.df-cards__cell--media:hover .df-cards__image {
		transform: none;
		transition: none;
	}
}


