:root {
	--service-detail-shell: var(--shell);
	--service-detail-hero-visual-height: min(62svh, 520px);
	--service-detail-hero-visual-width: min(100%, calc(var(--service-detail-hero-visual-height) * 4 / 5.7));
	--service-detail-ink: #102a5d;
	--service-detail-ink-strong: #0a1632;
	--service-detail-blue: #0b57a4;
	--service-detail-gold: #c8a55a;
	--service-detail-line: rgba(16, 42, 93, 0.12);
	--service-detail-soft-line: rgba(16, 42, 93, 0.08);
	--service-detail-copy: rgba(10, 22, 40, 0.84);
}

.service-detail-page {
	position: relative;
	padding-top: 94px;
	background:
		radial-gradient(circle at 76% 15%, rgba(11, 87, 164, 0.1), transparent 24%),
		radial-gradient(circle at 73% 24%, rgba(200, 165, 90, 0.12), transparent 15%),
		linear-gradient(180deg, rgba(244, 247, 252, 0.92) 0%, rgba(255, 255, 255, 0.48) 18%, #fff 42%);
	overflow: hidden;
}

.service-detail-page::before,
.service-detail-page::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.service-detail-page::before {
	top: 116px;
	right: -112px;
	width: 930px;
	height: 930px;
	border: 1px solid rgba(255, 255, 255, 0.86);
	border-radius: 50%;
	opacity: 0.7;
}

.service-detail-page::after {
	top: 182px;
	right: 110px;
	width: 540px;
	height: 540px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
		radial-gradient(circle at 50% 50%, rgba(11, 87, 164, 0.08), transparent 70%);
	opacity: 0.8;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.14));
}

.service-detail-shell,
.service-detail-breadcrumb,
.service-detail-overview,
.service-detail-services,
.service-detail-strengths {
	width: var(--service-detail-shell);
	margin: 0 auto;
}

.service-detail-breadcrumb {
	padding: 20px 0 18px;
	border-bottom: 1px solid var(--service-detail-soft-line);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(16, 42, 93, 0.74);
	opacity: 0;
	transform: translateY(14px);
	animation: serviceDetailBreadcrumbReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.42s forwards;
}

.service-detail-breadcrumb a,
.service-detail-breadcrumb strong {
	color: inherit;
}

.service-detail-breadcrumb strong {
	font-weight: 700;
}

.service-detail-breadcrumb span {
	margin: 0 16px;
	color: rgba(16, 42, 93, 0.42);
}

.service-detail-page__hero {
	position: relative;
}

.service-detail-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(300px, 3fr) minmax(220px, 3fr);
	align-items: stretch;
	column-gap: clamp(28px, 3.6vw, 56px);
	min-height: calc(var(--service-detail-hero-visual-height) + 48px);
	padding: 42px 0 24px;
}

.service-detail-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 18px;
	padding: 8px 0 8px 8px;
}

.service-detail-hero__title-group {
	display: grid;
	gap: 12px;
	overflow: hidden;
	clip-path: inset(0 0 100% 0);
	transform: translateY(42px);
	animation: serviceDetailTitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.04s forwards;
}

.service-detail-hero__title {
	margin: 0;
	font-family: var(--font-en);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: 0.04em;
	color: var(--service-detail-ink);
}

.service-detail-hero__subtitle {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.04em;
	color: rgba(10, 22, 40, 0.82);
}

.service-detail-hero__icon {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-top: 4px;
	opacity: 0;
	transform: translateY(18px);
	animation: serviceDetailIconReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.36s forwards;
}

.service-detail-hero__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--service-detail-ink);
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-detail-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	opacity: 0;
	transform: translateX(32px);
	animation: serviceDetailVisualReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.62s forwards;
}

.service-detail-hero__visual-frame {
	position: relative;
	width: var(--service-detail-hero-visual-width);
	height: var(--service-detail-hero-visual-height);
	aspect-ratio: 4 / 5.7;
	margin: 0 auto;
	border: 1px solid rgba(18, 27, 55, 0.08);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.08)),
		radial-gradient(circle at 76% 70%, rgba(200, 165, 90, 0.12), transparent 24%);
	box-shadow: 0 28px 58px rgba(16, 34, 69, 0.08);
	overflow: hidden;
}

.service-detail-hero__meta {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: var(--service-detail-hero-visual-height);
	max-height: 100%;
	padding: 8px 0 8px 8px;
	padding-right: 48px;
	padding-bottom: 110px;
	gap: 32px;
	align-self: flex-start;
	overflow: hidden;
}

.service-detail-hero__visual-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
		linear-gradient(180deg, rgba(11, 87, 164, 0.04), rgba(11, 87, 164, 0));
	pointer-events: none;
	z-index: 1;
}

.service-detail-hero__visual-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: scale(1.065);
	animation: serviceDetailImageScale 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.62s forwards;
}

.service-detail-hero__lead {
	margin: 0;
	max-width: 260px;
	line-height: 1.95;
	color: var(--service-detail-copy);
	opacity: 0;
	transform: translateY(18px);
	animation: serviceDetailLeadReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.96s forwards;
}

.service-detail-hero__lead p {
	margin: 0;
	font-size: 12px !important;
}

.service-detail-hero__lead p + p {
	margin-top: 8px;
}

.service-detail-hero__scroll {
	position: absolute;
	right: 0;
	bottom: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	z-index: 5;
	opacity: 0;
	transform: translateY(18px);
	animation: serviceDetailScrollReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.66s forwards;
}

.service-detail-hero__scroll span {
	font-family: var(--font-en);
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.42em;
	writing-mode: vertical-rl;
	color: rgba(20, 25, 54, 0.28);
}

.service-detail-hero__scroll i {
	display: block;
	width: 1px;
	height: clamp(110px, calc(var(--service-detail-hero-visual-height) * 0.24), 150px);
	background: rgba(20, 25, 54, 0.12);
	position: relative;
	overflow: hidden;
}

.service-detail-hero__scroll i::after {
	content: "";
	position: absolute;
	left: 0;
	top: -80px;
	width: 100%;
	height: 56px;
	background: linear-gradient(180deg, transparent, var(--service-detail-gold));
	animation: scrollFlowVertical 2.4s ease-in-out infinite;
}

@keyframes scrollFlowVertical {
	0% { top: -56px; }
	100% { top: 100%; }
}

@keyframes serviceDetailTitleReveal {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(42px);
	}
	to {
		clip-path: inset(0 0 0 0);
		transform: translateY(0);
	}
}

@keyframes serviceDetailIconReveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes serviceDetailVisualReveal {
	from {
		opacity: 0;
		transform: translateX(32px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes serviceDetailImageScale {
	from {
		transform: scale(1.065);
	}
	to {
		transform: scale(1);
	}
}

@keyframes serviceDetailLeadReveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes serviceDetailBreadcrumbReveal {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes serviceDetailScrollReveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-detail-overview,
.service-detail-services,
.service-detail-strengths {
	position: relative;
	padding-top: 42px;
	border-bottom: none;
}

.service-detail-overview::after,
.service-detail-services::after,
.service-detail-strengths::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: min(90vw, 1600px);
	height: 1px;
	background: var(--line-strong);
}

.service-detail-strengths::after {
	display: none;
}

.service-detail-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 30px;
}

.service-detail-heading--overview {
	align-items: center;
	margin-bottom: 10px;
}

.service-detail-heading h2 {
	margin: 0;
	font-size: 30px;
	font-family: var(--font-en);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0.06em;
	color: var(--service-detail-ink);
}

.service-detail-heading__subtitle {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--service-detail-ink);
}

.service-detail-overview {
	padding-bottom: 62px;
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-detail-overview__band {
	display: grid;
	gap: 12px;
	width: min(80%, 1120px);
	margin: 0 auto;
	padding: 42px clamp(28px, 4vw, 56px) 46px;
	border: 1px solid rgba(120, 164, 223, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(235, 244, 255, 0.88), rgba(244, 249, 255, 0.96));
	box-shadow: 0 18px 44px rgba(16, 34, 69, 0.04);
	text-align: center;
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-detail-overview.is-visible,
.service-detail-overview__band.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.service-detail-overview__band h2 {
	margin: 0;
	max-width: 780px;
	margin-inline: auto;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: 0.04em;
	color: var(--service-detail-ink);
}

.service-detail-overview__copy {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	max-width: 860px;
	margin: 0 auto;
	line-height: 2.1;
	color: var(--service-detail-copy);
}

.service-detail-overview__copy p {
	margin: 0;
	font-size: 12px !important;
}

.service-detail-services {
	padding-bottom: 62px;
}

.service-detail-service-list {
	display: grid;
}

.service-detail-service-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	padding: 26px 0;
	border-top: 1px solid var(--service-detail-line);
}

.service-detail-service-item:first-child {
	padding-top: 12px;
	border-top: 0;
}

.service-detail-service-item__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(228, 238, 255, 0.72), rgba(245, 248, 255, 0.96));
	box-shadow: inset 0 0 0 1px rgba(16, 42, 93, 0.06);
}

.service-detail-service-item__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: var(--service-detail-blue);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-detail-service-item__body h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--service-detail-ink);
}

.service-detail-service-item__body p {
	margin: 0;
	max-width: none;
	width: 100%;
	font-size: 12px !important;
	line-height: 1.95;
	color: var(--service-detail-copy);
}

.service-detail-strengths {
	padding-bottom: 72px;
}

.service-detail-strength-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

.service-detail-strength-item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 28px 32px;
	border: 1px solid rgba(15, 86, 168, 0.12);
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)),
		radial-gradient(circle at top right, rgba(57, 123, 226, 0.12), transparent 42%);
	box-shadow: 0 20px 48px rgba(13, 41, 86, 0.08);
	overflow: hidden;
}

.service-detail-strength-item::before {
	content: "";
	position: absolute;
	inset: 0 0 auto auto;
	width: 180px;
	height: 100%;
	background: linear-gradient(135deg, rgba(31, 108, 210, 0.14), transparent 52%);
	pointer-events: none;
}

.service-detail-strength-item__number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: fit-content;
	margin: 0;
	font-family: var(--font-en);
	line-height: 1;
	color: var(--service-detail-ink);
}

.service-detail-strength-item__number-main {
	display: inline-flex;
	align-items: center;
	padding-right: 6px;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: transparent;
	background: linear-gradient(180deg, #1f6cd2 0%, #0f2f63 85%);
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow: 0 12px 24px rgba(31, 108, 210, 0.12);
}

.service-detail-strength-item h3 {
	position: relative;
	z-index: 1;
	margin: 0;
	min-height: 3.1em;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.55;
	color: var(--service-detail-ink);
}

.service-detail-strength-item p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 12px !important;
	line-height: 2;
	color: var(--service-detail-copy);
}

@media (max-width: 1200px) {
	:root {
		--service-detail-hero-visual-height: min(56svh, 460px);
	}

	.service-detail-hero {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
		grid-template-areas:
			"copy visual"
			"meta visual";
		row-gap: 30px;
		min-height: auto;
		padding-bottom: 64px;
	}

	.service-detail-hero__copy {
		grid-area: copy;
		padding-right: 8px;
	}

	.service-detail-hero__visual {
		grid-area: visual;
		justify-content: center;
		align-self: stretch;
	}

	.service-detail-hero__visual-frame {
		width: var(--service-detail-hero-visual-width);
	}

	.service-detail-hero__meta {
		grid-area: meta;
		max-width: 420px;
		padding-top: 0;
	}

	.service-detail-strength-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

}

@media (max-width: 960px) {
	:root {
		--service-detail-hero-visual-height: auto;
		--service-detail-hero-visual-width: min(100%, 380px);
	}

	.service-detail-shell,
	.service-detail-breadcrumb,
	.service-detail-overview,
	.service-detail-services,
	.service-detail-strengths {
		width: min(100% - 40px, 960px);
	}

	.service-detail-service-item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 18px;
	}

	.service-detail-hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"visual"
			"meta";
		row-gap: 24px;
	}

	.service-detail-hero__copy,
	.service-detail-hero__meta {
		padding-left: 0;
		padding-right: 0;
		max-width: none;
	}

	.service-detail-hero__meta {
		height: auto;
		max-height: none;
		padding-bottom: 0;
		overflow: visible;
	}

	.service-detail-hero__visual {
		justify-content: flex-start;
		align-items: flex-start;
	}

	.service-detail-hero__scroll {
		position: static;
		right: auto;
		bottom: auto;
		margin-top: 12px;
	}

}

@media (max-width: 767px) {
	:root {
		--service-detail-hero-visual-height: auto;
		--service-detail-hero-visual-width: min(100%, 360px);
	}

	.service-detail-shell,
	.service-detail-breadcrumb,
	.service-detail-overview,
	.service-detail-services,
	.service-detail-strengths {
		width: min(calc(100% - 80px), 100%);
	}

	.service-detail-breadcrumb {
		padding: 16px 0 14px;
		font-size: 0.72rem;
	}

	.service-detail-breadcrumb span {
		margin: 0 10px;
	}

	.service-detail-page {
		padding-top: 38px;
	}

	.service-detail-hero {
		padding-top: 36px;
		padding-bottom: 52px;
		row-gap: 22px;
	}

	.service-detail-hero__title {
		font-size: 30px;
		line-height: 1.16;
	}

	.service-detail-hero__subtitle {
		font-size: 14px;
		line-height: 1.7;
	}

	.service-detail-hero__icon {
		width: 46px;
		height: 46px;
	}

	.service-detail-hero__lead,
	.service-detail-overview__copy,
	.service-detail-service-item__body p,
	.service-detail-strength-item p {
		font-size: 12px !important;
		line-height: 1.9;
	}

	.service-detail-hero__visual-frame {
		width: min(100%, 320px);
		border-radius: 24px;
	}

	.service-detail-hero__meta {
		gap: 18px;
	}

	.service-detail-hero__scroll {
		display: none;
	}

	.service-detail-overview,
	.service-detail-services,
	.service-detail-strengths {
		padding-top: 36px;
	}

	.service-detail-heading h2 {
		font-size: 24px;
	}

	.service-detail-heading__subtitle {
		font-size: 13px;
	}

	.service-detail-overview__band {
		width: 100%;
		padding: 30px 22px 34px;
		border-radius: 16px;
	}

	.service-detail-overview__band h2 {
		font-size: 20px !important;
		line-height: 1.3;
	}

	.service-detail-service-item {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.service-detail-service-item__icon {
		width: 64px;
		height: 64px;
	}

	.service-detail-service-item__body h3,
	.service-detail-strength-item h3 {
		font-size: 18px !important;
	}

	.service-detail-strength-item {
		padding: 24px 22px 26px;
		border-radius: 22px;
	}

	.service-detail-strength-item__number-main {
		font-size: 30px;
	}
}
