body.template-all-services {
	background-color: #030406;
}

.template-all-services .site-shell {
	background:
		linear-gradient(180deg, rgba(6, 8, 12, 0.82) 0%, rgba(6, 8, 12, 0.44) 24%, rgba(3, 5, 8, 0.88) 100%),
		radial-gradient(circle at 80% 22%, rgba(25, 137, 208, 0.14), transparent 22%),
		var(--mad-all-services-bg, url("../../images/body-bg1.png")) no-repeat left bottom / cover;
}

.template-all-services .site-header {
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(10px);
}

.template-all-services .site-header.has-solid-bg {
	background: rgba(0, 0, 0, 0.96);
}

.all-services-page {
	position: relative;
	padding-top: 118px;
}

.all-services-page__kicker,
.all-services-cta__kicker {
	margin: 0 0 16px;
	color: var(--mad-accent);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: none;
}

.all-services-page__section-title,
.all-services-hero__title,
.all-services-cta__title {
	margin: 0;
	font-family: var(--mad-font-heading);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.08;
	text-wrap: balance;
}

.all-services-page__section-title {
	font-size: clamp(2.35rem, 1.95rem + 1vw, 3rem);
}

.all-services-page__button {
	min-width: 120px;
	min-height: 48px;
	padding: 12px 24px;
	font-size: 1rem;
}
.all-services-page__button-contact {
	min-width: 190px;
}

.all-services-hero {
	position: relative;
	padding: 50px 0 48px;
}

.all-services-hero::after,
.all-services-process::before {
	content: "";
	position: absolute;
	left: 50%;
	width: var(--mad-container);
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
	transform: translateX(-50%);
}

.all-services-hero::after {
	bottom: 0;
}

.all-services-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
	align-items: end;
	gap: clamp(46px, 6vw, 112px);
}

.all-services-hero__title {
	max-width: 8.3ch;
	font-size: clamp(3.3rem, 4.7vw, 3.75rem);
}

.all-services-hero__aside {
	max-width: 470px;
	padding-bottom: 6px;
}

.all-services-hero__description,
.all-services-overview__description,
.all-services-story__description {
	margin: 0;
	color: rgba(247, 248, 251, 0.68);
	font-size: 1rem;
	line-height: 1.55;
}

.all-services-hero__actions,
.all-services-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.all-services-overview {
	padding: 40px 0 80px;
}

.all-services-overview__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
	align-items: end;
	gap: clamp(36px, 6vw, 96px);
	margin-bottom: 44px;
}

.all-services-overview__intro {
	max-width: 720px;
}

.all-services-overview__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 24px;
}

.all-services-overview__description {
	max-width: 470px;
}

.all-services-overview__button {
	min-width: 120px;
}

.all-services-page .service-grid {
	grid-template-columns: repeat(var(--mad-service-grid-columns, 4), minmax(0, 1fr));
	column-gap: 2%;
	row-gap: 50px;
}

.all-services-page .service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-bottom: 0;
	padding: 5px 5px 10px;
	background: #181818;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: none;
	transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.all-services-page .service-card:hover,
.all-services-page .service-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(25, 137, 208, 0.35);
	background: #1b1b1b;
}

.all-services-page .service-card__media {
	height: clamp(240px, 20vw, 316px);
	aspect-ratio: auto;
	border-bottom: 0;
	background: #090d13;
	margin-bottom: 20px;
}

.all-services-page .service-card__media::after {
	background: linear-gradient(180deg, rgba(4, 7, 11, 0) 0%, rgba(4, 7, 11, 0.16) 100%);
}

.all-services-page .service-card__media img {
	transition: transform 0.35s ease;
}

.all-services-page .service-card:hover .service-card__media img,
.all-services-page .service-card:focus-within .service-card__media img {
	transform: scale(1.03);
}

.all-services-page .service-card__body {
	display: grid;
	flex: 1 1 auto;
	align-content: start;
	gap: 10px;
	padding: 0 10px;
}

.all-services-page .service-card__title {
	margin: 0;
	padding-top: 2px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.04;
}

.all-services-page .service-card__description {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	line-height: 22px;
}

.all-services-process {
	position: relative;
	padding: 30px 0 80px;
}

.all-services-process::before {
	top: 0;
}

.all-services-process__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(44px, 5vw, 84px);
}

.all-services-process__intro {
	max-width: 650px;
	padding-top: 8px;
}

.all-services-benefits {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.all-services-benefits__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.all-services-benefits__item--has-connector {
	min-height: 164px;
}

.all-services-benefits__visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 48px;
}

.all-services-benefits__cube {
	width: 48px;
	height: 48px;
	max-width: none;
	object-fit: contain;
}

.all-services-benefits__connector {
	width: 48px;
	max-width: none;
	margin-top: 0;
	margin-bottom: 35px;
	object-fit: contain;
	object-position: top center;
}

.all-services-benefits__content {
	padding-top: 4px;
}

.all-services-benefits__title {
	margin: 0 0 10px;
	font-family: var(--mad-font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.all-services-benefits__description {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	line-height: 1.5;
}

.all-services-showcase {
	padding: 80px 0 80px;
}

.all-services-story {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.48fr) minmax(340px, 0.52fr);
	align-items: center;
	gap: clamp(44px, 6vw, 90px);
}

.all-services-story:not(:last-child) {
	margin-bottom: 80px;
}

.all-services-story::before {
	content: "";
	position: absolute;
	inset: -10% -12% -10% 26%;
	background: radial-gradient(circle at center, rgba(25, 137, 208, 0.16), rgba(25, 137, 208, 0) 66%);
	pointer-events: none;
}

.all-services-story--reverse {
	grid-template-columns: minmax(340px, 0.52fr) minmax(0, 0.48fr);
}

.all-services-story--reverse::before {
	inset: -10% 26% -10% -12%;
}

.all-services-story--reverse .all-services-story__copy {
	order: 2;
}

.all-services-story--reverse .all-services-story__media {
	order: 1;
}

.all-services-story__copy {
	position: relative;
	z-index: 1;
	max-width: 80%;
}

.all-services-story__description {
	margin-top: 20px;
}

.all-services-story__media {
	position: relative;
	z-index: 1;
	margin: 0;
	aspect-ratio: 616 / 640;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.all-services-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.all-services-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(79deg, #1989d0 16.46%, #136aa2 83.54%);
}

.all-services-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 16% 50%, rgba(255, 255, 255, 0.14), transparent 24%),
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 18%);
	pointer-events: none;
}

.all-services-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
	padding: 30px 0 32px;
}

.all-services-cta__copy {
	max-width: 760px;
}

.all-services-cta__kicker {
	color: rgba(255, 255, 255, 0.9);
}

.all-services-cta__title {
	max-width: 12ch;
	font-size: clamp(2.85rem, 3.2vw, 3.95rem);
	line-height: 1.16;
}

.all-services-cta__description {
	max-width: 540px;
	margin: 18px 0 0;
	color: #fff;
	font-size: 18px;
	line-height: 1.55;
}

.all-services-cta__actions {
	justify-content: flex-end;
	margin-top: 0;
}

.all-services-cta__button {
	min-width: 132px;
}

.all-services-cta__button--light {
	background: #fff;
	border-color: #fff;
	color: #000;
	width: 270px;
}

.all-services-cta__button--light:hover,
.all-services-cta__button--light:focus-visible {
	border-color: #fff;
	color: #fff;
}

.all-services-cta__button--accent {
	background: #2f91cf;
	border-color: #2f91cf;
	color: #fff;
}

.all-services-cta__button--accent:hover,
.all-services-cta__button--accent:focus-visible {
	border-color: #2f91cf;
	color: #2f91cf;
}

/* .template-all-services .contact-band {
	background:
		linear-gradient(180deg, rgba(7, 24, 38, 0.48), rgba(5, 13, 21, 0.9)),
		radial-gradient(circle at 82% 22%, rgba(25, 137, 208, 0.18), transparent 28%),
		var(--mad-contact-bg, url("../../../../uploads/2026/04/contact-bg.png")) center / cover no-repeat,
		var(--mad-band);
	border-top: 0;
} */

.template-all-services .contact-band__inner {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(36px, 6vw, 84px);
	padding: 54px 0 58px;
}

.template-all-services .contact-band__details {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	padding-top: 0;
}

.template-all-services .contact-band__item {
	padding-top: 12px;
	/* border-top: 1px solid rgba(255, 255, 255, 0.12); */
}

.template-all-services .site-footer {
	padding-bottom: 34px;
	background: linear-gradient(180deg, rgba(5, 9, 14, 0) 0%, rgba(4, 6, 10, 0.42) 24%, rgba(3, 5, 8, 1) 100%);
}

.template-all-services .site-footer__inner {
	padding-top: 42px;
}

@media (max-width: 1280px) {
	.all-services-page .service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 24px;
	}

	.all-services-story,
	.all-services-story--reverse {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.all-services-story__copy {
		max-width: 100%;
	}

	.template-all-services .contact-band__details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.all-services-page {
		padding-top: 108px;
	}

	.all-services-hero__inner,
	.all-services-overview__heading,
	.all-services-process__inner,
	.all-services-story,
	.all-services-story--reverse,
	.all-services-cta__inner,
	.template-all-services .contact-band__inner {
		grid-template-columns: 1fr;
	}

	.all-services-hero__aside,
	.all-services-overview__description,
	.all-services-story__description {
		max-width: none;
	}

	.all-services-overview__content {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.all-services-page .service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 30px;
	}

	.all-services-process {
		padding-top: 38px;
	}

	.all-services-benefits {
		max-width: 720px;
	}

	.all-services-story:not(:last-child) {
		margin-bottom: 64px;
	}

	.all-services-story--reverse .all-services-story__copy,
	.all-services-story--reverse .all-services-story__media {
		order: initial;
	}

	.all-services-cta__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 840px) {
	:root {
		--mad-page-gutter: 16px;
	}

	.all-services-page {
		padding-top: 98px;
	}

	.all-services-hero {
		padding: 34px 0 40px;
	}

	.all-services-hero__title {
		font-size: clamp(2.95rem, 10vw, 3.6rem);
	}

	.all-services-page__section-title {
		font-size: clamp(2.1rem, 7vw, 2.6rem);
	}

	.all-services-showcase {
		padding-top: 70px;
	}

	.template-all-services .contact-band__details {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.all-services-page__button,
	.all-services-page__button-contact,
	.all-services-overview__button,
	.all-services-cta__button {
		width: 100%;
	}

	.all-services-hero__actions,
	.all-services-cta__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.all-services-page .service-grid,
	.template-all-services .contact-band__details {
		grid-template-columns: 1fr;
	}

	.all-services-benefits__item {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.all-services-story__media {
		aspect-ratio: 1 / 1;
	}
}
