/* Homepage: three calculation-path cards */

.dk-paths {
	background: #fff;
	padding: 48px 0 68px;
	box-sizing: border-box;
	overflow: visible;
}

.dk-paths__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.dk-paths__heading {
	margin: 0 0 28px;
	text-align: center;
	color: #17201d;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.dk-paths__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
	width: 100%;
	isolation: isolate;
}

.dk-paths__card {
	position: relative;
	z-index: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border: 1px solid #e2ebe6;
	border-radius: 14px;
	padding: 28px 22px 24px;
	box-sizing: border-box;
	box-shadow: 0 0 0 rgba(23, 32, 29, 0);
	transform: translateY(0) scale(1);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

.dk-paths__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: 0 0 14px;
	color: #0e6b50;
}

.dk-paths__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.dk-paths__title {
	margin: 0 0 10px;
	max-width: 100%;
	color: #17201d;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.dk-paths__lead {
	margin: 0 0 18px;
	max-width: 280px;
	color: #59645f;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14.5px;
	line-height: 1.4;
	font-weight: 400;
	flex: 1 1 auto;
}

.dk-paths__lead-mob {
	display: none;
}

.dk-paths__br {
	display: inline;
}

.dk-paths__cta {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	min-width: 188px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #0e6b50;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	white-space: nowrap;
}

.dk-paths__cta-label {
	display: block;
	line-height: 1.2;
}

.dk-paths__cta:hover,
.dk-paths__cta:focus-visible {
	background: #095842;
	color: #fff !important;
}

.dk-paths__card:nth-child(1) .dk-paths__cta,
.dk-paths__card:nth-child(3) .dk-paths__cta {
	background: #fff;
	border: 1px solid #0e6b50;
	color: #0e6b50 !important;
}

.dk-paths__card:nth-child(1) .dk-paths__cta:hover,
.dk-paths__card:nth-child(1) .dk-paths__cta:focus-visible,
.dk-paths__card:nth-child(3) .dk-paths__cta:hover,
.dk-paths__card:nth-child(3) .dk-paths__cta:focus-visible {
	background: rgba(14, 107, 80, 0.07);
	border-color: #0e6b50;
	color: #0e6b50 !important;
}

.dk-paths__cta:focus-visible {
	outline: 2px solid #0e6b50;
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.dk-paths__card:hover {
		z-index: 1;
		transform: translateY(-3px) scale(1.02);
		border-color: #c8ddd4;
		box-shadow: 0 10px 24px rgba(23, 32, 29, 0.08);
	}
}

/* Compact 3-col between 900 and desktop container */
@media screen and (min-width: 900px) and (max-width: 1199px) {
	.dk-paths__inner {
		padding: 0 24px;
	}

	.dk-paths__heading {
		margin-bottom: 24px;
		font-size: 28px;
	}

	.dk-paths__grid {
		gap: 16px;
	}

	.dk-paths__card {
		padding: 24px 18px 20px;
	}

	.dk-paths__lead {
		font-size: 14px;
	}

	.dk-paths__cta {
		min-width: 0;
		width: 100%;
		max-width: 220px;
	}
}

/* Phone + compact tablet: one card per row */
@media screen and (max-width: 899px) {
	.dk-paths {
		padding: 32px 0 56px;
		overflow-x: hidden;
	}

	.dk-paths__inner {
		max-width: none;
		padding: 0 16px;
	}

	.dk-paths__heading {
		margin: 0 auto 18px;
		font-size: 24px;
		line-height: 1.22;
		max-width: 16em;
	}

	.dk-paths__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.dk-paths__card {
		width: 100%;
		padding: 18px 18px 16px;
		border-radius: 12px;
	}

	.dk-paths__icon {
		width: 36px;
		height: 36px;
		margin-bottom: 10px;
	}

	.dk-paths__title {
		margin-bottom: 8px;
		font-size: 17px;
		line-height: 1.25;
	}

	.dk-paths__lead {
		margin-bottom: 14px;
		max-width: 34em;
		font-size: 14px;
		line-height: 1.4;
	}

	.dk-paths__cta {
		width: 100%;
		min-width: 0;
		max-width: none;
		height: 44px;
		padding: 0 16px;
		font-size: 14px;
		white-space: nowrap;
	}
}

@media screen and (max-width: 600px) {
	.dk-paths {
		padding: 28px 0 44px;
	}

	.dk-paths__inner {
		padding: 0 16px;
	}

	.dk-paths__heading {
		margin: 0 auto 16px;
		font-size: 22px;
		line-height: 1.25;
	}

	.dk-paths__grid {
		gap: 12px;
	}

	.dk-paths__card {
		padding: 16px 16px 14px;
		border-radius: 12px;
	}

	.dk-paths__icon {
		width: 32px;
		height: 32px;
		margin-bottom: 8px;
	}

	.dk-paths__title {
		font-size: 16px;
	}

	.dk-paths__lead {
		margin-bottom: 12px;
		font-size: 14px;
	}

	.dk-paths__cta {
		height: 42px;
	}
}

/* Keep air between Hero facts and this section on tablet */
@media screen and (min-width: 601px) and (max-width: 1024px) {
	.dk-paths {
		padding-top: 56px;
	}
}
