/* ==========================================================================
   Service Page Template widget  (.aew-svc)
   Body of a single service page: intro + image, numbered services, gallery, process,
   industries, why choose us, FAQ, Get Quote CTAs, sticky quote sidebar.
   ========================================================================== */

.aew-svc {
	--aew-accent: var(--aew-red);   /* control: Brand colour */
	--aew-accent-dark: var(--aew-red-dark);
	--aew-gutter: 24px;             /* control: Side gap */
	--aew-gap: 64px;                /* control: Gap between sections */
	--aew-side-w: 340px;            /* control: Sidebar width */
	--aew-sticky: 110px;            /* control: Sticky offset */
	--aew-ink: #111;
	--aew-body: #4b5160;
	--aew-line: #e8e8e8;
	--aew-soft: #f6f6f7;
	--aew-intro-ratio: 16 / 10;
	--aew-gal-ratio: 4 / 3;
	--aew-gal-cols: 2;

	box-sizing: border-box;
	padding: 80px 0 0;
	background-color: #fff;
	color: var(--aew-body);
	font-family: var(--aew-font);
	-webkit-font-smoothing: antialiased;
}

.aew-svc *,
.aew-svc *::before,
.aew-svc *::after {
	box-sizing: border-box;
}

.aew-svc__inner {
	width: calc(100% - (var(--aew-gutter) * 2));
	max-width: 1180px;
	margin-inline: auto;
}

.aew-svc__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.aew-svc--sidebar .aew-svc__layout {
	grid-template-columns: minmax(0, 1fr) var(--aew-side-w);
}

.aew-svc__main {
	display: flex;
	flex-direction: column;
	gap: var(--aew-gap);
	min-width: 0;
}

.aew-svc__section {
	min-width: 0;
}

/* no bottom band: give the page its own bottom space */
.aew-svc--no-cta {
	padding-bottom: 80px;
}

/* ---- Typography (extra class so the Elementor kit's h1–h6 styles don't win) ---- */

.aew-svc .aew-svc__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--aew-accent);
}

.aew-svc__eyebrow-line {
	flex: none;
	display: block;
	width: 35px;
	height: 2px;
	background: var(--aew-accent);
}

.aew-svc .aew-svc__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: inherit;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--aew-ink);
}

.aew-svc .aew-svc__h2 {
	margin: 0 0 26px;
	padding: 0;
	font-family: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--aew-ink);
}

.aew-svc .aew-svc__h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 14px;
	background: var(--aew-accent);
}

.aew-svc__text,
.aew-svc__text p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--aew-body);
}

.aew-svc__text p {
	margin: 0 0 16px;
}

.aew-svc__text > :last-child {
	margin-bottom: 0;
}

.aew-svc__text a {
	color: var(--aew-accent);
}

.aew-svc__text ul,
.aew-svc__text ol {
	margin: 0 0 16px;
	padding-left: 20px;
}

/* ---- Buttons ---- */

.aew-svc .aew-svc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	border: 1.5px solid var(--aew-accent);
	border-radius: 0;
	background-color: var(--aew-accent);
	color: #fff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.9px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aew-svc .aew-svc__btn:hover,
.aew-svc .aew-svc__btn:focus-visible {
	border-color: var(--aew-accent-dark);
	background-color: var(--aew-accent-dark);
	color: #fff;
}

.aew-svc .aew-svc__btn--outline {
	background-color: transparent;
	color: var(--aew-ink);
	border-color: var(--aew-ink);
}

.aew-svc .aew-svc__btn--outline:hover,
.aew-svc .aew-svc__btn--outline:focus-visible {
	border-color: var(--aew-ink);
	background-color: var(--aew-ink);
	color: #fff;
}

.aew-svc .aew-svc__btn:focus-visible {
	outline: 2px solid var(--aew-accent);
	outline-offset: 3px;
}

.aew-svc__btn svg {
	width: 15px;
	height: 15px;
	flex: none;
}

.aew-svc__btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

/* ---- Intro + image ---- */

.aew-svc__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	background-color: #1c1c1e;
}

.aew-svc__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.aew-svc__media--intro {
	margin-top: 32px;
	aspect-ratio: var(--aew-intro-ratio);
}

.aew-svc__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(45deg, #f1f1f2, #f1f1f2 12px, #e8e8ea 12px, #e8e8ea 24px);
	color: #8a8f9a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ---- Quote box inside the intro ---- */

.aew-svc__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	margin-top: 32px;
	padding: 26px 28px;
	border-left: 4px solid var(--aew-accent);
	background-color: var(--aew-soft);
}

.aew-svc__box-copy {
	flex: 1 1 320px;
	min-width: 0;
}

.aew-svc .aew-svc__box-title {
	margin: 0 0 6px;
	padding: 0;
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--aew-ink);
}

.aew-svc .aew-svc__box-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--aew-body);
}

/* ---- Services grid ---- */

.aew-svc__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-svc__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--aew-line);
	background-color: #fff;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.aew-svc__card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--aew-accent);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.3s ease;
}

.aew-svc__card:hover {
	border-color: #d6d6d9;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
	transform: translateY(-3px);
}

.aew-svc__card:hover::before {
	transform: scaleY(1);
}

.aew-svc__card-media {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #1c1c1e;
}

.aew-svc__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.aew-svc__card-body {
	padding: 26px 26px 28px;
}

.aew-svc__num {
	display: block;
	margin: 0 0 12px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.5px;
	color: var(--aew-accent);
	opacity: 0.9;
}

.aew-svc .aew-svc__card-title {
	margin: 0 0 12px;
	padding: 0;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--aew-ink);
}

.aew-svc__card .aew-svc__text,
.aew-svc__card .aew-svc__text p {
	font-size: 14px;
	line-height: 1.7;
}

/* ---- Gallery ---- */

.aew-svc__gallery {
	display: grid;
	grid-template-columns: repeat(var(--aew-gal-cols), minmax(0, 1fr));
	gap: 18px;
}

.aew-svc__shot {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: var(--aew-gal-ratio);
	background-color: #1c1c1e;
}

.aew-svc__shot img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.aew-svc__shot:hover img {
	transform: scale(1.04);
}

.aew-svc__shot figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 28px 16px 12px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.4px;
}

/* ---- Process ---- */

.aew-svc__steps {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: aew-step;
}

.aew-svc__step {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 0 22px;
	margin: 0;
	padding: 0 0 28px;
	counter-increment: aew-step;
}

.aew-svc__step:last-child {
	padding-bottom: 0;
}

.aew-svc__step::before {
	content: counter(aew-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background-color: var(--aew-ink);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	z-index: 1;
}

.aew-svc__step::after {
	content: "";
	position: absolute;
	top: 48px;
	bottom: 0;
	left: 23px;
	width: 2px;
	background: var(--aew-line);
}

.aew-svc__step:last-child::after {
	display: none;
}

.aew-svc__step:hover::before {
	background-color: var(--aew-accent);
}

.aew-svc .aew-svc__step-title {
	margin: 0 0 6px;
	padding: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--aew-ink);
}

.aew-svc .aew-svc__step-text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
}

/* ---- Industries (chips) ---- */

.aew-svc__chips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-svc__chip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	background-color: var(--aew-soft);
	border-left: 3px solid var(--aew-accent);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--aew-ink);
}

/* ---- Why choose us ---- */

.aew-svc__why-wrap {
	padding: 40px 40px 44px;
	background-color: #0b0b0c;
	color: #d7d9de;
}

.aew-svc__why-wrap .aew-svc__h2 {
	color: #fff;
}

.aew-svc__why {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-svc__why-item {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 0 14px;
	margin: 0;
}

.aew-svc__tick {
	display: flex;
	width: 26px;
	height: 26px;
	color: var(--aew-accent);
}

.aew-svc__tick svg {
	width: 100%;
	height: 100%;
}

.aew-svc .aew-svc__why-title {
	margin: 0 0 4px;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.aew-svc .aew-svc__why-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #b6b9c1;
}

.aew-svc__why-item--solo .aew-svc__why-text {
	font-size: 15px;
	color: #e6e8ec;
}

/* ---- FAQ ---- */

.aew-svc__faq {
	border-top: 1px solid var(--aew-line);
}

.aew-svc__faq-item {
	border-bottom: 1px solid var(--aew-line);
}

.aew-svc__faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 4px;
	list-style: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--aew-ink);
}

.aew-svc__faq-q::-webkit-details-marker {
	display: none;
}

.aew-svc__faq-q:hover {
	color: var(--aew-accent);
}

.aew-svc__faq-q:focus-visible {
	outline: 2px solid var(--aew-accent);
	outline-offset: -2px;
}

.aew-svc__faq-icon {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
}

.aew-svc__faq-icon::before,
.aew-svc__faq-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.aew-svc__faq-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.aew-svc__faq-item[open] .aew-svc__faq-icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.aew-svc__faq-a {
	padding: 0 40px 22px 4px;
	font-size: 14.5px;
	line-height: 1.75;
}

.aew-svc__faq-a p {
	margin: 0;
}

/* ---- Sidebar ---- */

.aew-svc__side {
	position: sticky;
	top: var(--aew-sticky);
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.aew-svc__quote {
	padding: 30px 28px 28px;
	border-top: 4px solid var(--aew-accent);
	background-color: #0b0b0c;
	color: #d7d9de;
}

.aew-svc .aew-svc__quote-title {
	margin: 0 0 10px;
	padding: 0;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.aew-svc .aew-svc__quote-text {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.65;
	color: #b6b9c1;
}

.aew-svc__quote .aew-svc__btn {
	display: flex;
	width: 100%;
	margin-top: 10px;
}

.aew-svc__quote .aew-svc__btn:first-of-type {
	margin-top: 0;
}

.aew-svc .aew-svc__quote .aew-svc__btn--outline {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.aew-svc .aew-svc__quote .aew-svc__btn--outline:hover,
.aew-svc .aew-svc__quote .aew-svc__btn--outline:focus-visible {
	border-color: #fff;
	background-color: #fff;
	color: #0b0b0c;
}

.aew-svc__related {
	padding: 26px 26px 14px;
	border: 1px solid var(--aew-line);
	background-color: #fff;
}

.aew-svc .aew-svc__related-title {
	margin: 0 0 8px;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--aew-ink);
}

.aew-svc__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-svc__links li {
	margin: 0;
	border-bottom: 1px solid var(--aew-line);
}

.aew-svc__links li:last-child {
	border-bottom: 0;
}

.aew-svc .aew-svc__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 0;
	color: var(--aew-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.aew-svc .aew-svc__links a:hover,
.aew-svc .aew-svc__links a:focus-visible {
	padding-left: 6px;
	color: var(--aew-accent);
}

.aew-svc__links svg {
	flex: none;
	width: 14px;
	height: 14px;
}

/* ---- Final CTA band ---- */

.aew-svc__cta {
	position: relative;
	margin-top: 80px;
	padding: 64px 0;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--aew-accent);
	color: #fff;
}

.aew-svc__cta-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.aew-svc__cta-bg img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.aew-svc__cta-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(11, 11, 12, 0.78);
}

.aew-svc__cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px 40px;
	width: calc(100% - (var(--aew-gutter) * 2));
	max-width: 1180px;
	margin-inline: auto;
}

.aew-svc__cta-copy {
	flex: 1 1 420px;
	min-width: 0;
}

.aew-svc .aew-svc__cta-title {
	margin: 0 0 10px;
	padding: 0;
	font-family: inherit;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.aew-svc .aew-svc__cta-text {
	max-width: 640px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.aew-svc__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.aew-svc .aew-svc__cta .aew-svc__btn {
	border-color: #fff;
	background-color: #fff;
	color: var(--aew-accent);
}

.aew-svc .aew-svc__cta .aew-svc__btn:hover,
.aew-svc .aew-svc__cta .aew-svc__btn:focus-visible {
	border-color: #0b0b0c;
	background-color: #0b0b0c;
	color: #fff;
}

.aew-svc .aew-svc__cta .aew-svc__btn--outline {
	background-color: transparent;
	color: #fff;
}

.aew-svc .aew-svc__cta .aew-svc__btn--outline:hover,
.aew-svc .aew-svc__cta .aew-svc__btn--outline:focus-visible {
	border-color: #fff;
	background-color: #fff;
	color: var(--aew-accent);
}

.aew-svc .aew-svc__cta .aew-svc__btn:focus-visible {
	outline-color: #fff;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
	.aew-svc {
		padding: 60px 0 0;
	}

	.aew-svc--no-cta {
		padding-bottom: 60px;
	}

	.aew-svc--sidebar .aew-svc__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.aew-svc__side {
		position: static;
	}

	.aew-svc__cta {
		margin-top: 60px;
		padding: 52px 0;
	}
}

@media (max-width: 767px) {
	.aew-svc {
		--aew-gap: 48px;
		--aew-gal-cols: 1;

		padding: 44px 0 0;
	}

	.aew-svc--no-cta {
		padding-bottom: 44px;
	}

	.aew-svc .aew-svc__title {
		font-size: 27px;
	}

	.aew-svc .aew-svc__h2 {
		font-size: 23px;
	}

	.aew-svc__cards,
	.aew-svc__chips,
	.aew-svc__why {
		grid-template-columns: minmax(0, 1fr);
	}

	.aew-svc__why-wrap {
		padding: 30px 22px 34px;
	}

	.aew-svc__box {
		padding: 22px 20px;
	}

	.aew-svc__btn-row .aew-svc__btn,
	.aew-svc__box .aew-svc__btn,
	.aew-svc__cta-actions .aew-svc__btn {
		flex: 1 1 100%;
	}

	.aew-svc .aew-svc__cta-title {
		font-size: 24px;
	}

	.aew-svc__faq-a {
		padding-right: 4px;
	}

	.aew-svc__step {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 0 16px;
	}

	.aew-svc__step::before {
		width: 42px;
		height: 42px;
	}

	.aew-svc__step::after {
		top: 42px;
		left: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aew-svc__card,
	.aew-svc__card::before,
	.aew-svc__shot img,
	.aew-svc .aew-svc__btn,
	.aew-svc .aew-svc__links a,
	.aew-svc__faq-icon::before,
	.aew-svc__faq-icon::after {
		transition: none;
	}

	.aew-svc__card:hover,
	.aew-svc__shot:hover img {
		transform: none;
	}
}
