/* #region @keyframes */
@keyframes fade-in {
	to {
		opacity: 1;
	}
}

@keyframes newfadein {
	to {
		opacity: 1;
		scale: 1;
	}
}

/* #endregion */
/* #region :root */
:root {
	/* Colors - Black */
	--black-30: hsl(0 0% 0% / .3);
	--black-40: hsl(0 0% 0% / .4);
	--black-70: hsl(0 0% 0% / .7);
	--black-90: hsl(0 0% 0% / .9);
	/* Colors - Blue */
	--blue050: hsl(198 100% 98%);
	--blue300: hsl(198 40% 63%);
	--blue500: hsl(198 100% 44%);
	--blue700: hsl(198 100% 34%);
	--blue700-70: hsl(198 100% 34% / .7);
	--blue700-90: hsl(198 100% 34% / .9);
	--blue900: hsl(198 80% 20%);
	/* Colors - Green */
	--green500: hsl(118 100% 32%);
	--green700: hsl(120 100% 21%);
	--green700-90: hsl(118 100% 21% / .9);
	/* Colors - Grey */
	--grey300: hsl(210 10% 88%);
	/* Colors - White */
	--white-70: hsl(0 0% 100% / .7);
	/* Fonts */
	--font-sans: "Rubik", sans-serif;
	--font-serif: "Bitter", serif;
	--font-handwriting: "Square Peg", serif;
	--fz12: .75rem;
	--fz14: .875rem;
	--fz16: 1rem;
	--fz18: clamp(1rem, 3.2vw, 1.125rem);
	--fz20: clamp(1.1rem, 3.5vw, 1.25rem);
	--fz24: clamp(1.25rem, 4vw, 1.5rem);
	--fz28: clamp(1.4rem, 4.5vw, 1.75rem);
	--fz32: clamp(1.625rem, 5.2vw, 2rem);
	--fz36: clamp(1.7rem, 5.8vw, 2.25rem);
	--fz42: clamp(1.75rem, 6.3vw, 2.625rem);
	--fz48: clamp(1.875rem, 7vw, 3rem);
	--fz60: clamp(2rem, 8vw, 3.75rem);
	--fz76: clamp(2.25rem, 10vw, 4.75rem);
	/* Utility */
	--radius: .3rem;
	--transition: .3s;
}

/* #endregion */
/* #region Elements */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

a {
	color: var(--green700);
	text-decoration: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	transition: all .3s;
}

body {
	background-color: black;
	color: var(--black-90);
	font-family: var(--font-sans);
}

button {
	background: none;
	border: none;
	color: var(--green700);
	cursor: pointer;
}

h1, h2, h3, h4 {
	text-wrap: pretty;
}

html {
	overflow-y: scroll;
	scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

hr {
	border: 0;
	border-top: 1px solid var(--grey300);
	margin-block: 3rem;
}

img {
	display: block;
	max-width: 100%;
}

li {
	font-size: var(--fz18);
	line-height: 1.3;
	padding: .7rem 0 0 .3rem;
}

p {
	font-size: var(--fz18);
	line-height: 1.7;
	margin-bottom: 1lh;
	text-wrap: pretty;
}

ul {
	margin: 2rem 0 2rem 1rem;
}

/* #endregion */
/* #region Global */
.btn {
	background-color: var(--green700);
	border-radius: var(--radius);
	color: white;
	display: inline-block;
	font-size: var(--fz16);
	font-weight: 700;
	padding: 1em 1.8em;
	letter-spacing: 2px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 0.2s, color .2s;

	&:hover {
		background-color: var(--green500);
		color: white !important;
	}
}

.content {
	margin-inline: auto;
	width: min(90%, var(--content-max-width, 1200px));
}

.cta {
	border-top: 2px solid var(--grey300);
	margin: 5rem auto 0;
	padding-top: 3rem;
	text-align: center;
	max-width: 65%;

	h2 {
		font-family: var(--font-serif);
		font-size: var(--fz28) !important;
		line-height: 1.5;
		margin-bottom: 1rem;
	}

	p {
		color: var(--black-70);
		font-size: var(--fz20);
	}

	.btn {
		margin-top: 1rem;
	}
}

.ripcord {
	font-size: var(--fz12);
	letter-spacing: 2px;
	margin-top: 4rem;
	text-transform: uppercase;
}

.sidepic {
	border-radius: var(--radius);
	float: right;
	margin: 0 0 2rem 2rem;

	@media (width < 1000px) {
		display: block;
		float: none;
		margin-left: 0;
	}
}

.sig {
	font-family: var(--font-handwriting);
	font-size: var(--fz48) !important;
	font-weight: 700;
}

.sig-under {
	font-weight: 700;
	margin: .5rem 0 2rem 0;
}

.video {
	height: auto;
	left: 50%;
	min-height: 100%;
	min-width: 100%;
	position: fixed;
	top: 50%;
	translate: -50% -50%;
	width: auto;
	z-index: -10;
}

/* #endregion */
/* #region Nav */
.nav-contain {
	justify-self: end;
}

.nav-grid {
	display: grid;
	grid-column-gap: .5em;
	grid-auto-flow: column;
	text-transform: uppercase;
	white-space: nowrap;

	@media (width < 1200px) {
		align-content: start;
		background-color: var(--black-90);
		font-size: var(--fz16);
		grid-auto-flow: row;
		grid-row-gap: .5em;
		height: 100vh;
		justify-content: center;
		left: 0;
		padding-top: 4rem;
		position: absolute;
		top: 0;
		transition: var(--transition);
		translate: 0 -100vh;
		width: 100vw;
	}
}

.nav-grid a {
	border-radius: var(--radius);
	color: var(--grey300);
	font-size: var(--fz18);
	letter-spacing: 1px;
	padding: .8rem 1.2rem;
	text-transform: uppercase;
	white-space: nowrap;

	@media (width < 1200px) {
		color: white;
	}

	&[href*="application"] {
		background-color: var(--green700);
	}

	&:hover {
		background-color: var(--blue700);
		color: white;
	}
}

.nav-icon {
	display: none;

	@media (width < 1200px) {
		display: block;
		position: relative;
		transition: var(--transition);
	}

	&::after {
		top: 6px;
	}

	&,
	&::after,
	&::before {
		background-color: white;
		height: 3px;
		width: 20px;
	}

	&::after,
	&::before {
		content: "";
		position: absolute;
	}

	&::before {
		bottom: 6px;
	}
}

.nav-icon-box {
	display: block;
	padding: 12px 6px;
}

.nav-open {
	.nav-grid {
		translate: 0 0;
		transition: var(--transition);
	}

	.nav-icon {
		background-color: transparent;
		rotate: 360deg;
		transition: 1s;
	}

	.nav-icon::after,
	.nav-icon::before {
		background-color: white;
		top: 0;
	}

	.nav-icon::after {
		rotate: -45deg;
	}

	.nav-icon::before {
		rotate: 45deg;
	}

	.nav-icon-box {
		position: relative;
		z-index: 10;
	}
}

/* #endregion */
/* #region Header */
.header {
	background-color: var(--black-70);
	color: white;
	padding-block: 1.5rem;
	position: fixed;
	width: 100%;
	z-index: 10;

	&.scrolled {
		background-color: var(--black-90);
	}
}

.header-grid {
	align-items: center;
	display: grid;
	grid-template-columns: auto 1fr;

	.logo {
		width: 250px;
		transition: width .3s ease;

		@media (width < 1200px) {
			width: 150px;
		}

		@media (width < 600px) {
			width: 120px;
		}

		&.scrolled {
			width: 150px;
		}
	}
}

/* #endregion */
/* #region Footer */
.footer {
	background: var(--black-90);
	color: var(--white-70);
	padding-block: 4rem;
	text-align: center;

	a {
		color: var(--white-70);

		&:hover {
			color: var(--blue500);
		}
	}

	i {
		font-size: var(--fz32);
		margin-bottom: .5em;
	}

	p {
		font-size: var(--fz16);
	}
}

/* #endregion */
/* #region Hero */
.hero {
	background: linear-gradient(to bottom, var(--black-30), var(--black-40));
	color: white;
	text-align: center;
}

.hero-container {
	padding-block: 30vh 10vh;

	> * {
		animation-name: fade-in;
		animation-duration: 1s;
		animation-timing-function: ease-in;
		animation-fill-mode: forwards;
		opacity: 0;
	}

	a {
		color: white;
	}

	h1 {
		font-family: var(--font-serif);
		font-size: var(--fz60);
		line-height: 1.2;
		margin-bottom: 1rem;
	}

	.btn {
		animation-delay: 1s;
	}
}

.hero-reviews-grid {
	animation-delay: 2s;
	background-color: var(--black-30);
	border-radius: var(--radius);
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 10rem;
	padding: 2rem;

	@media (width < 1200px) {
		grid-template-columns: auto auto;
	}

	@media (width < 700px) {
		grid-template-columns: auto;
	}

	i {
		font-size: var(--fz24);
		margin-bottom: .7rem;
	}

	p {
		font-size: var(--fz16);
		margin-bottom: 0;
	}
}

.hero-tagline {
	animation-delay: .5s;
	font-size: var(--fz24);
	line-height: 1.5;
	margin-bottom: 4rem;
}

/* #endregion */
/* #region Home-Cities */
.home-cities {
	background: linear-gradient(to bottom, var(--blue700-70), var(--blue700-90)), url("/assets/images/trucks.jpg?cy=200") center/cover fixed;
	color: white;

	@media (width < 1200px) {
		background-attachment: scroll;
	}

	h2 {
		font-family: var(--font-serif);
		font-size: var(--fz32);
		margin-bottom: 4rem;
	}

	.btn {
		background-color: var(--white-70);
		color: var(--blue700);
		margin-top: 2.5rem;

		&:hover {
			background-color: white;
			color: var(--blue700) !important;
		}
	}
}

.home-cities-grid {
	display: grid;
	font-size: var(--fz20);
	gap: 1rem 3rem;
	grid-template-columns: repeat(3, auto);
	justify-content: center;
	margin-bottom: 3rem;
	text-align: center;
	text-transform: uppercase;

	@media (width < 700px) {
		grid-template-columns: auto auto;
	}

	@media (width < 500px) {
		grid-template-columns: auto;
	}

	a {
		color: white;
	}
}

/* #endregion */
/* #region Home-CTA */
.home-cta {
	background: linear-gradient(45deg, var(--blue700-90), var(--green700-90));
	color: white;
	text-align: center;

	h2 {
		font-family: var(--font-serif);
		font-size: var(--fz32);
		margin-bottom: 1rem;
	}

	p {
		margin-inline: auto;
		max-width: 45rem;
	}

	.btn {
		background-color: var(--white-70);
		color: var(--green700);
		margin-top: 2.5rem;

		&:hover {
			background-color: white;
			color: var(--green700) !important;
		}
	}
}

/* #endregion */
/* #region Home-Reasons */
.home-reasons {
	background-color: white;
	color: var(--blue700);
	text-align: center;

	h2 {
		font-family: var(--font-serif);
		font-size: var(--fz32);
		margin-bottom: 3rem;
	}

	h3 {
		font-size: var(--fz18);
		margin-bottom: .7rem;
		text-transform: uppercase;
	}

	i {
		font-size: var(--fz48);
		margin-bottom: 1rem;
	}
}

.home-reasons-grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: repeat(3, 1fr);
	justify-content: center;

	@media (width < 800px) {
		grid-template-columns: auto;
	}
}

.home-reasons-onemore {
	margin-inline: auto;
	max-width: 50ch;
}

/* #endregion */
/* #region Home-Section */
.home-section {
	padding-block: 6rem;
	text-align: center;
}

/* #endregion */
/* #region Home-Services */
.home-services {
	background: linear-gradient(to bottom, var(--black-70), var(--black-40)), url("/assets/images/walkway.jpg") center/cover fixed;
	color: white;
	text-align: center;

	@media (width < 1200px) {
		background-attachment: scroll;
	}

	a {
		color: white;
	}

	h2 {
		color: white;
		font-size: var(--fz32);
		font-family: var(--font-serif);
		margin-bottom: 1rem;
	}

	p {
		margin: 0 auto 4rem;
		max-width: 60ch;
	}
}

.home-services-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	margin-bottom: 4rem;

	a {
		background-color: white;
		border-radius: var(--radius);
		color: var(--green700);
		flex-basis: max(30%, 300px);
		text-align: center;
	}

	h3 {
		border-radius: var(--radius) var(--radius) 0 0;
		font-size: var(--fz18);
		line-height: 1.2;
		padding: 1rem;
		text-transform: uppercase;
		transition: all .3s;
	}

	img {
		background-color: var(--black-90);
		height: 250px;
		object-fit: cover;
		transition: var(--transition);
		width: 100%;

		&:hover {
			scale: 1.1;
		}
	}

	.frame {
		border-radius: 0 0 var(--radius) var(--radius);
		overflow: hidden;
	}
}

/* #endregion */
/* #region Sub */
.sub {
	background: white;
	color: var(--black-90);
	padding-block: 4rem;

	a {
		text-decoration: none;

		&:hover {
			color: var(--green500);
		}
	}

	h1 {
		font-family: var(--font-serif);
		font-size: var(--fz36);
		margin-bottom: 2rem;
	}

	h2 {
		font-family: var(--font-serif);
		font-size: var(--fz32);
		margin-block: 2.2rem 1rem;
	}

	h3 {
		font-size: var(--fz24);
		margin-block: 2.2rem .5rem;
	}

	h4 {
		font-size: var(--fz20);
		margin-block: 2rem 1rem;
	}

	li {
		font-size: var(--fz18);
	}

	p {
		a {
			text-decoration: underline;
		}
	}
}

.sub-tagline {
	border-bottom: 1px solid var(--grey300);
	color: var(--black-70);
	font-family: var(--font-serif);
	font-size: var(--fz24);
	line-height: 1.7;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
}

.subhero {
	--text-color: var(--grey300);
	background: linear-gradient(to bottom, var(--black-30), var(--black-70)), var(--sub-bg) center/cover;
	color: var(--text-color);
	font-family: var(--font-serif);
	padding: 30vh 1rem 15vh;
	text-align: center;

	@media (width < 600px) {
		font-size: var(--fz28);
	}

	a {
		color: var(--text-color);
	}

	h1 {
		font-size: var(--fz36);
		font-weight: 700;
		letter-spacing: .3em;
		margin-bottom: 1rem;
		text-transform: uppercase;
	}

	p {
		font-size: var(--fz24);
		margin-inline: auto;
		max-width: 50ch;
	}
}

.subhero-about {
	--sub-bg: url("/assets/images/iStock-1132875675.jpg");
}

.subhero-application {
	--sub-bg: url("/assets/images/team.jpg?cy=200");
}

.subhero-contact {
	--sub-bg: url("/assets/images/shutterstock_429831499.jpg?ch=1200");
}

.subhero-dover {
	--sub-bg: url("/assets/images/shutterstock_1834290556.jpg?ch=1600");
}

.subhero-durham {
	--sub-bg: url("/assets/images/shutterstock_2348751979.jpg?ch=1600");
}

.subhero-maintenance {
	--sub-bg: url("/assets/images/googledrive-leafblowing.jpg?ch=1500");
}

.subhero-portfolio {
	--sub-bg: url("/assets/images/portfolio/mowing-side-yard.jpg");
}

.subhero-services {
	--sub-bg: url("/assets/images/shutterstock_429831499.jpg?ch=1200");
}

.subhero-snow {
	--sub-bg: url("/assets/images/Depositphotos_479023560_XL.jpg");
}

/* #endregion */
/* #region Sub-About */
.sub-about-grid {
	display: grid;
	grid-auto-flow: column;
	gap: 2rem;
	justify-content: center;
	margin-top: 3rem;

	@media (width < 900px) {
		grid-auto-flow: row;
		justify-items: center;
	}

	img {
		max-height: 90px;
	}
}

/* #endregion */
/* #region Sub-City */
.sub-city-grid {
	--col-min-width: 300px;
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min-width)), auto));
	margin-bottom: 3rem;

	> div {
		background-color: whitesmoke;
		border-radius: 0 0 var(--radius) var(--radius);
	}

	img + div {
		padding: 3rem;
	}

	h3 {
		font-size: var(--fz20);
		margin-top: 0;
	}

	li {
		font-size: var(--fz16);
		line-height: 1.2;
	}

	ul {
		margin-left: 1rem;
	}

	.btn {
		display: block;
		font-size: var(--fz14);
		font-weight: 500;
		margin: 2rem auto 0;
		width: fit-content;
	}
}

.sub-city-links {
	display: grid;
	gap: 2rem;
	grid-auto-flow: column;
	justify-content: center;

	img {
		height: 40px;
	}
}

/* #endregion */
/* #region Sub-Contact */
.sub-contact-grid {
	display: grid;
	gap: 3rem 5vw;
	grid-template-columns: auto 1fr;
	justify-content: start;

	@media (width < 700px) {
		grid-template-columns: 1fr;
	}

	h2 {
		font-size: var(--fz16);
		letter-spacing: 1px;
		margin-block: 2rem .3em;
		text-transform: uppercase;
	}
}

/* #endregion */
/* #region Sub-Maintenance */
.sub-maintenance-form {
	justify-self: start;
}

.sub-maintenance-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, auto);

	@media (width < 1200px) {
		grid-template-columns: auto auto;
	}

	@media (width < 700px) {
		grid-template-columns: auto;
	}

	> div {
		border: 1px solid var(--green500);
		border-radius: var(--radius);
		box-shadow: var(--black-30) 0px 2px 8px 0px;
		padding: 2rem 2rem 3rem 2rem;
	}

	h2 {
		font-size: var(--fz20);
		margin-top: 0;
	}

	i {
		color: var(--green500);
		display: block;
		font-size: var(--fz28);
		margin-bottom: .5rem;
	}

	li:before {
		content: "\2714\0020";
		padding-right: .3em;
	}

	ul {
		list-style: none;
		margin-left: .3em;
	}
}

/* #endregion */
/* #region Sub-Portfolio */
.sub-portfolio h2 {
	margin-top: 4rem !important;

	@media (width < 600px) {
		text-align: center;
	}
}

.sub-portfolio-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, auto);
	justify-content: start;

	@media (width < 900px) {
		grid-template-columns: auto auto;
	}

	@media (width < 600px) {
		grid-template-columns: auto;
		justify-content: center;
	}

	img {
		background-color: white;
		border: 1px solid silver;
		border-radius: var(--radius);
		padding: 4px;
		transition: all .2s ease-in-out;

		&:hover {
			background-color: var(--blue500);
			box-shadow: 4px 4px 10px 2px var(--black-30);
			translate: -3px -3px;
		}
	}
}

.fslightbox-toolbar-button:not(:first-child):not(:last-child) {
	display: none;
}

/* #endregion */
/* #region Sub-Services */
.sub-services-grid {
	display: grid;
	gap: 8rem 3rem;
	grid-template-columns: 1fr 1fr;
	margin-block: 3rem 6rem;

	@media (width < 900px) {
		gap: 2rem;
		grid-template-columns: auto;
	}

	h2 {
		margin-block: 0 1rem;
	}

	h3 {
		margin-block: 0 .7rem;
	}

	img {
		border-radius: var(--radius);

		@media (width < 900px) {
			margin-bottom: 4rem;
			width: 350px;
		}

		@media (width < 600px) {
			width: 250px;
		}
	}
}

/* #endregion */
/* #region Sub-Snow */
.sub-snow-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr 1fr;

	@media (width < 900px) {
		grid-template-columns: auto;
	}

	img {
		border-radius: var(--radius);

		@media (width < 900px) {
			width: 600px;
		}
	}
}

/* #endregion */