/**
 * 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 {
	padding-top: 95px;
	padding-bottom: 28px;
	position: relative;
	background: linear-gradient(90deg, rgba(33, 45, 62, 1) 0%, rgba(135, 171, 178, 1) 100%);
}

.hero:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 370px;
	background: linear-gradient(0deg, rgba(43, 56, 68, 1) 70%, rgba(42, 55, 67, 0) 100%);
	pointer-events: none;
	content: '';
}

.hero-text {
	margin: -57px auto 0;
	position: relative;
	z-index: 1;
	color: var(--color-white);
	text-align: center;
	max-width: 335px;
}

.hero-text h1 {
	margin-bottom: 41px;
	position: relative;
	z-index: 1;
	font-size: 3.188rem;
	font-weight: 800;
	color: inherit;
	letter-spacing: -0.125rem;
	line-height: 0.95;
}

html[lang='es'] .hero-text h1 {
	font-size: 2.9rem;
}

.hero-text h1 strong {
	padding-bottom: 5px;
	position: relative;
	display: inline-block;
	color: var(--color-secondary);
}

.hero-text .hero-title-2 strong:after {
	position: absolute;
	bottom: -15px;
	left: 0;
	width: 100%;
	height: 10px;
	background: url('../images/bottom-layer.svg') no-repeat left center;
	clip-path: inset(0 100% 0 0);
	background-size: contain;
	content: '';
	animation: reveal-left 1s 2.5s ease-out forwards;
}

.hero-title-1 {
	margin-bottom: 8px;
	display: block;
	font-size: 1.313rem;
	letter-spacing: -0.013rem;
}

.hero-title-1 span {
	display: block;
	animation-delay: 400ms;
}

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

.hero-title-2 span:nth-of-type(1) {
	animation-delay: 800ms;
}

.hero-title-2 span:nth-of-type(2) {
	animation-delay: 1200ms;
}

.hero-title-2 span:nth-of-type(3) {
	animation-delay: 1600ms;
}

.hero-title-2 span:nth-of-type(4) {
	animation-delay: 2400ms;
}

.hero-title-2 strong {
	animation-delay: 2000ms;
}

.hero-text .button {
	padding: 21px 23px 20px;
	animation-delay: 2800ms;
}

.hero-image {
	display: -webkit-flex;
	display: -moz-flex;
	display: -o-flex;
	display: flex;
	-webkit-box-align: end;
	align-items: end;
	-webkit-box-pack: center;
	justify-content: center;
	margin: 0 auto;
	padding-left: 32px;
	max-width: 324px;
}

.hero-image img {
	display: block;
	width: 100%;
	max-width: 613px;
}

@keyframes reveal-left {
	to {
		clip-path: inset(0 0 0 0);
	}
}

@media screen and (min-width: 768px) {
	.hero {
		padding-top: 116px;
		padding-bottom: 0;
	}

	.hero .row {
		max-width: 768px;
	}

	.hero:after {
		display: none;
	}

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

	.hero-text {
		margin-top: 0;
		padding-top: 50px;
		width: 59%;
		order: 1;
		max-width: 100%;
		text-align: left;
	}

	.hero-text h1 {
		margin-bottom: 63px;
		font-size: 4rem;
		line-height: 1.03;
		letter-spacing: -0.281rem;
	}

	html[lang='es'] .hero-text h1 {
		font-size: 3.8rem;
	}

	.hero-text .hero-title-2 strong:after {
		bottom: -15px;
		height: 13px;
	}

	.hero-title-1 {
		margin-bottom: 13px;
		display: block;
		font-size: 1.875rem;
		letter-spacing: -0.031rem;
	}

	.hero-image {
		padding-left: 15px;
		margin-left: -70px;
		margin-right: -20px;
		width: calc(41% + 90px);
		order: 2;
		max-width: 100%;
	}

	.hero-image img {
		margin-left: auto;
	}
}

@media screen and (min-width: 1025px) {
	.hero .row {
		max-width: 1096px;
	}

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

	.hero-text h1 {
		font-size: 6rem;
	}

	html[lang='es'] .hero-text h1 {
		font-size: 5.4rem;
	}

	.hero-text .hero-title-2 strong:after {
		height: 23px;
	}

	.hero-title-1 {
		font-size: 2.5rem;
	}

	.hero-image {
		margin-left: -120px;
		margin-right: -20px;
		width: calc(37% + 140px);
	}
}

@media screen and (min-width: 1200px) {
	.hero-text {
		width: 59%;
	}

	.hero-image {
		padding-left: 15px;
		margin-left: -70px;
		margin-right: -20px;
		width: calc(41% + 90px);
	}
}

@media screen and (min-width: 1441px) {
	.hero {
		padding-top: 134px;
	}

	.hero .row {
		max-width: 1342px;
	}

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

	.hero-text h1 {
		margin-bottom: 75px;
		font-size: 7.25rem;
	}

	html[lang='es'] .hero-text h1 {
		font-size: 6.45rem;
	}

	.hero-text .hero-title-2 strong:after {
		bottom: -22px;
	}

	.hero-title-1 {
		font-size: 3.125rem;
	}

	.hero-text .button {
		padding: 31px 30px 30px;
		font-size: 1.25rem;
	}

	.hero-image {
		padding-left: 0;
		margin-left: 0;
		margin-right: -80px;
		width: calc(41% + 80px);
	}
}

/* PERSONAL */
.personal {
	padding-top: 45px;
	padding-bottom: 45px;
	background-color: var(--color-light-gray);
}

.personal h2 {
	text-align: center;
	margin-bottom: 45px;
	font-size: var(--font-size-h1);
}

.personal h2 strong {
	margin-bottom: 9px;
}

.personal-item {
	padding-left: 70px;
	position: relative;
}

.personal-item:not(:last-of-type) {
	margin-bottom: 40px;
	padding-bottom: 27px;
	border-bottom: 1px solid var(--color-gray-200);
}

.personal-item p:last-child {
	margin-bottom: 0;
}

.personal-item h3 {
	margin-bottom: 11px;
	font-weight: 800;
	font-size: var(--font-size-h4);
}

.personal-item:nth-child(2) .personal-item-count {
	animation-delay: 500ms;
}

.personal-item:nth-child(3) .personal-item-count {
	animation-delay: 1000ms;
}

.personal-item-count {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	font-size: 3.75rem;
	font-weight: 500;
	color: var(--color-primary);
	text-align: center;
	line-height: 1;
}

.personal .block-quote:not(:last-of-type) {
	margin-bottom: 14px;
}

.personal-right {
	margin-top: 30px;
}

@media screen and (min-width: 768px) {
	.personal {
		padding-top: 109px;
		padding-bottom: 108px;
	}

	.personal h2 {
		margin-bottom: 32px;
	}

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

	.personal-left {
		padding-right: 11px;
		width: 51%;
	}

	.personal-item {
		min-height: 180px;
		padding-left: 75px;
	}

	.personal-item:not(:last-of-type) {
		margin-bottom: 40px;
		padding-bottom: 27px;
	}

	.personal-item h3 {
		font-size: var(--font-size-h3);
	}

	.personal-left {
		padding-top: 36px;
	}

	.personal-right {
		padding-top: 8px;
		padding-left: 15px;
		width: 49%;
		margin-top: 0;
	}

	.personal .block-quote:not(:last-of-type) {
		margin-bottom: 30px;
	}
}

@media screen and (min-width: 1025px) {
	.personal-item-count {
		top: -5px;
		font-size: 5.25rem;
	}

	.personal-right {
		padding-left: 46px;
	}
}

/* ICON-BLOCK */
.services {
	margin-top: 35px;
	margin-bottom: 35px;
}

.services h2 {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-size: var(--font-size-h1);
}

.services-column:first-of-type {
	border-top: 1px solid var(--color-gray-300);
}

.services-item {
	padding-top: 12px;
	padding-bottom: 12px;
	display: flex;
	align-items: center;
	font-size: 1rem;
	color: var(--color-black);
	text-decoration: none;
	border-bottom: 1px solid var(--color-gray-300);
	transition: all 0.3s;
}

.services-item strong {
	margin-left: 20px;
	display: block;
}

.services-item:focus,
.services-item:hover {
	color: var(--color-primary);
}

.services-item-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 35px;
	flex: 0 0 auto;
}

.services-item-icon img {
	margin: 0 auto;
	display: block;
}

@media screen and (min-width: 768px) {
	.services {
		margin-top: 80px;
		margin-bottom: 80px;
	}

	.services h2 {
		margin-bottom: 43px;
		text-align: center;
	}

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

	.services-item {
		font-size: 0.875rem;
	}

	.services-column {
		border-top: 1px solid var(--color-gray-300);
	}
}

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

/* LEADER */
.leader {
	padding-top: 5px;
	padding-bottom: 22px;
	position: relative;
	background-color: var(--color-black);
}

.leader-text {
	padding-top: 25px;
	position: relative;
	z-index: 2;
	color: var(--color-white);
}

.leader-text h2 {
	color: inherit;
	margin-bottom: 17px;
}

.leader-buttons {
	padding-top: 12px;
}

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

.leader-image {
	margin: 0 auto;
	position: relative;
	z-index: 2;
	width: 205px;
	flex: 0 0 auto;
}

.leader-play {
	position: absolute;
	bottom: 10px;
	left: 0;
	z-index: 1;
	width: 100%;
	color: var(--color-white);
	text-decoration: none;
	text-align: center;
	transition: all 0.3s;
}

.leader-play span {
	margin: 0 auto 5px;
	padding: 3px 0 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 71px;
	height: 71px;
	font-size: 2.25rem;
	color: var(--color-primary);
	border-radius: 100px;
	background-color: var(--color-white);
	transition: all 0.3s;
}

.leader-play:focus,
.leader-play:hover {
	color: var(--color-secondary);
}

.leader-play:focus span,
.leader-play:hover span {
	color: var(--color-white);
	background-color: var(--color-secondary);
}

.leader-image:after {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100vw;
	height: 50%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	transform: translateX(-50%);
	content: '';
	pointer-events: none;
}

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

.leader-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
}

.leader-bg:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0.2) 100%);
	pointer-events: none;
	content: '';
}

.leader-bg img {
	width: 100%;
	height: 100%;
	opacity: 0.7;
	object-fit: cover;
}

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

	.leader-image {
		width: 300px;
	}

	.leader-text {
		padding-top: 50px;
	}

	.leader-text h2 {
		margin-bottom: 30px;
	}

	.leader-buttons {
		padding-top: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
	}

	.leader-buttons .button {
		min-width: 249px;
		width: auto;
		margin-bottom: 0;
	}

	.leader-bg {
		height: 455px;
	}
}

@media screen and (min-width: 1025px) {
	.leader {
		padding-bottom: 0;
	}

	.leader-holder {
		display: flex;
	}

	.leader-text {
		margin-left: 52px;
		padding-top: 102px;
	}

	.leader-image {
		margin: 0;
		width: 400px;
	}

	.leader-image:after {
		display: none;
	}

	.leader-play {
		margin-left: 15px;
		bottom: 95px;
	}

	.leader-bg {
		width: 55.5%;
		height: 100%;
	}

	.leader-bg:before {
		background: linear-gradient(275deg, rgba(0, 0, 0, 0.9) 0, rgba(255, 255, 255, 0.3) 100%);
	}
}

@media screen and (min-width: 1200px) {
	.leader-image {
		margin-left: -48px;
	}
}

@media screen and (min-width: 1440px) {
	.leader-image {
		margin-left: -76px;
	}
}

/* COMMUNITY */
.community {
	padding-top: 202px;
	padding-bottom: 36px;
	position: relative;
	background-color: var(--color-white);
}

.community-text {
	position: relative;
	z-index: 1;
}

.community h2 {
	margin-bottom: 27px;
	font-size: var(--font-size-h1);
}

.community-image {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 240px;
}

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

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

@media screen and (min-width: 768px) {
	.community {
		padding-top: 106px;
		padding-bottom: 101px;
	}

	.community h2 {
		margin-bottom: 27px;
	}

	.community-text {
		max-width: 738px;
	}

	.community-image {
		position: absolute;
		top: 0;
		right: 0;
		width: 52.5%;
		height: 100%;
	}

	.community-image:before {
		background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	}
}

@media screen and (min-width: 1025px) {
	.community-text {
		padding-left: 23px;
	}
}

/* RECOVERY */
.recovery {
	padding-top: 35px;
	padding-bottom: 35px;
	background-color: var(--color-light-gray);
}

.recovery .row {
	max-width: calc(1080px + calc(var(--gutter-size) * 2));
}

.recovery-title {
	margin: 0 auto 40px;
	max-width: 516px;
	text-align: center;
}

.recovery-title h2 {
	margin-bottom: 0;
	font-size: var(--font-size-h1);
}

.recovery-title h2 span {
	display: block;
}

.recovery-title h2 span:nth-child(2) {
	animation-delay: 800ms;
}

.recovery .block-media {
	margin-bottom: 42px;
}

.recovery .block-media:last-of-type {
	margin-bottom: 0;
}

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

	.recovery-title {
		margin-bottom: 46px;
	}

	.recovery-title h2 {
		font-size: 2.5rem;
	}

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

@media screen and (min-width: 1025px) {
	.recovery-holder {
		grid-column-gap: 30px;
		grid-template-columns: repeat(3, 3fr);
	}

	.recovery .block-media {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 768px) {
	.recovery-holder {
		grid-column-gap: 40px;
	}
}

/* ACTION */
.action {
	padding-top: 38px;
	padding-bottom: 28px;
	position: relative;
	text-align: center;
}

.action:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	opacity: 0.6;
	background-color: var(--color-black);
	content: '';
	pointer-events: none;
}

.action-text {
	margin: 0 auto;
	position: relative;
	z-index: 1;
	max-width: 773px;
	font-size: 1rem;
	color: var(--color-white);
}

.action h2 {
	color: inherit;
	margin-bottom: 7px;
	font-size: var(--font-size-h1);
}

.action-content {
	margin: 0 auto;
	max-width: 645px;
}

.action p {
	margin-bottom: 12px;
}

.action-buttons .button {
	margin-bottom: 10px;
	padding-top: 18px;
	padding-bottom: 18px;
	width: 100%;
	flex-wrap: wrap;
	letter-spacing: 0.125rem;
}

.action-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.action-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

	.action h2 {
		margin-bottom: 12px;
		font-size: 2.5rem;
	}

	.action p {
		margin-bottom: 34px;
	}

	.action-buttons .button {
		margin-right: 20px;
		max-width: 350px;
	}

	.action-buttons .button:last-of-type {
		margin-right: 0;
	}
}

@media screen and (min-width: 1025px) {
	.action-buttons .button {
		max-width: 358px;
	}
}

/* NEWS */
.news {
	margin-bottom: 54px;
	padding-top: 44px;
	text-align: center;
}

.news h2 {
	margin-bottom: 26px;
	color: var(--color-body-text);
	font-size: var(--font-size-h1);
}

.news h2 strong {
	color: var(--color-primary);
}

.news .swiper {
	margin-bottom: 29px;
}

.news .swiper-slide {
	height: auto;
}

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

	.news h2 {
		margin-bottom: 42px;
	}

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

@media screen and (min-width: 1025px) {
	.news-holder {
		grid-column-gap: 40px;
	}
}

/* CARD-STAY */
.block-news {
	display: flex;
	flex-direction: column;
	color: var(--color-black);
	text-decoration: none;
	text-align: left;
	height: 100%;
}

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

.block-news-text {
	display: flex;
	flex-direction: column;
	padding-top: 8px;
	height: 100%;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
}

.block-news-text p {
	margin-bottom: 13px;
}

.block-news-text span {
	margin-top: auto;
	display: inline-block;
	font-weight: 700;
	color: var(--color-primary);
}

.block-news:focus,
.block-news:hover {
	color: var(--color-black);
}
