.legion-other-services {
	padding: 50px 0 60px;
	background: #fff;
}

.legion-other-services__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.legion-other-services__title {
	margin: 0 0 12px;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #111;
}

.legion-other-services__divider {
	display: block;
	margin: 0 auto 32px;
}

.legion-other-services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.legion-other-services__item {
	min-width: 0;
}

.legion-other-services__card {
	position: relative;
	display: block;
	height: 220px;
	overflow: hidden;
	border-radius: 2px;
	color: #fff;
	text-decoration: none;
}

.legion-other-services__card:hover,
.legion-other-services__card:focus-visible {
	color: #fff !important;
	text-decoration: none;
}

.legion-other-services__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 4px 10px;
	background: #f63320;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.legion-other-services__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.legion-other-services__image--placeholder {
	background: linear-gradient(135deg, #444 0%, #222 100%);
}

.legion-other-services__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
	transition: opacity 0.35s ease;
}

.legion-other-services__card:hover .legion-other-services__image,
.legion-other-services__card:focus-visible .legion-other-services__image {
	transform: scale(1.06);
}

.legion-other-services__card:hover .legion-other-services__overlay,
.legion-other-services__card:focus-visible .legion-other-services__overlay {
	opacity: 0.45;
}

.legion-other-services__name {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 1024px) {
	.legion-other-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.legion-other-services {
		padding: 36px 0 44px;
	}

	.legion-other-services__title {
		font-size: 22px;
	}

	.legion-other-services__grid {
		gap: 16px;
	}

	.legion-other-services__card {
		height: 190px;
	}

	.legion-other-services__name {
		font-size: 14px;
	}
}

@media (max-width: 575px) {
	.legion-other-services__grid {
		grid-template-columns: 1fr;
	}

	.legion-other-services__card {
		height: 210px;
	}
}
