/* «Як ми працюємо?» — zigzag steps around a central line. */
.bm-b-proc { overflow: hidden; background: #fff; }
.bm-b-proc--bg {
	background:
		linear-gradient(rgba(255, 255, 255, .80), rgba(255, 255, 255, .86)),
		url(../../assets/img/process-bg-bridge.webp) center top / cover no-repeat #fff;
}
.bm-b-proc .bm-shead { margin-bottom: 52px; }

.bm-b-proc__list { position: relative; display: flex; flex-direction: column; gap: 44px; }
.bm-b-proc__list::before {
	content: "";
	position: absolute;
	left: 50%; top: 10px; bottom: 10px;
	width: 2px;
	margin-left: -1px;
	background: var(--bm-orange);
}

.bm-b-proc__step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bm-b-proc__step--left > * { grid-column: 1; }
.bm-b-proc__step--right > * { grid-column: 2; }

.bm-b-proc__card { position: relative; z-index: 1; display: flex; align-items: stretch; }
.bm-b-proc__title {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 20px;
	min-height: 64px;
	padding: 15px 22px;
	background: #fff;
	border: 1px solid var(--bm-border);
	box-shadow: var(--bm-shadow-sm);
}
.bm-b-proc__title .bm-ico { width: 30px; height: 30px; color: var(--bm-orange); stroke-width: 1.6; }
.bm-b-proc__name {
	margin: 0;
	font: 700 14px/1.35 var(--bm-fd);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bm-strong);
}
.bm-b-proc__n {
	display: grid;
	place-items: center;
	flex: none;
	width: 60px;
	background: var(--bm-orange);
	color: #fff;
	font: 800 20px/1 var(--bm-fd);
}
/* number straddles the central line */
.bm-b-proc__step--left .bm-b-proc__n { order: 2; margin-right: -30px; }
.bm-b-proc__step--right .bm-b-proc__n { margin-left: -30px; }

.bm-b-proc__items { display: flex; flex-direction: column; gap: 13px; padding: 22px 56px 0 24px; }
.bm-b-proc__step--right .bm-b-proc__items { padding: 22px 24px 0 56px; }
.bm-b-proc__items li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.6; color: var(--bm-text); }
.bm-b-proc__items li::before {
	content: "";
	position: absolute;
	left: 0; top: 8px;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--bm-orange);
}

/* tablet & mobile: line on the left, one column */
@media (max-width: 1100px) {
	.bm-b-proc--bg { background: #fff; }
	.bm-b-proc__list::before { left: 30px; margin-left: 0; }
	.bm-b-proc__step { grid-template-columns: 1fr; }
	.bm-b-proc__step--left > *, .bm-b-proc__step--right > * { grid-column: 1; }
	.bm-b-proc__step--left .bm-b-proc__n { order: 0; margin-right: 0; }
	.bm-b-proc__step--right .bm-b-proc__n { margin-left: 0; }
	.bm-b-proc__items, .bm-b-proc__step--right .bm-b-proc__items { padding: 18px 0 0 76px; }
}
@media (max-width: 767px) {
	.bm-b-proc__list { gap: 32px; }
	.bm-b-proc__title { gap: 14px; padding: 12px 16px; }
	.bm-b-proc__title .bm-ico { width: 24px; height: 24px; }
	.bm-b-proc__name { font-size: 13px; letter-spacing: .05em; }
}
