/**
 * Блок reb/work-steps (блок 06 главной).
 * 4 нумерованных шага с верхней кромкой (первый - акцентный)
 * и темная полоса микро-CTA под сеткой.
 */

.reb-steps {
	padding: 72px 0;
}

.reb-steps__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.reb-steps__title {
	margin: 0;
	font-size: 36px;
}

.reb-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.reb-steps__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 2px solid var(--reb-border);
	padding-top: 18px;
}

.reb-steps__item--first {
	border-top-color: var(--reb-accent);
}

.reb-steps__num {
	font-family: var(--reb-font-mono);
	font-size: 28px;
	font-weight: 700;
	color: #CFE2D5;
}

.reb-steps__name {
	font-size: 18px;
	font-weight: 700;
}

.reb-steps__text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--reb-text-muted);
}

/* Темная полоса микро-CTA. */
.reb-steps-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 36px;
	background: var(--reb-plate);
}

.reb-steps-cta__text {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.reb-steps-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.reb-steps-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	font-size: 15px;
	line-height: 1.2;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.reb-steps-cta__btn--modal {
	background: var(--reb-accent);
	color: #fff;
	font-weight: 700;
}

.reb-steps-cta__btn--modal:hover {
	background: var(--reb-accent-dark);
	color: #fff;
}

.reb-steps-cta__btn--presentation {
	border: 1px solid #5AA687;
	color: #fff;
	font-weight: 600;
}

.reb-steps-cta__btn--presentation:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Адаптив. */
@media (max-width: 1024px) {
	.reb-steps__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.reb-steps {
		padding: 48px 0;
	}

	.reb-steps__title {
		font-size: 28px;
	}

	.reb-steps-cta {
		flex-direction: column;
		align-items: stretch;
		padding: 24px;
	}

	.reb-steps-cta__buttons {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.reb-steps__grid {
		grid-template-columns: 1fr;
	}
}
