.agood-steps-showcase {
	--agood-steps-gap: 72px;
	--agood-steps-ratio: .85;
	--agood-steps-sticky-top: 100px;
	--agood-steps-heading: #18201b;
	--agood-steps-body: #464646;
	--agood-steps-label: #2f7770;
	--agood-steps-button-bg: #2f7770;
	--agood-steps-button-text: #fff;
	width: 100%;
	color: var(--agood-steps-body);
}

.agood-steps-showcase *,
.agood-steps-showcase *::before,
.agood-steps-showcase *::after {
	box-sizing: border-box;
}

.agood-steps-showcase__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--agood-steps-gap);
	align-items: start;
}

.agood-steps-showcase__media-column {
	min-width: 0;
	height: 100%;
}

.agood-steps-showcase__sticky-media {
	position: sticky;
	top: var(--agood-steps-sticky-top);
	width: 100%;
	aspect-ratio: var(--agood-steps-ratio);
	max-height: calc(100vh - var(--agood-steps-sticky-top) - 24px);
	border-radius: 24px;
	overflow: hidden;
	background: #e9eee9;
}

.agood-steps-showcase__media-frame {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .45s ease;
}

.agood-steps-showcase__media-frame.is-active {
	opacity: 1;
}

.agood-steps-showcase__media-frame img,
.agood-steps-showcase__row-media img,
.agood-steps-showcase__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agood-steps-showcase__image-placeholder {
	background: linear-gradient(135deg, #e9eee9, #d8e5dc);
}

.agood-steps-showcase__step {
	display: flex;
	min-height: min(650px, max(520px, calc(100vh - 170px)));
	align-items: center;
}

.agood-steps-showcase__row-media {
	display: none;
}

.agood-steps-showcase__copy {
	width: 100%;
	max-width: 540px;
}

.agood-steps-showcase__number {
	margin: 0 0 24px;
	color: var(--agood-steps-label);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
}

.agood-steps-showcase__step-title {
	margin: 0 0 14px;
	color: var(--agood-steps-heading);
	font-size: clamp(28px, 2.7vw, 43px);
	line-height: 1.15;
}

.agood-steps-showcase__description {
	margin: 0;
	font-size: clamp(16px, 1.35vw, 18px);
	line-height: 1.6;
}

.agood-steps-showcase__bullets {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.agood-steps-showcase__bullets li {
	position: relative;
	padding-left: 27px;
	line-height: 1.45;
}

.agood-steps-showcase__bullets li::before {
	position: absolute;
	left: 1px;
	content: '✓';
	color: var(--agood-steps-label);
}

.agood-steps-showcase a.agood-steps-showcase__button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
	padding: 11px 22px;
	border-radius: 10px;
	background: var(--agood-steps-button-bg);
	color: var(--agood-steps-button-text);
	font-weight: 600;
	text-decoration: none;
	transition: filter .2s ease;
}

.agood-steps-showcase a.agood-steps-showcase__button:hover,
.agood-steps-showcase a.agood-steps-showcase__button:focus-visible {
	filter: brightness(.88);
	color: var(--agood-steps-button-text);
}

.agood-steps-showcase a.agood-steps-showcase__button:focus-visible {
	outline: 3px solid var(--agood-steps-label);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.agood-steps-showcase__layout {
		display: block;
	}

	.agood-steps-showcase__media-column {
		display: none;
	}

	.agood-steps-showcase__steps {
		display: grid;
		gap: 64px;
	}

	.agood-steps-showcase__step {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(28px, 5vw, 56px);
		min-height: 0;
	}

	.agood-steps-showcase__row-media {
		display: block;
		width: 100%;
		aspect-ratio: var(--agood-steps-ratio);
		border-radius: 22px;
		overflow: hidden;
		background: #e9eee9;
	}

	.agood-steps-showcase__step-title {
		font-size: clamp(24px, 3vw, 36px);
	}
}

@media (max-width: 767px) {
	.agood-steps-showcase__steps {
		gap: 56px;
	}

	.agood-steps-showcase__step {
		display: block;
	}

	.agood-steps-showcase__row-media {
		margin-bottom: 28px;
		border-radius: 18px;
	}

	.agood-steps-showcase__number {
		margin-bottom: 14px;
	}

	.agood-steps-showcase__bullets {
		margin-top: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.agood-steps-showcase__media-frame,
	.agood-steps-showcase a.agood-steps-showcase__button {
		transition: none;
	}
}
