/* ==========================================================================
   Home: How it works
   ========================================================================== */
.oqa-how {
	padding: 60px 0 64px;
	background: #fdfcf9;
}

.oqa-how__head {
	position: relative;
	display: flex;
	align-items: flex-start;
	margin-bottom: 26px;
}

.oqa-how__head .oqa-section-title {
	margin-bottom: 6px;
}

.oqa-how__orn {
	position: absolute;
	left: 50%;
	top: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 22px;
	color: var(--oqa-gold-500);
	transform: translateX(-50%);
}

.oqa-how__orn i {
	width: 60px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--oqa-gold-400));
}

.oqa-how__orn i:last-child {
	background: linear-gradient(90deg, var(--oqa-gold-400), transparent);
}

.oqa-how__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	align-items: stretch;
	gap: 22px;
}

.oqa-how__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oqa-step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 18px 14px;
	background: var(--oqa-white);
	border: 1px solid rgba(69, 47, 95, 0.08);
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(42, 29, 58, 0.06);
	transition: transform 0.3s var(--oqa-ease), box-shadow 0.3s var(--oqa-ease);
}

.oqa-step:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(42, 29, 58, 0.11);
}

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

.oqa-step__num {
	position: absolute;
	top: -4px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 12px;
	font-weight: 800;
	color: var(--oqa-white);
	background: var(--oqa-gold-500);
	border: 2px solid var(--oqa-white);
	border-radius: 50%;
}

.oqa-step__title {
	margin: 2px 0 6px;
	font-family: var(--oqa-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--oqa-green-950);
}

.oqa-step__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--oqa-muted);
}

.oqa-step__arrow {
	position: absolute;
	top: 50%;
	right: -22px;
	font-size: 18px;
	color: var(--oqa-green-800);
	transform: translateY(-50%);
}

/* Video card */
.oqa-how__video,
.oqa-how__video:visited {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 18px 10px 10px;
	text-decoration: none;
	background: var(--oqa-white);
	border: 1px solid rgba(69, 47, 95, 0.12);
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(42, 29, 58, 0.06);
	transition: transform 0.3s var(--oqa-ease), box-shadow 0.3s var(--oqa-ease);
}

.oqa-how__video:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(42, 29, 58, 0.12);
}

.oqa-how__video:focus-visible {
	outline: 2px solid var(--oqa-gold-500);
	outline-offset: 3px;
}

.oqa-how__thumb {
	position: relative;
	display: block;
	width: 120px;
	align-self: stretch;
	min-height: 120px;
	overflow: hidden;
	border-radius: 10px;
	flex-shrink: 0;
}

.oqa-how__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oqa-how__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding-left: 3px;
	font-size: 22px;
	color: var(--oqa-white);
	background: var(--oqa-green-800);
	border: 3px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--oqa-ease);
}

.oqa-how__video:hover .oqa-how__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.oqa-how__video-text strong {
	display: block;
	font-family: var(--oqa-font-heading);
	font-size: 18px;
	line-height: 1.25;
	color: var(--oqa-green-950);
}

.oqa-how__video-text small {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--oqa-green-800);
}

@media (max-width: 1280px) {
	.oqa-how__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.oqa-how__video {
		max-width: 420px;
	}
}

@media (max-width: 991px) {
	.oqa-how__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.oqa-step__arrow {
		display: none;
	}

	.oqa-how__orn {
		display: none;
	}
}

@media (max-width: 520px) {
	.oqa-how {
		padding: 48px 0;
	}

	.oqa-how__steps {
		grid-template-columns: minmax(0, 1fr);
	}
}
