/* =========================================================
   SINGLE SERVICE PAGE - BASE
========================================================= */

.alston-single-service {
	width: 100%;
	overflow: hidden;
	background: #ffffff;
	color: #181A1F;
}

.alston-single-service *,
.alston-single-service *::before,
.alston-single-service *::after {
	box-sizing: border-box;
}

.alston-single-service img,
.alston-single-service video {
	max-width: 100%;
	display: block;
}

.alston-single-service a {
	text-decoration: none;
	color: inherit;
}

.alston-service-hero__inner,
.alston-service-steps__inner,
.alston-service-intro__inner,
.alston-service-gallery__inner,
.alston-service-content-sections__inner,
.alston-related-services__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-left: 5px;
	padding-right: 5px;
}


/* =========================================================
   HERO / BREADCRUMB / FORM
========================================================= */

.alston-service-hero {
	width: 100%;
	position: relative;
	background: #ffffff;
	overflow: visible;
}

.alston-service-hero__top {
	width: 100%;
	background: #181A1F;
	position: relative;
	z-index: 3;
	padding: 190px 0 0;
}

.alston-service-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
	gap: 50px;
	align-items: start;
	position: relative;
}

.alston-service-hero__content {
	color: #ffffff;
	padding-top: 20px;
}

.alston-service-hero__title {
	font-family: var(--font-family-main, inherit);
	font-weight: 600;
	font-size: 44px;
	line-height: 58px;
	color: #ffffff;
	text-transform: capitalize;
	margin: 0 0 10px;
}

.alston-service-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-top: 10px;
	color: #ffffff;
	font-size: 15px;
	line-height: 24px;
	margin: 0;
}

.alston-service-breadcrumb a,
.alston-service-breadcrumb span {
	color: #ffffff;
}


/* =========================================================
   FORM BOX
========================================================= */

.alston-service-form-box {
	width: 100%;
	max-width: 750px;
	background: #ffffff;
	border-radius: 0;
	padding: 28px;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(0, 0, 0, 0.06);
	position: relative;
	z-index: 10;
	margin-top: 0;
	margin-bottom: -450px;
	justify-self: end;
}

.alston-service-form-box .wpcf7 {
	width: 100%;
}

.alston-service-form-box .wpcf7-form,
.alston-cf7-form {
	display: grid;
	gap: 14px;
}

.alston-service-form-box p {
	margin: 0;
}

/* =========================================================
   TWO COLUMN GRID
========================================================= */

.alston-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 14px;
	row-gap: 0px;
	width: 100%;
}

.alston-cf7-full {
	grid-column: 1 / -1;
}

/* =========================================================
   LABELS
========================================================= */

.alston-service-form-box label,
.alston-cf7-form label {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	color: #181A1F;
	gap: 5px;
	width: 100%;
}

.alston-service-form-box label span:first-child,
.alston-cf7-form label > span:first-child {
	display: block;
	margin: 0;
}

.alston-cf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* =========================================================
   INPUTS
========================================================= */

.alston-service-form-box input:not([type="submit"]),
.alston-service-form-box select,
.alston-service-form-box textarea {
	width: 100%;
	border: 1px solid #dedede;
	background: #ffffff;
	border-radius: 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 20px;
	color: #181A1F;
	outline: none;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease;
	font-family: inherit;
	box-shadow: none;
}

/* INPUT HEIGHT */

.alston-service-form-box input:not([type="submit"]),
.alston-service-form-box select {
	height: 46px;
	min-height: 46px;
}

/* TEXTAREA */

.alston-service-form-box textarea {
	height: 90px;
	min-height: 90px;
	resize: vertical;
	padding-top: 12px;
}

/* PLACEHOLDER */

.alston-service-form-box input::placeholder,
.alston-service-form-box textarea::placeholder {
	color: #8d8d8d;
	opacity: 1;
}

/* FOCUS */

.alston-service-form-box input:focus,
.alston-service-form-box select:focus,
.alston-service-form-box textarea:focus {
	border-color: #181A1F;
	box-shadow: 0 0 0 3px rgba(24, 26, 31, 0.08);
}

/* DATE FIELD */

.alston-service-form-box input[type="date"] {
	appearance: none;
	-webkit-appearance: none;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.alston-service-form-box input[type="submit"] {
	width: 100%;
	min-height: 50px;
	border: 1px solid #181A1F;
	background: #181A1F;
	color: #ffffff;
	border-radius: 0;
	padding: 14px 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.35s ease,
		color 0.35s ease,
		transform 0.35s ease;
	margin-top: 4px;
	letter-spacing: 0.02em;
}

.alston-service-form-box input[type="submit"]:hover {
	background: transparent;
	color: #181A1F;
	transform: translateY(-2px);
}

/* =========================================================
   RESPONSE + SPINNER
========================================================= */

.alston-service-form-box .wpcf7-spinner {
	margin: 10px auto 0;
	display: block;
}

.alston-service-form-box .wpcf7-response-output {
	margin: 10px 0 0 !important;
	font-size: 13px;
	line-height: 20px;
	padding: 10px 14px !important;
}


/* =========================================================
   HERO MEDIA
========================================================= */

.alston-service-hero-media {
	width: 100%;
	position: relative;
	overflow: hidden;
	background: #111111;
	z-index: 1;
}

.alston-service-hero-media__image,
.alston-service-hero-media__video {
	width: 100%;
	height: 660px;
	object-fit: cover;
	object-position: center;
	transform: scale(1.08);
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-service-hero-media.is-visible .alston-service-hero-media__image,
.alston-service-hero-media.is-visible .alston-service-hero-media__video {
	transform: scale(1);
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.alston-service-steps {
	width: 100%;
	padding: 5rem 0 3rem;
	background: #ffffff;
}

.alston-service-steps__heading {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-weight: 600;
	font-size: 44px;
	line-height: 54px;
	color: #181A1F;
	text-align: center;
	margin: 0 0 46px;
}

.alston-service-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 80px;
}

.alston-service-steps__item {
	position: relative;
	text-align: center;
	padding: 0 10px;
}

.alston-service-steps__item:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -48px;
	top: 35px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #181A1F;
	background: #ffffff;
}

.alston-service-steps__icon {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: #F0FBF7;
	color: #181A1F;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 22px;
	font-size: 24px;
	font-weight: 600;
}

.alston-service-steps__item h3 {
	font-size: 20px;
	line-height: 30px;
	font-weight: 600;
	color: #181A1F;
	margin: 0 0 12px;
}

.alston-service-steps__item p {
	font-size: 16px;
	line-height: 26px;
	color: #555555;
	margin: 0;
}


/* =========================================================
   INTRO SECTION
========================================================= */

.alston-service-intro {
	width: 100%;
	padding: 5rem 0;
	background: #ffffff;
}

.alston-service-intro__title {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-weight: 600;
	font-size: 44px;
	line-height: 54px;
	color: #181A1F;
	margin: 0 0 15px;
	max-width: 1170px;
}

.alston-service-intro__description {
	font-size: 16px;
	line-height: 26px;
	color: #555555;
	max-width: 1170px;
}

.alston-service-intro__description p {
	margin: 0 0 18px;
}

.alston-service-intro__description p:last-child {
	margin-bottom: 0;
}

.alston-service-intro__points {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
	max-width: 850px;
}

.alston-service-intro__points li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 18px;
	line-height: 28px;
	color: #181A1F;
}

.alston-service-intro__points li::before {
	content: "✓";
	width: 25px;
	height: 25px;
	min-width: 25px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	color: #181A1F;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.alston-service-button {
	margin-top: 34px;
	position: relative;
	font-family: var(--font-family-main, inherit);
	font-size: 16px;
	font-weight: 600;
	padding: 17px 80px;
	line-height: normal;
	text-align: center;
	border-radius: 0;
	background: #181A1F;
	border: 1px solid #181A1F;
	color: #ffffff !important;
	transition: 0.35s ease-in-out;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.alston-service-button:hover {
	background: transparent;
	color: #181A1F !important;
}


/* =========================================================
   GALLERY SLIDER
========================================================= */

.alston-service-gallery {
	width: 100%;
	padding: 0 0 5rem;
	background: #ffffff;
	overflow: hidden;
}

.alston-service-gallery__heading {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 44px;
	line-height: 54px;
	font-weight: 600;
	margin: 0 0 30px;
	color: #181A1F;
}

.alston-service-slider {
	width: 100%;
	position: relative;
}

.alston-service-slider__viewport {
	width: 100%;
	overflow: hidden;
}

.alston-service-slider__track {
	display: flex;
	gap: 30px;
	will-change: transform;
	transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-service-slider__slide {
	flex: 0 0 calc((100% - 30px) / 2);
	min-width: calc((100% - 30px) / 2);
	overflow: hidden;
	background: #f6f6f6;
	min-height: 390px;
}

.alston-service-slider__slide img {
	width: 100%;
	height: 390px;
	min-height: 390px;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-service-slider__slide:hover img {
	transform: scale(1.04);
}

.alston-service-slider__arrow,
.alston-related-carousel__arrow {
	width: 60px;
	height: 60px;
	min-width: 60px;
	min-height: 60px;
	border-radius: 60px;
	border: 1px solid #e5e5e5;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	margin-top: 25px;
	font-size: 30px;
	line-height: 1;
	color: #181A1F;
	transition:
		border-color 0.35s ease,
		transform 0.35s ease;
}

.alston-service-slider__arrow--next,
.alston-related-carousel__arrow--next {
	margin-left: 12px;
}

.alston-service-slider__arrow:hover,
.alston-related-carousel__arrow:hover {
	border-color: #181A1F;
	transform: translateY(-2px);
}

.alston-service-slider__arrow.is-disabled,
.alston-related-carousel__arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}


/* =========================================================
   ALTERNATING CONTENT SECTIONS
========================================================= */

.alston-service-content-sections {
	width: 100%;
	padding: 0 0 5rem;
	background: #ffffff;
}

.alston-service-content-sections__inner {
	display: grid;
	gap: 5rem;
}

.alston-service-content-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 60px;
	align-items: center;
}

.alston-service-content-row.is-reverse .alston-service-content-row__image {
	order: 2;
}

.alston-service-content-row.is-reverse .alston-service-content-row__text {
	order: 1;
}

.alston-service-content-row__image {
	width: 100%;
	overflow: hidden;
	background: #f6f6f6;
	min-height: 430px;
}

.alston-service-content-row__image img {
	width: 100%;
	height: 430px;
	object-fit: cover;
	object-position: center;
	transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-service-content-row__image:hover img {
	transform: scale(1.04);
}

.alston-service-content-row__text h2 {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 44px;
	line-height: 54px;
	font-weight: 600;
	color: #181A1F;
	margin: 0 0 15px;
}

.alston-service-content-row__description {
	font-size: 16px;
	line-height: 26px;
	color: #555555;
}

.alston-service-content-row__description p {
	margin: 0 0 18px;
}

.alston-service-content-row__description p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   RELATED SERVICES
========================================================= */

.alston-related-services {
	width: 100%;
	padding: 5rem 0;
	background: #f7f7f4;
	overflow: hidden;
}

.alston-related-services__heading {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 44px;
	line-height: 54px;
	font-weight: 600;
	color: #181A1F;
	margin: 0 0 34px;
}

.alston-related-carousel {
	width: 100%;
	position: relative;
}

.alston-related-carousel__viewport {
	width: 100%;
	overflow: hidden;
}

.alston-related-carousel__track {
	display: flex;
	gap: 28px;
	will-change: transform;
	transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-related-carousel__slide {
	flex: 0 0 calc((100% - 84px) / 4);
	min-width: calc((100% - 84px) / 4);
}

.alston-related-card {
	width: 100%;
	height: 100%;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	transition:
		transform 0.35s ease,
		border-color 0.35s ease;
}

.alston-related-card:hover {
	transform: translateY(-6px);
	border-color: #181A1F;
}

.alston-related-card__image {
	display: block;
	width: 100%;
	height: 235px;
	overflow: hidden;
	background: #f3f3f3;
}

.alston-related-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-related-card:hover .alston-related-card__image img {
	transform: scale(1.04);
}

.alston-related-card__content {
	padding: 25px;
}

.alston-related-card__content h3 {
	font-size: 20px;
	line-height: 30px;
	font-weight: 600;
	color: #181A1F;
	margin: 0 0 10px;
}

.alston-related-card__content p {
	font-size: 14px;
	line-height: 24px;
	color: #666666;
	margin: 0 0 18px;
}

.alston-related-card__link {
	font-size: 15px;
	line-height: 24px;
	font-weight: 600;
	color: #181A1F;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.alston-related-card__link::after {
	content: "→";
	font-size: 16px;
	transition: transform 0.3s ease;
}

.alston-related-card__link:hover::after {
	transform: translateX(4px);
}


/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.alston-service-reveal {
	opacity: 0;
	transform: translateY(42px);
	transition:
		opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-service-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* =========================================================
   LAPTOP - 1025px to 1366px
========================================================= */

@media (min-width: 1025px) and (max-width: 1366px) {
	.alston-service-hero__inner,
	.alston-service-steps__inner,
	.alston-service-intro__inner,
	.alston-service-gallery__inner,
	.alston-service-content-sections__inner,
	.alston-related-services__inner {
		max-width: 1187px;
	}

	.alston-service-hero__top {
		padding: 170px 0 0px;
	}

	.alston-service-form-box {
		max-width: 530px;
		margin-bottom: -430px;
	}

	.alston-service-hero-media__image,
	.alston-service-hero-media__video {
		height: 560px;
	}

	.alston-service-steps__grid {
		gap: 60px;
	}

	.alston-service-steps__item:not(:last-child)::after {
		right: -40px;
	}

	.alston-service-content-row {
		gap: 44px;
	}

	.alston-related-carousel__slide {
		flex-basis: calc((100% - 84px) / 4);
		min-width: calc((100% - 84px) / 4);
	}
}


/* =========================================================
   TABLET - 768px to 1024px
========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
	.alston-service-hero__inner,
	.alston-service-steps__inner,
	.alston-service-intro__inner,
	.alston-service-gallery__inner,
	.alston-service-content-sections__inner,
	.alston-related-services__inner {
		max-width: 100%;
		padding-left: 24px;
		padding-right: 24px;
	}

	.alston-service-hero__top {
		padding: 110px 0 80px;
	}

	.alston-service-hero__inner {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.alston-service-hero__title,
	.alston-service-steps__heading,
	.alston-service-intro__title,
	.alston-service-gallery__heading,
	.alston-service-content-row__text h2,
	.alston-related-services__heading {
		font-size: 38px;
		line-height: 48px;
	}

	.alston-service-form-box {
		max-width: 520px;
		margin-bottom: -120px;
		justify-self: end;
	}

	.alston-service-hero-media__image,
	.alston-service-hero-media__video {
		height: 480px;
	}

	.alston-service-steps__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		max-width: 680px;
		margin: 0 auto;
	}

	.alston-service-steps__item {
		padding: 30px;
		border: 1px solid #e5e5e5;
		background: #ffffff;
	}

	.alston-service-steps__item:not(:last-child)::after {
		display: none;
	}

	.alston-service-slider__track {
		gap: 22px;
	}

	.alston-service-slider__slide {
		flex: 0 0 calc((100% - 22px) / 2);
		min-width: calc((100% - 22px) / 2);
	}

	.alston-service-content-row {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.alston-service-content-row.is-reverse .alston-service-content-row__image,
	.alston-service-content-row.is-reverse .alston-service-content-row__text {
		order: initial;
	}

	.alston-related-carousel__slide {
		flex: 0 0 calc((100% - 28px) / 2);
		min-width: calc((100% - 28px) / 2);
	}
}


/* =========================================================
   MOBILE - 0px to 767px
========================================================= */

@media (min-width: 0px) and (max-width: 767px) {
	.alston-service-hero__inner,
	.alston-service-steps__inner,
	.alston-service-intro__inner,
	.alston-service-gallery__inner,
	.alston-service-content-sections__inner,
	.alston-related-services__inner {
		max-width: 100%;
		padding-left: 18px;
		padding-right: 18px;
	}

	.alston-service-hero__top {
		padding: 120px 0 55px;
	}

	.alston-service-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.alston-service-hero__title {
		font-size: 34px;
		line-height: 42px;
		word-break: normal;
	}

	.alston-service-breadcrumb {
		gap: 0.8rem;
		font-size: 14px;
		line-height: 22px;
	}

	.alston-service-form-box {
		max-width: 100%;
		padding: 22px;
		box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
		margin-bottom: 30px;
		justify-self: stretch;
	}

	.alston-service-hero-media__image,
	.alston-service-hero-media__video {
		height: 360px;
	}

	.alston-service-steps,
	.alston-service-intro,
	.alston-related-services {
		padding: 4rem 0;
	}

	.alston-service-gallery,
	.alston-service-content-sections {
		padding: 0 0 4rem;
	}

	.alston-service-steps__heading,
	.alston-service-intro__title,
	.alston-service-gallery__heading,
	.alston-service-content-row__text h2,
	.alston-related-services__heading {
		font-size: 24px;
		line-height: 34px;
	}

	.alston-service-steps__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.alston-service-steps__item {
		text-align: left;
		padding: 24px;
		border: 1px solid #e5e5e5;
	}

	.alston-service-steps__item:not(:last-child)::after {
		display: none;
	}

	.alston-service-steps__icon {
		margin-left: 0;
		margin-right: 0;
		width: 62px;
		height: 62px;
		font-size: 20px;
	}

	.alston-service-intro__points li {
		font-size: 14px;
		line-height: 24px;
		align-items: center;
	}

	.alston-service-button {
		width: 100%;
		padding: 15px 24px;
	}

	.alston-service-slider__track {
		gap: 18px;
	}

	.alston-service-slider__slide {
		flex: 0 0 100%;
		min-width: 100%;
	}

	.alston-service-slider__slide,
	.alston-service-slider__slide img {
		min-height: 280px;
		height: 280px;
	}

	.alston-service-slider__arrow,
	.alston-related-carousel__arrow {
		width: 52px;
		height: 52px;
		min-width: 52px;
		min-height: 52px;
	}

	.alston-service-content-sections__inner {
		gap: 4rem;
	}

	.alston-service-content-row {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.alston-service-content-row.is-reverse .alston-service-content-row__image,
	.alston-service-content-row.is-reverse .alston-service-content-row__text {
		order: initial;
	}

	.alston-service-content-row__image,
	.alston-service-content-row__image img {
		min-height: 280px;
		height: 280px;
	}

	.alston-related-carousel__track {
		gap: 18px;
	}

	.alston-related-carousel__slide {
		flex: 0 0 100%;
		min-width: 100%;
	}

	.alston-related-card__image {
		height: 240px;
	}

	.alston-related-card__content {
		padding: 24px;
	}
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.alston-service-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.alston-service-hero-media__image,
	.alston-service-hero-media__video,
	.alston-service-slider__slide img,
	.alston-service-content-row__image img,
	.alston-related-card__image img {
		transform: none !important;
		transition: none !important;
	}
}