.site-main--services {
	position: relative;
	margin-top: calc(var(--agency-header-height) * -1);
	padding-top: var(--agency-header-height);
	overflow: clip;
	background: #05070d;
	color: #ffffff;
}

.services-page {
	position: relative;
	background:
		radial-gradient(circle at 10% 8%, rgba(6, 216, 137, 0.1), transparent 20%),
		radial-gradient(circle at 90% 12%, rgba(6, 216, 137, 0.08), transparent 18%),
		linear-gradient(180deg, #040608 0%, #05070d 100%);
}

.services-page::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.008) 0,
			rgba(255, 255, 255, 0.008) 1px,
			transparent 1px,
			transparent 4px
		),
		repeating-linear-gradient(
			0deg,
			rgba(255, 255, 255, 0.004) 0,
			rgba(255, 255, 255, 0.004) 1px,
			transparent 1px,
			transparent 5px
		);
	opacity: 0.2;
	pointer-events: none;
}

.services-container {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 56px), 1320px);
	margin-inline: auto;
}

.services-hero,
.services-listing {
	position: relative;
}

.services-hero {
	z-index: 1;
	overflow: hidden;
	padding: 92px 0 68px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background:
		linear-gradient(180deg, rgba(3, 6, 9, 0.94) 0%, rgba(4, 8, 11, 0.96) 100%);
}

.services-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 6% 35%, rgba(6, 216, 137, 0.12), transparent 18%),
		radial-gradient(circle at 96% 16%, rgba(6, 216, 137, 0.12), transparent 16%),
		repeating-linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.012) 0,
			rgba(255, 255, 255, 0.012) 1px,
			transparent 1px,
			transparent 5px
		);
	opacity: 0.7;
	pointer-events: none;
}

.services-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
	pointer-events: none;
}

.services-hero__inner {
	position: relative;
	z-index: 2;
}

.services-hero__breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
}

.services-hero__breadcrumbs a:hover,
.services-hero__breadcrumbs a:focus {
	color: var(--agency-color-accent);
}

.services-hero__breadcrumb-separator {
	color: rgba(255, 255, 255, 0.45);
}

.services-hero__content {
	position: relative;
	max-width: 100%;
	isolation: isolate;
}

.services-hero__content::before {
	content: "SERVICES";
	position: absolute;
	left: 76px;
	top: 24px;
	z-index: 1;
	color: rgba(255, 255, 255, 0.06);
	font-size: clamp(5.8rem, 11.5vw, 10.8rem);
	font-weight: 800;
	line-height: 0.8;
	letter-spacing: -0.065em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.services-hero__eyebrow,
.services-hero__title-wrap,
.services-hero__marquee,
.services-hero__summary {
	position: relative;
	z-index: 2;
}

.services-hero__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	min-height: 38px;
	padding: 8px 16px;
	margin-bottom: 20px;
	border: 1px solid rgba(6, 216, 137, 0.28);
	border-radius: 8px;
	background: rgba(6, 216, 137, 0.06);
	color: var(--agency-color-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
}

.services-hero__title-wrap {
	display: block;
	max-width: 100%;
}

.services-hero__title-wrap::before {
	content: none;
}

.services-hero__title {
	position: relative;
	z-index: 2;
	margin: 0;
	max-width: 920px;
	color: #ffffff;
	font-size: clamp(2rem, 3.45vw, 3.65rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.services-hero__title::before {
	content: none;
}

.services-hero__title span {
	display: inline;
	white-space: nowrap;
}

.services-hero__title span:not(:last-child)::after {
	content: " ";
}

.services-hero__marquee {
	margin-top: 34px;
}

.services-hero__marquee-row {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.services-hero__marquee-track {
	display: flex;
	gap: 14px;
	width: max-content;
	animation: servicesHeroMarquee 42s linear infinite;
	will-change: transform;
}

.services-hero-card {
	flex: 0 0 auto;
	width: 264px;
	min-width: 264px;
	padding: 15px 18px 17px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(9, 12, 16, 0.96) 0%, rgba(6, 9, 12, 0.98) 100%);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.16),
		0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.services-hero-card__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--agency-color-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.services-hero-card__label::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--agency-color-accent);
	box-shadow: 0 0 16px rgba(6, 216, 137, 0.35);
}

.services-hero-card__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.services-hero__summary {
	max-width: 880px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
}

@keyframes servicesHeroMarquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-50% - 7px));
	}
}

.services-listing {
	z-index: 2;
	padding: 100px 0;
	background: #1e1c22;
}

.services-listing::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 8% 0%, rgba(6, 216, 137, 0.07), transparent 22%),
		radial-gradient(circle at 88% 76%, rgba(6, 216, 137, 0.08), transparent 22%);
	pointer-events: none;
}

.services-listing__container {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 48px), 1280px);
	margin-inline: auto;
}

.services-listing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.services-card {
	position: relative;
	min-height: 270px;
	padding: 30px 30px 42px;
	overflow: hidden;
	border-radius: 0;
	background: #161519;
	isolation: isolate;
	transition:
		transform 0.45s ease,
		box-shadow 0.45s ease;
}

.services-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(9, 12, 20, 0.98) 0%, rgba(9, 12, 20, 0.98) 56%, rgba(5, 36, 35, 0.28) 100%),
		linear-gradient(180deg, #161519 0%, #161519 100%);
	transition: opacity 0.5s ease;
}

.services-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.services-card__background {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.services-card__background::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba(23, 24, 28, 0.75);
}

.services-card__background img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.services-card:hover::after {
	opacity: 0;
}

.services-card:hover .services-card__background {
	opacity: 1;
}

.services-card__number,
.services-card__content,
.services-card__footer {
	position: relative;
	z-index: 2;
}

.services-card__number {
	margin-bottom: 14px;
}

.services-card__number span {
	display: inline-block;
	margin: 0;
	color: rgba(255, 255, 255, 0.08);
	font-size: 50px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.03em;
	transition: color 0.5s ease;
}

.services-card:hover .services-card__number span {
	color: rgba(255, 255, 255, 0.2);
}

.services-card__title {
	margin: 0 0 13px;
	color: #ffffff;
	font-size: 27px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: capitalize;
}

.services-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

.services-card__title a:hover,
.services-card__title a:focus {
	color: #ffffff;
}

.services-card__description {
	max-width: 302px;
	margin: 0 0 28px;
	color: #b5b5b5;
	font-size: 14px;
	font-weight: 300;
	line-height: 2.05;
	letter-spacing: 0.03em;
	transition: color 0.5s ease;
}

.services-card:hover .services-card__description {
	color: rgba(255, 255, 255, 0.7);
}

.services-card__footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.services-card__link {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--agency-color-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.25s ease;
}

.services-card__link span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.services-card__link svg {
	width: 16px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition:
		transform 0.4s ease,
		stroke 0.4s ease;
}

.services-card__link:hover,
.services-card__link:focus {
	color: #ffffff;
}

.services-card__link:hover svg,
.services-card__link:focus svg {
	transform: translateX(4px);
	stroke: #ffffff;
}

.services-card__icon {
	position: absolute;
	right: 18px;
	bottom: -2px;
	z-index: 2;
	width: 60px;
	height: 60px;
	transform-origin: right bottom;
	pointer-events: none;
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
}

.services-card__icon::after {
	content: "";
	position: absolute;
	right: -82px;
	bottom: -92px;
	z-index: -1;
	width: 176px;
	height: 176px;
	border-radius: 50%;
	background-color: rgba(6, 216, 137, 0.12);
}

.services-card:hover .services-card__icon {
	opacity: 0;
	transform: scale(0);
}

.services-card__icon img {
	position: relative;
	z-index: 2;
	display: block;
	width: 60px;
	height: 60px;
	object-fit: contain;
	transform: translate(8px, -8px);
}

@media (prefers-reduced-motion: reduce) {
	.services-hero__marquee-track {
		animation: none;
	}
}

@media (max-width: 1199px) {
	.services-hero {
		padding-top: 84px;
	}

	.services-hero__content::before {
		left: 64px;
		top: 22px;
		color: rgba(255, 255, 255, 0.055);
		font-size: clamp(4.8rem, 10vw, 8.4rem);
	}

	.services-hero__title {
		max-width: 820px;
		font-size: clamp(1.95rem, 3.5vw, 3.35rem);
	}

	.services-listing {
		padding-top: 96px;
	}

	.services-listing__container {
		width: min(calc(100% - 40px), 1200px);
	}

	.services-listing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.services-card {
		min-height: 280px;
	}
}

@media (max-width: 991px) {
	.site-main--services {
		margin-top: -88px;
		padding-top: 88px;
	}

	.services-hero__content::before {
		left: 48px;
		top: 18px;
		color: rgba(255, 255, 255, 0.052);
		font-size: clamp(3.8rem, 10.5vw, 6.4rem);
	}

	.services-hero__title {
		max-width: 100%;
		font-size: clamp(1.9rem, 5.2vw, 3rem);
	}

	.services-hero__title span {
		white-space: normal;
	}

	.services-hero-card {
		width: 230px;
		min-width: 230px;
	}

	.services-listing {
		padding: 76px 0 96px;
	}

	.services-listing__container {
		width: min(calc(100% - 32px), 960px);
	}
}

@media (max-width: 767px) {
	.services-container {
		width: min(calc(100% - 40px), 1320px);
	}

	.services-hero {
		padding: 76px 0 52px;
	}

	.services-hero__breadcrumbs {
		margin-bottom: 18px;
		font-size: 14px;
	}

	.services-hero__eyebrow {
		min-height: 34px;
		padding: 8px 14px;
		margin-bottom: 16px;
		font-size: 12px;
	}

	.services-hero__content::before {
		left: 32px;
		top: 16px;
		color: rgba(255, 255, 255, 0.048);
		font-size: clamp(2.8rem, 12vw, 4.8rem);
	}

	.services-hero__title {
		font-size: clamp(1.75rem, 7vw, 2.55rem);
		line-height: 1;
	}

	.services-hero__marquee {
		margin-top: 24px;
	}

	.services-hero-card {
		width: 210px;
		min-width: 210px;
		padding: 15px 16px 16px;
		border-radius: 16px;
	}

	.services-hero-card__label {
		font-size: 11px;
	}

	.services-hero-card__text {
		font-size: 13px;
	}

	.services-hero__summary {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.7;
	}

	.services-listing {
		padding: 64px 0 76px;
	}

	.services-listing__container {
		width: min(calc(100% - 24px), 100%);
	}

	.services-listing__grid {
		grid-template-columns: 1fr;
		gap: 24px;
		max-width: 520px;
		margin-inline: auto;
	}

	.services-card {
		min-height: 260px;
		padding: 24px 22px 40px;
	}

	.services-card__title {
		font-size: 24px;
	}

	.services-card__description {
		max-width: none;
		line-height: 1.95;
	}

	.services-card__icon {
		right: 14px;
		bottom: -4px;
	}

	.services-card__icon::after {
		right: -72px;
		bottom: -82px;
		width: 156px;
		height: 156px;
	}

	.services-card__icon img {
		transform: translate(6px, -6px);
	}
}

@media (max-width: 576px) {
	.services-container {
		width: min(calc(100% - 32px), 1320px);
	}
}

@media (max-width: 480px) {
	.services-hero__marquee-row {
		mask-image: none;
		-webkit-mask-image: none;
	}

	.services-hero-card {
		width: 190px;
		min-width: 190px;
	}

	.services-card {
		padding: 24px 22px 40px;
	}

	.services-card__number span {
		font-size: 44px;
	}

	.services-card__title {
		font-size: 22px;
	}

	.services-card__link {
		font-size: 12px;
	}
}