.steps-section {
	font-family: 'Montserrat', sans-serif;
	padding: 50px 0;
	margin: 0;
}

.steps-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.background-image {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
	gap: 20px;
	padding: 40px;
}

.background-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: brightness(0.7) contrast(1.1);
	z-index: -1;
}

.background-overlay {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(30, 32, 40, 0.4), rgba(30, 32, 40, 0.7));
	z-index: -1;
}

.step-box {
	padding: 35px;
	position: relative;
	color: white;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	z-index: 1;
}

.step-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(30, 32, 40, 0.65);
	backdrop-filter: blur(5px);
	border-radius: 16px;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.step-box:hover::before {
	background: rgba(30, 32, 40, 0.75);
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
	font-size: 64px;
	font-weight: 700;
	color: #f7a600;
	margin-bottom: 12px;
	line-height: 1;
	font-family: 'Montserrat', sans-serif;
}

.step-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 14px;
	color: white;
	font-family: 'Montserrat', sans-serif;
}

.step-description {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	font-family: 'Montserrat', sans-serif;
}

.cta-container {
	grid-column: 1 / span 3;
	grid-row: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 30px 30px;
	text-align: center;
	margin-top: 20px;
}

.cta-text {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 25px;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	font-family: 'Montserrat', sans-serif;
}

.cta-button {
	display: inline-block;
	background-color: #f7a600;
	color: white;
	padding: 18px 40px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 18px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(247, 166, 0, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
	background-color: #e69900;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(247, 166, 0, 0.4);
}

.cta-button .arrow {
	margin-left: 8px;
	display: inline-block;
	transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
	transform: translateX(5px);
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
	.background-image {
		grid-template-columns: repeat(3, 1fr);
	}

	.step-box {
		padding: 30px;
		min-height: 190px;
	}

	.step-number {
		font-size: 60px;
	}
}

@media (max-width: 1024px) {
	.background-image {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, auto);
		gap: 15px;
		padding: 30px;
	}

	.step-box {
		padding: 25px;
	}

	.cta-container {
		grid-column: 1 / span 2;
		grid-row: 4;
	}
}

@media (max-width: 768px) {
	.background-image {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(7, auto);
		padding: 25px;
	}

	.step-box {
		min-height: auto;
		margin-bottom: 15px;
	}

	.cta-container {
		grid-column: 1;
		grid-row: 7;
		padding: 30px 20px 40px;
	}

	.step-title {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.background-image {
		padding: 15px;
	}

	.step-box {
		padding: 20px;
	}

	.step-number {
		font-size: 48px;
	}

	.step-title {
		font-size: 17px;
		margin-bottom: 10px;
	}

	.step-description {
		font-size: 14px;
	}

	.cta-text {
		font-size: 18px;
	}

	.cta-button {
		padding: 15px 30px;
		font-size: 16px;
	}
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
	.background-image {
		grid-template-columns: repeat(2, 1fr);
		padding: 30px;
	}

	.step-box {
		padding: 25px;
	}

	.step-title {
		font-size: 18px;
	}

	.cta-text {
		font-size: 20px;
	}
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
	.steps-section {
		padding: 40px 0;
	}

	.background-image {
		grid-template-columns: 1fr;
		padding: 25px;
		gap: 15px;
	}

	.step-box {
		padding: 20px;
	}

	.step-number {
		font-size: 48px;
		margin-bottom: 10px;
	}

	.step-title {
		font-size: 17px;
		margin-bottom: 8px;
	}

	.step-description {
		font-size: 14px;
	}

	.cta-container {
		padding: 25px 15px;
	}

	.cta-text {
		font-size: 18px;
		margin-bottom: 20px;
	}

	.cta-button {
		padding: 12px 25px;
		font-size: 15px;
	}
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 380px) {
	.steps-section {
		padding: 30px 0;
	}

	.background-image {
		padding: 20px 15px;
		gap: 12px;
	}

	.step-box {
		padding: 15px;
	}

	.step-number {
		font-size: 40px;
	}

	.step-title {
		font-size: 16px;
	}

	.step-description {
		font-size: 13px;
	}

	.cta-container {
		padding: 20px 10px;
	}

	.cta-text {
		font-size: 16px;
	}

	.cta-button {
		padding: 10px 20px;
		font-size: 14px;
	}
}