/* Numbered Steps Section — Styles */

.nst-wrapper {
	--nst-cols: 3;
	width: 100%;
}

.nst-section {
	background-color: #f7f0e6;
	width: 100%;
	box-sizing: border-box;
}

.nst-header {
	margin-bottom: 40px;
}

.nst-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 52px;
	font-weight: 400;
	color: #2c2420;
	margin: 0 0 14px 0;
	text-align: left;
}

.nst-subtitle {
	font-size: 15px;
	line-height: 1.6;
	color: #6b6459;
	margin: 0;
	text-align: left;
}

/* Steps grid */
.nst-steps-grid {
	display: grid;
	grid-template-columns: repeat(var(--nst-cols), 1fr);
	border: 1px solid #ddd2c0;
	margin-bottom: 40px;
}

.nst-step {
	position: relative;
	display: block;
	border-right: 1px solid #ddd2c0;
	text-decoration: none;
	background-color: transparent;
	transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nst-step:last-child {
	border-right: none;
}

.nst-step-inner {
	padding: 36px;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nst-step-number {
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 14px;
	color: #b06a4f;
	margin-bottom: 20px;
	transition: color 0.4s ease;
	letter-spacing: 0.5px;
}

.nst-step-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 24px;
	font-weight: 400;
	color: #2c2420;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.nst-step-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #5a5248;
	margin: 0;
}

/* Hover effect */
.nst-step:hover {
	background-color: #ffffff;
	box-shadow: 0 20px 40px -16px rgba(176, 106, 79, 0.18);
	z-index: 2;
}

.nst-step:hover .nst-step-inner {
	transform: translateY(-6px);
}

.nst-step:hover .nst-step-number {
	color: #8a4a34;
}

/* Button */
.nst-button-row {
	display: flex;
	justify-content: flex-start;
}

.nst-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background-color: #a8654a;
	color: #ffffff;
	text-decoration: none;
	padding: 18px 30px;
	font-size: 12px;
	letter-spacing: 1.5px;
	font-weight: 700;
	text-transform: uppercase;
	transition: background-color 0.3s ease;
}

.nst-button:hover {
	background-color: #8a4a34;
	color: #ffffff;
}

.nst-button-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

/* Entrance animation */
.nst-wrapper[data-entrance="true"] .nst-entrance-item {
	opacity: 0;
}

.nst-wrapper[data-entrance="true"] .nst-entrance-item.nst-in-view {
	animation-name: nstFadeUp;
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-fill-mode: forwards;
}

@keyframes nstFadeUp {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
	.nst-wrapper { --nst-cols: 1; }
	.nst-title { font-size: 38px; }
	.nst-step { border-right: none; border-bottom: 1px solid #ddd2c0; }
	.nst-step:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
	.nst-title { font-size: 30px; }
	.nst-step-inner { padding: 26px; }
	.nst-button { width: 100%; justify-content: center; }
}
