/**
 * Homepage specific styling goes here. Excluded on all subpages
 *
 * @format
 */

/* For most builds, this stylesheet should be wiped and started fresh */

.module-intro {
	width: 100%;
	padding-top: 30px;
	position: relative;
	padding-bottom: 160px;
}

.module-intro h1 {
	font-size: var(--font-size-h1);
}

.module-intro-down {
	display: flex;
	position: absolute;
	bottom: 30px;
	left: 50%;
	justify-content: center;
	transform: translateX(-50%);
}

.module-intro-down button {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.8rem;
	font-weight: 300;
	animation-delay: 0.5s;
	background-color: var(--color-white);
}

@media screen and (min-width: 1025px) {
	.module-intro {
		padding-top: 115px;
		padding-bottom: 132px;
	}

	.module-intro:before {
		width: 100%;
		height: 100%;
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		pointer-events: none;
		background-image: url('../images/intro-overlay.svg');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: auto 100%;
	}

	.module-intro h1 {
		margin-bottom: 35px;
	}

	.module-intro-down {
		position: relative;
		left: auto;
		transform: none;
		margin: 30px auto 0;
		bottom: auto;
	}

	.module-intro-inner {
		display: flex;
		align-items: flex-start;
	}

	.module-intro-left {
		flex: 1;
	}

	.module-intro-right {
		flex: 1;
	}

	.module-intro-left + .module-intro-right {
		flex: none;
		width: 51%;
		margin-left: 192px;
	}

	.module-intro-inner {
		z-index: 1;
		position: relative;
	}
}

.module-stats {
	z-index: 1;
	font-size: 1rem;
	color: var(--color-white);
	background: var(--color-dark);
	padding-top: 50px;
	padding-bottom: 20px;
	position: relative;
	border-bottom: 14px solid var(--color-primary);
}

.module-stats-number {
	color: var(--color-primary);
	font-weight: 800;
	font-size: 3.125rem;
	line-height: 1;
}

.module-stats-number span {
	display: block;
}

.module-stats-title {
	text-transform: uppercase;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 600;
}

.module-stats-left {
	margin-bottom: 30px;
}

.module-stats-left-top {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--color-gray-200);
	width: 100%;
	padding-bottom: 10px;
	margin-bottom: 20px;
	margin-top: 4px;
}

.module-stats-left-top p {
	margin-bottom: 0;
}

.module-stats-left-top span {
	flex: 1;
	margin-right: 10px;
}

.module-stats-left .module-stats-number span {
	animation-delay: 300ms;
}

.module-stats-image img {
	width: 100%;
	display: block;
}

.module-stats-item {
	line-height: 1.7;
	margin-bottom: 26px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--color-gray-200);
}

.module-stats-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.module-stats-item p {
	margin-bottom: 24px;
}

.module-stats-item:first-child .module-stats-number {
	order: 1;
}

.module-stats-item:first-child .module-stats-item-left span {
	margin-top: 4px;
}

.module-stats-item-left {
	row-gap: 8px;
	display: flex;
	margin-bottom: 10px;
	flex-direction: column;
}

.module-stats-item-right p:last-child {
	margin-bottom: 0;
}

.module-stats-item:nth-child(1) .module-stats-number span {
	animation-delay: 600ms;
}

.module-stats-item:nth-child(2) .module-stats-number span {
	animation-delay: 900ms;
}

.module-stats-item:nth-child(3) .module-stats-number span {
	animation-delay: 1200ms;
}

@media screen and (min-width: 768px) {
	.module-stats-inner {
		display: flex;
	}

	.module-stats-left {
		width: 330px;
		display: flex;
		margin-bottom: 0;
		margin-right: 20px;
		flex-direction: column;
	}

	.module-stats-right {
		flex: 1;
		margin-right: calc(var(--gutter-size) * -1);
	}

	.module-stats-item-left {
		width: 155px;
	}

	.module-stats-item-right {
		padding-top: 0;
		width: calc(100% - 155px);
	}

	.module-stats-item {
		display: flex;
		padding-right: var(--gutter-size);
	}
}

@media screen and (min-width: 1025px) {
	.module-stats {
		padding-top: 90px;
		padding-bottom: 60px;
	}

	.module-stats-left-top {
		margin-bottom: 55px;
	}

	.module-stats-image {
		margin-bottom: -155px;
	}

	.module-stats-left {
		width: 398px;
		margin-right: 116px;
	}
}

@media screen and (min-width: 1200px) {
	.module-stats-right {
		margin-right: -50px;
	}

	.module-stats-item {
		padding-right: 30px;
	}
}

.module-specialized {
	width: 100%;
	padding-top: 30px;
	position: relative;
	padding-bottom: 35px;
	background-color: var(--color-gray-100);
	background-image: url('../images/specialized-bg.webp');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.module-specialized h2 {
	color: var(--color-black);
	font-size: 1.875rem;
}

.module-specialized h4 {
	color: var(--color-primary);
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.module-specialized-top {
	text-align: center;
	margin-bottom: 38px;
}

.module-specialized-list {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-row-gap: 25px;
	grid-column-gap: 20px;
}

@media screen and (min-width: 768px) {
	.module-specialized {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.module-specialized-list {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.module-specialized-list .card-specialized {
		width: calc(33% - 25px);
	}
}

@media screen and (min-width: 1025px) {
	.module-specialized {
		padding-top: 130px;
		padding-bottom: 115px;
	}

	.module-specialized h2 {
		font-size: 2.188rem;
	}

	.module-specialized-list {
		grid-column-gap: 40px;
	}
}

.module-expertise {
	line-height: 1.6;
	margin-top: 30px;
	font-size: 1.25rem;
	margin-bottom: 30px;
}

.module-expertise h2 {
	font-size: 1.875rem;
	text-align: center;
}

.module-expertise h3 {
	margin-bottom: 10px;
}

.module-expertise-select {
	margin-bottom: 20px;
}

.module-expertise-left {
	display: flex;
	flex-direction: column;
}

.module-expertise-left button {
	border: 0;
	display: flex;
	padding: 20px;
	cursor: pointer;
	text-align: left;
	font-weight: 700;
	line-height: 1.25;
	font-size: 1.25rem;
	align-items: center;
	background: transparent;
	color: var(--color-body-text);
	justify-content: space-between;
	border-bottom: 1px solid var(--color-primary);
}

.module-expertise-left button i {
	font-size: 1.6rem;
	color: var(--color-primary);
}

.module-expertise-left button.is-active {
	background: var(--color-primary);
	color: var(--color-white);
}

.module-expertise-left button.is-active i {
	color: var(--color-white);
}

.module-expertise-content {
	display: none;
}

.module-expertise-content.is-active {
	display: block;
}

@media screen and (min-width: 768px) {
	.module-expertise {
		margin-top: 80px;
		margin-bottom: 60px;
	}

	.module-expertise h2 {
		text-align: left;
	}

	.module-expertise-inner {
		display: flex;
	}

	.module-expertise-left {
		width: 50%;
		margin-right: 30px;
		padding-right: 40px;
		border-right: 1px solid var(--color-gray-300);
	}

	.module-expertise-right {
		flex: 1;
	}
}

@media screen and (min-width: 1025px) {
	.module-expertise {
		margin-top: 120px;
		margin-bottom: 110px;
	}

	.module-expertise h2 {
		font-size: 2.188rem;
		margin-bottom: 35px;
	}

	.module-expertise-left {
		width: 51.7%;
		margin-right: 50px;
		padding-right: 60px;
	}

	.module-expertise-right {
		width: 43.5%;
	}
}

@media screen and (min-width: 1441px) {
	.module-expertise-left {
		margin-right: 60px;
	}
}
