/* Individual service heroes. Pages are enabled and approved one by one. */

.sr-service-detail-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(554px, 30.5vw, 586px);
	overflow: hidden;
	color: var(--sr-white, #fff);
	background-color: #00131b;
	background-image: var(--sr-service-detail-hero-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.sr-service-detail-hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(
		90deg,
		#00131b 0%,
		rgba(0, 19, 27, 0.995) 42%,
		rgba(0, 19, 27, 0.94) 53%,
		rgba(0, 19, 27, 0.56) 67%,
		rgba(0, 19, 27, 0.08) 100%
	);
	content: "";
}

.sr-service-detail-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.78), transparent);
	content: "";
}

.sr-service-detail-hero__shell {
	display: flex;
	align-items: center;
	width: min(calc(100% - 48px), var(--sr-shell, 1460px));
	min-height: inherit;
	margin-inline: auto;
	padding: 42px 0 46px;
}

.sr-service-detail-hero__content {
	width: min(56%, 720px);
}

.sr-service-detail-hero__eyebrow {
	margin: 0 0 16px;
	color: #ff2934;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.sr-service-detail-hero h1 {
	max-width: 720px;
	margin: 0;
	color: var(--sr-white, #fff);
	font-size: clamp(42px, 4vw, 64px);
	font-weight: 850;
	letter-spacing: -0.043em;
	line-height: 1.03;
	text-wrap: balance;
}

.sr-service-detail-hero__lead {
	max-width: 650px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(17px, 1.25vw, 20px);
	line-height: 1.5;
}

.sr-service-detail-hero__price {
	margin: 20px 0 0;
	color: var(--sr-white, #fff);
	font-size: 18px;
	font-weight: 750;
}

.sr-service-detail-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 22px;
	padding: 13px 28px;
	color: var(--sr-white, #fff);
	font-size: 15px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	background: var(--sr-red, #e30613);
	border: 2px solid var(--sr-red, #e30613);
	border-radius: 5px;
	box-shadow: 0 12px 28px rgba(227, 6, 19, 0.22);
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sr-service-detail-hero__button:hover,
.sr-service-detail-hero__button:focus-visible {
	color: var(--sr-white, #fff);
	background: var(--sr-red-dark, #b9000b);
	border-color: var(--sr-red-dark, #b9000b);
	transform: translateY(-2px);
}

/* Match the homepage hero's lightweight, one-time entrance sequence. */
@media (prefers-reduced-motion: no-preference) {
	.sr-service-detail-hero__eyebrow,
	.sr-service-detail-hero h1,
	.sr-service-detail-hero__lead,
	.sr-service-detail-hero__price,
	.sr-service-detail-hero__button {
		animation: sr-service-detail-hero-content-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.sr-service-detail-hero h1 {
		animation-delay: 80ms;
	}

	.sr-service-detail-hero__lead {
		animation-delay: 160ms;
	}

	.sr-service-detail-hero__price {
		animation-delay: 240ms;
	}

	.sr-service-detail-hero__button {
		animation-delay: 320ms;
	}
}

@keyframes sr-service-detail-hero-content-in {
	from {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.sr-service-detail .site-content {
	padding-top: 0;
}

/* The previous first screen remains as a regular introductory section. */
.sr-service-detail--strategy #sr-kompleksnaya-strategiya .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--smm #sr-smm-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--context-ads #sr-yandex-direct-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--seo #sr-seo-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--websites .sr-site-page .sr-service-legacy-section {
	margin-top: 0;
	padding-top: clamp(48px, 5vw, 76px);
}

.sr-service-detail--branding #sr-branding-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--crm .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--legal #sr-legal-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

.sr-service-detail--serm #sr-serm-sport .sr-service-legacy-section {
	margin: 0;
	padding-top: clamp(48px, 5vw, 76px);
	border-radius: 0;
}

@media (max-width: 980px) {
	.sr-service-detail-hero {
		min-height: 443px;
	}

	.sr-service-detail-hero::before {
		background: linear-gradient(90deg, rgba(0, 19, 27, 0.99) 0%, rgba(0, 19, 27, 0.9) 62%, rgba(0, 19, 27, 0.34) 100%);
	}

	.sr-service-detail-hero__content {
		width: min(76%, 720px);
	}
}

@media (max-width: 620px) {
	.sr-service-detail-hero {
		min-height: 505px;
		background-position: 62% center;
	}

	.sr-service-detail-hero::before {
		background: rgba(0, 19, 27, 0.86);
	}

	.sr-service-detail-hero__shell {
		width: min(calc(100% - 32px), var(--sr-shell, 1460px));
		padding: 38px 0 42px;
	}

	.sr-service-detail-hero__content {
		width: 100%;
	}

	.sr-service-detail-hero__eyebrow {
		margin-bottom: 13px;
		font-size: 11px;
	}

	.sr-service-detail-hero h1 {
		font-size: clamp(36px, 10.4vw, 48px);
		line-height: 1.05;
	}

	.sr-service-detail-hero__lead {
		max-width: 100%;
		margin-top: 17px;
		font-size: 16px;
	}

	.sr-service-detail-hero__price {
		margin-top: 16px;
		font-size: 16px;
	}

	.sr-service-detail-hero__button {
		min-height: 50px;
		margin-top: 19px;
		padding-inline: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sr-service-detail-hero__eyebrow,
	.sr-service-detail-hero h1,
	.sr-service-detail-hero__lead,
	.sr-service-detail-hero__price,
	.sr-service-detail-hero__button {
		animation: none;
	}

	.sr-service-detail-hero__button {
		transition: none;
	}
}
