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

.dst-service {
	--dsv-accent: #ff8a00;
	--dsv-title: #fff;
	--dsv-subtitle: rgba(255, 255, 255, .78);
	--dsv-item-bg: #fff;
	--dsv-item-text: #1c2226;
	--dsv-card-text: #1c2226;
	font-family: 'Raleway', sans-serif;
	font-variant-numeric: lining-nums;
}

.dst-service .dst-service__head {
	margin-bottom: 34px;
}

.dst-service .dst-service__eyebrow {
	margin-bottom: 14px;
	color: var(--dsv-accent);
	font-size: 15px;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.dst-service .dst-service__title {
	margin: 0 0 16px;
	color: var(--dsv-title);
	font-family: inherit;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

.dst-service .dst-service__subtitle {
	margin: 0;
	color: var(--dsv-subtitle);
	font-size: 15px;
	line-height: 1.5;
}

/* Список слева, карточка справа; карточка тянется на высоту списка */
.dst-service .dst-service__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 28px;
	align-items: stretch;
}

.dst-service .dst-service__list {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dst-service .dst-service__list li {
	margin: 0;
	padding: 0;
}

.dst-service .dst-service__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 12px 16px;
	background: var(--dsv-item-bg);
	border-radius: 4px;
	box-sizing: border-box;
	color: var(--dsv-item-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.dst-service a.dst-service__item {
	transition: box-shadow .2s;
}

.dst-service a.dst-service__item:hover {
	color: var(--dsv-item-text);
	box-shadow: inset 3px 0 0 var(--dsv-accent);
}

.dst-service .dst-service__check {
	flex: 0 0 auto;
	color: var(--dsv-accent);
}

.dst-service .dst-service__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	background: var(--dsv-accent);
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--dsv-card-text);
}

.dst-service .dst-service__card-eyebrow {
	margin-bottom: 32px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: uppercase;
}

.dst-service .dst-service__card-title {
	margin-bottom: 36px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
}

.dst-service .dst-service__card-text {
	margin: 0 0 30px;
	color: inherit;
	font-size: 15px;
	line-height: 1.55;
}

.dst-service .dst-service__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 14px 20px;
	background: #fff;
	border-radius: 2px;
	box-sizing: border-box;
	color: var(--dsv-card-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow .2s;
}

.dst-service .dst-service__btn:hover,
.dst-service .dst-service__btn:focus-visible {
	color: var(--dsv-card-text);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
	text-decoration: none;
}

.dst-service .dst-service__btn svg {
	transition: transform .2s;
}

.dst-service .dst-service__btn:hover svg {
	transform: translateX(3px);
}

@media (max-width: 1024px) {
	.dst-service .dst-service__title {
		font-size: 38px;
	}

	.dst-service .dst-service__body {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.dst-service .dst-service__title {
		font-size: 28px;
	}

	.dst-service .dst-service__card {
		padding: 24px;
	}

	.dst-service .dst-service__card-eyebrow,
	.dst-service .dst-service__card-title {
		margin-bottom: 20px;
	}

	.dst-service .dst-service__card-title {
		font-size: 24px;
	}
}
