/* =================================================================
   Naya Process
   Desktop: steps 1 and 3 on the left, photo in the center, steps
   2 and 4 on the right. Mobile and tablet: square photo first, then
   each step as a horizontal card of equal height.
   ================================================================= */

.naya-process__inner {
	width: 100%;
	max-width: 1380px;
	margin-inline: auto;
	box-sizing: border-box;
	padding: 16px 28px 80px;
}

.naya-process__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"media"
		"step-1"
		"step-2"
		"step-3"
		"step-4";
	gap: 12px;
	align-items: stretch;
}

.naya-process__media {
	grid-area: media;
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #efe8dc;
}

.naya-process__media img,
.naya-process__placeholder {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.naya-process__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px;
	color: #6e6a60;
	font-family: Inter, sans-serif;
	font-size: 14px;
	text-align: center;
}

.naya-process__card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	box-sizing: border-box;
	min-width: 0;
	padding: 18px 16px;
	border: 1px solid #e6ddcc;
	border-radius: 18px;
	background: #f3eadb;
	color: #2b2a24;
}

.naya-process__card:nth-child(2) {
	grid-area: step-1;
}

.naya-process__card:nth-child(3) {
	grid-area: step-2;
}

.naya-process__card:nth-child(4) {
	grid-area: step-3;
}

.naya-process__card:nth-child(5) {
	grid-area: step-4;
}

.naya-process__number {
	flex: none;
	min-width: 1.15em;
	margin: 0;
	color: #2b2a24;
	font-family: "Newsreader", "Iowan Old Style", Palatino, serif;
	font-size: 36px;
	font-weight: 400;
	font-style: normal;
	line-height: 1;
	letter-spacing: -0.03em;
}

.naya-process__copy {
	flex: 1 1 auto;
	width: auto;
	max-width: 100%;
	min-width: 0;
}

.naya-process__title {
	margin: 0;
	color: #1c1b17;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.35;
}

.naya-process__text {
	margin: 6px 0 0;
	color: #2b2a24;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

@media (min-width: 1025px) {
	.naya-process__inner {
		padding: 24px 28px 88px;
	}

	.naya-process__grid {
		grid-template-columns: minmax(0, 1fr) minmax(180px, var(--naya-process-image, 360px)) minmax(0, 1fr);
		grid-template-areas:
			"step-1 media step-2"
			"step-3 media step-4";
		gap: 18px;
	}

	.naya-process__card:nth-child(n + 6) {
		grid-column: 1 / -1;
	}

	.naya-process__media {
		height: 100%;
		min-height: var(--naya-process-image-min, 0px);
	}

	.naya-process__media img,
	.naya-process__placeholder {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}

	.naya-process__card {
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		gap: 28px;
		min-height: var(--naya-process-card-min, 300px);
		padding: 28px 26px 26px;
	}

	.naya-process__copy {
		flex: 0 1 auto;
		width: 100%;
	}

	.naya-process__number {
		min-width: 0;
		font-size: 56px;
	}

	.naya-process__title {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.naya-process__media img {
		transition: none;
	}
}
