/* ─── Service Steps Widget ───────────────────────────────────────────────── */

.hbc-ss-wrap {
	padding: 40px 4%;
}

.hbc-ss-header {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.hbc-ss-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	color: #1f2933;
}

.hbc-ss-highlight {
	color: #e29a35;
}

.hbc-ss-subtitle {
	max-width: 620px;
	margin: 0 auto;
	font-size: 13px;
	line-height: 1.5;
	color: #5f6670;
}

.hbc-ss-step {
	position: relative;
	padding: 42px 0;
	border-bottom: 3px solid var(--hbc-ss-accent);
}

.hbc-ss-step:last-child {
	border-bottom: 0;
}

.hbc-ss-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 70px;
}

.hbc-ss-step.layout-text_right .hbc-ss-inner {
	flex-direction: row-reverse;
}

.hbc-ss-copy,
.hbc-ss-media {
	flex: 1;
	min-width: 0;
}

.hbc-ss-step.layout-text_right .hbc-ss-copy {
	text-align: right;
}

.hbc-ss-topline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--hbc-ss-accent);
}

.hbc-ss-step.layout-text_right .hbc-ss-topline {
	justify-content: flex-end;
}

.hbc-ss-number {
	font-size: 72px;
	font-weight: 900;
	line-height: 0.9;
	color: var(--hbc-ss-accent);
}

.hbc-ss-line {
	display: inline-block;
	width: 36px;
	height: 2px;
	background: var(--hbc-ss-accent);
}

.hbc-ss-eyebrow {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--hbc-ss-accent);
	text-transform: uppercase;
}

.hbc-ss-step-title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: #20242a;
}

.hbc-ss-desc {
	max-width: 470px;
	margin-bottom: 24px;
	font-size: 13px;
	line-height: 1.7;
	color: #4d5560;
}

.hbc-ss-step.layout-text_right .hbc-ss-desc {
	margin-left: auto;
}

.hbc-ss-btn-link {
	display: inline-block;
	text-decoration: none;
}

.hbc-ss-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	background: #d99032;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transition: opacity 0.25s ease;
}

.hbc-ss-btn:hover,
.hbc-ss-btn-link:hover .hbc-ss-btn {
	opacity: 0.86;
}

.hbc-ss-media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.hbc-ss-video {
	position: relative;
	display: block;
	overflow: hidden;
	background: #ddd;
	aspect-ratio: 16 / 9;
	text-decoration: none;
}

.hbc-ss-video:first-child:last-child,
.hbc-ss-media .hbc-ss-video:first-child:nth-last-child(1) {
	grid-column: 1 / -1;
}

.hbc-ss-video img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hbc-ss-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 42px;
	height: 28px;
	border-radius: 3px;
	background: var(--hbc-ss-accent);
	transform: translate(-50%, -50%);
}

.hbc-ss-play::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid #fff;
	transform: translate(-35%, -50%);
}

/* ─── Tablet (≤1024px) ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.hbc-ss-inner {
		gap: 40px;
	}

	.hbc-ss-title {
		font-size: 32px;
	}

	.hbc-ss-number {
		font-size: 60px;
	}
}

/* ─── Mobile (≤767px) ────────────────────────────────────────────────────── */

@media (max-width: 767px) {
	.hbc-ss-wrap {
		padding: 32px 18px;
	}

	.hbc-ss-header {
		margin-bottom: 32px;
	}

	.hbc-ss-title {
		font-size: 28px;
	}

	.hbc-ss-subtitle {
		font-size: 12px;
	}

	.hbc-ss-step {
		padding: 32px 0;
	}

	.hbc-ss-inner,
	.hbc-ss-step.layout-text_right .hbc-ss-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
	}

	.hbc-ss-step.layout-text_right .hbc-ss-copy,
	.hbc-ss-copy {
		text-align: left;
	}

	.hbc-ss-step.layout-text_right .hbc-ss-topline,
	.hbc-ss-topline {
		justify-content: flex-start;
	}

	.hbc-ss-number {
		font-size: 52px;
	}

	.hbc-ss-step-title {
		font-size: 21px;
	}

	.hbc-ss-desc,
	.hbc-ss-step.layout-text_right .hbc-ss-desc {
		max-width: 100%;
		margin-left: 0;
	}

	.hbc-ss-media {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ─── Small mobile (≤480px) ─────────────────────────────────────────────── */

@media (max-width: 480px) {
	.hbc-ss-title {
		font-size: 24px;
	}

	.hbc-ss-number {
		font-size: 46px;
	}

	.hbc-ss-line {
		width: 24px;
	}

	.hbc-ss-eyebrow {
		font-size: 10px;
	}
}
