/**
 * 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 {
	margin-top: 65px;
	overflow: hidden;
}

.hero-info {
	z-index: 1;
	position: relative;
	text-align: center;
}

.hero-title {
	display: flex;
	flex-direction: column;
	line-height: 1;
	text-align: center;
	color: var(--color-white);
}

.hero-image + .hero-title {
	margin: 33px 0 0;
}

.hero-title-1 {
	display: block;
	font-size: 4.5rem;
	letter-spacing: -3px;
	padding-bottom: 15px;
	line-height: 1;
	color: var(--color-white);
	mix-blend-mode: overlay;
}

.hero-title-1 {
	position: relative;
	overflow: hidden;
}

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

.hero-title-1 > .hero-animate {
	animation-delay: 500ms;
}

.hero-title-2 .hero-animate {
	animation-delay: 1100ms;
}

.hero-btn.hero-animate {
	animation-delay: 1700ms;
}

#slider-hero .hero-animate:not(.animated) {
	opacity: 0;
}

#slider-hero .hero-animate.fadeInUp:not(.animated) {
	transform: translate3d(0, 10%, 0);
}

#slider-hero .hero-animate.animated {
	animation-fill-mode: both;
}

#slider-hero .hero-animate.fadeInUp.animated {
	animation-name: fadeInUpSlight;
	animation-duration: 2000ms;
	animation-timing-function: ease-out;
}

#slider-hero .hero-animate.fadeIn.animated {
	animation-duration: 1500ms;
	animation-timing-function: ease-out;
}

.hero-title-2 {
	display: block;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 3px;
	overflow: hidden;
	color: var(--color-white);
	margin-bottom: 20px;
	text-align: center;
}

.hero-title-2 strong {
	display: block;
}

.hero-btn {
	display: block;
	overflow: hidden;
}

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

.hero .swiper-slide-active .hero-image,
.hero .swiper-slide-prev .hero-image {
	animation: hero-zoom-out 7s ease-out both;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform;
}

.hero .swiper-slide {
	min-height: 490px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	isolation: isolate;
}

#slider-hero .swiper-autoplay-toggle {
	z-index: 2;
	color: var(--color-white);
}

#slider-hero .swiper-autoplay-toggle:hover,
#slider-hero .swiper-autoplay-toggle:focus {
	color: var(--color-white);
	text-decoration: none;
}

.hero .swiper-slide:last-of-type .hero-title-1 {
	order: 2;
	margin: 0 0 20px;
}

.hero .swiper-slide:last-of-type .hero-title-2 {
	order: 1;
	margin-bottom: 5px;
}

.hero .swiper-slide:last-of-type .hero-btn {
	order: 3;
}

.hero .swiper-slide:last-of-type .hero-title-1 > .hero-animate {
	animation-delay: 1100ms;
}

.hero .swiper-slide:last-of-type .hero-title-2 .hero-animate {
	animation-delay: 500ms;
}

@keyframes hero-zoom-out {
	0% {
		transform: scale(1.1);
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	100% {
		transform: scale(1.02);
		opacity: 1;
	}
}

@media screen and (min-width: 768px) {
	.hero-image + .hero-title {
		margin-top: 0;
	}

	.hero .swiper-slide {
		min-height: 600px;
	}
}

@media screen and (min-width: 1025px) {
	.hero {
		margin-top: 100px;
	}

	.hero-title-1,
	.hero-title-1::before {
		font-size: 11.875rem;
		letter-spacing: -5px;
		padding-bottom: 25px;
	}

	.hero-title-2 {
		font-size: 1.875rem;
	}
}

/* news */
.news {
	position: relative;
	padding-top: 34px;
	padding-bottom: 35px;
	background: url('../images/news-bg.jpg') no-repeat;
	background-size: cover;
}

.news:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	content: '';
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.news-wrap {
	position: relative;
	z-index: 1;
}

.news-heading {
	text-align: center;
	margin: 0 auto 20px;
	max-width: 780px;
	font-size: 1.125rem;
}

.news h2 {
	font-size: 2.25rem;
	margin-bottom: 11px;
}

.news-heading p:last-of-type {
	margin-bottom: 0;
}

.news-holder-wrap {
	margin-bottom: 33px;
}

.news-holder {
	margin-bottom: 0;
}

.news-item.opacity0 {
	pointer-events: none;
}

.news-item {
	padding: 33px 23px 25px 32px;
	line-height: 1.45;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: all 0.3s;
	color: var(--color-primary);
	background-color: var(--color-white);
}

.news-item:not(:last-of-type) {
	margin-bottom: 19px;
}

.news-post {
	font-size: 0.688rem;
	font-weight: 600;
	letter-spacing: 0.013rem;
	margin-bottom: 6px;
	text-transform: uppercase;
	color: var(--color-secondary);
}

.news-item span {
	margin-top: auto;
	width: 30px;
	height: 30px;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	background-color: var(--color-secondary);
	transition: background-color 200ms ease-out;
}

.news-item span i {
	font-weight: 400;
}

.news-item:focus,
.news-item:hover {
	text-decoration: none;
	color: var(--color-black);
}

.news-item:hover span,
.news-item:focus span {
	background-color: var(--color-primary);
}

.news-btn {
	text-align: center;
}

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

	.news-heading {
		margin: 0 auto 35px;
	}

	.news-holder {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-column-gap: 20px;
	}

	.news-item {
		padding: 24px 23px 24px 34px;
	}

	.news-item p:last-of-type {
		margin-bottom: 16px;
	}

	.news-item:not(:last-of-type) {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 1441px) {
	.news {
		padding-bottom: 70px;
	}
}

/* review */
.review {
	padding-top: 63px;
	padding-bottom: 45px;
	background-color: var(--color-gray);
}

.review-left {
	margin-bottom: 45px;
}

.review h2 {
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 13px;
}

.review h2 span {
	color: var(--color-black-100);
}

.review h2 strong {
	font-weight: 800;
	color: var(--color-secondary);
}

.review-link {
	font-weight: 700;
	position: relative;
	transition: all 0.3s;
	text-decoration: none;
}

.review-link i {
	margin-left: 4px;
}

.review-link:after {
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	transition: all 0.3s;
	background-color: var(--color-secondary);
}

.review-link:focus,
.review-link:hover {
	text-decoration: none;
	color: var(--color-alternate);
}

.review-link:focus:after,
.review-link:hover:after {
	background-color: var(--color-alternate);
}

.review-text {
	font-size: 1.25rem;
	text-align: center;
	margin-bottom: 21px;
}

.review-text p:last-of-type {
	margin-bottom: 0;
}

.review-text p strong {
	font-weight: 700;
	color: var(--color-primary);
}

.review .swiper-pagination {
	position: unset;
}

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

	.review-holder {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
	}

	.review-left {
		width: 38%;
		margin-bottom: 0;
	}

	.review-right {
		width: 60%;
	}

	.review-text {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 1025px) {
	.review-left {
		width: 32%;
	}

	.review-right {
		width: 66%;
	}

	.review .swiper-pagination {
		margin-top: 19px;
	}
}
