/**
 * Homepage specific styling goes here. Excluded on all subpages
 *
 * @format
 */

/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background-color: var(--color-white);
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	margin: 20px;
	display: none;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeinright 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeinleft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HERO */
.hero {
	position: relative;
	min-height: 600px;
}

.hero .row {
	width: 100%;
}

.hero .swiper-slide {
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	text-align: center;
}

.hero .js-hero-slider {
	height: 100%;
	width: 100%;
}

.hero-text {
	padding-top: 50px;
	padding-bottom: 45px;
	position: relative;
	z-index: 2;
	color: var(--color-white);
}

.hero-title {
	font-size: 4.375rem;
  margin: 0 0 20px;
  font-family: var(--font-family-heading);
  font-weight: 600;
	color: inherit;
	line-height: 1.03;
}

.hero-title.small-text {
	font-size: 3.625rem;
}

.hero-title strong {
	font-weight: 600;
	display: -webkit-flex;
	display: -moz-flex;
	display: -o-flex;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	overflow: hidden;
}

.hero-title span {
	display: inline-block;
}

.hero-title .bottom-tagline span:last-child {
	color: var(--color-red);
}

.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-image:before,
.hero-image:after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 30.33%, rgba(0, 0, 0, 0) 54%);
	pointer-events: none;
	content: '';
}

.hero-image:after {
	top: auto;
	bottom: 0;
	transform: rotate(0);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0) 69.81%, #000000 100%);
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 3s;
	transform: scale(1.1);
}

.hero .swiper-slide-active .hero-image img {
	transform: scale(1);
}

#hero-pagination {
	bottom: 0;
	display: none;
	padding: 20px 34px;
	justify-content: flex-end;
}

.hero-slider .swiper-autoplay-toggle {
	color: var(--color-white);
	border: none;
	z-index: 10;
	right: 18px;
}

.hero-slider .swiper-autoplay-toggle:hover,
.hero-slider .swiper-autoplay-toggle:focus {
	color: var(--color-red);
}

@media screen and (min-width: 768px) {
	.hero-image:before {
		transform: rotate(180deg);
		background: linear-gradient(284.53deg, rgba(0, 0, 0, 0.45) 31.54%, rgba(0, 0, 0, 0) 50.74%);
	}

	.hero-image:after {
		background: linear-gradient(360deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.56) 100%);
	}

	.hero-text {
		padding-top: 100px;
	}

	.hero-title.small-text,
	.hero-title {
		font-size: 5rem;
	}

	.hero .swiper-slide {
		justify-content: inherit;
		align-items: center;
		text-align: left;
	}

	.hero-title strong {
		-webkit-box-pack: start;
		justify-content: flex-start;
	}
}

@media screen and (min-width: 1025px) {
	.hero .swiper-slide,
	.hero {
		min-height: 722px;
	}

	.hero-title.small-text,
	.hero-title {
		font-size: 6.375rem;
	}

	#hero-pagination {
		display: flex;
	}
}

@media screen and (min-width: 1440px) {
	.hero .swiper-slide,
	.hero {
		min-height: 1080px;
	}

	.hero-title.small-text,
	.hero-title {
		/* font-size: 9.375rem; */
    font-size: 8.8rem;
	}
}

/* APPROACH */
.approach {
	margin-bottom: 32px;
	padding-top: 31px;
	position: relative;
}

.approach-holder {
	position: relative;
	z-index: 1;
}

.approach .subtitle {
	margin-bottom: 22px;
	font-size: 1.125rem;
	font-family: var(--font-family-body);
}

.approach h2 {
	margin-bottom: 20px;
	font-size: 2.313rem;
}

.approach p {
	margin-bottom: 19px;
}

.approach p strong {
	color: var(--color-primary);
}

.approach-heading {
	position: absolute;
	top: 0;
	left: 10px;
	font-size: 5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary);
	opacity: 0.05;
	pointer-events: none;
}

.approach-buttons .button {
	margin-bottom: 15px;
	width: 100%;
}

.approach-buttons .button:last-child {
	margin-bottom: 0;
}

@media screen and (min-width: 768px) {
	.approach {
		margin-bottom: 52px;
		padding-top: 120px;
	}

	.approach-heading {
		top: 24px;
		font-size: 9.375rem;
	}

	.approach .subtitle {
		margin-bottom: 17px;
		font-size: 1.25rem;
	}

	.approach h2 {
		margin-bottom: 36px;
		font-size: 3.563rem;
		line-height: 1;
	}

	.approach-holder {
		display: flex;
	}

	.approach-left {
		width: 46%;
		margin-right: 20px;
	}

	.approach-right {
		flex: 1;
	}

	.approach-buttons .button {
		margin-bottom: 25px;
		min-width: 256px;
		width: auto;
	}
}

@media screen and (min-width: 1025px) {
	.approach-left {
		width: 41%;
		margin-right: 55px;
	}

	.approach-heading {
		font-size: 11.813rem;
	}
}

@media screen and (min-width: 1200px) {
	.approach-heading {
		margin-left: -588px;
		left: 50%;
	}

	.approach-left {
		padding-left: 55px;
	}
}

/* CLIENTS */
.clients {
	padding-bottom: 45px;
	position: relative;
	background-color: var(--color-light-gray);
}

.clients-title {
	margin: 0 auto 30px;
	max-width: 560px;
	text-align: center;
}

.clients h2 {
	margin-bottom: 23px;
	font-size: 2.313rem;
	text-align: center;
}

.clients-holder {
	position: relative;
	z-index: 1;
}

.clients-image {
	position: relative;
	margin-right: calc(var(--gutter-size) * -1);
	margin-bottom: 24px;
	margin-left: calc(var(--gutter-size) * -1);
}

.clients-image:before {
	left: 0;
	top: -20.5%;
	width: 100%;
	height: 141%;
	content: '';
	display: none;
	position: absolute;
	background-image: url('../images/frame.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}

.clients-image img {
	width: 100%;
	display: block;
}

.clients-frame {
	clip-path: inset(0 100% 0 0);
}

.clients-frame.animated {
	animation: reveal-left 1.5s 1s ease-out forwards;
}

.clients-item {
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 55px;
	position: relative;
	border-bottom: 1px solid var(--color-gray-100);
	line-height: 1.3;
}

.clients-item i {
	position: absolute;
	top: 19px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 30px;
	font-size: 1.875rem;
	color: var(--color-red);
}

.clients-item h3 {
	margin-bottom: 10px;
	font-size: var(--font-size-h4);
	font-weight: 800;
	font-family: var(--font-family-heading);
}

.clients-item *:last-child {
	margin-bottom: 0;
}

.clients-arrow {
	margin-left: -10px;
	position: absolute;
	bottom: -95px;
	left: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	font-size: 1.875rem;
	color: var(--color-red);
	border: 2px solid var(--color-red);
	border-radius: 50%;
	text-decoration: none;
}

.clients-arrow i {
	animation: bounce2 2s ease infinite;
}

.clients-arrow:focus,
.clients-arrow:hover {
	color: var(--color-red);
}

@media screen and (min-width: 768px) {
	.clients {
		padding-top: 26px;
		padding-bottom: 95px;
	}

	.clients-title {
		margin-bottom: 34px;
	}

	.clients h2 {
		margin-bottom: 15px;
		font-size: 3.125rem;
	}

	.clients-holder {
		display: flex;
		flex-wrap: wrap;
	}

	.clients-image {
		margin: 0;
		width: 44.5%;
		position: relative;
	}

	.clients-image:before {
		display: block;
	}

	.clients-image img {
		height: 100%;
		object-fit: cover;
	}

	.clients-text {
		padding-left: 30px;
		width: 55.5%;
	}
}

@media screen and (min-width: 1200px) {
	.clients-holder {
		margin: 0 calc(var(--gutter-size) * -1);
	}

	.clients-text {
		padding-top: 21px;
		padding-left: 73px;
	}
}

@media screen and (min-width: 1281px) {
	.clients-holder {
		margin: 0;
	}
}

/* SOLUTION */
.solution {
	padding-top: 27px;
	position: relative;
}

.solution .column {
	position: relative;
	z-index: 1;
}

.solution-content {
	font-size: 1.375rem;
	max-width: 930px;
}

.solution .subtitle {
	position: relative;
	margin-bottom: 14px;
}

.solution .subtitle:before {
	width: 80px;
	height: 3px;
	position: absolute;
	top: 14px;
	left: -105px;
	background-color: var(--color-primary);
	content: '';
	clip-path: inset(0 100% 0 0);
}

.solution .subtitle.animated:before {
	animation: reveal-left 1.5s 1s ease-out forwards;
}

.solution h2 {
	margin-bottom: 10px;
	font-size: 2.313rem;
}

.solution-heading {
	position: absolute;
	top: 0;
	left: 10px;
	font-size: 5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary);
	opacity: 0.05;
	pointer-events: none;
	clip-path: inset(0 100% 0 0);
}

.solution-heading.animated {
	animation: reveal-left 1.5s 1s ease-out forwards;
}

.solution h3 {
	font-family: var(--font-family-heading);
	font-weight: 700;
}

.solution-left {
	margin-bottom: 27px;
	font-size: 1.25rem;
}

.solution-left h3 {
	margin-bottom: 27px;
}

.solution-left ul {
	margin-bottom: 0;
}

.solution-left li {
	margin-bottom: 9px;
	padding-left: 30px;
	position: relative;
	font-weight: 600;
}

.solution-left li span {
	position: absolute;
	top: -15px;
	left: 0;
	font-size: 2.5rem;
	font-weight: 700;
	font-family: var(--font-family-heading);
	color: var(--color-red);
	line-height: 1.2;
}

.solution-right {
	margin-right: calc(var(--gutter-size) * -1);
	margin-left: calc(var(--gutter-size) * -1);
	padding: 33px 25px;
	background-color: var(--color-primary);
	color: var(--color-white);
}

.solution-right h3 {
	margin-bottom: 26px;
	color: inherit;
}

.solution-right ul {
	margin-bottom: 0;
}

.solution-right li {
	margin-bottom: 7px;
}

.solution-right li:last-of-type {
	margin-bottom: 0;
}

.solution-right li a {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-white);
	text-decoration: none;
}

.solution-right li a i {
	margin-left: 5px;
	font-size: 1.125rem;
	transition: margin-left 0.25s;
}

.solution-right li a:hover i,
.solution-right li a:focus i {
	margin-left: 10px;
}

@media screen and (min-width: 768px) {
	.solution {
		padding-top: 128px;
	}

	.solution-heading {
		top: 16px;
		font-size: 9.375rem;
	}

	.solution-content *:last-child {
		margin-bottom: 0;
	}

	.solution h2 {
		margin-bottom: 15px;
		font-size: 3.125rem;
	}

	.solution-holder {
		display: flex;
		flex-wrap: wrap;
	}

	.solution-left {
		padding-top: 40px;
		padding-right: 30px;
		padding-bottom: 20px;
		width: 50%;
	}

	.solution-right {
		margin-right: 0;
		margin-left: 0;
		padding: 40px 30px;
		width: 50%;
	}

	.solution-right h3 {
		margin-bottom: 18px;
	}

	.solution + .services {
		margin-top: -82px;
	}
}

@media screen and (min-width: 1025px) {
	.solution-heading {
		font-size: 11.813rem;
	}

	.solution-left {
		margin-bottom: 0;
		width: 48.5%;
	}

	.solution-right {
		margin-right: -96px;
		padding: 50px 50px 36px;
		width: calc(51.5% + 96px);
	}
}

@media screen and (min-width: 1200px) {
	.solution-heading {
		margin-left: -588px;
		left: 50%;
	}
}

@media screen and (min-width: 1440px) {
	.solution-left {
		width: 49.6%;
	}

	.solution-right {
		margin-right: -90px;
		width: calc(50.4% + 90px);
	}
}

/* SERVICES */
.services {
	padding-top: 35px;
	padding-bottom: 48px;
	position: relative;
	background-color: var(--color-light-gray);
}

.services-title {
	margin: 0 auto 20px;
	max-width: 455px;
	position: relative;
	z-index: 1;
	text-align: center;
}

.services-title h2 {
	margin-bottom: 22px;
	font-size: 2.313rem;
}

.services-holder {
	position: relative;
	z-index: 1;
	display: grid;
	grid-row-gap: 23px;
	grid-template-columns: repeat(1, 1fr);
}

.services-heading {
	position: absolute;
	top: 0;
	left: 10px;
	font-size: 5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary);
	opacity: 0.05;
	pointer-events: none;
}

@media screen and (min-width: 768px) {
	.services {
		padding-top: 120px;
		padding-bottom: 150px;
	}

	.services-heading {
		top: 36px;
		font-size: 9.375rem;
	}

	.services-title {
		margin-bottom: 45px;
	}

	.services-title h2 {
		margin-bottom: 8px;
		font-size: 3.125rem;
	}

	.services-holder {
		grid-column-gap: 30px;
		grid-row-gap: 30px;
		grid-template-columns: repeat(2, 2fr);
	}
}

@media screen and (min-width: 1025px) {
	.services-heading {
		font-size: 11.813rem;
	}

	.services-holder {
		grid-column-gap: 57px;
		grid-row-gap: 54px;
		grid-template-columns: repeat(3, 3fr);
	}
}

@media screen and (min-width: 1200px) {
	.services-heading {
		margin-left: -588px;
		left: 50%;
	}
}

/* CARD-SERVICE */
.card-service {
	padding: 44px 28px 48px;
	position: relative;
	display: block;
	font-size: 1.063rem;
	color: var(--color-primary);
	background-color: var(--color-white);
	text-decoration: none;
	line-height: 1.3;
	transition: all 0.25s;
}

i.card-service-arrow {
	padding: 31px 0 0 31px;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 77px;
	height: 77px;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-white);
	pointer-events: none;
}

.card-service-arrow:after {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	z-index: -1;
	border-style: solid;
	border-width: 0 0 77px 77px;
	border-color: transparent transparent var(--color-primary) transparent;
	transform: rotate(0deg);
	content: '';
}

.card-service p {
	margin-bottom: 26px;
}

.card-service p + p {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-black);
}

.card-service p + p strong {
	color: var(--color-red);
}

.card-service:focus,
.card-service:hover {
	color: var(--color-white);
	background-color: var(--color-primary);
}

.card-service:focus p + p,
.card-service:hover p + p {
	color: var(--color-white);
}

.card-service:focus p + p strong,
.card-service:hover p + p strong {
	color: var(--color-white);
}

/* TESTIMONIAL */
.testimonial {
	padding-top: 36px;
	padding-bottom: 35px;
	position: relative;
	z-index: 1;
	text-align: center;
}

.testimonial .column {
	position: relative;
	z-index: 2;
}

.testimonial h2 {
	margin-bottom: 22px;
	font-size: 2.313rem;
}

.testimonial .subtitle {
	margin-bottom: 20px;
}

.testimonial .swiper {
	margin: 0 auto;
	max-width: 590px;
}

.testimonial p {
	margin-bottom: 14px;
	font-weight: 500;
}

.testimonial .button {
	margin-top: 10px;
	min-width: 256px;
}

.testimonial-quote {
	margin-left: -590px;
	position: absolute;
	top: -38px;
	left: 50%;
	pointer-events: none;
	animation-delay: 0.5s;
}

@media screen and (min-width: 768px) {
	.testimonial {
		padding-top: 69px;
		padding-bottom: 78px;
	}

	.testimonial h2 {
		margin-bottom: 8px;
		font-size: 3.125rem;
	}

	.testimonial p {
		margin-bottom: 22px;
	}

	.testimonial .subtitle {
		margin-bottom: 45px;
	}

	.testimonial .button {
		margin-top: 5px;
	}
}

/* ACTION */
.action {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
	color: var(--color-white);
	background-color: var(--color-primary);
}

.action h2 {
	margin-bottom: 10px;
	font-size: 2.313rem;
	color: inherit;
}

.action .button {
	min-width: 256px;
}

@media screen and (min-width: 768px) {
	.action {
		padding-top: 35px;
		padding-bottom: 35px;
	}

	.action h2 {
		font-size: var(--font-size-h2);
	}
}

/* LOCATION */
.location {
	padding-top: 30px;
	padding-bottom: 26px;
	position: relative;
	background-image: url('../images/location-bg.jpg');
	background-position: center;
	background-size: cover;
}

.location-holder {
	position: relative;
	z-index: 2;
}

.location h2 {
	margin-bottom: 9px;
	font-size: 2.313rem;
}

.location p {
	margin-bottom: 20px;
}

.location-left {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.85;
}

.location-right {
	display: grid;
	grid-row-gap: 10px;
	grid-template-columns: repeat(1, 1fr);
}

.location-right .button {
	padding: 14px 15px;
	width: 100%;
	height: 70px;
	font-size: 1.25rem;
}

.location-heading {
	position: absolute;
	top: 0;
	left: 10px;
	z-index: 1;
	font-size: 5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	line-height: 1;
	color: var(--color-primary);
	opacity: 0.05;
	pointer-events: none;
	clip-path: inset(0 100% 0 0);
}

.location-heading.animated {
	animation: reveal-left 1.5s 1s ease-out forwards;
}

@media screen and (min-width: 768px) {
	.location {
		padding-top: 140px;
		padding-bottom: 98px;
	}

	.location h2 {
		font-size: 3.125rem;
	}

	.location-holder {
		display: flex;
		flex-wrap: wrap;
	}

	.location-left {
		margin-bottom: 0;
		width: 43%;
	}

	.location-right {
		padding-left: 28px;
		width: 57%;
		grid-column-gap: 17px;
		grid-row-gap: 15px;
		grid-template-columns: repeat(2, 2fr);
	}

	.location-right .button {
		height: 72px;
	}

	.location-heading {
		top: 30px;
		font-size: 9.375rem;
	}
}

@media screen and (min-width: 1025px) {
	.location-left {
		padding-top: 22px;
		padding-right: 30px;
	}

	.location-heading {
		font-size: 11.813rem;
	}
}

@media screen and (min-width: 1200px) {
	.location-heading {
		margin-left: -588px;
		left: 50%;
	}
}

/* CARD-LOCATION */
.card-location {
	display: block;
	position: relative;
	color: var(--color-white);
	text-decoration: none;
	height: 70px;
	overflow: hidden;
}

.card-location:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-black);
	opacity: 0.3;
	pointer-events: none;
	content: '';
	transition: opacity 0.25s;
}

.card-location img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-location-text {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
	width: 100%;
	font-size: 1.25rem;
	font-weight: 700;
	transform: translateY(-50%);
	text-align: center;
	line-height: 1.2;
}

.card-location-text span {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
}

.card-location:focus,
.card-location:hover {
	color: var(--color-white);
}

.card-location:focus:before,
.card-location:hover:before {
	opacity: 0.8;
}

.card-location.big img {
	height: 123px;
}

@media screen and (min-width: 768px) {
	.card-location {
		height: 72px;
	}

	.card-location.big {
		height: 123px;
	}
}
