/* Виджет «Чек-лист карточками» (inc/elementor/class-checklist-widget.php) */
/* Селекторы с префиксом .dst-checklist — иначе их перебивают .elementor-kit-6 h2/h3/a/p */

.dst-checklist {
	--dcl-accent: #ff8a00;
	--dcl-heading: #1c2226;
	--dcl-text: #6b7378;
	--dcl-card-bg: #f1f4f6;
	--dcl-card-border: #dfe4e8;
	--dcl-number: #dde2e5;
	font-family: 'Raleway', sans-serif;
	/* У Raleway по умолчанию «старинные» цифры разной высоты — номерам нужны ровные */
	font-variant-numeric: lining-nums;
}

.dst-checklist .dst-checklist__head {
	margin-bottom: 40px;
}

.dst-checklist .dst-checklist__eyebrow {
	margin-bottom: 14px;
	color: var(--dcl-accent);
	font-size: 15px;
	letter-spacing: .06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.dst-checklist .dst-checklist__title {
	margin: 0 0 22px;
	color: var(--dcl-heading);
	font-family: inherit;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.dst-checklist .dst-checklist__subtitle {
	margin: 0;
	color: var(--dcl-text);
	font-size: 15px;
	line-height: 1.5;
}

.dst-checklist .dst-checklist__grid {
	display: grid;
	grid-template-columns: repeat(var(--dcl-cols, 4), minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dst-checklist .dst-checklist__card {
	position: relative;
	min-height: 186px;
	margin: 0;
	padding: 26px 24px 24px;
	overflow: hidden;
	background: var(--dcl-card-bg);
	border: 1px solid var(--dcl-card-border);
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s;
}

.dst-checklist .dst-checklist__card:hover {
	border-color: var(--dcl-accent);
	box-shadow: 0 10px 24px rgba(28, 34, 38, .08);
}

.dst-checklist .dst-checklist__card-title {
	position: relative;
	z-index: 1;
	margin: 0 0 16px;
	color: var(--dcl-heading);
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

.dst-checklist .dst-checklist__card-text {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--dcl-text);
	font-size: 14px;
	line-height: 1.5;
}

/* Крупный номер на фоне, обрезан нижним краем карточки */
.dst-checklist .dst-checklist__num {
	position: absolute;
	right: -4px;
	bottom: -26px;
	color: var(--dcl-number);
	font-size: 112px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	pointer-events: none;
	user-select: none;
}

.dst-checklist .dst-checklist__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	margin-top: 44px;
}

.dst-checklist .dst-checklist__cta-title {
	margin-bottom: 10px;
	color: var(--dcl-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.dst-checklist .dst-checklist__cta-text {
	margin: 0;
	color: var(--dcl-text);
	font-size: 15px;
	line-height: 1.5;
}

.dst-checklist .dst-checklist__btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 356px;
	padding: 15px 34px;
	background: var(--dcl-accent);
	border-radius: 2px;
	box-sizing: border-box;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: filter .2s;
}

.dst-checklist .dst-checklist__btn:hover,
.dst-checklist .dst-checklist__btn:focus-visible {
	color: #fff;
	filter: brightness(1.08);
	text-decoration: none;
}

.dst-checklist .dst-checklist__btn svg {
	transition: transform .2s;
}

.dst-checklist .dst-checklist__btn:hover svg {
	transform: translateX(3px);
}

@media (max-width: 1024px) {
	.dst-checklist .dst-checklist__grid {
		grid-template-columns: repeat(var(--dcl-cols, 2), minmax(0, 1fr));
	}

	.dst-checklist .dst-checklist__title {
		font-size: 38px;
	}
}

@media (max-width: 767px) {
	.dst-checklist .dst-checklist__grid {
		grid-template-columns: repeat(var(--dcl-cols, 1), minmax(0, 1fr));
	}

	.dst-checklist .dst-checklist__head {
		margin-bottom: 28px;
	}

	.dst-checklist .dst-checklist__title {
		font-size: 28px;
	}

	.dst-checklist .dst-checklist__card {
		min-height: 0;
		padding: 20px 20px 36px;
	}

	.dst-checklist .dst-checklist__num {
		font-size: 80px;
		bottom: -18px;
	}

	.dst-checklist .dst-checklist__cta {
		flex-direction: column;
		align-items: stretch;
		margin-top: 32px;
	}

	.dst-checklist .dst-checklist__btn {
		min-width: 0;
		width: 100%;
	}
}
