/* Karim Home Widgets – process styles (generated from temp/index.html, scoped to .khw-process) */

.khw-process.perf {
	padding: 82px 0 90px;
}

.khw-process .perf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: 120px;
	align-items: start;
}

.khw-process .perf-media {
	max-width: 797px;
	aspect-ratio: 797 / 741;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 797 741' preserveAspectRatio='none'%3E%3Cpath d='M166 0H787Q797 0 797 10V649Q797 659 787 659H515Q505 659 505 669V731Q505 741 495 741H10Q0 741 0 731V266Q0 256 10 256H146Q156 256 156 246V10Q156 0 166 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 797 741' preserveAspectRatio='none'%3E%3Cpath d='M166 0H787Q797 0 797 10V649Q797 659 787 659H515Q505 659 505 669V731Q505 741 495 741H10Q0 741 0 731V266Q0 256 10 256H146Q156 256 156 246V10Q156 0 166 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.khw-process .perf-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s ease;
}

.khw-process .perf-media:hover img {
	transform: scale(1.04);
}

.khw-process .perf-body {
	padding-top: 36px;
}

.khw-process .perf-body .btn {
	margin-top: 34px;
}

.khw-process .perf-body .btn-dark:hover {
	--btn-bg: var(--navy-600);
	color: var(--white);
}

.khw-process .perf-body .btn-dark:hover .btn-label,
.khw-process .perf-body .btn-dark:hover .btn-icon {
	color: var(--white);
}

.khw-process .perf-divider {
	margin: 50px 0 0;
	border: 0;
	border-top: 1px solid var(--navy-200);
}

.khw-process .steps {
	display: grid;
	gap: 34px;
	margin-top: 44px;
	list-style: none;
}

.khw-process .step {
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 28px;
}

.khw-process .step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 30px;
	top: 68px;
	bottom: -26px;
	border-left: 1px dashed var(--navy-200);
}

.khw-process .step-num {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--navy-300);
}

.khw-process .perf-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 4px;
	background: var(--gold);
	transition: transform .3s;
}

.khw-process .step:hover .perf-icon {
	transform: translateY(-4px);
}

.khw-process .perf-icon svg {
	width: 30px;
	height: 30px;
}

.khw-process .step h3 {
	margin-top: 4px;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: -0.3px;
	color: var(--dark);
}

.khw-process .step p {
	margin-top: 8px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--navy-500);
	max-width: 520px;
}

@media (max-width: 1400px) {
	.khw-process .perf-grid {
		gap: 64px;
	}
}

@media (max-width: 1100px) {
	.khw-process .perf-grid {
		grid-template-columns: 1fr;
	}

	.khw-process .perf-media {
		width: 100%;
	}

	.khw-process .perf-body {
		padding-top: 0;
	}
}

@media (max-width: 700px) {
	.khw-process.perf {
		padding: 60px 0;
	}

	.khw-process .step {
		gap: 18px;
		grid-template-columns: 52px 1fr;
	}

	.khw-process .step .perf-icon {
		width: 52px;
		height: 52px;
	}

	.khw-process .step:not(:last-child)::before {
		left: 26px;
		top: 60px;
	}
}
