/* ==========================================================================
   How It Works: step timeline
   ========================================================================== */
.oqa-steps {
	padding: 90px 0;
	background: #fcfaf6;
}

.oqa-steps__list {
	position: relative;
	display: grid;
	gap: 34px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.oqa-steps__list::before {
	content: "";
	position: absolute;
	top: 20px;
	bottom: 20px;
	left: 50%;
	width: 2px;
	background: linear-gradient(180deg, rgba(216, 171, 82, 0) 0%, var(--oqa-gold-400) 12%, var(--oqa-gold-400) 88%, rgba(216, 171, 82, 0) 100%);
	transform: translateX(-50%);
}

.oqa-steps__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 96px 1fr;
	align-items: center;
}

@media (min-width: 861px) {
	.oqa-steps__list {
		gap: 0;
	}

	.oqa-steps__item + .oqa-steps__item {
		margin-top: -150px;
	}
}

.oqa-steps__node {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-family: var(--oqa-font-heading);
	font-size: 22px;
	font-weight: 700;
	color: var(--oqa-white);
	background: radial-gradient(circle at 30% 30%, var(--oqa-green-600), var(--oqa-green-950));
	border: 4px solid #fcfaf6;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--oqa-gold-400), 0 10px 20px rgba(42, 29, 58, 0.2);
}

.oqa-steps__card {
	grid-row: 1;
	grid-column: 1;
	position: relative;
	overflow: hidden;
	padding: 32px 34px 30px;
	background: var(--oqa-white);
	border: 1px solid rgba(69, 47, 95, 0.08);
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(42, 29, 58, 0.08);
	transition: transform 0.3s var(--oqa-ease), box-shadow 0.3s var(--oqa-ease);
}

.oqa-steps__item:nth-child(even) .oqa-steps__card {
	grid-column: 3;
}

.oqa-steps__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px rgba(42, 29, 58, 0.13);
}

.oqa-steps__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--oqa-green-700), var(--oqa-gold-500));
}

.oqa-steps__bg-num {
	position: absolute;
	top: 14px;
	right: 24px;
	font-family: var(--oqa-font-heading);
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: rgba(216, 171, 82, 0.16);
}

.oqa-steps__top {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.oqa-steps__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	font-size: 28px;
	color: var(--oqa-white);
	background: radial-gradient(circle at 30% 25%, var(--oqa-green-600), var(--oqa-green-950));
	border-radius: 20px;
	flex-shrink: 0;
}

.oqa-steps__label {
	display: block;
	margin-bottom: 2px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--oqa-gold-600);
}

.oqa-steps__title {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--oqa-green-900);
}

.oqa-steps__text {
	position: relative;
	margin: 0 0 16px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--oqa-muted);
}

.oqa-steps__points {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-bottom: 20px;
}

.oqa-steps__points li {
	font-weight: 600;
	color: var(--oqa-green-900);
}

.oqa-steps__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--oqa-green-800);
	background: #f6efe0;
	border-radius: var(--oqa-radius-pill);
}

.oqa-steps__chip .oqa-icon {
	font-size: 15px;
	color: var(--oqa-gold-600);
}

.oqa-steps__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 54px;
}

.oqa-steps__wa .oqa-icon {
	font-size: 19px;
	color: var(--oqa-whatsapp);
}

.oqa-steps__wa:hover .oqa-icon {
	color: var(--oqa-white);
}

@media (max-width: 860px) {
	.oqa-steps {
		padding: 64px 0;
	}

	.oqa-steps__list::before {
		left: 22px;
		transform: none;
	}

	.oqa-steps__item {
		grid-template-columns: 46px 1fr;
		align-items: start;
		gap: 0 14px;
	}

	.oqa-steps__node {
		grid-column: 1;
		width: 46px;
		height: 46px;
		margin-top: 22px;
		font-size: 18px;
	}

	.oqa-steps__card,
	.oqa-steps__item:nth-child(even) .oqa-steps__card {
		grid-column: 2;
	}
}

@media (max-width: 560px) {
	.oqa-steps__list::before {
		left: 17px;
	}

	.oqa-steps__item {
		grid-template-columns: 36px 1fr;
		gap: 0 12px;
	}

	.oqa-steps__node {
		width: 36px;
		height: 36px;
		font-size: 15px;
		border-width: 3px;
	}

	.oqa-steps__card {
		padding: 26px 20px 22px;
	}

	.oqa-steps__icon {
		width: 50px;
		height: 50px;
		font-size: 23px;
		border-radius: 16px;
	}

	.oqa-steps__title {
		font-size: 20px;
	}

	.oqa-steps__bg-num {
		font-size: 48px;
		right: 16px;
	}

	.oqa-steps__cta .oqa-btn {
		flex: 1 1 100%;
	}
}
