/**
 * Плитка похожих услуг на SEO-страницах (перелинковка внутри раздела).
 */

.service-related {
	margin: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	background: linear-gradient(165deg, #ffffff 0%, #f0f9f9 48%, #fffdf6 100%);
	border: 1px solid rgba(0, 121, 121, 0.12);
	border-radius: 22px;
	box-shadow: 0 12px 40px rgba(61, 68, 73, 0.07);
	font-family: "Manrope", system-ui, sans-serif;
}

.service-related__head {
	text-align: center;
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	max-width: 42rem;
	margin-inline: auto;
}

.service-related__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.65rem;
	padding: 0.35rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #007979;
	background: rgba(0, 121, 121, 0.08);
	border-radius: 999px;
}

.service-related__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.25rem, 2.8vw, 1.65rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--fsf-ash, #3d4449);
}

.service-related__title span {
	color: #007979;
}

.service-related__lead {
	margin: 0;
	font-size: clamp(0.92rem, 1.8vw, 1.02rem);
	line-height: 1.55;
	color: #5c6468;
}

.service-related__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.service-related__card {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 3.35rem;
	padding: 0.85rem 1rem 0.85rem 0.9rem;
	background: #fff;
	border: 1px solid rgba(0, 121, 121, 0.14);
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(61, 68, 73, 0.06);
	color: var(--fsf-ash, #3d4449);
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-related__card:hover,
.service-related__card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(0, 121, 121, 0.35);
	background: #f8fdfd;
	box-shadow: 0 12px 28px rgba(0, 121, 121, 0.12);
	color: #006060;
	outline: none;
}

.service-related__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(0, 121, 121, 0.12), rgba(0, 121, 121, 0.05));
	color: #007979;
	font-size: 1.05rem;
}

.service-related__card:hover .service-related__icon,
.service-related__card:focus-visible .service-related__icon {
	background: #007979;
	color: #fff;
}

.service-related__label {
	flex: 1;
	font-size: clamp(0.88rem, 1.6vw, 0.98rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.service-related__arrow {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: rgba(0, 121, 121, 0.08);
	color: #007979;
	font-size: 0.72rem;
	transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.service-related__card:hover .service-related__arrow,
.service-related__card:focus-visible .service-related__arrow {
	transform: translateX(3px);
	background: #007979;
	color: #fff;
}

.service-related__hub {
	margin: 1.35rem 0 0;
	text-align: center;
}

.service-related__hub-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: #007979;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.service-related__hub-link:hover,
.service-related__hub-link:focus-visible {
	color: #006060;
	border-bottom-color: currentColor;
	gap: 0.6rem;
	outline: none;
}

.service-related--waste .service-related__icon {
	background: linear-gradient(145deg, rgba(0, 121, 121, 0.14), rgba(255, 193, 7, 0.12));
}

.service-related--demolition .service-related__icon {
	background: linear-gradient(145deg, rgba(0, 121, 121, 0.12), rgba(220, 53, 69, 0.1));
}

.service-related--demolition .service-related__title span {
	color: #c0392b;
}

.service-related--demolition .service-related__card:hover .service-related__icon,
.service-related--demolition .service-related__card:focus-visible .service-related__icon {
	background: #c0392b;
}

.service-related--demolition .service-related__card:hover .service-related__arrow,
.service-related--demolition .service-related__card:focus-visible .service-related__arrow {
	background: #c0392b;
}

@media (min-width: 520px) {
	.service-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.service-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.service-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
