/* Three Steps Section — Styles */

.tss-wrapper {
	width: 100%;
}

.tss-section {
	background-color: #eaf1ea;
	padding: 80px 0;
	box-sizing: border-box;
}

.tss-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

/* ---------------- Header ---------------- */
.tss-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px auto;
}

.tss-eyebrow {
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 700;
	color: #5c7a63;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.tss-title {
	margin: 0 0 18px 0;
	line-height: 1.15;
}

.tss-title-line {
	display: block;
}

.tss-title-normal {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 46px;
	font-weight: 700;
	color: #1f2e22;
}

.tss-title-italic {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 46px;
	font-style: italic;
	font-weight: 400;
	color: #7c9a82;
}

.tss-subtitle {
	font-size: 16px;
	line-height: 1.7;
	color: #5c6b60;
	margin: 0;
}

/* ---------------- Grid & connector ---------------- */
.tss-grid-wrap {
	position: relative;
	margin-bottom: 48px;
}

.tss-connector {
	position: absolute;
	top: 44px;
	left: 5%;
	right: 5%;
	height: 1px;
	background-color: #c9a24d;
	z-index: 0;
}

.tss-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: start;
}

/* ---------------- Card ---------------- */
.tss-card {
	--tss-featured-offset: 0px;
	--tss-hover-lift: 0px;
	position: relative;
	background-color: #ffffff;
	border: 1px solid #dfe6e0;
	border-radius: 10px;
	padding: 36px 32px 32px 32px;
	box-sizing: border-box;
	text-align: center;
	transform: translateY(calc(-1 * var(--tss-featured-offset)));
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tss-card:hover {
	transform: translateY(calc(-1 * var(--tss-featured-offset) - var(--tss-hover-lift)));
	border-color: #5c7a63;
	box-shadow: 0 24px 48px -18px rgba(92, 122, 99, 0.18);
}

.tss-card.tss-featured {
	border-color: #5c7a63;
}

.tss-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 20px auto;
	border-radius: 50%;
	background-color: #1f2e22;
	color: #ffffff;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 20px;
	font-weight: 700;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tss-card:hover .tss-number {
	transform: scale(1.1);
}

.tss-card-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 21px;
	font-weight: 700;
	color: #1f2e22;
	margin: 0 0 14px 0;
}

.tss-card-desc {
	font-size: 14px;
	line-height: 1.7;
	color: #5c6b60;
	margin: 0;
}

.tss-divider {
	display: block;
	height: 1px;
	background-color: #dfe6e0;
	margin: 22px 0 16px 0;
}

.tss-footer-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-style: italic;
	font-size: 13px;
	color: #9a7a4a;
	line-height: 1.5;
}

.tss-footer-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.tss-footer-icon svg {
	width: 0.9em;
	height: 0.9em;
	fill: currentColor;
}

/* ---------------- CTA Button ---------------- */
.tss-btn-row {
	display: flex;
	justify-content: center;
}

.tss-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #c9954e;
	color: #ffffff;
	text-decoration: none;
	padding: 16px 30px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 8px;
	transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.tss-btn:hover {
	background-color: #b5813a;
	box-shadow: 0 14px 32px -10px rgba(201, 149, 78, 0.4);
	transform: translateY(-3px);
}

.tss-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.tss-btn:hover .tss-btn-arrow {
	transform: translateX(4px);
}

/* ---------------- Entrance animation ---------------- */
.tss-wrapper[data-entrance="true"] .tss-entrance-item {
	opacity: 0;
	transform: translateY(28px);
}

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

/* The card itself already owns "transform" for hover/featured offset, so
   its entrance animation fades/slides the same element using the same
   property — once the entrance class finishes, the base rule above takes
   back over for hover interactions (animation-fill-mode keeps the last
   keyframe value until then). */
@keyframes tssFadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(calc(-1 * var(--tss-featured-offset, 0px))); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
	.tss-grid { grid-template-columns: 1fr; }
	.tss-connector { display: none; }
	.tss-card.tss-featured { transform: none; }
	.tss-card:hover { transform: translateY(calc(-1 * var(--tss-hover-lift))); }
	.tss-title-normal, .tss-title-italic { font-size: 34px; }
	.tss-container { padding: 0 24px; }
	.tss-section { padding: 56px 0; }
}
